youtube video playback, vdpau fail
If video format is flv, vdpau is OK. If video format is mp4, mpv shows: [vdpau] Failed creating VDPAU decoder: An invalid/unsupported VdpDecoderProfile value was supplied. [ffmpeg/h264] get_buffer() failed [ffmpeg/h264] thread_get_buffer() failed [ffmpeg/h264] decode_slice_header error [ffmpeg/h264] no frame! Error while decoding frame! Error using hardware decoding, falling back to software decoding.
Sorry, It's my fault. I just compiled new version, this problem solved.
Comes again.
Trying to use hardware decoding.
Selected video codec: H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 [lavc:h264]
Selected audio codec: AAC (Advanced Audio Coding) [lavc:aac]
AO: [alsa] 48000Hz stereo 2ch float
[vdpau] Codec or profile not supported by hardware.
[ffmpeg/h264] get_buffer() failed
[ffmpeg/h264] thread_get_buffer() failed
[ffmpeg/h264] decode_slice_header error
[ffmpeg/h264] no frame!
Error while decoding frame!
Error using hardware decoding, falling back to software decoding.
Only MP4, FLV Works.
Needs a sample. Reopen if you have one; it works here. It's probably format specific. Also, what's your hardware, and what drivers are you using? (E.g. mesa or something else.)
Sample is in youtube, Ex.
http://www.youtube.com/watch?v=FHFf7NIwOHQ
Please choose MP4 format, Ex. fmt18_240p
I'm sure it works before version git-39fc006,

NOT work after version git-84dcb76

what's your hardware
Graphic Card model? MSI N430GT
what drivers are you using?
Sorry, I don't know what you mean. mesa? I'm using vdpau. anyway, These packages are installed on my machine ( Debian Testing ):
glx-alternative-mesa 0.3.0
glx-alternative-nvidia 0.3.0
libegl1-mesa 9.1.6-2
libgl1-mesa-glx 9.1.6-2
libgl1-nvidia-glx 304.88-6
libglapi-mesa 9.1.6-2
libvdpau1 0.7-1
nvidia-kernel-dkms 304.88-6
nvidia-vdpau-driver 304.88-6
xserver-xorg-video-nvidia 304.88-6
Works before, Not work since commit 24897eb94ccdc4c7a4b9b201ec733b4d8f445f53
video: check profiles with hardware decoding
OK, that was a regression. Should be fixed now. Thanks for reporting.
Works, Thank you. P.S. I found no 'Reopen' button at this page after you close.
Found not work video. http://www.youtube.com/watch?v=o8gF6EAJ2go http://www.youtube.com/watch?v=e6AH9_OWzig
Error message same as above. Also, not work since commit 24897eb94ccdc4c7a4b9b201ec733b4d8f445f53
A youtube video can be served in multiple formats, so without knowing the exact format I can't do anything. Post a youtube-dl command line.
I'm using quvi. quvi "http://www.youtube.com/watch?v=o8gF6EAJ2go" -f fmt18_360p --exec="mpv %u" quvi "http://www.youtube.com/watch?v=e6AH9_OWzig" -f fmt18_240p --exec="mpv %u"
These videos report "h264 baseline" as profile, which is not compatible with "h264 main" and "h264 high" (which are usually the hardware supported profiles). The profiles are probably not what the creator of the files intended, but this is why we reject these files for hw decoding. You can use --vd-lavc-check-hw-profile=no to force decoding with the highest profile.
Why do you need hardware decoding for 240p videos?
You can use --vd-lavc-check-hw-profile=no to force decoding with the highest profile.
OK. It works. Thank you
Why do you need hardware decoding for 240p videos?
Just want lower CPU usage.
CPU usage should be very low. Does it really have a big advantage on your system? (Just curious.)
Does it really have a big advantage on your system?
No.
I'm not expert. Seems "h264 baseline" is only for low quality video? The message makes me misconstrued it's a bug
Seems "h264 baseline" is only for low quality video?
"Baseline" has a misleading name, and has some features that aren't in the other profiles. This means if a decoder supports only "main" and "high", it can't decode all of baseline in theory. Here's a nice overview: http://en.wikipedia.org/wiki/H264#Profiles
OK. Thank you for your reply, and sorry for waste your time.