Go Back   nV News Forums > Linux Support Forums > NVIDIA Linux

Newegg Daily Deals

Reply
 
Thread Tools
Old 02-24-10, 06:34 AM   #253
crisalide
Registered User
 
Join Date: Dec 2008
Posts: 173
Default Re: VDPAU testing tool

Quote:
Originally Posted by cehoyos View Post
You mean 1080i25?
25 interlaced frames per second with a horizontal resolution of 1080 lines.
1920x1080, interlaced, 50 fields per second (25 frames per second)

Quote:
The dog sample on samples.mplayerhq is the one mentioned in the long MPlayer VDPAU thread.
Is there nobody with a GT 240 who could run the testing tool?

Carl Eugen
On GT220, xine drops some frames in the first second, but the remaining part plays fine. Is this what you mean?
crisalide is offline   Reply With Quote
Old 02-24-10, 03:05 PM   #254
Vorgus
Registered User
 
Vorgus's Avatar
 
Join Date: Dec 2008
Posts: 107
Default Re: VDPAU testing tool

IN the US, ATSC 1080i should be ~ 60 fields, 30fps.

Bringing up femon on a 1080i channel, it says
Codec: Mpeg-2
Bitrate: 18.97
Frame Rate: 29.97 Hz
video format: NTSC
Resoluion: 1020x1080

Using an Asus 8400 silent for that which uses the G98 chip
Vorgus is offline   Reply With Quote
Old 02-24-10, 10:00 PM   #255
crisalide
Registered User
 
Join Date: Dec 2008
Posts: 173
Default Re: VDPAU testing tool

@cehoyos
I've tested the 25 first frames from the dog sample with qvdpautest.
On a GT220, it decodes at 81 frames/s.

If you want to give it a try, you can get the data file at http://hftom.free.fr/dog_h264hd.dat
Just rename it to h264hd.dat and put it in qvdpautest directory (you may want to backup the original one first).
crisalide is offline   Reply With Quote
Old 02-25-10, 10:55 AM   #256
dk75
Registered User
 
Join Date: Jan 2009
Posts: 171
Default Re: VDPAU testing tool

This is from Atom330 ION box:
Code:
mplayer xacti_hd2000_dogsample20090207_2a.mp4
MPlayer SVN-r30721-4.4.1 (C) 2000-2010 MPlayer Team
Loading extension-related profile 'vo.vdpau'

Playing xacti_hd2000_dogsample20090207_2a.mp4.
libavformat file format detected.
[lavf] Video stream found, -vid 0
[lavf] Audio stream found, -aid 1
VIDEO:  [H264]  1920x1080  24bpp  59.940 fps  24182.4 kbps (2952.0 kbyte/s)
Clip info:
 major_brand: mp42
 minor_version: 1
 compatible_brands: mp42avc1
 comment: SANYO DIGITAL CAMERA HD2000
 comment-eng: SANYO DIGITAL CAMERA HD2000
==========================================================================
Forced video codec: ffmpeg12vdpau
Forced video codec: ffwmv3vdpau
Forced video codec: ffvc1vdpau
Forced video codec: ffh264vdpau
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffh264vdpau] vfm: ffmpeg (FFmpeg H.264 (VDPAU))
==========================================================================
==========================================================================
Opening audio decoder: [faad] AAC (MPEG2/4 Advanced Audio Coding)
AUDIO: 48000 Hz, 2 ch, s16le, 127.7 kbit/8.31% (ratio: 15964->192000)
Selected audio codec: [faad] afm: faad (FAAD AAC (MPEG-2/MPEG-4 Audio))
==========================================================================
socket(): Address family not supported by protocol
AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample)
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.
A:   1.7 V:   0.8 A-V:  0.832 ct:  0.005   0/  0 83% 132%  8.7% 50 0 

           ************************************************
           **** Your system is too SLOW to play this!  ****
           ************************************************

Possible reasons, problems, workarounds:
- Most common: broken/buggy _audio_ driver
  - Try -ao sdl or use the OSS emulation of ALSA.
  - Experiment with different values for -autosync, 30 is a good start.
- Slow video output
  - Try a different -vo driver (-vo help for a list) or try -framedrop!
- Slow CPU
  - Don't try to play a big DVD/DivX on a slow CPU! Try some of the lavdopts,
    e.g. -vfm ffmpeg -lavdopts lowres=1:fast:skiploopfilter=all.
- Broken file
  - Try various combinations of -nobps -ni -forceidx -mc 0.
- Slow media (NFS/SMB mounts, DVD, VCD etc)
  - Try -cache 8192.
- Are you using -cache to play a non-interleaved AVI file?
  - Try -nocache.
Read DOCS/HTML/en/video.html for tuning/speedup tips.
If none of this helps you, read DOCS/HTML/en/bugreports.html.

A:  14.7 V:  14.6 A-V:  0.029 ct:  0.337   0/  0  9% 112%  4.2% 663 0 

Exiting... (End of file)
I am little too slow ;P
__________________
  • Linux Debian Sid x86_64/ 3.2.0
  • Lenovo T61p
  • NVIDIA driver 295.33
  • Xorg/XServer 7.6+12/1.11.4
  • GNOME 3.2.2
dk75 is offline   Reply With Quote
Old 02-26-10, 08:44 AM   #257
cehoyos
FFmpeg developer
 
Join Date: Jan 2009
Location: Vienna, Austria
Posts: 467
Default Re: VDPAU testing tool

Quote:
Originally Posted by crisalide View Post
On GT220, xine drops some frames in the first second, but the remaining part plays fine. Is this what you mean?
This really surprises me:
Could you confirm that VDPAU allows you to hardware-decode the xacti-dog 60fps sample without totally loosing A/V-sync? Since the sample is mostly silent, only status line information can be used;-(
Could you also test MPlayer?

Sorry for mixing up 50fps and 60fps, the sample in question is of course 60fps.

Carl Eugen
cehoyos is offline   Reply With Quote
Old 02-26-10, 08:49 AM   #258
cehoyos
FFmpeg developer
 
Join Date: Jan 2009
Location: Vienna, Austria
Posts: 467
Default Re: VDPAU testing tool

Quote:
Originally Posted by Vorgus View Post
IN the US, ATSC 1080i should be ~ 60 fields, 30fps.

Bringing up femon on a 1080i channel, it says
Codec: Mpeg-2
MPEG-2 decoding is far less complex than H264 decoding: Every Nvidia VDPAU hardware (except feature set A with very slow CPU, I am speaking about my P3 500) easily succeeds in decoding MPEG2 1080@60 video without skipping frames. I found some uploaded (Asian) TV content that is H264 1080@30 and also decodes without skipping frames on feature set A, B and C hardware.
I still claim that does not work for H264 1080@60 for any current Nvidia VDPAU hardware (but I may be wrong).

Carl Eugen
cehoyos is offline   Reply With Quote
Old 02-27-10, 06:47 PM   #259
crisalide
Registered User
 
Join Date: Dec 2008
Posts: 173
Default Re: VDPAU testing tool

(Playing on a 60Hz screen)
Code:
cris@stratocaster:~$ /home/cris/vdpau/mplayer-vdpau-4605675/mplayer-vdpau/mplayer -vo vdpau -vc ffh264vdpau /home/cris/Videos/h264/xacti_hd2000_dogsample20090207_2a.mp4                                                                                                                                      
MPlayer SVN-r29354-4.4.1 (C) 2000-2009 MPlayer Team                                                                                                    

Playing /home/cris/Videos/h264/xacti_hd2000_dogsample20090207_2a.mp4.
libavformat file format detected.                                    
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x90f9540]Invalid timestamps stream=0, pts=0, dts=1001, size=128
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x90f9540]Invalid timestamps stream=0, pts=2002, dts=3003, size=37008
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x90f9540]Invalid timestamps stream=0, pts=4004, dts=5005, size=41104
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x90f9540]Invalid timestamps stream=0, pts=6006, dts=7007, size=29456
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x90f9540]Invalid timestamps stream=0, pts=8008, dts=9009, size=7984 
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x90f9540]Invalid timestamps stream=0, pts=10010, dts=11011, size=11896
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x90f9540]Invalid timestamps stream=0, pts=12012, dts=13013, size=14632
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x90f9540]Invalid timestamps stream=0, pts=14014, dts=15015, size=15128
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x90f9540]Invalid timestamps stream=0, pts=16016, dts=17017, size=30136
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x90f9540]Invalid timestamps stream=0, pts=18018, dts=19019, size=37760
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x90f9540]Invalid timestamps stream=0, pts=20020, dts=21021, size=38496
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x90f9540]Invalid timestamps stream=0, pts=22022, dts=23023, size=14680
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x90f9540]Invalid timestamps stream=0, pts=24024, dts=25025, size=14096
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x90f9540]Invalid timestamps stream=0, pts=26026, dts=27027, size=31184
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x90f9540]Invalid timestamps stream=0, pts=28028, dts=29029, size=37544
[lavf] Video stream found, -vid 0                                                                 
[lavf] Audio stream found, -aid 1                                                                 
VIDEO:  [avc1]  1920x1080  24bpp  59.940 fps    0.0 kbps ( 0.0 kbyte/s)                           
Clip info:                                                                                        
 comments: SANYO DIGITAL CAMERA HD2000                                                            
==========================================================================                        
Forced video codec: ffh264vdpau                                                                   
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family                                  
[VD_FFMPEG] XVMC-accelerated MPEG-2.                                                              
Selected video codec: [ffh264vdpau] vfm: ffmpeg (FFmpeg H.264 (VDPAU))                            
==========================================================================                        
==========================================================================                        
Opening audio decoder: [faad] AAC (MPEG2/4 Advanced Audio Coding)                                 
FAAD: compressed input bitrate missing, assuming 128kbit/s!                                       
AUDIO: 48000 Hz, 2 ch, s16le, 128.0 kbit/8.33% (ratio: 16000->192000)                             
Selected audio codec: [faad] afm: faad (FAAD AAC (MPEG-2/MPEG-4 Audio))                           
==========================================================================                        
AO: [oss] 48000Hz 2ch s16le (2 bytes per sample)                                                  
Starting playback...                                                                              
[VD_FFMPEG] XVMC-accelerated MPEG-2.                                                              
VDec: vo config request - 1920 x 1080 (preferred colorspace: H.264 VDPAU acceleration)            
VDec: using H.264 VDPAU acceleration as output csp (no 0)                                         
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.                                      
VO: [vdpau] 1920x1080 => 1920x1080 H.264 VDPAU acceleration                                       
[ASPECT] Warning: No suitable new res found!                                                      
New_Face failed. Maybe the font path is wrong.                                                    
Please supply the text font file (~/.mplayer/subfont.ttf).                                        
subtitle font: load_sub_face failed.                                                              
New_Face failed. Maybe the font path is wrong.                                                    
Please supply the text font file (~/.mplayer/subfont.ttf).                                        
subtitle font: load_sub_face failed.                                                              
[h264_vdpau @ 0x895cb40]B picture before any references, skipping0 
[h264_vdpau @ 0x895cb40]decode_slice_header error                  
[h264_vdpau @ 0x895cb40]no frame!                                  
Error while decoding frame!                                        
New_Face failed. Maybe the font path is wrong.                     
Please supply the text font file (~/.mplayer/subfont.ttf).         
subtitle font: load_sub_face failed.                               
New_Face failed. Maybe the font path is wrong.                     
Please supply the text font file (~/.mplayer/subfont.ttf).         
subtitle font: load_sub_face failed.                               
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x894dec0]Invalid timestamps stream=0, pts=30030, dts=31031, size=32912
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x894dec0]Invalid timestamps stream=0, pts=32032, dts=33033, size=28304
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x894dec0]Invalid timestamps stream=0, pts=34034, dts=35035, size=19008
[.........snip.............]
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x894dec0]Invalid timestamps stream=0, pts=876876, dts=877877, size=12872
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x894dec0]Invalid timestamps stream=0, pts=878878, dts=879879, size=14792
A:  14.7 V:  14.6 A-V:  0.029 ct:  0.077   0/  0  1% 101%  0.7% 723 0

Exiting... (End of file)
crisalide is offline   Reply With Quote
Old 02-28-10, 12:01 PM   #260
cehoyos
FFmpeg developer
 
Join Date: Jan 2009
Location: Vienna, Austria
Posts: 467
Default Re: VDPAU testing tool

Quote:
Originally Posted by crisalide View Post
(Playing on a 60Hz screen)
Code:
A:  14.7 V:  14.6 A-V:  0.029 ct:  0.077   0/  0  1% 101%  0.7% 723 0
While I only get 74 frames/s from qvdpautest with the data file you provided on a G210, latest svn (your version is rather ancient) drops slightly less than 700 frames on my system (and I get no error messages, no matter if I use -demuxer mov or -demuxer lavf).
Do we agree now that (typical) 1080 H264 videos can not be decoded (and, of course, shown) at 60fps (at least with our GT220/G210)? Or is the xine implementation so much better performing?

Carl Eugen
cehoyos is offline   Reply With Quote

Old 02-28-10, 02:50 PM   #261
crisalide
Registered User
 
Join Date: Dec 2008
Posts: 173
Default Re: VDPAU testing tool

This sample' duration is ~15 seconds, so it's made of about 15x60 = 900 frames. Dropping 700 frames would mean an average frame displayed rate of 13fps, which would be easily noticeable. From what I see (with my old mplayer-vdpau + c2-e8500@3.16GHz + gt220) i can't trust mplayer' output. Or maybe i misunderstand mplayer's status line?

This is with xine.
1) The frames are dropped in (~) the first second.
2) The a/v sync correction happens after ~250 frames.
Code:
Create decoder: vdp_device: 1, profile: 8, res: 1920x1080
video jump
play_internal ...done
video_out: throwing away image with pts 8652894 because it's too old (diff : 4862).
video_out: throwing away image with pts 8654396 because it's too old (diff : 6386).
video_out: throwing away image with pts 8655897 because it's too old (diff : 4885).
video_out: throwing away image with pts 8657299 because it's too old (diff : 5224).
video_out: throwing away image with pts 8658803 because it's too old (diff : 5853).
video_out: throwing away image with pts 8660209 because it's too old (diff : 4447).
video_out: throwing away image with pts 8661716 because it's too old (diff : 3040).
video_out: throwing away image with pts 8663125 because it's too old (diff : 3595).
video_out: throwing away image with pts 8664635 because it's too old (diff : 3904).
video_out: throwing away image with pts 8665996 because it's too old (diff : 2543).
video_out: throwing away image with pts 8667510 because it's too old (diff : 2837).
video_out: throwing away image with pts 8668926 because it's too old (diff : 1923).
video_out: throwing away image with pts 8670443 because it's too old (diff : 2230).
video_out: throwing away image with pts 8676321 because it's too old (diff : 2243).
video_out: throwing away image with pts 8689553 because it's too old (diff : 2474).
video_out: throwing away image with pts 8692514 because it's too old (diff : 1773).
200 frames delivered, 0 frames skipped, 16 frames discarded
audio_out: inserting 8408 0-frames to fill a gap of 15769 pts
P.S.
I'm a bit surprised to see that a G210 is slower than a GT220 for decoding. You may want to make sure that powermizer is off (it may take some time to jump to maxperf?)
crisalide is offline   Reply With Quote
Old 02-28-10, 04:53 PM   #262
cehoyos
FFmpeg developer
 
Join Date: Jan 2009
Location: Vienna, Austria
Posts: 467
Default Re: VDPAU testing tool

Quote:
Originally Posted by crisalide View Post
This sample' duration is ~15 seconds, so it's made of about 15x60 = 900 frames. Dropping 700 frames would mean an average frame displayed rate of 13fps, which would be easily noticeable.
Yes, you are correct that the number is not reliable (VDPAU frames cannot be dropped in MPlayer like software-decoded frames). The important thing, however is that it is not possible to keep A/V sync (for both our G210 and GT220), but that actually the lag gets bigger every second. That is at least for MPlayer svn, I did not test xine.
I will probably not look into this again, the important thing imo is that it is not possible to decode 1080@60 H264 and keep A/V sync (at least for the cards we tested, I don't know about the GT 240).

Carl Eugen
cehoyos is offline   Reply With Quote
Old 03-05-10, 03:41 PM   #263
Licaon
Registered User
 
Licaon's Avatar
 
Join Date: Nov 2004
Location: Between the keyboard and the chair.
Posts: 490
Default Re: VDPAU testing tool

is this: corruption normal ?
GTS250 / 64bit Linux / v195.36.08 / qvdpautest v0.5
Licaon is offline   Reply With Quote
Old 03-05-10, 08:18 PM   #264
crisalide
Registered User
 
Join Date: Dec 2008
Posts: 173
Default Re: VDPAU testing tool

Quote:
Originally Posted by Licaon View Post
is this corruption normal ?
No.
1) Check qvdpautest-0.5.tar.gz integrity (md5 : 2251f2be5185f9474a73c81621d98a61)
2) Play the original sample: http://download.microsoft.com/downlo...light_1080.exe
crisalide is offline   Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


Similar Threads
Thread Thread Starter Forum Replies Last Post
Valve to release its trailer-making tool: Source Filmmaker dikinher Gaming Central 2 06-28-12 12:28 PM
xorg locks-up with newest nvidia drivers w/ vdpau. theroot NVIDIA Linux 1 06-24-12 11:04 AM
Load Testing with the Cloud ' This Week on inside* Publications News Archived News Items 0 05-20-12 05:30 PM
Portal 2 Perpetual Testing Initiative Starts Now News Archived News Items 0 05-08-12 05:00 PM
tv tool 6.8 thcdru2k NVIDIA Windows Graphics Drivers 4 10-18-02 01:10 PM

All times are GMT -5. The time now is 10:13 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.