Page 1 of 1

how get fps?

Posted: 21 Jul 2015 17:15
by connector2
Hi!
Vlc not recognize h264 codec automaticaly, so programmer set it manually -
m_parameters[0] = "--demux=h264";
frame per second (fps) for h264 not recognized too. the same -
m_parameters[0] = "--h264-fps=5";

but first, we need know fps.
How I can do it? I mean in my programm?

Re: how get fps?

Posted: 19 Nov 2015 11:35
by connector2
The same question - vlc can`t play h264 video without fps data.
How I can fix it?
Realy bad situation.

Re: how get fps?

Posted: 19 Nov 2015 11:52
by RĂ©mi Denis-Courmont
You can extract the frame rate from the VUI if the time parameters are present.