Opened 3 months ago

Last modified 3 months ago

#6269 open enhancement

WMV3 plus WMAv2 inside MOV fail

Reported by: cgbug Owned by:
Priority: wish Component: avformat
Version: git-master Keywords: mov
Cc: Blocked By:
Blocking: Reproduced by developer: yes
Analyzed by developer: no

Description (last modified by cehoyos)

Sample:
https://www.datafilehost.com/d/df404576

ffmpeg version N-84679-gd65b595 Copyright (c) 2000-2017 the FFmpeg developers
  built with gcc 6.3.0 (GCC)
  configuration: --enable-gpl --enable-version3 --enable-cuda --enable-cuvid --enable-d3d11va --enable-dxva2 --enable-libmfx --enable-nvenc --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libzimg --enable-lzma --enable-zlib
  libavutil      55. 51.100 / 55. 51.100
  libavcodec     57. 86.103 / 57. 86.103
  libavformat    57. 67.100 / 57. 67.100
  libavdevice    57.  3.101 / 57.  3.101
  libavfilter     6. 78.100 /  6. 78.100
  libswscale      4.  3.101 /  4.  3.101
  libswresample   2.  4.100 /  2.  4.100
  libpostproc    54.  2.100 / 54.  2.100
[wmav2 @ 000000000035b000] block_align is not set
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000002c7320] Failed to open codec in avformat_find_stream_info
[wmv3 @ 000000000035bac0] Extra data: 8 bits left, value: 0
[wmav2 @ 000000000035b000] block_align is not set
Guessed Channel Layout for Input Stream #0.0 : stereo
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'wmv3.mov':
  Metadata:
    major_brand     : qt  
    minor_version   : 537199360
    compatible_brands: qt  
    creation_time   : 2009-01-28T03:53:42.000000Z
    com.apple.quicktime.player.movie.audio.gain: 1.000000
    com.apple.quicktime.player.movie.audio.treble: 0.000000
    com.apple.quicktime.player.movie.audio.bass: 0.000000
    com.apple.quicktime.player.movie.audio.balance: 0.000000
    com.apple.quicktime.player.movie.audio.pitchshift: 0.000000
    com.apple.quicktime.player.movie.audio.mute: 
    com.apple.quicktime.player.movie.visual.brightness: 0.000000
    com.apple.quicktime.player.movie.visual.color: 1.000000
    com.apple.quicktime.player.movie.visual.tint: 0.000000
    com.apple.quicktime.player.movie.visual.contrast: 1.000000
    com.apple.quicktime.player.version: 7.6 (7.6)
    com.apple.quicktime.version: 7.6.0 (1290) 0x7608000 (Mac OS X, 10.5.6, 9G55)
  Duration: 00:02:34.80, start: 0.000000, bitrate: 1494 kb/s
    Stream #0:0(eng): Audio: wmav2 (WMA2 / 0x32414D57), 44100 Hz, stereo, 113 kb/s (default)
    Metadata:
      rotate          : 0
      creation_time   : 2009-01-28T03:53:42.000000Z
      handler_name    : Apple Sound Media Handler
    Stream #0:1(eng): Video: wmv3 (Main) (WMV3 / 0x33564D57), yuv420p, 240x180, 1378 kb/s, 25 fps, 25 tbr, 2500 tbn, 2500 tbc (default)
    Metadata:
      rotate          : 0
      creation_time   : 2009-01-28T03:53:42.000000Z
      handler_name    : Apple Video Media Handler
    Side data:
      displaymatrix: rotation of -0.00 degrees

Change History (1)

comment:1 Changed 3 months ago by cehoyos

  • Component changed from undetermined to avformat
  • Description modified (diff)
  • Keywords mov added
  • Priority changed from normal to wish
  • Reproduced by developer set
  • Status changed from new to open
  • Type changed from defect to enhancement

Reading extradata from the mov container is trivial but both audio and video packets are written like asf packets and need special parsing.

Note: See TracTickets for help on using tickets.