[FFmpeg-user] AVI size limit

Benoit benoit at friry.net
Thu Apr 14 22:21:17 CEST 2011


Hello,

In order to rip VHS on my rather old box, I purchased a Dazzle
USB device.

My command is
ffmpeg \
     -f alsa \
     -i plughw:0,0 \
     -f video4linux2 -tvstd SECAM \
     -i /dev/video0 \
     -acodec pcm_s16le \
     -ac 2 -ar 44100 \
     -vcodec mjpeg \
     -s 720x576 -r 25 -sameq \
     -f avi \
     output.avi

I cannot compress in real-time (CPU too weak).  So I grab in mjpeg,
and will reencode later.

It works as expected for short videos.  But with a longer video,
ffmpeg is killed after 1h35'50". The output is 13836 MB.

I don't understand why.  File too big?

The output file is readable by vlc ou avidemux, but ffplay is
wrong about it:
Input #0, avi, from 'brut.avi':
  Metadata:
    ISFT            : Lavf52.64.2
  Duration: 00:07:35.12, start: 0.000000, bitrate: 255030 kb/s
    Stream #0.0: Video: mjpeg, yuvj420p, 720x576, 25 tbr, 25 tbn, 25 tbc
    Stream #0.1: Audio: pcm_s16le, 44100 Hz, 2 channels, s16, 1411 kb/s

Don't understant why it only "see" 7'35".

Any idea?

Thanks,
Benoit


More information about the ffmpeg-user mailing list