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

Newegg Daily Deals

Reply
 
Thread Tools
Old 03-26-10, 11:19 AM   #1225
Stephen Warren
Moderator
 
Stephen Warren's Avatar
 
Join Date: Aug 2005
Posts: 1,327
Default Re: mplayer vdpau

octapus, I believe our HW is targeted at 1080p @30fps maximum for real-time. As such, your 60fps stream may simply be too much work for the HW to handle in real-time (although a lot depends on the exact content of the stream).

However, this may not be the only thing working against you; displaying 60fps content on a 60Hz display does need some care to achieve good video synchronization. I believe the SVN versions of MPlayer don't handle this well due to the fact they don't use the VdpPresentationQueue's timestamp-based presentation, nor feedback features for frame-dropping. I believe there are various git versions that attempt to address this.
Stephen Warren is offline   Reply With Quote
Old 03-26-10, 07:16 PM   #1226
octapus
Registered User
 
Join Date: Mar 2010
Location: us
Posts: 4
Default Re: mplayer vdpau

Glad to know some new directions to look at. Looks like very few success are there in smooth play of 1080p60 H.264 video, in realtime feed.

To dk75:
I am using Fedora. I have RT patched my kernel, it is 2.6.31.12-rt20.
My "ps aux|grep rtkit" does not show anything. Is rtkit a Ubuntu specific tool?
I wonder if you know anyone who has seen smooth 1080p60 play in realtime?
octapus is offline   Reply With Quote
Old 03-26-10, 08:41 PM   #1227
crisalide
Registered User
 
Join Date: Dec 2008
Posts: 173
Default Re: mplayer vdpau

Quote:
Originally Posted by octapus View Post
I wonder if you know anyone who has seen smooth 1080p60 play in realtime?
If you could provide a sample (~1 minute), i could check.
crisalide is offline   Reply With Quote
Old 03-27-10, 03:11 AM   #1228
dk75
Registered User
 
Join Date: Jan 2009
Posts: 171
Default Re: mplayer vdpau

Quote:
Originally Posted by octapus View Post
To dk75:
I am using Fedora. I have RT patched my kernel, it is 2.6.31.12-rt20.
My "ps aux|grep rtkit" does not show anything. Is rtkit a Ubuntu specific tool?
Yes. Some smartass tought that giving realtime privileges to PulseAudio on the fly will make sound better. And it do, but RT have one small glitch that's render it no good for desktops - if something goes RT then all other's going to hell.
So, we have RT PulseAudio that palys as smooth as it never did and choppy video playback with 5% CPU usage (with 2.6.32 kernel because they forgot to patch 2.6.31 kernel so beware of Ubuntu users complaining about it when Lucid arrive)
__________________
  • 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

Last edited by dk75; 03-31-10 at 11:19 AM.
dk75 is offline   Reply With Quote
Old 03-30-10, 06:16 PM   #1229
octapus
Registered User
 
Join Date: Mar 2010
Location: us
Posts: 4
Default Re: mplayer vdpau

I have uploaded a 1080p60 H.264 clip, the download link is the following. There is only one video stream, no audio stream, I don't have any that has audio.

http://hotfile.com/dl/35493803/f7956e7/video1.mpg.html

I can play this clip on local disk smoothly, my problem is when I play such a stream from network, in realtime. Note, "-fps 60" is needed for MPlayer.
octapus is offline   Reply With Quote
Old 03-31-10, 10:05 AM   #1230
cehoyos
FFmpeg developer
 
Join Date: Jan 2009
Location: Vienna, Austria
Posts: 467
Default Re: mplayer vdpau

Quote:
Originally Posted by octapus View Post
I wonder if you know anyone who has seen smooth 1080p60 play in realtime?
Using libavcodec's software decoding? Sure, on decent hardware (not necessarily Core i7).
Using hardware decoding and presentation on current PureVideo hardware? No, that does not work afaik (although I have not seen qvdpautest results for GT240 and GF100 yet).

It does of course not make sense to test without audio: Any hardware decodes 1080p60 videos (sooner or later, I mean), the interesting question is if decoding and presentation are finished in time to keep A/V sync. MPlayer will not show desync or drop frames for video-only files.
If you don't find an xacti sample (apparently a camera that is able to record in 1080p60), just play any 1080@30 sample with -speed 2 or a 1080@25 sample with -speed 2.4 and watch mplayer's status line. If your hardware isn't fast enough (for software decoding), add -lavdopts skiploopfilter=all:fast and/or threads=2 (and don't forget to always test latest svn: software decoding was heavily improved speed-wise lately).

Carl Eugen
cehoyos is offline   Reply With Quote
Old 04-02-10, 10:19 PM   #1231
mklein49
Registered User
 
Join Date: Oct 2006
Posts: 6
Default Re: mplayer vdpau

I came on here today looking to see what I was doing wrong that I was unable to play back 1080p60 h264 encoded video. I just got a Panasonic HDC-TM700 which records h264 video at 1080p60 with a bit rate around 28mb/s. I was disappointed when the video did not play back smoothly using VDPAU. I would max out around 45 fps.

After scanning this thread, it looks like I don't have a problem but the hardware simply does not support what I was hoping to do. I tried decoding with software using a e8500 cpu and was unsucsesfull as well.

One thing that does work at least is re-encoding with handbrake to mpeg-4 with the same resolution and frame rate and a bit rate of 20mbs. This plays back smooth using ffmpeg to decode with software.

So, I'm still bummed I can't play back the untouched video produced by the camera. Any chance the VDPAU enabled devices will be able to decode such video in the future? Or, can any one say what kind of cpu would required to decode with software?
mklein49 is offline   Reply With Quote
Old 04-03-10, 12:23 AM   #1232
Dragorep
Registered User
 
Join Date: Apr 2009
Posts: 98
Default Re: mplayer vdpau

mklein49, its hard to comment not knowing what card you are using..... One assumes you are using an nvidia video card?
Dragorep is offline   Reply With Quote

Old 04-03-10, 03:58 AM   #1233
cehoyos
FFmpeg developer
 
Join Date: Jan 2009
Location: Vienna, Austria
Posts: 467
Default Re: mplayer vdpau

Quote:
Originally Posted by mklein49 View Post
I came on here today looking to see what I was doing wrong that I was unable to play back 1080p60 h264 encoded video. I just got a Panasonic HDC-TM700 which records h264 video at 1080p60 with a bit rate around 28mb/s. I was disappointed when the video did not play back smoothly using VDPAU. I would max out around 45 fps.

After scanning this thread, it looks like I don't have a problem but the hardware simply does not support what I was hoping to do. I tried decoding with software using a e8500 cpu and was unsucsesfull as well.
I wanted to write "works fine for me on an E8400", but I just realized that it only just works without continuously dropping frames (vo gl which is supposed to be as fast as vo vdpau drops frames).
Please make sure that you are using latest svn (there have been improvements lately), that you use a decent compiler (I recommend gcc 4.4.3 or icc 11.1.069, to make sure I just tested gcc 3.4.6, and it is slower) and that you are compiling for x86_64 (32 bit mplayer drops frames for me).
If you are still seeing frame-drops (or if you need a fast solution), please test -lavdopts skiploopfilter=all (and please report if you see any difference in the decoded picture!).

For VDPAU, you have to use -lavdopts skipframe=nonref

Carl Eugen
cehoyos is offline   Reply With Quote
Old 04-03-10, 10:04 AM   #1234
mklein49
Registered User
 
Join Date: Oct 2006
Posts: 6
Question Re: mplayer vdpau

Quote:
Originally Posted by cehoyos View Post
I wanted to write "works fine for me on an E8400", but I just realized that it only just works without continuously dropping frames (vo gl which is supposed to be as fast as vo vdpau drops frames).
Please make sure that you are using latest svn (there have been improvements lately), that you use a decent compiler (I recommend gcc 4.4.3 or icc 11.1.069, to make sure I just tested gcc 3.4.6, and it is slower) and that you are compiling for x86_64 (32 bit mplayer drops frames for me).
If you are still seeing frame-drops (or if you need a fast solution), please test -lavdopts skiploopfilter=all (and please report if you see any difference in the decoded picture!).

For VDPAU, you have to use -lavdopts skipframe=nonref

Carl Eugen
So, using "-lavdopts skipframe=nonref", does that enable dropping frames, or what does that change?
mklein49 is offline   Reply With Quote
Old 04-03-10, 10:05 AM   #1235
mklein49
Registered User
 
Join Date: Oct 2006
Posts: 6
Default Re: mplayer vdpau

Quote:
Originally Posted by Dragorep View Post
mklein49, its hard to comment not knowing what card you are using..... One assumes you are using an nvidia video card?
My apologies. I'm using a motherboard with an integrated NVIDIA 9300 graphics card.
mklein49 is offline   Reply With Quote
Old 04-03-10, 11:29 AM   #1236
dk75
Registered User
 
Join Date: Jan 2009
Posts: 171
Default Re: mplayer vdpau

so barely, but you should have smooth playback

latest qvdpautest for 9300 that I've found for 9300 card at QVDPAUtest thread
Code:
qvdpautest 0.5
Intel(R) Core(TM)2 Duo CPU     P8400  @ 2.26GHz
NVIDIA GPU GeForce 9300M GS (G98) at PCI:1:0:0 (GPU-0)

VDPAU API version : 1
VDPAU implementation : NVIDIA VDPAU Driver Shared Library  190.53  Tue Dec  8 20:50:02 PST 2009

SURFACE GET BITS: 185.481 M/s
SURFACE PUT BITS: 157.035 M/s

MPEG DECODING (1920x1080): 75 frames/s
MPEG DECODING (1280x720): 160 frames/s
H264 DECODING (1920x1080): 62 frames/s
H264 DECODING (1280x720): 124 frames/s
VC1 DECODING (1440x1080): 87 frames/s

MIXER WEAVE (1920x1080): 243 frames/s
MIXER BOB (1920x1080): 370 fields/s
MIXER TEMPORAL (1920x1080): 79 fields/s
MIXER TEMPORAL + IVTC (1920x1080): 55 fields/s
MIXER TEMPORAL + SKIP_CHROMA (1920x1080): 117 fields/s
MIXER TEMPORAL_SPATIAL (1920x1080): 27 fields/s
MIXER TEMPORAL_SPATIAL + IVTC (1920x1080): 21 fields/s
MIXER TEMPORAL_SPATIAL + SKIP_CHROMA (1920x1080): 30 fields/s
MIXER TEMPORAL_SPATIAL (720x576 video to 1920x1080 display): 104 fields/s

MULTITHREADED MPEG DECODING (1920x1080): 53 frames/s
MULTITHREADED MIXER TEMPORAL (1920x1080): 52 fields/s
if you don't use any filters or deinterlacers then it should do
__________________
  • 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
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
xorg locks-up with newest nvidia drivers w/ vdpau. theroot NVIDIA Linux 1 06-24-12 11:04 AM
NVIDIA VDPAU Reference Benchmarks News Latest Tech And Game Headlines 0 06-11-12 05:30 AM
VDPAU and KDE 4.8 compositing = slow Pie-rate NVIDIA Linux 30 05-23-12 07:07 AM
VDPAU testing tool crisalide NVIDIA Linux 392 04-29-12 06:01 PM
mplayer & xmms problems! replys2me NVIDIA Linux 5 09-06-02 02:34 PM

All times are GMT -5. The time now is 04:38 AM.


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