[FFmpeg-user] Hello, I have a question regarding global headers
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@ 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 !
More information about the ffmpeg-user