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 !
_______________________________________________ Libav-user mailing list [email protected] http://ffmpeg.org/mailman/listinfo/libav-user
