[FFmpeg-user] How can I delete packets?
Mark Filipak
markfilipak.imdb at gmail.com
Wed Feb 14 22:59:22 EET 2024
On 14/02/2024 11.42, Gyan Doshi wrote:
>
> Like the noise bsf. But it does not compute or look at payload CRC.
>
> https://ffmpeg.org//ffmpeg-bitstream-filters.html#noise
>
> Regards,
> Gyan
Thank you, Gyan!
ffmpeg -copyts -i this.m2ts -map 0 -bsf:v noise=drop='lt(pts\,2854113)+gt(pts\,504223732)' -bsf:a
noise=drop='lt(pts\,2854113)+gt(pts\,504223732)' -c copy -dn -muxdelay 0 that.m2ts
It works perfectly for video audio & subtitles.
Thank you very, very much,
Mark.
It's called "noise", eh? Hahaha... Good name. No one would look there for a trimmer. Hahaha...
More information about the ffmpeg-user
mailing list