Summary: | JUNIPER UVD accelerated playback of MPEG 1/2 streams does not work | ||
---|---|---|---|
Product: | Mesa | Reporter: | Eugene Shalygin <eugene.shalygin+bugzilla.FDO> |
Component: | Drivers/Gallium/r600 | Assignee: | Default DRI bug account <dri-devel> |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | medium | CC: | doctor64, johannes.hirte |
Version: | unspecified | ||
Hardware: | x86-64 (AMD64) | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: |
Possible fix.
Possible fix v2 |
Description
Eugene Shalygin
2013-07-01 11:24:25 UTC
*** Bug 66768 has been marked as a duplicate of this bug. *** The vdpauinfo output is wrong, JUNIPER has an uvd 2.3 block and that can't decode MPEG2 in vld mode. Going to fix that in a minute. Created attachment 82275 [details] [review] Possible fix. With this patch applied, mplayer2 crashes on mpeg2 file with: Detected file format: MPEG-PS (MPEG-2 Program Stream) (libavformat) [mpeg @ 0x7fa7bec14cc0]max_analyze_duration 5000000 reached at 5005000 [lavf] stream 0: video (mpeg2video), -vid 0 [lavf] stream 1: audio (ac3), -aid 0 [lavf] stream 2: audio (ac3), -aid 1 Load subtitles in . Forced video codec: ffmpeg12vdpau Selected video codec: MPEG-1/2 video (VDPAU acceleration) [libavcodec] Selected audio codec: ATSC A/52A (AC-3) [libavcodec] AUDIO: 48000 Hz, 2 ch, s16le, 448.0 kbit/29.17% (ratio: 56000->192000) AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample) Starting playback... Unsupported PixelFormat xvmcidct (16) Unsupported PixelFormat xvmcmc (15) VIDEO: 720x480 29.970 fps 7500.0 kbps (937.5 kB/s) Aspect ratio is 1.78:1 - scaling to correct movie aspect. VO: [vdpau] 720x480 => 853x480 MPEG2 VDPAU acceleration [vdpau] Compositing window manager detected. Assuming timing info is inaccurate. MPlayer interrupted by signal 11 in module: check_framedrop (In reply to comment #2) > The vdpauinfo output is wrong, JUNIPER has an uvd 2.3 block and that can't > decode MPEG2 in vld mode. So the wikipedia article is wrong? "The UVD 2 features full bitstream decoding of H.264/MPEG-4 AVC, VC-1, as well as MPEG2 video streams, and in addition it also supports dual video stream decoding and Picture-in-Picture mode. This makes UVD2 full BD-Live compliant." http://en.wikipedia.org/wiki/Unified_Video_Decoder#UVD_2 (In reply to comment #5) > (In reply to comment #2) > > The vdpauinfo output is wrong, JUNIPER has an uvd 2.3 block and that can't > > decode MPEG2 in vld mode. > > So the wikipedia article is wrong? > > "The UVD 2 features full bitstream decoding of H.264/MPEG-4 AVC, VC-1, as > well as MPEG2 video streams, and in addition it also supports dual video > stream decoding and Picture-in-Picture mode. This makes UVD2 full BD-Live > compliant." > > http://en.wikipedia.org/wiki/Unified_Video_Decoder#UVD_2 Yeah, that is complete nonsense. The MVC comment for UVD 3.0 is wrong also. Created attachment 82331 [details] [review] Possible fix v2 Update patch, should work better this time. But please note that shader based decoding is far away from beeing perfect either. With this patch playback works. Thank you! |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.