[FFmpeg-user] Could not write header for output file #0 (incorrect codec parameters ?)
USMAN AAMER
bitf13m541 at pucit.edu.pk
Thu Oct 29 10:50:44 EET 2020
Hi,
I am trying to stream videos with RTSP using the following command:
>ffmpeg -re -i v1.mp4 -c:v libx265 -an -preset slow -crf 30 -rtsp_transport
tcp -f rtsp rtsp://localhost:554/live.sdp
Streaming does not start and the following error occurred:
Could not write header for output file #0 (incorrect codec parameters ?):
Immediate exit requested
Error initializing output stream 0:0 --
How can I resolve the issue?
More information about the ffmpeg-user
mailing list