Opened 10 months ago

Last modified 10 months ago

#7068 new defect

ffmpeg SDP file generation : incorrect header

Reported by: chacha Owned by:
Priority: normal Component: undetermined
Version: unspecified Keywords: sdp
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

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.

Change History (4)

comment:1 Changed 10 months ago by chacha

The RFC for SDP syntax :
https://tools.ietf.org/html/rfc4566

comment:2 Changed 10 months ago by cehoyos

Please test current FFmpeg git head and post the command line you tested together with the complete, uncut console output to make this a valid ticket.

comment:4 Changed 10 months ago by cehoyos

  • Component changed from ffmpeg to undetermined
  • Keywords sdp added
  • Version changed from 3.4 to unspecified
Note: See TracTickets for help on using tickets.