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)
Do you see the problem with only this specific stream?
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.
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.
The attachment is missing, please upload the problem stream again.
Please find the attached stream...
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.
Can you let us know the tentative date for the next EZSDK release.
Release is planned on 30th March.
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.
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?
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.