View Single Post
Old 03-13-12, 04:23 PM   #1
mafeuser
Registered User
 
Join Date: Jan 2012
Posts: 3
Default problem. jerky/tearing fullHD/h264/50fps playback on HDMI/GT520/drv.ver.270.41.06.

Hallo Group Members.

I play the movie with following command:
mplayer -vo vdpau -vc ffh264vdpau encoded.stream.mp4

the playback is jerky/tearing but no frame dropping and sound is in sync with video.

I am stuck( please help me to fix it!!!!!

some more data:
------ 1) mplayer nosound/benchmark:

Playing encoded.stream.mp4.
libavformat file format detected.
[lavf] stream 0: video (h264), -vid 0
[lavf] stream 1: audio (aac), -aid 0, -alang und
VIDEO: [H264] 1920x1080 24bpp 50.000 fps 4053.1 kbps (494.8 kbyte/s)
Clip info:
major_brand: isom
minor_version: 512
compatible_brands: isomiso2avc1mp41
encoder: Lavf54.1.100
================================================== ========================
Forced video codec: ffh264vdpau
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffh264vdpau] vfm: ffmpeg (FFmpeg H.264 (VDPAU))
================================================== ========================
Audio: no sound
Starting playback...
[VD_FFMPEG] Trying pixfmt=0.
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO: [vdpau] 1920x1080 => 1920x1080 H.264 VDPAU acceleration
[VD_FFMPEG] XVMC-accelerated MPEG-2.

BENCHMARKs: VC: 4.867s VO: 24.436s A: 0.000s Sys: 0.354s = 29.656s
BENCHMARK%: VC: 16.4100% VO: 82.3974% A: 0.0000% Sys: 1.1927% = 100.0000%

-------- 2) mplayer on top command takes no more than 7% (which is expected of course, because most of job is done by my GT520).
-------- 3) ffprobe encoded.stream.mp4
ffprobe version git-2012-02-18-f23a740 Copyright (c) 2007-2012 the FFmpeg developers
built on Feb 18 2012 17:12:37 with gcc 4.5.2
configuration: --enable-gpl --enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvorbis --enable-libx264 --enable-nonfree --enable-postproc --enable-version3 --enable-x11grab
libavutil 51. 39.100 / 51. 39.100
libavcodec 54. 3.100 / 54. 3.100
libavformat 54. 1.100 / 54. 1.100
libavdevice 53. 4.100 / 53. 4.100
libavfilter 2. 62.101 / 2. 62.101
libswscale 2. 1.100 / 2. 1.100
libswresample 0. 6.100 / 0. 6.100
libpostproc 52. 0.100 / 52. 0.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'encoded.stream.mp4':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
encoder : Lavf54.1.100
Duration: 00:00:41.34, start: 0.000000, bitrate: 4250 kb/s
Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 4053 kb/s, 50 fps, 50 tbr, 50 tbn, 100 tbc
Metadata:
handler_name : VideoHandler
Stream #0:1(und): Audio: aac (mp4a / 0x6134706D), 48000 Hz, 5.1, s16, 192 kb/s
Metadata:
handler_name :

---------- 4) xrandr
xrandr: Failed to get size of gamma for output default
Screen 0: minimum 320 x 175, current 1920 x 1080, maximum 1920 x 1080
default connected 1920x1080+0+0 0mm x 0mm
1920x1080 50.0* 51.0 52.0 53.0 54.0 55.0 56.0 57.0 58.0
...
...

---------- 5) xorg.conf
# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings: version 270.29 (buildd@roseapple) Fri Feb 25 14:43:24 UTC 2011

........
........

Section "Monitor"
# HorizSync source: edid, VertRefresh source: edid
Identifier "Monitor0"
VendorName "Unknown"
ModelName "LG Electronics LG TV"
HorizSync 30.0 - 83.0
VertRefresh 58.0 - 62.0
Option "DPMS"
EndSection

Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce GT 520"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
Option "TwinView" "0"
Option "metamodes" "1920x1080_50 +0+0; nvidia-auto-select +0+0"
SubSection "Display"
Depth 24
EndSubSection
EndSection

------- 6) but ...

... nvidia x server settings GUI -> GPU 0 (GeForce GT 520) -> DFP-1 - (LG Electronics LG TV) -> Refresh rate: 60 hz.

This is little bit strange but maybe does not matter.
mafeuser is offline   Reply With Quote