I have installed Ubuntu 14.04 on my Surface pro 3 and I have installed
libva-intel-vaapi-driver to take advantage of vaapi driver for video acceleration decoding.
Then I have installed
mplayer-vaapi as suggested on this link:
Vaapi not working in Ubuntu 13.04
vaapi driver to decode and play
h264 stream, mplayer shows artifacts about once every 5 to 10 sec, as a partially "green frame" (frame with a green stripe across it, of varying height, sometimes most of the frame, sometimes much less).
MPlayer log shows messages e.g. "RTP: missed 2 packets". I also noticed that with vaapi enabled, I cannot use multithreading with libavcodec (lavdopts threads=N), from forum discussions this seems expected. In that case, what else can I do to increase RTP receive and H.264 decode speed?
My MPlayer command line:
mplayer -vo vaapi -va vaapi -benchmark -v -msglevel all=9 br60.sdp
Thank you, Harshal Patel HPC Systems Engineer Signalogic Inc.
Image displaying artifacts:
Image displaying error messages:
Update to the question:
I used command
cat /proc/net/udp and it showed me result,
sl local_address rem_address st tx_queue rx_queue tr tm->when retrnsmt uid timeout inode ref pointer drops 1235: 00000000:B000 00000000:0000 07 00000000:00000000 00:00000000 00000000 0 0 57854 2 ffff8800a5b35e00 4256
Here, drop packets = 4256
So whenever I see artifacts on MPlayer, I am seeing drops packet counter getting increased whether I use vaapi or multi-threaded x86 decoder.
How can I prevent Linux Network Stack from dropping frames? Is there Ubuntu driver upgrade or patch for this?
Surface tablet was connected to internet using WiFi, If I connect it with LAN, I am not seeing any packet loss or any artifacts while playing the stream.
So how can I increase Wireless throughput on tablet?
I am using VAAPI for -vo(video output) and -va(video acceleration) in MPlayer.