[FFmpeg-trac] #1434(undetermined:open): Remuxing an H.264 video from MP4 to AVI increases the size by more than 10

FFmpeg trac at avcodec.org
Sun Jun 10 19:53:09 CEST 2012


#1434: Remuxing an H.264 video from MP4 to AVI increases the size by more than 10
-------------------------------------+-------------------------------------
             Reporter:  ubitux       |                    Owner:
                 Type:  defect       |                   Status:  open
             Priority:  important    |                Component:
              Version:  git-master   |  undetermined
             Keywords:  mov avi      |               Resolution:
  remux regression                   |               Blocked By:
             Blocking:               |  Reproduced by developer:  1
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
Changes (by cehoyos):

 * keywords:  mp4,avi,remux,size => mov avi remux regression
 * priority:  normal => important
 * version:  unspecified => git-master
 * status:  new => open
 * reproduced:  0 => 1


Comment:

 At least for the following command this is a regression (the original
 command line produces a file that does not play properly also with an old
 version of FFmpeg, this command line also produces a file with increased
 size with current git head, but works fine with an old version):
 {{{
 $ ffmpeg -i out.mp4 -vcodec copy -acodec mp2 out.avi
 ffmpeg version N-41413-gb35d38b Copyright (c) 2000-2012 the FFmpeg
 developers
   built on Jun  8 2012 19:40:05 with gcc 4.3.2
   configuration: --cc=/usr/local/gcc-4.3.2/bin/gcc --enable-gpl --enable-
 libopenjpeg --enable-libvorbis --enable-libspeex --enable-libmp3lame
 --enable-libtheora --extra-ldflags=-lm --enable-libvpx --enable-libxavs
   libavutil      51. 56.100 / 51. 56.100
   libavcodec     54. 25.100 / 54. 25.100
   libavformat    54.  6.101 / 54.  6.101
   libavdevice    54.  0.100 / 54.  0.100
   libavfilter     2. 78.101 /  2. 78.101
   libswscale      2.  1.100 /  2.  1.100
   libswresample   0. 15.100 /  0. 15.100
   libpostproc    52.  0.100 / 52.  0.100
 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'out.mp4':
   Metadata:
     major_brand     : isom
     minor_version   : 512
     compatible_brands: isomiso2avc1mp41
     creation_time   : 2012-06-09 13:19:34
     encoder         : Lavf54.6.100
   Duration: 00:00:20.16, start: 0.000000, bitrate: 1596 kb/s
     Stream #0:0(und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p,
 708x566 [SAR 64:45 DAR 7552:4245], 1432 kb/s, 24.80 fps, 25 tbr, 90k tbn,
 180k tbc
     Metadata:
       creation_time   : 2012-06-09 13:19:34
       handler_name    : VideoHandler
     Stream #0:1(und): Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo,
 s16, 159 kb/s
     Metadata:
       creation_time   : 2012-06-09 13:19:34
       handler_name    : SoundHandler
 Output #0, avi, to 'out.avi':
   Metadata:
     major_brand     : isom
     minor_version   : 512
     compatible_brands: isomiso2avc1mp41
     creation_time   : 2012-06-09 13:19:34
     ISFT            : Lavf54.6.101
     Stream #0:0(und): Video: h264 (avc1 / 0x31637661), yuv420p, 708x566
 [SAR 64:45 DAR 7552:4245], q=2-31, 1432 kb/s, 24.80 fps, 90k tbn, 90k tbc
     Metadata:
       creation_time   : 2012-06-09 13:19:34
       handler_name    : VideoHandler
     Stream #0:1(und): Audio: mp2 (P[0][0][0] / 0x0050), 48000 Hz, stereo,
 s16, 128 kb/s
     Metadata:
       creation_time   : 2012-06-09 13:19:34
       handler_name    : SoundHandler
 Stream mapping:
   Stream #0:0 -> #0:0 (copy)
   Stream #0:1 -> #0:1 (aac -> mp2)
 Press [q] to stop, [?] for help
 frame=  500 fps=113 q=-1.0 Lsize=   45970kB time=00:00:19.96
 bitrate=18866.9kbits/s
 video:3524kB audio:313kB global headers:0kB muxing overhead 1098.075719%
 }}}

-- 
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/1434#comment:2>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list