[FFmpeg-user] AVI size limit

Benoit benoit at friry.net
Thu Apr 21 19:57:56 CEST 2011


Hi all,

> 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".

Nobody? Any hint? Anything to look for? How to investigate?
I have no idea... :(

- Filesystem is ext3 with 4k block size (max file size is 2TB !)
- I did not find default value for "-fs".

Thanks,
Benoit


More information about the ffmpeg-user mailing list