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

FFmpeg trac at avcodec.org
Sat Jun 9 21:03:38 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:  new
               Priority:  normal     |              Component:
                Version:             |  undetermined
  unspecified                        |               Keywords:
             Blocked By:             |  mp4,avi,remux,size
Reproduced by developer:  0          |               Blocking:
                                     |  Analyzed by developer:  0
-------------------------------------+-------------------------------------
 {{{
 Command line:
 ./ffmpeg -report -i remux-me-to-avi.mp4 -an -c copy -y out.avi
 ffmpeg version N-41456-g94632db Copyright (c) 2000-2012 the FFmpeg
 developers
   built on Jun  9 2012 20:46:46 with gcc 4.7.0 20120505 (prerelease)
   configuration: --enable-gpl --enable-fontconfig --enable-libfreetype
 --enable-libmp3lame --enable-libvorbis --enable-libxvid --enable-libx264
 --enable-libvpx --enable-libtheora --enable-x11grab --enable-libopenjpeg
 --enable-libass --enable-libmodplug --cc='ccache colorgcc'
 --samples=/home/ubitux/fate-samples --prefix=/tmp/ffinstall
   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
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x33fcd20] Format mov,mp4,m4a,3gp,3g2,mj2
 probed with size=2048 and score=100
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x33fcd20] ISO: File Type Major Brand: isom
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x33fcd20] File position before
 avformat_find_stream_info() is 4023420
 [h264 @ 0x34034e0] no picture
 [h264 @ 0x34034e0] no picture
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x33fcd20] All info found
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x33fcd20] File position after
 avformat_find_stream_info() is 258968
 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'remux-me-to-avi.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), 21, 1/90000: 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), 38, 1/48000: 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), 0, 1/90000: 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 mapping:
   Stream #0:0 -> #0:0 (copy)
 Press [q] to stop, [?] for help
 frame=  500 fps=212 q=-1.0 Lsize=   45633kB time=00:00:19.96
 bitrate=18728.8kbits/s
 video:3524kB audio:0kB global headers:0kB muxing overhead 1194.850083%
 }}}

 {{{
 % ls -l out.avi remux-me-to-avi.mp4
 -rw-r--r-- 1 ubitux ubitux  45M Jun  9 21:01 out.avi
 -rw-r--r-- 1 ubitux ubitux 3.9M Jun  9 20:47 remux-me-to-avi.mp4
 }}}

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


More information about the FFmpeg-trac mailing list