If it helps anyone, I have uploaded a 10 second dump (19 MB) of the stream I'm trying to watch.
|
Quote:
MT. |
Hardware-accelerated playback doesn't appear to work on x86-64. -vo xv, gl, gl2 all give similar results.
Further observations: * CPU utilization with mplayer is about 75-80% with 32-bit build and 70-73% with 64-bit build (video still runs slow and desyncs) * -vo null does not have any effect on CPU usage or desync * -nosound or -ao null has no effect, video still runs slightly faster than half speed, no change in CPU usage |
Quote:
Have a look at: Video Acceleration (VA) API MT. |
When I try to play that dump it says:
Code:
h264 @ 0xf056c0]number of reference frames exceeds max (probably corrupt input), discarding one However, it plays fine with 'ffplay', try that. I think that this message might be correct, the input may be corrupt. It could be a driver problem with the capture card or something. |
I have already tried ffplay, as mentioned earlier in the thread. It maintains sync but stutters due to high CPU consumption.
|
Did you enable vdpau in ffplay ? when compiling it ? that might help.
|
Quote:
|
Quote:
Code:
mplayer -va vaapi -vo vaapi test.ts Code:
... MT. |
Alright, tried building mplayer-vaapi as mentioned earlier in the thread. Builds OK but I get this when I try to run it:
Code:
Playing test.ts. |
Quote:
You should check for valid path of nvidia_drv_video.so (your is /usr/lib64/va/drivers/nvidia_drv_video.so). There are a utility named 'vainfo' which use to check whether libva installed properly or not. Code:
$ ./vainfo Code:
File config.h of vdpau-video: Code:
File va.c of libva: MT. |
Is your user in the video group?
What's your specs with regards to other baselines speeds? $ glxinfo | grep -i "direct" $ glxgears -info (or -printfps depending on distro / version) $ xvidtune -show $ ffmpeg -i <video> $ cat /proc/cpuinfo | grep -i "bogomip" (while you're trying to play the video, frequency scaling ruins it if you're not maxed) |
mac.tieu: I checked the defines you mentioned and they match. I'm using the same versions of everything as you except for the Nvidia driver: 195.36.24
vainfo does the same thing: Code:
electrode@belphegor:~$ vainfo Shadow_7: User is in video group. All video and 3D apps run correctly and at reasonable speeds. MPEG-1/2/4 HD video plays without difficulty. CPU scaling is disabled in the kernel (I was using it at one point but found that it screwed up virtualbox). |
Quote:
Hope that help, MT. |
After doing some research, it looks like my card (Geforce 7800 AGP) does not support VDPAU/VA API, so this was all a dead end.
If there are no other suggestions, I give up. |
All times are GMT -5. The time now is 11:34 AM. |