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

2020-02-11 Thread Ted Park
Stream 0 in this case is the timed ID3 metadata “stream” and non monotonously increasing dts isn’t an error ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email

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

2020-02-11 Thread Micael Silva
> On Tuesday, February 11, 2020 12:26 AM, Moritz Barsnick > wrote: > > > Well, ffmpeg parses the individual decrpypted segments just fine, so > > shrug. I can only guess that when segmenting, they weren't segmented > > at MPEG-TS packet boundaries, or something like that. > > I tried what Micael

Re: [FFmpeg-user] "Non-monotonous DTS in output stream" error, previous and current values are equal

2020-02-11 Thread Ted Park
> 4. A general question - is there any difference between (a) decrypting all > .ts parts separately, then concatenating them into one big .ts file and > remuxing it into .mp4 and (b) concatenating all encrypted .ts parts first, > then decrypting the big .ts result file and then remuxing it into

[FFmpeg-user] "Non-monotonous DTS in output stream" error, previous and current values are equal

2020-02-11 Thread Crazy Red Elephant via ffmpeg-user
I have a number of .ts segments (AES-128 encrypted), .m3u8 chunklist for them and a key to decrypt them. My goal is to losslessly remux these .ts segments into one .mp4 file with no playback issues. I'm using the following command: "ffmpeg -allowed_extensions ALL -i chunklist.m3u8 -c copy

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

2020-02-11 Thread Crazy Red Elephant via ffmpeg-user
‐‐‐ Original Message ‐‐‐ On Tuesday, February 11, 2020 12:26 AM, Moritz Barsnick wrote: > Well, ffmpeg parses the individual decrpypted segments just fine, so > shrug. I can only guess that when segmenting, they weren't segmented > at MPEG-TS packet boundaries, or something like that.

Re: [FFmpeg-user] Problem with TS file

2020-02-11 Thread Gabriele Greco
> > And with a closer look at your ffprobe console output, we see this > relevant error: > > [mpegts @ 0x7ff544004a00] Could not find codec parameters for stream 0 > (Video: h264 ([27][0][0][0] / 0x001B), none): unspecified size > > Consider increasing the value for the 'analyzeduration' and

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

2020-02-11 Thread Crazy Red Elephant via ffmpeg-user
Hi, Micael. I tried your command like this: "ffmpeg -key 5e5852fab5eedf7c6b7a367b1fc140a1 -iv -i crupto+file:part0.ts part0-decrypted.ts" and got the following errors: [NULL @ 02c5c712f980] missing picture in access unit with size 8 [h264 @

Re: [FFmpeg-user] Problem with TS file

2020-02-11 Thread Moritz Barsnick
On Tue, Feb 11, 2020 at 12:22:33 +0100, Gabriele Greco wrote: > About the sample, it's a bit tricky, ffmpeg fails every operation on it > (both muxing and encoding), also something as simple as: > > ffmpeg -i source.ts -c copy -to 30.0 out.ts > > ... so using the properties of ts files (not having

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

2020-02-11 Thread Moritz Barsnick
On Mon, Feb 10, 2020 at 19:36:58 -0300, Micael Silva wrote: > The HLS standard says about encryption: > > "An encryption method of AES-128 signals that Media Segments are completely > encrypted using the Advanced Encryption Standard (AES) [AES_128] with a > 128-bit key, Cipher Block Chaining

Re: [FFmpeg-user] Problem with TS file

2020-02-11 Thread Gabriele Greco
> > > Feel free to provide a sample file after testing that the issue is > reproducible with current FFmpeg git head, the only version supported here. > About the "freshness" of the ffprobe used: I tried with a clean master clone (a few minutes before finalizing the mail) About the sample, it's

Re: [FFmpeg-user] Problem with TS file

2020-02-11 Thread Carl Eugen Hoyos
> Am 11.02.2020 um 10:36 schrieb Gabriele Greco : > > I have a strange mpeg2ts file that is giving me problems in our encoding > pipeline Feel free to provide a sample file after testing that the issue is reproducible with current FFmpeg git head, the only version supported here. Carl Eugen

[FFmpeg-user] Problem with TS file

2020-02-11 Thread Gabriele Greco
I have a strange mpeg2ts file that is giving me problems in our encoding pipeline, I'd like to understand what's wrong in this file, I'm able to playback it fine with ffplay or VLC but gives a ton of errors while doing it, but simply fails to be re encoded through nvenc, the file already gives a