[FFmpeg-trac] #7068(ffmpeg:new): ffmpeg SDP file generation : incorrect header
FFmpeg
trac at avcodec.org
Wed Jan 15 20:56:27 EET 2020
#7068: ffmpeg SDP file generation : incorrect header
--------------------------------+----------------------------------
Reporter: chacha | Owner:
Type: defect | Status: new
Priority: normal | Component: ffmpeg
Version: 4.2 | Resolution:
Keywords: sdp | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
--------------------------------+----------------------------------
Changes (by juannm):
* cc: oneorjuan@… (added)
* version: unspecified => 4.2
* component: undetermined => ffmpeg
Comment:
I'm adding the full command line output in an attempt to make this a valid
ticket, although for this specific case it shouldn't really be needed.
Anyone who has ever seen an SDP message ever, knows that starting with
"SDP:" is not valid.
Test command:
{{{
ffmpeg \
-re \
-i video.mp4 \
-an \
-c:v copy \
-f rtp \
-sdp_file video.sdp \
"rtp://127.0.0.1:5004"
}}}
Generated SDP file:
{{{
SDP:
v=0
o=- 0 0 IN IP4 127.0.0.1
s=No Name
c=IN IP4 127.0.0.1
t=0 0
a=tool:libavformat 58.29.100
m=video 5004 RTP/AVP 96
a=rtpmap:96 H264/90000
a=fmtp:96 packetization-mode=1; sprop-parameter-
sets=Z0LAH9kAUAW7ARAAAD6QAAu4CPGDJIA=,aMuMsg==; profile-level-id=42C01F
}}}
Offending line:
{{{
SDP:
}}}
Expected SDP file:
{{{
v=0
o=- 0 0 IN IP4 127.0.0.1
s=No Name
c=IN IP4 127.0.0.1
t=0 0
a=tool:libavformat 58.29.100
m=video 5004 RTP/AVP 96
a=rtpmap:96 H264/90000
a=fmtp:96 packetization-mode=1; sprop-parameter-
sets=Z0LAH9kAUAW7ARAAAD6QAAu4CPGDJIA=,aMuMsg==; profile-level-id=42C01F
}}}
Tested version: latest available as of right now in John Van Sickle's
website: https://www.johnvansickle.com/ffmpeg/
Full, uncut console output generated with '-report' and provided in the
attached file.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/7068#comment:5>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list