#3702: RTSP Streaming fails with "Could not write header for output file"
-------------------------------------+-------------------------------------
Reporter: DJX | Owner:
Type: defect | Status: new
Priority: normal | Component:
| undetermined
Version: git-master | Resolution:
Keywords: rtsp | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Comment (by taliho):
FFmpeg cannot be used as an RTSP server. FFmpeg just sends data to an RTSP
server which then re-distributes the content.
VLC has an option to create an RTSP server or could try:
https://github.com/revmischa/rtsp-server
In the example above, ffplay "pretends" it's an RTSP server but plays the
content instead of redistributing it, which also explains why you have to
start ffplay before ffmpeg
(this option is set with -rtsp_flags listen). Without this option ffplay
would behave in the usual way and try to connect to an rtsp server.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/3702#comment:23>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
_______________________________________________
FFmpeg-trac mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-trac
To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".