Hi,
I have generated a raw h264 encoded video with omxh264enc as:
gst-launch-1.0 v4l2src device=/dev/video0 ! “video/x-raw,width=640,height=480,format=I420”! omxh264enc insert-sps-pps=true ! filesink sync=false async=false location=omx_video.h264
I am not able to play it with ffplay as “ffplay -i omx_video.h264”
Whereas, I am able to play the video generated by x264enc:
gst-launch-1.0 v4l2src device=/dev/video0 ! “video/x-raw,width=640,height=480,format=I420”! x264enc ! filesink sync=false async=false location=x264_video.h264
When I open omx_video.h264 with hex editor the file (or h264 header )starts with 0x0000 0009 whereas for x264_video.h264 header with 0x0000 0001. Is there any paramter with omxh264 which I may be missing.
Thanks,