[FFmpeg-user] Hello, I have a question regarding global headers

Igor Shprukh igor.shprukh at neo.co.il
Mon Jul 4 08:30:21 CEST 2011

When I try to stream to rtsp from a network camera with audio and video I get this error "Could not write header for output file #0 (incorrect codec parameters ?)"
This is the ffmpeg command:

ffmpeg -i rtsp://xxx:xxx@ -vcodec copy -acodec copy -f rtp rtp://

When the video codec is mpeg4 and audio codec is aac. Also, this works when trying to record to file from this network camera.
Thanks for any help !

More information about the ffmpeg-user mailing list