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

Igor Shprukh igor.shprukh at neo.co.il
Wed Jul 6 14:47:35 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@ 192.168.253.139:80/live.sdp?http -vcodec copy -acodec copy -f rtp rtp://127.0.0.1:40000

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 !
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20110706/8f986863/attachment.html>


More information about the Libav-user mailing list