This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

OMX_EventError: 0x80001005

Other Parts Discussed in Thread: TEST2

Hi Team,

Please give me some suggestions to resolve this. Currently i am writing some test codes for video mixing. After mixing two videos im using omx_h264enc to encode the output of the videomixer. Here i am getting the errors as mentioned below.

OMX_EventError: 0x80001005                                                      
unrecoverable error: One or more parameters were not valid (0x80001005)         
Error received from element encoder: GStreamer encountered a general stream erro
r.                                                                              
Debugging information: gstomx_base_filter.c(708): pad_chain (): /GstPipeline:tes
t-pipeline/GstOmxH264Enc:encoder:                                               
Error from OpenMAX component                                                    
root@dm816x-evm:~#           

This is the pipeline i am trying to build through coding.

gst-launch -e videomixer name=mix sink_0::xpos=0 sink_0::ypos=0 sink_0::alpha=0 sink_1::xpos=100 sink_1::ypos=50 ! ffmpegcolorspace ! omx_h264enc ! filesink location=test.264 \

videotestsrc ! video/x-raw-yuv,width=600,height=200 ! mix.sink_0 \

videotestsrc pattern=0 ! video/x-raw-yuv,width=100,height=100 ! mix.sink_1

"The Main Issue Is Encoding Is Not Happening"

Thanks in Advance.

Regards

Ajay

  • Hello,

    What is the EZSDK version that you are using here?

    Could you replace the ffmpegcolorspace element in the pipeline with omx_noisefilter?

    Could you share the full  debug logs ?


    Best Regards,

    Margarita

  • Hi Ma'am. Thanks for the replay.

    my ezsdk version is ezsdk_5_05_02_00.

    After removing ffmpegcolorspace, getting this error.

    root@dm816x-evm:~# gst-launch -v videomixer name=mix sink_0::xpos=0 sink_0::ypos
    =0 sink_0::alpha=0 sink_1::xpos=100 sink_1::ypos=50 ! omx_h264enc ! queue ! h264
    parse ! gstperf ! rtph264pay ! udpsink port=5000 host=192.168.48.20 sync=true vi
    deotestsrc ! video/x-raw-yuv,width=600,height=200 ! mix.sink_0 videotestsrc patt
    ern=0 ! video/x-raw-yuv,width=100,height=100 ! mix.sink_1
    WARNING: erroneous pipeline: could not link mix to omxh264enc0
    root@dm816x-evm:~#

    Please Help me resolve this.

    Thanks in advance.

    BR

    Ajay

  • Hello,

    I will check and I will let you know ASAP.

    Best Regards,
    Margarita
  • Hello,

    Could you try something like:

    gst-launch -v videomixer port-index=0 name=mix {properties} ! omx_noisefilter ! omx_h264enc ! h264parse ! filesink location=test2.264 videotestsrc ! 'video/x-raw-yuv,width=960,height=480' ! mix. videotestsrc pattern=18 ! 'video/x-raw-yuv,width=960,height=480' ! mix.

    or

    gst-launch -v videomixer port-index=0 name=mix {properties} ! ffmpegcolorspace ! omx_h264enc ! h264parse ! filesink location=test2.264 videotestsrc ! 'video/x-raw-yuv,width=960,height=480' ! mix. videotestsrc pattern=18 ! 'video/x-raw-yuv,width=960,height=480' ! mix.

    where {properties}
    sink_00::outX=0 sink_00::outY=0 sink_00::outWidth=XX sink_00::outHeight=XX sink_01::outX=XX sink_01::outY=XX sink_01::outWidth=XX sink_01::outHeight=XX

    edit XX with the values


    Best Regards,
    Margarita

  • Hello,

    I am able to encode 2  videos . Here is my pipeline.

    gst-launch -e videotestsrc pattern="snow" ! 'video/x-raw-yuv,width=150,height=150' ! videomixer name=mix !  ffmpegcolorspace ! omx_h264enc ! h264parse ! filesink location=1.264 videotestsrc ! 'video/x-raw-yuv,width=960,height=480' ! mix.

    Here is the output:

    Best Regards,

    Margarita