[FFmpeg-user] avconv output file size woes

Aleksandar Kostadinov akostadinov at gmail.com
Fri Jun 8 10:59:35 CEST 2012


Hello,

Combining audio and video from one 4MB file and one 12MB file results
in a file with size 44MB (codecs=copy). Actually combine audio from
one of the files with the video from the other file. Please see the
attached file for a log what happened.

I guess this is some bug. But since I'm a beginner working with avconv
it might well be a PIBCAK.

Regards,
Aleksandar
-------------- next part --------------
$ avconv -i /tmp/MVI_1850.AVI -i /media/CANON_DC/DCIM/147CANON/MVI_1850.m4v -acodec copy -vcodec copy -map 1:v -map 0:a /tmp/MVI_1850.avi
avconv version 0.8-4:0.8-2~bpo60+1, Copyright (c) 2000-2011 the Libav developers
  built on Mar 20 2012 12:56:59 with gcc 4.4.5
Input #0, avi, from '/tmp/MVI_1850.AVI':
  Duration: 00:00:19.30, start: 0.000000, bitrate: 5057 kb/s
    Stream #0.0: Video: mjpeg, yuvj440p, 480x640, 10 tbr, 10 tbn, 10 tbc
    Stream #0.1: Audio: pcm_u8, 11024 Hz, 1 channels, u8, 88 kb/s
Input #1, mov,mp4,m4a,3gp,3g2,mj2, from '/media/CANON_DC/DCIM/147CANON/MVI_1850.m4v':
  Metadata:
    major_brand     : mp42
    minor_version   : 0
    compatible_brands: mp42isomavc1
    creation_time   : 2012-06-08 06:49:06
    encoder         : HandBrake rev3736 2011011599
  Duration: 00:00:19.31, start: 0.000000, bitrate: 1708 kb/s
    Stream #1.0(und): Video: h264 (Main), yuv420p, 480x640 [PAR 1:1 DAR 3:4], 1669 kb/s, 10 fps, 10 tbr, 90k tbn, 180k tbc
    Metadata:
      creation_time   : 2012-06-08 06:49:06
    Stream #1.1(und): Audio: aac, 22050 Hz, mono, s16, 37 kb/s
    Metadata:
      creation_time   : 2012-06-08 06:49:06
File '/tmp/MVI_1850.avi' already exists. Overwrite ? [y/N] y
Output #0, avi, to '/tmp/MVI_1850.avi':
  Metadata:
    ISFT            : Lavf53.21.0
    Stream #0.0(und): Video: libx264, yuv420p, 480x640 [PAR 1:1 DAR 3:4], q=2-31, 1669 kb/s, 90k tbn, 90k tbc
    Metadata:
      creation_time   : 2012-06-08 06:49:06
    Stream #0.1: Audio: pcm_u8, 11024 Hz, 1 channels, 88 kb/s
Stream mapping:
  Stream #1:0 -> #0:0 (copy)
  Stream #0:1 -> #0:1 (copy)
Press ctrl-c to stop encoding
frame=  193 fps= 36 q=-1.0 Lsize=   44229kB time=19.00 bitrate=19069.9kbits/s    
video:3933kB audio:208kB global headers:0kB muxing overhead 968.090269%
$ ls -lh /tmp/MVI_1850.avi
-rw-r--r-- 1 avalon avalon 44M  8 юни 10,08 /tmp/MVI_1850.avi
$ ls -lh /media/CANON_DC/DCIM/147CANON/MVI_1850.m4v /tmp/MVI_1850.AVI
-rwxr-xr-x 1 avalon root   4,0M  8 юни  9,49 /media/CANON_DC/DCIM/147CANON/MVI_1850.m4v
-rw-r--r-- 1 avalon avalon  12M  7 юни 18,51 /tmp/MVI_1850.AVI


More information about the ffmpeg-user mailing list