Timeline for How can I remove every nth frame from raw video using ffmpeg?
Current License: CC BY-SA 4.0
10 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jun 18 at 19:33 | comment | added | DaveB44 |
I found one error, I missed the backslash, which I assume is to escape the comma. So now my code is ffmpeg -loglevel warning -i cine.h264 -c copy -bsf:v 'noise=drop=mod(4\,25)' cine-24.mp4 . this gives a different error. [out#0/mp4 @ 0000019f6aba6dc0] Output file is empty, nothing was encoded I feel I am getting close to what I'm looking for, so where am I going wrong now?
|
|
Jun 18 at 19:21 | comment | added | DaveB44 |
I have looked at Downsampling / Filtering Data Stream with FFMPEG. I can see this uses noise=drop, so I tried the following. ffmpeg -loglevel warning -i cine.h264 -c copy -bsf:v 'noise=drop=mod(4,25)' cine-24.mp4 I tried various permutations of options but I just got the following error. [vost#0:0/copy @ 000002772d69c0c0] Error parsing bitstream filter sequence 'noise=drop=mod(4,25)': Bitstream filter not found Where am I going wrong?
|
|
Jun 16 at 20:00 | comment | added | DaveB44 | Thanks for the clarification @Rotem. | |
Jun 16 at 20:00 | comment | added | DaveB44 | Thanks for the confirmation@TomYan. | |
Jun 15 at 18:47 | comment | added | Tom Yan |
select is not a bsf .
|
|
Jun 15 at 18:20 | comment | added | Rotem | Consider that H.264 elementary stream doesn't have PTS timestamps (the PTS are part of the container). I think there is a way to mark a frame for not to be displayed by the player (without reencoding). As far as I know, it is not possible using FFmpeg. | |
Jun 15 at 16:39 | comment | added | DaveB44 | Updated the ffprobe output as it was from a different file. | |
Jun 15 at 16:38 | history | edited | DaveB44 | CC BY-SA 4.0 |
Updated ffprobe output as the previous output was from a different video editor. The video editor used was Adobe Premiere Pro.
|
S Jun 15 at 16:03 | review | First questions | |||
Jun 15 at 17:38 | |||||
S Jun 15 at 16:03 | history | asked | DaveB44 | CC BY-SA 4.0 |