[FFmpeg-user] New To FFmpeg streaming question

Moritz Barsnick barsnick at gmx.net
Tue May 26 16:17:31 CEST 2015

On Tue, May 26, 2015 at 08:49:38 -0400, Cooper_Benjamin wrote:
> Am I on the right track with the FFmpeg command or should I be trying something different?
> ffmpeg -i "udp://@" -vcodec libx264 -preset slow -crf 20 -c:a libvo_aacenc -b:a 128k -vf scale="trunc(oh*a*2)/2:480" http://localhost:8080/myTest.mp4

Using testsrc and sine as inputs, I get something quite different:

[mp4 @ 0x9ca18e0] muxer does not support non seekable output
Could not write header for output file #0 (incorrect codec parameters ?): Invalid argument

Are you sure your ffmpeg has http support compiled in
("ffmpeg -protocols")? Are you sure "localhost" can be resolved on your
Windows machine? Are you sure you can open port 8080 for listening on
your Windows machine? (Most of these should produce a useful error
message from ffmpeg though - but I haven't checked the source to
confirm that.)


More information about the ffmpeg-user mailing list