Hello, I'm using the `between` filter to cut a video. In ffmpeg 7, this
works perfectly. In the new version 8, the video is cut, but the audio
isn't.

ffmpeg.exe -loglevel error -stats -copyts -i input.mkv -y -vf
select='between(t,36.04,76.04)+between(t,404.48,444.48)',setpts=N/FRAME_RATE/TB
-preset ultrafast -tune film -map 0:v -c:v libx264 -crf 22 -map 0:1? -c:a:0
aac -b:a:0 160k  -filter:a:0
aselect='between(t,36.04,76.04)+between(t,404.48,444.48)',asetpts=N/SR/TB
-disposition:a:0 default -map_chapters 0 -max_interleave_delta 0
-reset_timestamps 1 output.mkv
_______________________________________________
ffmpeg-user mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to