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

Newegg Daily Deals

Reply
 
Thread Tools
Old 01-28-10, 09:32 PM   #1
valannmi
Registered User
 
Join Date: Jan 2010
Posts: 6
Default ION+SVN-Mplayer+H264+195.30

I'm having problem playing one of the H.264 video file.

I used:
mplayer -vo vdpau -vc ffh264vdpau -nosound dark_knight_short.mkv

and it gives the following errors:
================================================== ========================
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.
vdp_decoder_create(1, 8, 48, 48, 2, -)
-> 0, 2
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO: [vdpau] 1024x576 => 1024x576 H.264 VDPAU acceleration
vdp_decoder_destroy(2)
-> 0
vdp_decoder_create(1, 8, 48, 48, 2, -)
-> 0, 2
vdp_decoder_destroy(2)
-> 0
vdp_decoder_create(1, 8, 1024, 576, 2, -)
VDPAU nvidia: Version: NVIDIA VDPAU Driver Shared Library 195.30 Fri Dec 18 14:22:27 PST 2009
VDPAU nvidia: Error detected 1002 356 30
VDPAU nvidia: Backtrace:
--: /usr/lib/libvdpau_nvidia.so [0x1ad5000] DSO load base
00: /usr/lib/libvdpau_nvidia.so [0x1af628f]
01: /usr/lib/libvdpau_nvidia.so [0x1ae1bec]
VDPAU nvidia: Version: NVIDIA VDPAU Driver Shared Library 195.30 Fri Dec 18 14:22:27 PST 2009
VDPAU nvidia: Error detected 1002 356 30
VDPAU nvidia: Backtrace:
--: /usr/lib/libvdpau_nvidia.so [0x1ad5000] DSO load base
00: /usr/lib/libvdpau_nvidia.so [0x1af628f]
01: /usr/lib/libvdpau_nvidia.so [0x1ae1bec]
VDPAU nvidia: Version: NVIDIA VDPAU Driver Shared Library 195.30 Fri Dec 18 14:22:27 PST 2009
VDPAU nvidia: Error detected 0 3056
VDPAU nvidia: Backtrace:
--: /usr/lib/libvdpau_nvidia.so [0x1ad5000] DSO load base
00: /usr/lib/libvdpau_nvidia.so [0x1ae1c94]
-> 25
vdp_get_error_string(25)
-> 'A catch-all error, used when no other error code applies.'
[vdpau] Failed creating VDPAU decoder: A catch-all error, used when no other error code applies.
FATAL: Cannot initialize video driver.
[h264_vdpau @ 0x8b1eba0]decoding to PIX_FMT_NONE is not supported.
[h264_vdpau @ 0x8b1eba0]decode_slice_header error
[h264_vdpau @ 0x8b1eba0]no frame!
Error while decoding frame!
[VD_FFMPEG] Trying pixfmt=0.
vdp_decoder_create(1, 8, 48, 48, 2, -)
-> 0, 2
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO: [vdpau] 1024x576 => 1024x576 H.264 VDPAU acceleration
vdp_decoder_destroy(2)
-> 0
vdp_decoder_create(1, 8, 48, 48, 2, -)
-> 0, 2
vdp_decoder_destroy(2)
-> 0
vdp_decoder_create(1, 8, 1024, 576, 2, -)
...
and the error messages repeats forever.

Notice that this file plays fine with just:
mplayer -vo vdpau -vc ffh264 -nosound dark_knight_short.mkv

My hardware is: Acer Aspire Revo 1600 installed with 32-bit Ubuntu Karmic.
mplayer version: SVN-r30448-4.4.1
Nvidia driver version: 195.30

Log files are attached. Somebody please help!

I can upload a sample of the video file if needed. Thanks!
Attached Files
File Type: gz nvidia-bug-report.log.gz (35.0 KB, 72 views)
File Type: gz mplayer_err.log.gz (1.9 KB, 92 views)
valannmi is offline   Reply With Quote
Old 01-28-10, 11:31 PM   #2
cehoyos
FFmpeg developer
 
Join Date: Jan 2009
Location: Vienna, Austria
Posts: 467
Default Re: ION+SVN-Mplayer+H264+195.30

Quote:
Originally Posted by valannmi View Post
mplayer -vo vdpau -vc ffh264vdpau -nosound dark_knight_short.mkv

VO: [vdpau] 1024x576 => 1024x576 H.264 VDPAU acceleration
Your hardware (VDPAU feature set B, Third Generation PureVideo HD) cannot decode H264 videos with this width. This is stated in the readme (and on wikipedia).

Carl Eugen
cehoyos is offline   Reply With Quote
Old 01-29-10, 12:15 PM   #3
valannmi
Registered User
 
Join Date: Jan 2010
Posts: 6
Default Re: ION+SVN-Mplayer+H264+195.30

Thanks for the quick reply, Carl.

This really puzzles me. I have played this very same file in my other computer many times with a supposedly "set B" PNY Geforce 9500 card using ffh264vdpau. It played great!

My other computer is running headless now, so I cannot reconfirm it. (being at work here) I can VNC to it see the settings, however.

But here is the setup if that helps:
OS: Ubuntu Hardy LTS AMD64
MB: Evga nforce 680i LT
Cpu: Intel C2D E6400

I can't be sure what version of mplayer/driver version works, but I swear that it played fine using VDPAU with some combination of mplayer and driver with the 9500 card.
valannmi is offline   Reply With Quote
Old 01-29-10, 12:31 PM   #4
valannmi
Registered User
 
Join Date: Jan 2010
Posts: 6
Default Re: ION+SVN-Mplayer+H264+195.30

It's an XFX 9500. Not a PNY.

This one:
http://www.newegg.com/Product/Produc...-392-_-Product
valannmi is offline   Reply With Quote
Old 01-29-10, 01:24 PM   #5
crisalide
Registered User
 
Join Date: Dec 2008
Posts: 173
Default Re: ION+SVN-Mplayer+H264+195.30

The 9500 GT is a "VDPAU Feature Set A" GPU.
http://en.wikipedia.org/wiki/VDPAU
crisalide is offline   Reply With Quote
Old 01-29-10, 01:30 PM   #6
valannmi
Registered User
 
Join Date: Jan 2010
Posts: 6
Default Re: ION+SVN-Mplayer+H264+195.30

Quote:
Originally Posted by crisalide View Post
The 9500 GT is a "VDPAU Feature Set A" GPU.
http://en.wikipedia.org/wiki/VDPAU
Yes, that's what it seems in wikipedia. However, I was able to play that clip with VDPAU using this card.
valannmi is offline   Reply With Quote
Old 01-30-10, 12:53 AM   #7
valannmi
Registered User
 
Join Date: Jan 2010
Posts: 6
Default Re: ION+SVN-Mplayer+H264+195.30

More confuse about the feature sets!

I was able to try this clip out in another system with a BFG 9800GT and it works perfectly great using ffh264vdpau.

mplayer -vo vdpau -vc ffh264vdpau -nosound \[蝙蝠侠前传2:黑暗骑士\].The.Dark.Knight.2008.IMAX.BDRip.X264-TLF.mkv

MPlayer SVN-r30048-4.4.1 (C) 2000-2009 MPlayer Team
141 audio & 308 video codecs
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.

Playing [蝙蝠侠前传2:黑暗骑士].The.Dark.Knight.2008.IMAX.BDRip.X264-TLF.mkv.
[mkv] Track ID 1: video (V_MPEG4/ISO/AVC), -vid 0
[mkv] Track ID 2: audio (A_AC3), -aid 0, -alang und
[mkv] Will play video track 1.
Matroska file format detected.
VIDEO: [avc1] 1024x576 24bpp 23.976 fps 0.0 kbps ( 0.0 kbyte/s)
================================================== ========================
Forced video codec: ffh264vdpau
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Unsupported PixelFormat -1
Selected video codec: [ffh264vdpau] vfm: ffmpeg (FFmpeg H.264 (VDPAU))
================================================== ========================
Audio: no sound
Starting playback...
[VD_FFMPEG] Trying pixfmt=0.
Unsupported PixelFormat -1
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO: [vdpau] 1024x576 => 1024x576 H.264 VDPAU acceleration
[VD_FFMPEG] XVMC-accelerated MPEG-2.
V:1638.2 0/ 0 0% 0% 0.0% 0 0
Exiting... (Quit)


I'm using less than 1% CPU on a C2D E8400 (by mplayer). When I use with "-vc ffh264", it takes up more than 30% CPU. So I'm pretty sure some kind of HW acceleration is used.

So Carl, how do I get it hardware accelerated with the ION LE with same result? As you know the Atom 230 is too weak to do CPU decoding with this video.

Another question left me puzzle is: why is this "set A" card(bfg 9800gt 512MB ECO) can HW decode where the "set B" card(ION LE) cannot?

I have attached log files for the e8400 system that can play this file.
Attached Files
File Type: gz nvidia-bug-report.log.gz (38.9 KB, 95 views)
File Type: gz vdpauinfo.log.gz (736 Bytes, 81 views)
valannmi is offline   Reply With Quote
Old 01-30-10, 12:59 AM   #8
Stephen Warren
Moderator
 
Stephen Warren's Avatar
 
Join Date: Aug 2005
Posts: 1,327
Default Re: ION+SVN-Mplayer+H264+195.30

The 9500 and 9800 GT are both "VDPAU feature set A". ION is "VDPAU feature set B". There is a bug specific to cards with "VDPAU feature set B" that prevents HW acceleration of H.264 videos with a few specific widths, 1024 being one of them. See the README for complete details. Cards with "VDPAU feature set A" do not have this bug, which is why you can play this clip using HW acceleration on this card. Unfortunately, there is no way to get around this while using HW acceleration. Sorry.
Stephen Warren is offline   Reply With Quote

Old 01-30-10, 01:27 AM   #9
valannmi
Registered User
 
Join Date: Jan 2010
Posts: 6
Default Re: ION+SVN-Mplayer+H264+195.30

Re-reading the wikipedia vdpau page and this feature set things are starting to make sense. I was under the assumption that set A < set B < set C; however, it should be set B < set A < set C (< means "super set of").

Carl, thanks for clarifying this.

Bummer! I can't play this file using the Acer Aspire Revo 1600!
valannmi is offline   Reply With Quote
Old 01-30-10, 08:12 AM   #10
cehoyos
FFmpeg developer
 
Join Date: Jan 2009
Location: Vienna, Austria
Posts: 467
Default Re: ION+SVN-Mplayer+H264+195.30

Quote:
Originally Posted by valannmi View Post
Re-reading the wikipedia vdpau page and this feature set things are starting to make sense. I was under the assumption that set A < set B < set C; however, it should be set B < set A < set C (< means "super set of").
That is not correct since feature set B (and C - VP3 and VP4) supports complete hardware accelerated decoding of VC1/WMV3 and MPEG1/2 while feature set A (second generation PureVideo) only supports partial hardware acceleration for these codecs.
Additionally, feature set B decodes H264 slightly faster than feature set A hardware (you need a 1080p60 sample or mplayer -speed 1.x to reproduce this).
So, it is basically A != B != C

Carl Eugen
cehoyos 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


All times are GMT -5. The time now is 09:40 PM.


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