ffmpeg: 매 30프레임만 포함하고 30x 원래 속도로 재생되는 비디오를 가져옵니다.

ffmpeg: 매 30프레임만 포함하고 30x 원래 속도로 재생되는 비디오를 가져옵니다.

ffmpeg를 사용하여 비디오 스트림에서 30프레임마다 추출하려고 합니다. 이를 위해 나는 모든 것을 상담했다.https://superuser.com/questions/573747/drop-every-even-or-odd-frames-using-ffmpeg 비디오에서 10프레임마다 추출하는 방법은 무엇입니까? https://superuser.com/questions/1274661/selecting-one-every-n-frames-from-a-video-using-ffmpeg그러나 두 옵션 모두 작동하지 않습니다.

내가 아는 한 가장 가까운 것은

$ ffmpeg -i DSCF0001.AVI -vf "select='not(mod(n-1,30))',setpts=N/(30*TB)" output.mkv

이것은 처음에는 내가 원하는 것을 정확히 수행하는 비디오를 생성하지만 특정 지점에서 멈추고 계속되지 않습니다. 인코딩하는 동안 명령줄에 다음 메시지가 표시됩니다.

[matroska @ 0x559dfb975d40] Starting new cluster due to timestampte= 356.7kbits/s speed=8.09x    
    Last message repeated 3 times
[matroska @ 0x559dfb975d40] Starting new cluster due to timestampte= 358.5kbits/s speed=8.09x    
    Last message repeated 3 times
[matroska @ 0x559dfb975d40] Starting new cluster due to timestampte= 354.1kbits/s speed=8.09x    
    Last message repeated 3 times

이는 질문과 관련이 있을 수도 있고 그렇지 않을 수도 있습니다.

내 목표를 달성하기 위한 올바른 명령줄은 무엇입니까?

관련 정보