[FFmpeg-user] How to decrypt .ts files into separate .ts files with ffmpeg without using a playlist?

Crazy Red Elephant crazyredelephant at protonmail.com
Tue Feb 11 14:55:04 EET 2020


Hi, Micael. I tried your command like this:

"ffmpeg -key 5e5852fab5eedf7c6b7a367b1fc140a1 -iv 00000000000000000000000000000000 -i crupto+file:part0.ts part0-decrypted.ts"

and got the following errors:

[NULL @ 000002c5c712f980] missing picture in access unit with size 8
[h264 @ 000002c5c7a50100] no frame!
Error while decoding stream #0:1: Invalid data found when processing input

The result file opens but is very low quality and missing some frames at the beginning. Looks like FFmpeg does something wrong here...

‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On Monday, February 10, 2020 5:55 PM, Micael Silva <micaelsilva at gmail.com> wrote:

> You can decrypt single files using "ffmpeg -key (hex key) -iv (hex IV,
> required) -i crypto+file:/path/to/file.ts"
>
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".




More information about the ffmpeg-user mailing list