Opened 7 years ago

Closed 7 years ago

#3917 closed defect (duplicate)

SRTP not encrypting video

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

Description (last modified by Carl Eugen Hoyos)

Summary of the bug: SRTP does not seem to be working
How to reproduce:

% ffmpeg -i input -vcodec libx264 -b:v 10M -g 20 -preset ultrafast -f mpegts "srtp://|2^20|1:4"

I have tried using the command above and it seems SRTP isn't encrypting the video

Change History (4)

comment:1 by bone2006, 7 years ago

if you use ffplay -f mpegts "udp://". The video stream can be viewed clearly.

comment:2 by Carl Eugen Hoyos, 7 years ago

Description: modified (diff)

Please add the complete, uncut console output to make this a valid ticket.

comment:3 by thovo, 7 years ago

This report is similar to
With the current git master you cannot use mpegts and (s)rtp at the same time and a/v stream.

Since patch 5ab46704 the command line gives a short hint:
"Data doesn't look like RTP packets, make sure the RTP muxer is used"

comment:4 by thovo, 7 years ago

Resolution: duplicate
Status: newclosed

See "RTP packetizing for MPEG-TS (RFC 2250)" (

Note: See TracTickets for help on using tickets.