[FFmpeg-user] Frame rates and video accelerated
werner.robitza at gmail.com
Mon Feb 9 21:33:12 CET 2015
On Mon, Feb 9, 2015 at 9:10 PM, <chieppa at elmaxsrl.it> wrote:
> I'm pretty sure that the raw H264 hasn't the timestamps.
The NAL units themselves, no, but AFAIK the SPS can indicate the time
base according to the VUI information in Annex E of H.264. So you have
to make sure that this is present for ffmpeg to detect it.
> Then I prepare the command to launch by sw the FFMPEG:
> ffmpeg -y -i IMAGE_FILE.h264 -vf scale=960:-1 -c:v mpeg4 -q:v 1 IMAGE_FILE.mp4
> Stream #0:0: Video: h264 (Baseline), yuv420p, 1280x720, 25 fps, 25 tbr, 1200k tbn, 50 tbc
It assumes 25 fps here. Like I said, try "-r 12.5" or whatever you need, e.g.
ffmpeg -r 12.5 -i input output
(Please do not top-post on this mailing list. Thanks!)
More information about the ffmpeg-user