截取yuv视频中帧(403-499 每4帧取1)
404,408...496
ffmpeg -s 416x240 -i BasketballPass_416x240_50.yuv -vf "select=between(n\,403\,499)*not(mod(n\,4))" -vsync 0 ./basket/image_%05d.png
403,407...499
ffmpeg -s 416x240 -i BasketballPass_416x240_50.yuv -vf "select=between(n\,403\,499)*not(mod(n+1\,4))" -vsync 0 ./basket2/frame_%02d.png
提取yuv中所有帧
ffmpeg -video_size 1920x1080 -r 25 -pixel_format yuv420p -i file.yuv output-%03d.png