[FFmpeg-user] rtsp streaming

JULIAN GARDNER joolzg at btinternet.com
Wed Mar 23 21:30:52 CET 2011

Ive had a quick try and getting ffmpeg to server rtsp but cant, any ideas or an example.

What i want to do is take a udp stream in, transcode to h264 and then have an external media player connect via rtsp and take the stream.

example command line

ffmpeg -i udp:// -vcodec libx264 -vpre faster -b 1000k -acodec libfaac -g 75 -async 1 -f rtsp rtsp://

but what i get is

  Stream #0.0 -> #0.0
  Stream #0.1 -> #0.1
Could not write header for output file #0 (incorrect codec parameters ?)



More information about the ffmpeg-user mailing list