chenyunecjtu / coreavc-for-linux

Automatically exported from code.google.com/p/coreavc-for-linux
GNU General Public License v2.0
0 stars 1 forks source link

Broken dshow loading for WMV decoders #14

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Build with latest svn on win32.
2. Play wmv2/8 file with mplayer.

What is the expected output? What do you see instead?
No video is rendered while mplayer attempts to load the dshow wmv decoder.
This is likely just a win32 issue (or can you load the wmv dshow decoders
on linux?). This problem does not exist when the patch is not applied, and
also not a problem with the older mplayer CoreAVC take3 patches from the ML.

What version of the product are you using? On what operating system?
Windows XP, latest everything, no CoreAVC required here as it seems to
involve the dshow loader code itself.

Please provide any additional information below.
Here is a specific example of a wmv file which will not properly play with
the patches applied (again only confirmed on win32).
http://members.1usa.net/portals/0/MediaGallery/3/Budweiser_chienne_blonde.wmv
Here is the printed info while playing the file
Playing C:\Documents and Settings\Nicholi\Desktop\Budweiser_chienne_blonde.wmv.
ASF file format detected.
[asfheader] Audio stream found, -aid 1
[asfheader] Video stream found, -vid 2
VIDEO:  [WMV2]  320x240  24bpp  1000.000 fps  100.0 kbps (12.2 kbyte/s)
Clip info:
 name:
 author:
 copyright:
 comments:
==========================================================================
Opening video decoder: [dshow] DirectShow video codecs
ProductVersion: 8.-2.-508.0
Decoder does not support upside-down RGB frames
Decoder supports the following YUV formats:
VDec: vo config request - 320 x 240 (preferred colorspace: Packed YUY2)
[PP] Using codec's postprocessing, max q = 4.
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
VO: [directx] 320x240 => 320x240 Planar YV12
Warning: unsupported color space
VideoDecoder::SetExtAttr: registry failure
Selected video codec: [wmv8] vfm: dshow (Windows Media Video 8)
==========================================================================
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 16000 Hz, 1 ch, s16le, 10.0 kbit/3.91% (ratio: 1250->32000)
Selected audio codec: [ffwmav2] afm: ffmpeg (DivX audio v2 (FFmpeg))
==========================================================================
AO: [dsound] 16000Hz 1ch s16le (2 bytes per sample)
Starting playback...
************
framecount=0
************

Original issue reported on code.google.com by nsch...@gmail.com on 30 Sep 2007 at 1:22

GoogleCodeExporter commented 8 years ago
It's not just a Win32 issue; I see it on Linux as well. It seems to affect only 
WMV2/8, not WMV3/9.

Original comment by gurdas...@gmail.com on 18 Apr 2008 at 2:10

GoogleCodeExporter commented 8 years ago
These aren't easy to fix since it is due to fundamentals of the changes I made 
for
CoreAVC.  If I get the dshowloader working with mplayer, it would alleviate 
this, but
I don't see another alternative.

Original comment by alannis...@gmail.com on 6 May 2008 at 3:54