[FFmpeg-user] ffmpeg how to set http timeout

Soho Soho123 soho123.2012 at gmail.com
Fri Jul 26 04:42:49 CEST 2013


> Did you read http://ffmpeg.org/ffmpeg-all.html#http ?
>

It is not clear about how to use "timeout" option.
for example:
the ffmpeg command line:
ffmpeg -loglevel debug -f video4linux2 -r 30 -s 1280x720 -input_format h264
-i /dev/video1 -vcodec copy http://localhost:8090/feed2.ffm

when I try the command:
ffmpeg -loglevel debug -f video4linux2 -r 30 -s 1280x720 -input_format h264
-i /dev/video1 -vcodec copy http://localhost:8090/feed2.ffm?timeout=3000000

then ffmpeg says : Invalid argument


Could you kindly help to explain where I can put the option "timeout"?


More information about the ffmpeg-user mailing list