Menu

#6 WMV playback problem

open
nobody
wmv (1)
2015-10-26
2013-10-30
No

Saw problem with some WMV files (mplayer-svn-36496).Actually file has audio stream but mplayer showing that it has no audio!After 11 seconds playback hangs.
Video file used: Wildlife In HD (Windows 7 Sample Video)

Please check screenshots

1 Attachments

Related

Bugs: #6

Discussion

  • Josh

    Josh - 2013-10-31

    I wasn't able to reproduce the hanging with the same build & video.

     
  • Rupesh Sreeraman

    Ok..do u have audio output for that file?
    from the screenshot we can see that Audio:no sound

     
  • Rupesh Sreeraman

    Hi Josh,

    I tested with binary codecs,still not getting any positive result.
    In older versions without binary codecs mplayer was able to play WMV files
    using libavcodec.

    Even i forced to use ffmpeg ,afm,vfm ....but still no audio !!!

    I noticed that this problem occurring from the build (01-01-2013) -
    r35712-2
    :

    Here is the output with high verbose

    C:\Documents and Settings\Rupesh
    S>F:\mplayer-svn-36496\mplayer-svn-36496\mplaye
    r.exe -v H:/w.wmv
    MPlayer Redxii-SVN-r36496-4.6.3 (C) 2000-2013 MPlayer Team
    Compiled against FFmpeg version N-57505-g0fef19b
    Build date: Mon Oct 28 00:32:57 EDT 2013
    CPU vendor name: GenuineIntel max cpuid level: 13
    CPU: Intel(R) Pentium(R) CPU G630 @ 2.70GHz (Family: 6, Model: 42,
    Stepping: 7)
    extended cpuid-level: 8
    extended cache-info: 16801856
    Detected cache-line size is 64 bytes
    Testing OS support for SSE... yes.
    CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNowExt: 0 SSE: 1 SSE2: 1 SSE3: 1
    SSSE3: 1 S
    SE4: 1 SSE4.2: 1 AVX: 0
    Compiled with runtime CPU detection.
    Setting PATH to F:\mplayer-svn-36496\mplayer-svn-36496\codecs
    get_path('codecs.conf') ->
    'F:/mplayer-svn-36496/mplayer-svn-36496/mplayer/codec
    s.conf'
    Reading optional codecs config file
    F:/mplayer-svn-36496/mplayer-svn-36496/mplay
    er/codecs.conf: No such file or directory
    Reading optional codecs config file /usr/local/etc/mplayer/codecs.conf: No
    such
    file or directory
    Using built-in default codecs.conf.
    init_freetype
    Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
    get_path('fonts') -> 'F:/mplayer-svn-36496/mplayer-svn-36496/mplayer/fonts'
    Configuration: --extra-cflags=-I/mingw/src/live --enable-static
    --enable-runtime
    -cpudetection --enable-menu --disable-inet6 --disable-libmpeg2-internal
    --disabl
    e-tv --disable-vidix --disable-faac-lavc --disable-mencoder
    CommandLine: '-v' 'H:/w.wmv'
    Using Windows native timing
    get_path('input.conf') ->
    'F:/mplayer-svn-36496/mplayer-svn-36496/mplayer/input.
    conf'
    Parsing input config file
    F:/mplayer-svn-36496/mplayer-svn-36496/mplayer/input.c
    onf
    Input config file F:/mplayer-svn-36496/mplayer-svn-36496/mplayer/input.conf
    pars
    ed: 92 binds
    get_path('w.wmv.conf') ->
    'F:/mplayer-svn-36496/mplayer-svn-36496/mplayer/w.wmv.
    conf'

    Playing H:/w.wmv.
    get_path('sub/') -> 'F:/mplayer-svn-36496/mplayer-svn-36496/mplayer/sub/'
    WINSOCK2 init: 0
    WINSOCK2 init: 0
    [file] File size is 26756180 bytes
    STREAM: [file] H:/w.wmv
    STREAM: Description: File
    STREAM: Author: Albeu
    STREAM: Comment: based on the code from ??? (probably Arpi)
    libavformat version 55.19.104 (internal)
    Configuration: --enable-gpl --enable-postproc
    LAVF_check: ASF (Advanced / Active Streaming Format)
    Checking for YUV4MPEG2
    ASF file format detected.
    stream type: guid_audio_stream
    stream concealment: guid_audio_conceal_interleave
    type: 28 bytes, stream: 8 bytes ID: 1
    unk1: 0 unk2: 638F484
    FILEPOS=0x154F
    ==> Found audio stream: 1
    [asfheader] Audio stream found, -aid 1
    ======= WAVE Format =======
    Format Tag: 353 (0x161)
    Channels: 2
    Samplerate: 44100
    avg byte/sec: 24005
    Block align: 4459
    bits/sample: 16
    cbSize: 10
    Unknown extra header dump: [0] [88] [0] [0] [f] [0] [0] [0] [0] [0]
    ==========================================================================
    ASF: audio scrambling: 1 x 1 x 4459
    stream type: guid_video_stream
    stream concealment: unknown guid 0057fb20-555b-cf11-a8fd00805f5c442b
    type: 73 bytes, stream: 0 bytes ID: 2
    unk1: 0 unk2: 0
    FILEPOS=0x15C1
    ==> Found video stream: 2
    [asfheader] Video stream found, -vid 2
    ======= VIDEO Format ======
    biSize 62
    biWidth 1280
    biHeight 720
    biPlanes 1
    biBitCount 24
    biCompression 826496599='WVC1'
    biSizeImage 0
    Unknown extra header dump: [27] [0] [0] [1] [f] [db] [fe] [27] [f1] [67]
    [88] [8
    0]
    [0] [0] [1] [e] [10] [c4] [9f] [c5] [9c] [80]
    ===========================
    ASF: packets: 3280 flags: 2 max_packet_size: 8000 min_packet_size: 8000
    max_
    bitrate: 6183384 preroll: 8000

    Title: Wildlife in HD
    Copyright: © 2008 Microsoft Corporation
    Comment: Footage: Small World Productions, Inc; Tourism New Zealand |
    Producer:
    Gary F. Spradling | Music: Steve Ball

    ============ ASF Stream group == START ===
    stream count=[0x2][2]
    stream id=[0x1][1]
    max bitrate=[0x31503][201987]
    stream id=[0x2][2]
    max bitrate=[0x5b44d5][5981397]
    ============ ASF Stream group == END ===
    Found movie at 0x1662 - 0x1907A62
    ASF: 1 audio and 1 video streams found
    Auto-selected ASF video ID = 2
    ASF: Searching for audio stream (id:-1).
    ds_fill_buffer: EOF reached (stream: audio)
    ASF: No audio stream found -> no sound.
    VIDEO: [WVC1] 1280x720 24bpp 1000.000 fps 5942.1 kbps (725.4 kbyte/s)
    [V] filefmt:6 fourcc:0x31435657 size:1280x720 fps:1000.000 ftime:=0.0010
    Clip info:
    title: Wildlife in HD
    copyright: © 2008 Microsoft Corporation
    comments: Footage: Small World Productions, Inc; Tourism New Zealand |
    Producer
    Gary F. Spradling | Music: Steve Ball
    Load subtitles in H:/
    get_path('sub/') -> 'F:/mplayer-svn-36496/mplayer-svn-36496/mplayer/sub/'
    Load subtitles in F:/mplayer-svn-36496/mplayer-svn-36496/mplayer/sub/
    vo: win32: running at 1366x768 with depth 32
    <vo_directx><info>checking primary surface
    <vo_directx><format primary="">14 BGR32 supported
    <vo_directx><info>testing supported overlay pixelformats
    <vo_directx><format overlay="">0 YV12 supported
    <vo_directx><format overlay="">1 I420 supported
    <vo_directx><format overlay="">2 IYUV supported
    <vo_directx><format overlay="">3 YVU9 supported
    <vo_directx><format overlay="">4 YUY2 supported
    <vo_directx><format overlay="">5 UYVY supported
    <vo_directx><format overlay="">6 BGR8 not supported
    <vo_directx><format overlay="">7 RGB15 not supported
    <vo_directx><format overlay="">8 BGR15 not supported
    <vo_directx><format overlay="">9 RGB16 not supported
    <vo_directx><format overlay="">10 BGR16 not supported
    <vo_directx><format overlay="">11 RGB24 not supported
    <vo_directx><format overlay="">12 BGR24 not supported
    <vo_directx><format overlay="">13 RGB32 not supported
    <vo_directx><format overlay="">14 BGR32 not supported
    <vo_directx><info>Your card supports 6 of 15 overlayformats
    <vo_directx><info>can mirror left right
    <vo_directx><info>can mirror up down
    <vo_directx><info>hardware supports overlay
    ==========================================================================
    Opening video decoder: [dmo] DMO video codecs
    DMO dll supports VO Optimizations 0 1
    DMO dll might use previous sample when requested
    Decoder supports the following formats: YV12 YUY2 UYVY YVYU RGB8 RGB555
    RGB565 R
    GB24 RGB32
    Decoder is capable of YUV output (flags 0x1b)
    VDec: vo config request - 1280 x 720 (preferred colorspace: Planar YV12)
    Trying filter chain: vo
    VDec: using Planar YV12 as output csp (no 0)
    Movie-Aspect is undefined - no prescaling applied.
    VO Config (1280x720->1280x720,flags=0,'MPlayer',0x32315659)
    VO: [directx] 1280x720 => 1280x720 Planar YV12
    VO: Description: Directx DDraw YUV/RGB/BGR renderer
    VO: Author: Sascha Sommer saschasommer@freenet.de
    <vo_directx><info>overlay with format YV12 created
    INFO: Win32/DMO video codec init OK.
    Selected video codec: [wmvvc1dmo] vfm: dmo (Windows Media Video (VC-1)
    Advanced
    Profile)
    ==========================================================================
    Audio: no sound
    Freeing 0 unused audio chunks.
    Starting playback...</info></vo_directx></info></vo_directx></info></vo_directx></info></vo_directx></info></vo_directx></format></vo_directx></format></vo_directx></format></vo_directx></format></vo_directx></format></vo_directx></format></vo_directx></format></vo_directx></format></vo_directx></format></vo_directx></format></vo_directx></format></vo_directx></format></vo_directx></format></vo_directx></format></vo_directx></format></vo_directx></info></vo_directx></format></vo_directx></info></vo_directx>

    avg. framerate: 30 fps
    *** [vo] Allocating mp_image_t, 1280x720x12bpp YUV planar, 1382400 bytes
    Unicode font: 679 glyphs.
    Unicode font: 679 glyphs.
    V: 8.0 1/ 1 ??% ??% ??,?% 0 0
    Suspicious mp_image usage count 2 in vf_vo (type 2)
    V: 8.0 2/ 2 ??% ??% ??,?% 0 0
    Suspicious mp_image usage count 3 in vf_vo (type 2)
    V: 8.1 3/ 3 ??% ??% ??,?% 0 0
    Suspicious mp_image usage count 4 in vf_vo (type 2)
    V: 8.1 4/ 4 ??% ??% ??,?% 0 0
    Suspicious mp_image usage count 5 in vf_vo (type 2)
    V: 8.1 5/ 5 ??% ??% ??,?% 0 0
    Suspicious mp_image usage count 6 in vf_vo (type 2)
    V: 8.2 6/ 6 ??% ??% ??,?% 0 0
    Suspicious mp_image usage count 7 in vf_vo (type 2)
    V: 8.2 7/ 7 ??% ??% ??,?% 0 0
    Suspicious mp_image usage count 8 in vf_vo (type 2)
    V: 8.2 8/ 8 ??% ??% ??,?% 0 0
    Suspicious mp_image usage count 9 in vf_vo (type 2)
    V: 8.3 9/ 9 ??% ??% ??,?% 0 0
    Suspicious mp_image usage count 10 in vf_vo (type 2)
    V: 8.3 10/ 10 ??% ??% ??,?% 0 0
    Suspicious mp_image usage count 11 in vf_vo (type 2)
    V: 8.3 11/ 11 ??% ??% ??,?% 0 0
    Suspicious mp_image usage count 12 in vf_vo (type 2)
    V: 8.4 12/ 12 ??% ??% ??,?% 0 0
    Suspicious mp_image usage count 13 in vf_vo (type 2)

    On Thu, Oct 31, 2013 at 9:14 AM, Josh redxii@users.sf.net wrote:

    You need the binary codecs (
    http://www.mplayerhq.hu/MPlayer/releases/codecs/windows-essential-20071007.zip), extract them to the 'codecs' folder. You need the 32-bit mplayer for
    this, it will not work on the 64-bit builds.


    Status: open
    Labels: wmv
    Created: Wed Oct 30, 2013 10:23 PM UTC by Rupesh S
    Last Updated: Wed Oct 30, 2013 10:23 PM UTC
    Owner: nobody

    Saw problem with some WMV files (mplayer-svn-36496).Actually file has
    audio stream but mplayer showing that it has no audio!After 11 seconds
    playback hangs.
    Video file used: Wildlife In HD (Windows 7 Sample Video)

    Please check screenshots

    Sent from sourceforge.net because you indicated interest in
    https://sourceforge.net/p/mplayerwin/bugs/6/

    To unsubscribe from further messages, please visit
    https://sourceforge.net/auth/subscriptions/

     

    Related

    Bugs: #6


    Last edit: Rupesh Sreeraman 2013-11-01
  • Josh

    Josh - 2013-11-01

    Mine says "Audio: no sound" but the sound still works. Try adding -ao dsound or -ao win32

     
    • Rupesh Sreeraman

      Still no audio...i checked with different audio drivers!

      here is the output please the bold lines

      C:\Documents and Settings\Rupesh S>F:\mplayer-svn-36496\mplayer-svn-36496\mplaye
      r.exe -ao win32 h:\W.wmv
      MPlayer Redxii-SVN-r36496-4.6.3 (C) 2000-2013 MPlayer Team
      Compiled against FFmpeg version N-57505-g0fef19b
      Build date: Mon Oct 28 00:32:57 EDT 2013

      Playing h:\W.wmv.
      libavformat version 55.19.104 (internal)
      ASF file format detected.
      [asfheader] Audio stream found, -aid 1
      [asfheader] Video stream found, -vid 2
      ASF: No audio stream found -> no sound.
      VIDEO: [WVC1] 1280x720 24bpp 1000.000 fps 5942.1 kbps (725.4 kbyte/s)
      Clip info:
      title: Wildlife in HD
      copyright: © 2008 Microsoft Corporation
      comments: Footage: Small World Productions, Inc; Tourism New Zealand | Producer
      Gary F. Spradling | Music: Steve Ball
      Load subtitles in h:\
      Load subtitles in F:/mplayer-svn-36496/mplayer-svn-36496/mplayer/sub/
      ==========================================================================
      Opening video decoder: [dmo] DMO video codecs
      DMO dll supports VO Optimizations 0 1
      DMO dll might use previous sample when requested
      Decoder supports the following formats: YV12 YUY2 UYVY YVYU RGB8 RGB555 RGB565 R
      GB24 RGB32
      Decoder is capable of YUV output (flags 0x1b)
      Movie-Aspect is undefined - no prescaling applied.
      VO: [directx] 1280x720 => 1280x720 Planar YV12
      Selected video codec: [wmvvc1dmo] vfm: dmo (Windows Media Video (VC-1) Advanced
      Profile)
      ==========================================================================
      Audio: no sound
      Starting playback...
      V: 11.6 109/109 22% 2% 0.0% 0 0
      ==========================================================================
      Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
      libavcodec version 55.39.100 (internal)
      Unknown/missing audio format -> no sound
      ADecoder init failed :(
      Opening audio decoder: [dmo] Win32/DMO decoders
      AUDIO: 44100 Hz, 2 ch, s16le, 192.0 kbit/13.61% (ratio: 24005->176400)
      Selected audio codec: [wmadmo] afm: dmo (Windows Media Audio DMO)
      ==========================================================================
      AO: [win32] 44100Hz 2ch s16le (2 bytes per sample)
      A: 7.9 V: 11.8 A-V: -3.874 ct: -0.010 114/114 22% 2% 0.1% 0 0
       

      Last edit: Rupesh Sreeraman 2013-11-02
  • Josh

    Josh - 2013-11-02

    I'm seeing everything in the log that you are in the same file. There is a split second delay in the audio starting in the beginning of the video, but it is playing for me. I use Windows 7 but I also tried my XP virtual machine with the same success.

     
  • George Valkov

    George Valkov - 2014-02-18

    I was able to reproduce it with many of my own WMV recordings. Here is a sample:
    http://www.mediafire.com/watch/6qyg60vgl9o415p/Happy_people_project.wmv

    Summary:
    I found some old archives of MPlayer to test. The latest that plays properly is Redxii-SVN-r35156-4.6.2. The first that is broken is Redxii-SVN-r35625-4.6.3 although the behaviour is a bit different, but it's the same issue (see later). And then on sherpya-r35968+g39eaacf-4.6 I reproduced the exact same freeze as @Rupesh described. I tested both Windows 7 x64 and Windows XP x64. Current version r36816 (both 32 and 64 bit) behaves like r35625.

    Workaround:
    There is a tool called AsfBin:
    http://www.radioactivepages.com/asfbin.aspx
    Select the original file, click the left arrow to add to List of input files and click Cut/Copy/Join. This will produce a working version:
    http://www.mediafire.com/watch/6jc7n55q07g4fwj/Happy_people_project-remuxed.wmv
    of the same clip, where the audio plays properly in all all versions of MPlayer.

    Detailed tests:
    MPlayer Redxii-SVN-r35156-4.6.2 good:
    When it starts playing the on-screen timer indicates 30s, the end timer shows 3:34, but it plays until 4:03. Both sound and video playback is ok.

    mplayer-svn-35625 [Redxii-SVN-r35625-4.6.3] bad:
    When it starts playing there is no audio and the on-screen timer indicates 30s, then at 36s it prints:
    ==========================================================================
    Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
    libavcodec version 54.79.100 (internal)
    Unknown/missing audio format -> no sound
    ADecoder init failed :(
    Opening audio decoder: [dmo] Win32/DMO decoders
    AUDIO: 48000 Hz, 2 ch, s16le, 160.0 kbit/10.42% (ratio: 20004->192000)
    Selected audio codec: [wmadmo] afm: dmo (Windows Media Audio DMO)
    ==========================================================================
    AO: [dsound] 48000Hz 2ch s16le (2 bytes per sample)

    there is still no audio. At 42s it starts repeating one and same audio samples until 57s when the video freezes, the sound starts playing normally from the beginning. When the audio gets to the same position as the video, the video resumes and the clip plays normally until the end. BTW the end timer shows 3:34, but it plays until 4:03.

    Seeking: if I seek beyond 57s the audio starts playing.

    MPlayer sherpya-r35968+g39eaacf-4.6 bad:
    Same as the previous, except that there is absolutely no sound and once it gets to 57s the video freezes and remains frozen forever.

    Logs:
    All log files are for the original WMV file, except remuxed which is given for comparison.

     
  • George Valkov

    George Valkov - 2014-02-18

    I was able to reproduce it with many of my own WMV recordings. Here is a sample:
    http://www.mediafire.com/watch/6qyg60vgl9o415p/Happy_people_project.wmv

    Summary:
    I found some old archives of MPlayer to test. The latest that plays properly is Redxii-SVN-r35156-4.6.2. The first that is broken is Redxii-SVN-r35625-4.6.3 although the behaviour is a bit different, but it's the same issue (see later). And then on sherpya-r35968+g39eaacf-4.6 I reproduced the exact same freeze as @Rupesh described. I tested both Windows 7 x64 and Windows XP x64. Current version r36816 (both 32 and 64 bit) behaves like r35625.

    Workaround:
    There is a tool called AsfBin:
    http://www.radioactivepages.com/asfbin.aspx
    Select the original file, click the left arrow to add to List of input files and click Cut/Copy/Join. This will produce a working version:
    http://www.mediafire.com/watch/6jc7n55q07g4fwj/Happy_people_project-remuxed.wmv
    of the same clip, where the audio plays properly in all all versions of MPlayer.

    Detailed tests:
    MPlayer Redxii-SVN-r35156-4.6.2 good:
    When it starts playing the on-screen timer indicates 30s, the end timer shows 3:34, but it plays until 4:03. Both sound and video playback is ok.

    mplayer-svn-35625 [Redxii-SVN-r35625-4.6.3] bad:
    When it starts playing there is no audio and the on-screen timer indicates 30s, then at 36s it prints:
    ==========================================================================
    Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
    libavcodec version 54.79.100 (internal)
    Unknown/missing audio format -> no sound
    ADecoder init failed :(
    Opening audio decoder: [dmo] Win32/DMO decoders
    AUDIO: 48000 Hz, 2 ch, s16le, 160.0 kbit/10.42% (ratio: 20004->192000)
    Selected audio codec: [wmadmo] afm: dmo (Windows Media Audio DMO)
    ==========================================================================
    AO: [dsound] 48000Hz 2ch s16le (2 bytes per sample)

    there is still no audio. At 42s it starts repeating one and same audio samples until 57s when the video freezes, the sound starts playing normally from the beginning. When the audio gets to the same position as the video, the video resumes and the clip plays normally until the end. BTW the end timer shows 3:34, but it plays until 4:03.

    Seeking: if I seek beyond 57s the audio starts playing.

    MPlayer sherpya-r35968+g39eaacf-4.6 bad:
    Same as the previous, except that there is absolutely no sound and once it gets to 57s the video freezes and remains frozen forever.

    Logs:
    All log files are for the original WMV file, except remuxed which is given for comparison.

     
  • George Valkov

    George Valkov - 2014-02-18

    Sorry for posting twice, there was a server 500 error earlier, so I clicked back and posted again after some time. Now I can't delete it.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.