I'm trying to use avconv to read a video from disk and output it over a socket, using:

avconv -i video.mp4 tcp://

I get the error "Unable to find a suitable output format for 'tcp://'."

What is the correct way to use avconv to stream TCP?


According to


you need to add a f parameter specifying the format:

avconv -i input -f format tcp://hostname:port?listen

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.