[FFmpeg-trac] #7068(ffmpeg:new): ffmpeg SDP file generation : incorrect header
FFmpeg
trac at avcodec.org
Wed Mar 7 10:32:36 EET 2018
#7068: ffmpeg SDP file generation : incorrect header
--------------------------------+----------------------------------
Reporter: chacha | Type: defect
Status: new | Priority: normal
Component: ffmpeg | Version: 3.4
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
--------------------------------+----------------------------------
Let's say you generate a sdp file by broadcasting something to RTP with
ffmpeg
{{{
./ffmpeg -re -thread_queue_size 4 -i test_input.mp4 -strict -2 -an -vcodec
mpeg2video -f rtp rtp://192.168.1.28:4566 -sdp_file ffmpeg-broadcast-to-
rtp.sdp
}}}
The generated SDP file will have a "SDP:\n" header as found in
ffmpeg.c:print_sdp()
This is not a valid syntax for a SDP file and such files won't be opened
by VLC.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/7068>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list