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

Newegg Daily Deals

Reply
 
Thread Tools
Old 02-12-09, 02:17 PM   #781
dragilla
Registered User
 
Join Date: Feb 2009
Posts: 12
Default Re: mplayer vdpau

Quote:
Originally Posted by kross View Post
Well my processor is at 61% playing this file... And except for the fact that it's all black and I can't even rewind it it's all peachy It's really wierd to be honest, because even the preview picture generated by gnome (the file is on desktop) is all black. What is it?

regards,
--
Luke
dragilla is offline   Reply With Quote
Old 02-12-09, 02:58 PM   #782
kross
Registered User
 
Join Date: Jan 2009
Posts: 11
Default Re: mplayer vdpau

Quote:
Originally Posted by dragilla View Post
Well my processor is at 61% playing this file... And except for the fact that it's all black and I can't even rewind it it's all peachy It's really wierd to be honest, because even the preview picture generated by gnome (the file is on desktop) is all black. What is it?

regards,
--
Luke
It's the first couple minutes of Starship Troopers. Seeking isn't possible because the file was truncated, and I believe the index information for seeking is stored at the end of the file. Other people have been able to play the test clip, so I know it's possible.

Edit: I believe the first 10 seconds or so is just black, maybe that's what you're seeing. Did you play all the way through? Do you get any sound?

Thanks!
-- Kevin
kross is offline   Reply With Quote
Old 02-12-09, 03:22 PM   #783
dragilla
Registered User
 
Join Date: Feb 2009
Posts: 12
Default Re: mplayer vdpau

Quote:
Originally Posted by kross View Post
Edit: I believe the first 10 seconds or so is just black, maybe that's what you're seeing. Did you play all the way through? Do you get any sound?
OK after a while a made it... it plays. The sound is there, but video is even more choppy. Actually it's more of a slide show than a movie
And I can rewind it after all, there is an option to mplayer to rebuild index.
If anyone's interested there's a cool program to split mkv's: mkvtoolnix. Just cut the 720p video that gives me trouble. Will post a link here as soon as it gets uploaded. See if you can play it without loosing any frames.

regards,
--
Luke
dragilla is offline   Reply With Quote
Old 02-12-09, 03:31 PM   #784
kross
Registered User
 
Join Date: Jan 2009
Posts: 11
Default Re: mplayer vdpau

Quote:
Originally Posted by dragilla View Post
OK after a while a made it... it plays. The sound is there, but video is even more choppy. Actually it's more of a slide show than a movie
And I can rewind it after all, there is an option to mplayer to rebuild index.
If anyone's interested there's a cool program to split mkv's: mkvtoolnix. Just cut the 720p video that gives me trouble. Will post a link here as soon as it gets uploaded. See if you can play it without loosing any frames.

regards,
--
Luke
I'll try your 720p clip when you upload it, since so far I haven't had any 720p problems.

-- Kevin
kross is offline   Reply With Quote
Old 02-12-09, 03:59 PM   #785
play3r
Registered User
 
Join Date: Jan 2009
Posts: 10
Default Re: mplayer vdpau

Thanks and Benchmarks
-----------------------

I owe a belated thanks to Stephen Warren for providing later SVNs of mplayer.
The earlier one I had tested with had broken the "hwdts" audio codec. Now,
that that is no longer a problem, I have used mplayer-vdpau for most of my
hd streams. Unfortunately, mplayer still doesn't seem to support LPCM. And,
I have trouble with TrueHD most of the time, as well. For those audio codecs,
I have been playing such streams with MPC-HC (Media Player Classic - HomeCinema)
However, I have trouble playing most VC-1 encoded videos with MPC-HC, so I
have to switch back and forth.

It occurred to me to create some benchmarks, to test releases of MPC-HC and
mplayer-vdpau as they are developed. I thought that the results may be of
interest to others, so I provide them below. This first set is more to
verify my benchmarks, as I do not have the latest releases of VDPAU, MPC-HC
and mplayer-vdpau installed, yet.

My desktop is dual boot: XP and Linux, so the results are somewhat
comparable:
Code:
H/W
---

Motherboard		Asus A8N-SLI Premium nForce4 PCI-Express ATX
Processor		AMD Athlon 64 FX-57 2.8 Ghz 1MB cache socket 939
Memory			2 GB - OCZ 1GB (2 x 512MB) and Mushkin 1GB (2 x 512MB), 184pin, PC 3200, Dual Channel
Hard Drive 		Samsung HD501LJ 500 Gb SATA
Graphics Card		Axle AX-93GS nVidia 9300GS (G98) 512MB GDDR2 PCI-Express / HDCP / 3rd Gen PureVideo HD
Sound			NVidia CK804 (Realtek ALC850) (on motherboard) SPDIF (IEC958) out
Monitor			Samsung SyncMaster 245B LCD Monitor (DVI HDCP)
Speakers/Decoder	Logitech Z-5500

S/W
---

OS 1			Linux Fedora Core 9 (2.6.26.5-45.fc9)
File System		ext3
Graphics Driver		NVIDIA UNIX x86 Kernel Module 180.22 (1/6/2009)
Window System		X.Org X Server 1.5.0 (xorg-x11-server 1.5.0-2.fc9)
Desktop			KDE 4.1
Sound Driver		ALSA 1.0.17 (alsa-kmdl-2.6.26.5-45.fc9)
Multimedia Player	mplayer-vdpau-3402051

OS 2			Windows XP Pro 2002 SP2
File System		NTFS
Graphics Driver		NVIDIA 181.20 (12/26/2008)		
DirectX			9.0c
Sound Driver		Realtek AC-97 5.10.0.6260
Multimedia Player	MPC-HC 1.2.908.0
Codec			ffdshow tryouts (ffdshow_beta6_rev2527_20081219)
Results
-------

Code:
			        MPC-HC	        mplayer-vdpau		
1080p	Video	Audio		Peak	        Peak		
Stream	Codec	Codec	        CPU %	        CPU %	         Notes	

1	h264	pcm		25	        16	        mplayer - no sound	


2	h264    dts-hd ma	40	        21		


3	h264    dd truehd	69	        22		


4	vc1	pcm		28	        28	        mplayer - no sound	
						                MPC - pixelation	

5	vc1     dts-hd ma	44	        27	        MPC - pixelation


6	vc1     dd truehd	31	        22	        MPC - pixelation

Last edited by play3r; 02-13-09 at 07:35 AM. Reason: improve formatting
play3r is offline   Reply With Quote
Old 02-12-09, 04:25 PM   #786
dragilla
Registered User
 
Join Date: Feb 2009
Posts: 12
Default Re: mplayer vdpau

Ok, here's my clip. Test it and let me know if it's 100% fluent for you.
http://dragilla.pl/mytest.mkv
regards,
--
Luke
dragilla is offline   Reply With Quote
Old 02-12-09, 08:01 PM   #787
kross
Registered User
 
Join Date: Jan 2009
Posts: 11
Default Re: mplayer vdpau

Quote:
Originally Posted by dragilla View Post
Ok, here's my clip. Test it and let me know if it's 100% fluent for you.
http://dragilla.pl/mytest.mkv
regards,
--
Luke
That's a lot of exploding glass. Anyway, it plays perfectly smooth, with about 12% CPU usage in mplayer. I do have a faster CPU than your dual-core Atom (an AMD 5050e), but it should still play okay on your system, I would think.

Maybe BenBuntu can try it on his Asus N10J, since he says he can play all 720p videos just fine.
kross is offline   Reply With Quote
Old 02-12-09, 08:59 PM   #788
BenBuntu
Registered User
 
Join Date: Sep 2008
Posts: 13
Default Re: mplayer vdpau

Quote:
Originally Posted by kross View Post
That's a lot of exploding glass. Anyway, it plays perfectly smooth, with about 12% CPU usage in mplayer. I do have a faster CPU than your dual-core Atom (an AMD 5050e), but it should still play okay on your system, I would think.

Maybe BenBuntu can try it on his Asus N10J, since he says he can play all 720p videos just fine.
Well, I tried it on my N10J, and at first the video was slow for me, but it turned out mplayer wasn't using VDPAU for MKVs. Once I got the video to play using VDPAU, it briefly played very well, at full frame-rate, with almost no CPU utilization. Unfortunately, after about 3 seconds, the mplayer window went solid green, and the entire computer locked up hard. I had to power it off to get it back. It does this each time I play this video (using VDPAU), and it does the same thing with Kross' test video as well, although it's probably about 15 or 20 seconds before mplayer locks up with that video. Is anyone else getting this same behavior?
BenBuntu is offline   Reply With Quote

Old 02-12-09, 09:46 PM   #789
kross
Registered User
 
Join Date: Jan 2009
Posts: 11
Default Re: mplayer vdpau

Quote:
Originally Posted by BenBuntu View Post
Well, I tried it on my N10J, and at first the video was slow for me, but it turned out mplayer wasn't using VDPAU for MKVs. Once I got the video to play using VDPAU, it briefly played very well, at full frame-rate, with almost no CPU utilization. Unfortunately, after about 3 seconds, the mplayer window went solid green, and the entire computer locked up hard. I had to power it off to get it back. It does this each time I play this video (using VDPAU), and it does the same thing with Kross' test video as well, although it's probably about 15 or 20 seconds before mplayer locks up with that video. Is anyone else getting this same behavior?
mplayer exits with an error in both test clips if I don't make the change that I mentioned in post #754 (changing max_references to 16). With the change, Luke's video plays perfectly, but the one I posted plays with 100% CPU, and video lags behind audio, as if VDPAU wasn't being used.

-- Kevin
kross is offline   Reply With Quote
Old 02-12-09, 10:04 PM   #790
ralree
Registered User
 
Join Date: Feb 2009
Posts: 1
Default Re: mplayer vdpau

Hey guys. I've got an error using 180.29 and mplayer-vdpau-3482714 on a GeForce 8800GTS:

Code:
Starting playback...
VDec: vo config request - 1920 x 1040 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.85:1 - prescaling to correct movie aspect.
VO: [vdpau] 1920x1040 => 1920x1040 Planar YV12 
[ASPECT] Warning: No suitable new res found!
Error 1 at libvo/vo_vdpau.c:258
Any help would be appreciated!
ralree is offline   Reply With Quote
Old 02-13-09, 04:15 AM   #791
ReimarD
Registered User
 
Join Date: Jul 2005
Posts: 46
Default Re: mplayer vdpau

Quote:
Originally Posted by Gregoire.Favre View Post
Just found out on the mplayer-dev-eng ml :
"this is part of the extremely work-in-progress vdpau branch at
http://natsuki.mplayerhq.hu/~reimar/MPlayer.git/"
It certainly could be of lots of interest for lots of people here :-)
That is mine, and I am serious about the "extremely work-in-progress", switching to fullscreen and back tends to break video playback. Also RGB is not supported as output format, it seemed like far too much code for something very few people will really need.
On the plus side, it fixes a few things: manually resizing to overlap multiple monitors (without using -xineramascreen -2) does not result in a green border.
Also you should not need to hack max surfaces stuff, it will automatically allocate exactly as many as needed (up to 50), thus possibly also saving video RAM.
It should also reinitialize the decoder when the number of reference frames changes, e.g. when concatenating two different H.264 clips, but I have not actually tested that.
MPlayer's -fixed-vo option is still completely broken though.
EDIT2: -fixed-vo is now fixed and -panscan ('w' and 'e' during playback) is working, too.
EDIT: a big thanks also goes to cehoyos, he e.g. made the error messages readable to "almost-normal" users and added support for dynamic linking (so distributions have a chance to ship MPlayer with VDPAU).

Last edited by ReimarD; 02-14-09 at 04:25 AM.
ReimarD is offline   Reply With Quote
Old 02-13-09, 07:00 AM   #792
assem046
Registered User
 
Join Date: Dec 2008
Posts: 13
Default Re: mplayer vdpau

I've tested three files, and these are the results.

http://download.statuspro.tv/test.mkv
With Intel q6600, NVidia 8500GT, 180.29, Mplayer-vdpau 3482714, it stutters a little. Not so hard, but it looks not good. Mplayer-cpu between 4 - 50%.

I also build mplayer with coreavc support. When I play this file with:
'mplayer test.mkv -vo xv -vc coreserve' it plays very well, it don't stutter. Mplayer-cpu around 15% and dshowserver between 40 - 130%.

http://dragilla.pl/mytest.mkv
With mplayer-vdpau, mplayer uses around 5% cpu and plays well.
With mplayer and coreavc, mplayer-cpu 15% and dshowserver around 50% and plays well. No problem at all.

http://ckworks.sakura.ne.jp/data/xac...207_2a_mp4.zip
With mplayer-vdpau, mplayer is too slow and mplayer gives this output:

h264_vdpau @ 0xc926e0]B picture before any references, skipping 0
[h264_vdpau @ 0xc926e0]decode_slice_header error
[h264_vdpau @ 0xc926e0]no frame!
Error while decoding frame!
[h264_vdpau @ 0xc926e0]AVC: Consumed only 66333 bytes instead of 66340

Mplayer-cpu is ~25%
X-cpu is ~60%. A lot more as with the other files, ~8-10%

Last line repeats with different size.

With mplayer-coreavc, after 7 seconds it stutters because dshowserver is using 200 - 220% of cpu. Mplayer uses 23% of cpu.

Strange things happens with h264 video's.
Maybe encoding problems or hardware limitations?
assem046 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 Archived News Items 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 08:05 PM.


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