[FFmpeg-trac] #8783(avformat:open): I am trying to generate an encrypted single file hls stream but the output segment is not encrypted

FFmpeg trac at avcodec.org
Fri Jul 10 17:26:10 EEST 2020


#8783: I am trying to generate an encrypted single file hls stream but the output
segment is not encrypted
-------------------------------------+-------------------------------------
             Reporter:  noobcryptor  |                    Owner:  stevenliu
                 Type:  defect       |                   Status:  open
             Priority:  critical     |                Component:  avformat
              Version:  git-master   |               Resolution:
             Keywords:  hls          |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------

Comment (by noobcryptor):

 Replying to [comment:4 stevenliu]:
 > try this patchset please:
 > https://patchwork.ffmpeg.org/project/ffmpeg/list/?series=1718

 Hi, thank you for your response, I have tried this patchset, the stream
 got encrypted fine, but the playback is broken, I have tried playing it
 using ffplay and I got the following output {{{
 [hls @ 00000200bdddb980] Opening 'crypto:playlist.ts' for reading
 [mpegts @ 00000200bdddfe80] Packet corrupt (stream = 0, dts = 990864).
 [hls @ 00000200bdddb980] Opening 'crypto:playlist.ts' for reading
 [mpegts @ 00000200bdddfe80] Packet corrupt (stream = 0, dts = 1095696).
 [h264 @ 00000200bde44180] error while decoding MB 3 21, bytestream -6
 [h264 @ 00000200bde44180] concealing 126 DC, 126 AC, 126 MV errors in P
 frame
 [hls @ 00000200bdddb980] Opening 'crypto:playlist.ts' for reading
 [mpegts @ 00000200bdddfe80] Packet corrupt (stream = 0, dts = 736272).
 [h264 @ 00000200bde24f80] error while decoding MB 19 18, bytestream -10
 [h264 @ 00000200bde24f80] concealing 230 DC, 230 AC, 230 MV errors in P
 frame
 [hls @ 00000200bdddb980] Opening 'crypto:playlist.ts' for reading
 [mpegts @ 00000200bdddfe80] Packet corrupt (stream = 0, dts = 1062000).
 [h264 @ 00000200bde44180] error while decoding MB 33 0, bytestream -6
 [h264 @ 00000200bde44180] concealing 920 DC, 920 AC, 920 MV errors in I
 frame
    3.62 A-V: -2.562 fd= 183 aq=    0KB vq=    0KB sq=    0B f=4/4
 }}}

--
Ticket URL: <https://trac.ffmpeg.org/ticket/8783#comment:5>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list