SourceForge has been redesigned. Learn more.
Close

#178 can't play wmv videos anymore

svn
closed-fixed
nobody
wmv (1)
9
2014-01-11
2013-12-31
asturel
No

libavformat version 55.22.100 (internal)
ASF file format detected.
[asfheader] Audio stream found, -aid 1
[asfheader] Video stream found, -vid 2
VIDEO: [V3] 47185920x65536 19799bpp 1000.000 fps 4002.3 kbps (488.6 kbyte/s)
Clip info:
title:
author:
copyright:
comments:
Load subtitles in ./
Load subtitles in d:/install/mplayer/mplayer/sub/
Opening video filter: [ass]
Opening video filter: [screenshot]
==========================================================================
Cannot find codec matching selected -vo and video format 0x3356.
==========================================================================
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
libavcodec version 55.45.100 (internal)
Could not open codec.
ADecoder init failed :(
ADecoder init failed :(
Opening audio decoder: [msadpcm] MS ADPCM audio decoder
AUDIO: 1572864000 Hz, 48000 ch, s16le, 0.0 kbit/0.00% (ratio: 0->1073741824)
Selected audio codec: [msadpcm] afm: msadpcm (MS ADPCM)
==========================================================================
Invalid number of channels 48000, assuming 2.
ao_dsound: cannot set primary buffer format (DSERR_INVALIDPARAM), using standard setting (bad quality)ao_dsound: cannot create secondary (stream)buffer (DSERR_INVALIDPARAM)
ao_win32: format not supported switching to default
AO: [win32] 44100Hz 2ch s16le (2 bytes per sample)
Invalid number of channels 48000, assuming 2.
Video: no video
Starting playback...

MPlayer interrupted by signal 2 in module: play_audio
Audio device got stuck!
Invalid number of channels 48000, assuming 2.
Invalid number of channels 48000, assuming 2.
Invalid number of channels 48000, assuming 2.
Invalid number of channels 48000, assuming 2.

I dont know when It's get broken, I use binary codecs pack with corei mplayer version
I also tried with -nosound but the main issue is that i dont even get video

Related

Bugs: #177

Discussion

  • asturel

    asturel - 2013-12-31

    Found an older version: MPlayer-corei7-r36349+gb24f15c.7z, this works with wmv

     
  • Josh

    Josh - 2014-01-03

    You can add ' -demuxer lavf ' it should work, for some reason the newer compiler used in the recent release causes the strange behavior.

     
    Last edit: Josh 2014-01-03
  • Josh

    Josh - 2014-01-03

    I decided to play a hunch. A feature enabled by default in the newer compiler may be the cause of the irregular behavior.

    I added the following to mplayer's cflags (next to '-D__USE_MINGW_ANSI_STDIO=1') and it worked as it should with GCC 4.8. This isn't useful to you unless you compile it but to Sherpya:

    -mno-ms-bitfields

     
  • asturel

    asturel - 2014-01-03

    adding demuxer=lavf to config works, thanks

     
  • Gianluigi Tiesi

    Gianluigi Tiesi - 2014-01-10

    @josh yes looks like latest debian sid version of mingw64 uses ms-bitfields by default, I wonder if it breaks also my libraries

     
  • Josh

    Josh - 2014-01-10

    GCC 4.7 and later use it by default. http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52991
    Using -mno-ms-bitfields in $extra_cflags should fix these errors and DVD playback due to libdvdread using "attribute ((packed))" as well. As far as I can tell the other libraries don't use "attribute ((packed))"

     
  • Gianluigi Tiesi

    Gianluigi Tiesi - 2014-01-10

    lol it's me that opened this bug, I've looked at my libs and only libcdio may be affected, just to be sure I've added a patch to add gcc_struct attribute

     
  • Gianluigi Tiesi

    Gianluigi Tiesi - 2014-01-11

    fixed in r36573+ge11983b by adding -no-mms-bitfield

     

Log in to post a comment.