[FFmpeg-user] Problem streaming mjpeg as UDP

Carl Eugen Hoyos cehoyos at ag.or.at
Tue Dec 6 21:56:37 CET 2011


bartom <bartomas <at> gmail.com> writes:

> ffmpeg -i /pathToFile/sample.avi -vcodec mjpeg output.mjpeg
> 
> However, when I try:
> 
> ffmpeg -i  /pathToFile/sample.avi -vcodec mjpeg   udp://127.0.0.1:1234
> 
> I get the following error message:
> 
> Unable to find a suitable output format for 'udp://127.0.0.1:1234'
> 
> Do you what I am doing wrong?

(Complete, uncut console output missing.)

I have no idea if mjpeg over udp works, but in your original command line, you
ask ffmpeg to output to format "mjpeg", in the second command this part is
missing (as the output tries to explain).
Try -f mjpeg

Carl Eugen



More information about the ffmpeg-user mailing list