Re: [FFmpeg-user] Frame rates and video accelerated

2015-02-09 Thread Werner Robitza
On Sat, Feb 7, 2015 at 6:05 PM, Cristiano Chieppa cristiano.chie...@gmail.com wrote: I save the raw frames (NALs) in a file (some frames grabbed from a camera) and I invoke the ffmpeg from the sw - like a batch program - to encode the raw H264 in MP4. The conversion works well. Out of

Re: [FFmpeg-user] Frame rates and video accelerated

2015-02-09 Thread Carl Eugen Hoyos
Werner Robitza werner.robitza at gmail.com writes: 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

Re: [FFmpeg-user] Frame rates and video accelerated

2015-02-09 Thread Werner Robitza
On Mon, Feb 9, 2015 at 9:10 PM, chie...@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

[FFmpeg-user] Frame rates and video accelerated

2015-02-07 Thread Cristiano Chieppa
Dear Users, I’m newbie with FFMpeg so, apologize if the question is trivial for you. I’m getting a raw H264 bitstream (in C++) via RTSP from IP camera (really I’m using many models). I haven’t the audio. I save the raw frames (NALs) in a file (some frames grabbed from a camera) and I invoke