Hi,
We are trying to play a H264 stream on 8168 using gstreamer. The gstreamer exits giving the following errors:
root@dm816x-evm:/usr/share/ti/data/videos# gst-launch-0.10 filesrc location="video_siderecording.h264" ! 'video/x-h264,width=(int)176,height=(int)144,framerate=(fraction)25/1' ! h264parse access-unit=true ! omx_h264dec ! omx_scaler ! omx_ctrl display-mode=OMX_DC_MODE_1080P_60 ! omx_videosinkSetting pipeline to PAUSED ...Pipeline is PREROLLING ...unrecoverable error: There were insufficient resources to perform the requested operation (0x80001000)Recieved EOS event, press <CTRL+C> to terminate pipeline.Recieved EOS event, press <CTRL+C> to terminate pipeline.ERROR: from element /GstPipeline:pipeline0/GstOmxH264Dec:omxh264dec0: GStreamer encountered a general stream error.Additional debug info:gstomx_base_filter.c(657): pad_chain (): /GstPipeline:pipeline0/GstOmxH264Dec:omxh264dec0:Error from OpenMAX componentERROR: pipeline doesn't want to preroll.Setting pipeline to NULL ...Freeing pipeline ...
The Video Media Controller logs are attached herewith for your reference.
The same stream plays fine on an x86 machine using gstreamer. We could upload the video file if required (Please provide the details where the h264 video file needs to be uploaded)
Thanks,
Amol
7774.log.txt
Do you see the problem with only this specific stream?
Satish
Yes the issue occurs while playback of specific streams. If required we can upload those streams for your analysis.
Yes. Please upload the stream and we would try to reproduce/analyse the issue.
Thanks
Hi Satish,
Please find attached the H264 Elementary stream which has problems on 816x EVM. The stream plays fine on x86 using the following gstreamer pipeline:
gst-launch-0.10 filesrc location="video.h264" ! 'video/x-h264,width=176,height=144,framerate=(fraction)10/1' ! ffdec_h264 ! xvimagesink max-lateness=-1 sync=true
Please let me know if you find any issues with this stream.
Thanks.
Hi Amol,
The attachment is missing, please upload the problem stream again.
Hari
Please find the attached stream...
8032.video.tar.gz
This video having resolution of QCIF.
There was a bug in VDEC for H264 QCIF resolution. This is already fixed in OMX component version omx_05_02_00_31. Please wait next EZSDK release which has latest OMX component.
Regards
Santosh Avati
Thanks Santosh.
Can you let us know the tentative date for the next EZSDK release.
Release is planned on 30th March.
Hi Santosh,
Is it possible to use software decoding (ffdec_h264) on the EVM for playback of CIFF resolution content? I tried few pipelines but no luck. Can you suggest an alternative for the same.
Regards.
Hi Amol
yes it possible. please try below pipeline.
gst-launch filesrc location='sample.mp4' ! qtdemux name=demux demux.video_00 ! queue ! h264parse ! ffdec_h264 ! ffmpegcolorspace ! omx_scaler ! omx_ctrl display-mode=OMX_DC_MODE_1080P_60 ! omx_videosink
Thanks for your reply. I had tried the above pipeline but its not working at my end. I think I have messed up with my gstreamer installation (particularly the opensource_build). Will try to cross compile the same at my end and do a clean installation. Will update you once we had tested it.
Any updates on the new EZSDK release with the decoder issue resolved?
-Amol