Feeding a pipeline containing the omxh264dec using appsource

Hi,

I have this pipeline : appsrc → h264parser → omxh264dec → filesink,

I have to prepare “h264 format” buffers to push them to the pipeline through appsrc. The h264 data that I have is the result of coding an yuv video (width=640, height=360, framerate=25/1) using the omxh264enc. When I did that (using the decoder), I obtain an output yuv file that doesn’t have the same size of the initial yuv file. So I don’t know if that is related to the size of buffers that I push to the appsrc and their durations. Is their any relation between the size and duration of buffers to push to decoder and the properties of the video encoded ?

Regards,

Please try appsrc → h264parser → omxh264dec → nvvidconv ! ‘video/x-raw,format=I420’ ! filesink

Hi Danell,

Thanks for your reply,

Regards