[FFmpeg-trac] #3638(undetermined:new): ffmpeg converting mp4 with h.264 to avi - no video in WMP

FFmpeg trac at avcodec.org
Thu May 15 03:15:40 CEST 2014


#3638: ffmpeg converting mp4 with h.264 to avi - no video in WMP
-------------------------------------+-------------------------------------
             Reporter:  ramitbhalla  |                     Type:  defect
               Status:  new          |                 Priority:  normal
            Component:               |                  Version:
  undetermined                       |  unspecified
             Keywords:               |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
 Summary of the bug: If ffmpeg is used to remux a mp4 h264 file to avi
 file, the resulting avi file does not play back (video) in WMP. However if
 ffmepg creates the avi file directly instead of remuxing mp4 to avi, it
 plays back fine.

 Is there some wrong in the command or is it a bug?

 How to reproduce:
 {{{
 ffmpeg -i "HD Leeber_UK_Call the Midwi
 fe_BBC One HD_2012_02_19_20_25_00.mp4" -vcodec copy -acodec copy -f avi
 test.avi -y
 ffmpeg version N-62897-g0f9f24c Copyright (c) 2000-2014 the FFmpeg
 developers
   built on May  1 2014 23:29:04 with gcc 4.8.0 (GCC)
   configuration: --arch=x86 --target-os=mingw32 --cross-
 prefix=/home/mcebuddy/Software/ffmpeg/sandbox/mingw-w64-i686/bin
 /i686-w64-mingw32- --pkg-config=pkg-config --enable-hwaccels --enable-
 dxva2 --enable-gpl --enable-libx264 --enable-avisy
 nth --enable-libxvid --enable-libmp3lame --enable-version3 --enable-zlib
 --enable-librtmp --enable-libvorbis --enable-li
 btheora --enable-libspeex --enable-libopenjpeg --enable-gnutls --enable-
 libgsm --enable-libfreetype --enable-libopus --d
 isable-w32threads --enable-frei0r --enable-filter=frei0r --enable-libvo-
 aacenc --enable-bzlib --enable-libxavs --extra-c
 flags=-DPTW32_STATIC_LIB --enable-libopencore-amrnb --enable-libopencore-
 amrwb --enable-libvo-amrwbenc --enable-libschro
 edinger --enable-libvpx --enable-libilbc
 --prefix=/home/mcebuddy/Software/ffmpeg/sandbox/mingw-w64-i686/i686-w64-mingw32
  --enable-static --disable-shared --enable-libsoxr --enable-fontconfig
 --enable-libass --enable-libutvideo --enable-libb
 luray --enable-iconv --enable-libtwolame --extra-
 cflags=-DLIBTWOLAME_STATIC --enable-libzvbi --enable-libcaca --enable-l
 ibmodplug --extra-libs=-lstdc++ --extra-libs=-lpng --enable-libvidstab
 --extra-cflags= --extra-cflags= --enable-nonfree
 --enable-libfdk-aac --enable-libfaac --enable-runtime-cpudetect
   libavutil      52. 80.100 / 52. 80.100
   libavcodec     55. 60.103 / 55. 60.103
   libavformat    55. 37.102 / 55. 37.102
   libavdevice    55. 13.100 / 55. 13.100
   libavfilter     4.  5.100 /  4.  5.100
   libswscale      2.  6.100 /  2.  6.100
   libswresample   0. 18.100 /  0. 18.100
   libpostproc    52.  3.100 / 52.  3.100
 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'HD Leeber_UK_Call the Midwife_BBC
 One HD_2012_02_19_20_25_00.mp4':
   Metadata:
     major_brand     : mp42
     minor_version   : 512
     compatible_brands: isomiso2avc1mp41
     encoder         : MCEBuddy
     title           : Call the Midwife
     show            : Call the Midwife
     media_type      : 10
     network         : BBC One HD
     genre           : Drama
     date            : 2012-02-18T19:00:00Z
     description     : Drama set in 1950s London. Sister Monica Joan is
 accused of theft, and the Nonnatus House communit
 y fear she could end up in jail. Meanwhile, Chummy's mother visits.
     synopsis        : Drama set in 1950s London. Sister Monica Joan is
 accused of theft, and the Nonnatus House communit
 y fear she could end up in jail. Meanwhile, Chummy's mother visits.
     comment         : Drama set in 1950s London. Sister Monica Joan is
 accused of theft, and the Nonnatus House communit
 y fear she could end up in jail. Meanwhile, Chummy's mother visits.
   Duration: 00:00:16.08, start: 0.074000, bitrate: 3702 kb/s
     Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv,
 bt709), 720x544 [SAR 24446:18225 DAR 719:405],
  3336 kb/s, 25 fps, 25 tbr, 90k tbn, 180k tbc (default)
     Metadata:
       handler_name    : VideoHandler
     Stream #0:1(eng): Audio: ac3 (ac-3 / 0x332D6361), 48000 Hz, stereo,
 fltp, 384 kb/s (default)
     Metadata:
       handler_name    : SoundHandler
 Output #0, avi, to 'test.avi':
   Metadata:
     major_brand     : mp42
     minor_version   : 512
     compatible_brands: isomiso2avc1mp41
     ICMT            : Drama set in 1950s London. Sister Monica Joan is
 accused of theft, and the Nonnatus House communit
 y fear she could end up in jail. Meanwhile, Chummy's mother visits.
     INAM            : Call the Midwife
     show            : Call the Midwife
     media_type      : 10
     network         : BBC One HD
     IGNR            : Drama
     ICRD            : 2012-02-18T19:00:00Z
     description     : Drama set in 1950s London. Sister Monica Joan is
 accused of theft, and the Nonnatus House communit
 y fear she could end up in jail. Meanwhile, Chummy's mother visits.
     synopsis        : Drama set in 1950s London. Sister Monica Joan is
 accused of theft, and the Nonnatus House communit
 y fear she could end up in jail. Meanwhile, Chummy's mother visits.
     ISFT            : Lavf55.37.102
     Stream #0:0(und): Video: h264 (avc1 / 0x31637661), yuv420p, 720x544
 [SAR 24446:18225 DAR 719:405], q=2-31, 3336 kb/s
 , 25 fps, 50 tbn, 50 tbc (default)
     Metadata:
       handler_name    : VideoHandler
     Stream #0:1(eng): Audio: ac3 ([0] [0][0] / 0x2000), 48000 Hz, stereo,
 384 kb/s (default)
     Metadata:
       handler_name    : SoundHandler
 Stream mapping:
   Stream #0:0 -> #0:0 (copy)
   Stream #0:1 -> #0:1 (copy)
 Press [q] to stop, [?] for help
 frame=  402 fps=0.0 q=-1.0 Lsize=    7297kB time=00:00:15.98
 bitrate=3740.9kbits/s
 video:6549kB audio:708kB subtitle:0kB other streams:0kB global headers:0kB
 muxing overhead: 0.553938%}}}

 Not attaching a file, since it is replicable with any mp4 file.

--
Ticket URL: <https://trac.ffmpeg.org/ticket/3638>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list