[FFmpeg-user] How can I delete packets?

Gyan Doshi ffmpeg at gyani.pro
Wed Feb 14 18:42:19 EET 2024



On 2024-02-14 10:06 pm, Paul B Mahol wrote:
> On Wed, Feb 14, 2024 at 4:51 PM Mark Filipak <markfilipak.imdb at gmail.com>
> wrote:
>
>> Can anyone suggest a way to delete the marked packets?
>>
>>     0: video, 1: audio
>>    /      DTS         PTS        ticks    bytes  packet_CRC
>> 1,    2798640,    2798640,      960,       60, 0xec16103f <==
>> : 48 more                                                 <==
>> 1,    2845680,    2845680,      960,     1084, 0xe54d2b6f <==
>> 0,    2846606,    2854113,     3753,   640646, 0x3a5a0c45
>> 1,    2846640,    2846640,      960,     1084, 0xe54d2b6f <==
>> 1,    2847600,    2847600,      960,     1084, 0xe54d2b6f <==
>> 1,    2848560,    2848560,      960,     1084, 0xe54d2b6f <==
>> 1,    2849520,    2849520,      960,     1084, 0xe54d2b6f <==
>> 0,    2850360,    2850360,     3753,   640646, 0xfed1d09a <==
>> 1,    2850480,    2850480,      960,     1084, 0xe54d2b6f <==
>> 1,    2851440,    2851440,      960,     1084, 0xe54d2b6f <==
>> 1,    2852400,    2852400,      960,     1084, 0xe54d2b6f <==
>> 1,    2853360,    2853360,      960,     1084, 0xe54d2b6f <==
>> 0,    2854113,    2861621,     3753,   640646, 0x02208727
>>
>>
> Probably no way, unless someone codes bitstream filter to drop packets.

Like the noise bsf. But it does not compute or look at payload CRC.

https://ffmpeg.org//ffmpeg-bitstream-filters.html#noise

Regards,
Gyan



More information about the ffmpeg-user mailing list