FFMPEG mpegts rtsp streaming – Stack Overflow
Using ffmpeg I can send a stream to my rtsp server like so:
ffmpeg -re -i input.ts -map 0 -c copy -f rtsp rtsp://localhost:8554/push/mystream
This .ts file contains metadata (KLV specifically).
When streaming to rtsp via ffmpeg it sends the server an ANNOUNCE that shows two media descriptors – one for the h264 video and the KLV data in the container.
My server does not support this. It needs a single media descriptor.
I’m able to produce a single containerized rtsp communication/ rtp payloads with gstreamer. The SDP has a single media descriptor RTP/AVP 33 and an rtpmap:33 mp2t/9000 in the ANNOUNCE.
How can I configure my ffmpeg pipeline to send the data containerized such that there is only a single media descriptor (and not drop my additional stream contents)?
Read more here: Source link
