View Single Post
Old 12th November 2015, 10:53   #1  |  Link
Prathamesh
Registered User
 
Join Date: Sep 2015
Posts: 4
ffmpeg: setting IDR frames option.

Hi all,

Can somebody help me regarding IDR frames in ffmpeg.

My client wants the below :

H.264 elementary stream + AAC audio stream muxed in mpeg 2 transport stream.
H.264 Video bitrate : CBR@1.5mbps
Frame rate = 29.97 fps.
Resolution = 720x480 Anamorphic.
Profile = Main@L3.2 , CABAC.
GOP length = 15, Every I frame must be an IDR.

I think this requires the use of keyint=15:keyint_min=15:no-scenecut in ffmpeg to force a closed gop right??

How do i verify that every I frame is an IDR?

Also, the client has stated that the H.264 stream must be in streaming format. i.e SPS and other sequence headers must be repeated throughout the stream.

How do i ensure my H.264 stream is streaming format? do i need to use annex B filter : -bsf:v h264_mp4toannexb?

My source is Apple ProRes 422 HQ @ 25 fps.

I would appreciate any help you guys can provide.
Prathamesh is offline   Reply With Quote