[FFmpeg-user] mp4 streaming error on ffmpeg

Ameeth Vikram ameeth at watchy.in
Mon Oct 1 13:45:09 CEST 2012


Hi

i tried with h264 format the but streaming stops at a particular amount of
time say abut 2-3 minutes of duration the command which i used is

./ffmpeg \
-f alsa -async 1 -ac 2 -i hw:2,0 \
-f video4linux2 -s vga -i /dev/video0 \
-acodec aac -b:a 40k \
-r 25 -s vga -vcodec libx264 -preset fast -strict -2 -b:v 320K -pass 1 \
-f h264 rtmp://192.168.2.105/live/testing

and streaming stops after 2-3 minutes of streaming


More information about the ffmpeg-user mailing list