I am facing a problem to set video streams framerates with FFmpeg when using the map option.
Here is what I want to do: Given an input video file of 60fps, I want to generate an output file containing two video streams: one with 60fps (as the source) and the other with 30fps (half the source framerate).
I executed this command:
ffmpeg -i input_60fps.mov -map 0:v -map 0:v -crf:v:0 23 -c:v:0 libx264 -s:v:0 640x360 -vf:v:0 fps=fps=30/1 -crf:v:1 23 -c:v:1 libx264 -s:v:1 1920x1080 -vf:v:1 fps=fps=60/1 -f mp4 out.mp4
This gave me the wanted output file but with streams of 60fps !! Am I missing something ? I did many tests, I am wondering if ffmpeg has a problem to set different framerates when using the map option !! Waiting for your help ! thank you ..