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.

dm816x

I am integrating OMX_mpeg4enc using ezsdk, the problem data is flowing without caps negotiation..that is in this pipeline

videotestsrc ! omx_mpeg4enc ! avimux ! filesink

a callback set to recieve CAPS is never called , it is well happening if i replace omx_mpeg4enc with omx_h264enc

  • Hi Vishwanath,

    omx_mpeg4enc is not available as gst element in EZSDK. 

    Do you have access to EZSDK overlay  to add this mpeg4enc to as pluggin?

    Thanks

  • Hi Vishwanath,

    Can you try with below gst pipeline? I am able to see CAPS negotiation happening and video getting encoded.

    I have added 'video/mpeg' caps filter before avimux.

    gst-launch videotestsrc ! omx_mpeg4enc ! 'video/mpeg' ! avimux ! filesink location=/usr/share/ti/rpe/sample_av11.mp4

  • HI Ramprasad,

    sorry , doing that pipeline is runnig but , the setcaps callback attached to next element is never called ..try runnig pipeline with -v option with omx_mpeg4enc and omx_h264enc . in h264enc caps is set on element next to it .but its not the case in mpeg4enc . i have added push_cb method similar to h264 it is working with videotestsrc but i got to check with omx_videosrc.

    what i have added is registered push_cb similar to omx_h264enc code.then , in method push_cb of gstomx_mpeg4enc.c 

    GST_BUFFER_CAPS(buf) = gst_caps_ref(GST_PAD_CAPS(omx_base->srcpad));  if it causes any side effect let me know.

    with omx_videosrc , its failing in the beginning with error message as follows,

    unrecoverable error: One or more parameters were not valid (0x80001005)
    Recieved EOS event, press <CTRL+C> to terminate pipeline.
    ERROR: from element /GstPipeline:pipeline0/GstOmxMpeg4Enc:omxmpeg4enc0: GStreamer encountered a general stream error.
    Additional debug info:
    gstomx_base_filter.c(703): pad_chain (): /GstPipeline:pipeline0/GstOmxMpeg4Enc:omxmpeg4enc0:
    Error from OpenMAX component

  • Hello,

    Please, attach the debug logs from:

    1.  ./loggerSMDump.out 0x9e400000 0x100000 all

    and

    2. gst-debug=3

    Best Regards,

    Margarita

  • HI Margarita,

    i am really sorry , in my board i can't get lengthy logs , only thing i got is as follows and i couldn't find .loggerSMDump.out , please let me know what is that and how to get it , i ll get you that in the morning.

    0:00:00.002667599 1588 0x150a8 INFO GST_INIT gst.c:605:init_pre: Initializing GStreamer Core Library version 0.10.32
    0:00:00.006536500 1588 0x150a8 INFO GST_INIT gst.c:606:init_pre: Using library installed in /home/vishwa/JOJN1/JOJN/gstreamer_ti_dm81xx/target//opt/gstreamer/lib
    0:00:00.006701700 1588 0x150a8 INFO GST_INIT gst.c:616:init_pre: Linux dm813x-evm 2.6.37 #1 PREEMPT Thu Nov 6 15:15:49 IST 2014 armv7l
    0:00:00.007791500 1588 0x150a8 INFO GST_INIT gstquery.c:108:_gst_query_initialize: init queries
    0:00:00.016916900 1588 0x150a8 INFO GST_INIT gstmessage.c:73:_gst_message_initialize: init messages
    0:00:00.019096700 1588 0x150a8 INFO GST_PLUGIN_LOADING gstplugin.c:350:_gst_plugin_initialize: registering 0 static plugins
    0:00:00.020836099 1588 0x150a8 INFO GST_PLUGIN_LOADING gstplugin.c:255:gst_plugin_register_static: registered static plugin "staticelements"
    0:00:00.020969799 1588 0x150a8 INFO GST_PLUGIN_LOADING gstplugin.c:257:gst_plugin_register_static: added static plugin "staticelements", result: 1
    0:00:00.021070099 1588 0x150a8 INFO GST_REGISTRY gstregistry.c:1599:ensure_current_registry: reading registry cache: /config/gstreamer-0.10.registry.arm.bin
    0:00:00.064623000 1588 0x150a8 INFO GST_REGISTRY gstregistrybinary.c:614:gst_registry_binary_read_cache: loaded /config/gstreamer-0.10.registry.arm.bin in 0.043382 seconds
    0:00:00.065098100 1588 0x150a8 INFO GST_REGISTRY gstregistry.c:1469:scan_and_update_registry: Validating plugins from registry cache: /config/gstreamer-0.10.registry.arm.bin
    0:00:00.070860599 1588 0x150a8 INFO GST_REGISTRY gstregistry.c:1561:scan_and_update_registry: Registry cache has not changed
    0:00:00.071016299 1588 0x150a8 INFO GST_REGISTRY gstregistry.c:1628:ensure_current_registry: registry reading and updating done, result = 1
    0:00:00.071113299 1588 0x150a8 INFO GST_INIT gst.c:792:init_post: GLib runtime version: 2.24.2
    0:00:00.071194799 1588 0x150a8 INFO GST_INIT gst.c:794:init_post: GLib headers version: 2.24.2
    0:00:00.071554299 1588 0x150a8 INFO GST_PIPELINE gstparse.c:299:gst_parse_launch_full: parsing pipeline description 'omx_videosrc mode=720p ! omx_mpeg4enc ! filesink location=some '
    0:00:00.393358699 1588 0x150a8 INFO omx gstomx_videomixer.c:2183:init_interfaces: GstChildProxy interface registered
    0:00:00.403015899 1588 0x150a8 INFO GST_PLUGIN_LOADING gstplugin.c:859:gst_plugin_load_file: plugin "/usr/lib/gstreamer-0.10/libgstomx.so" loaded
    0:00:00.403185699 1588 0x150a8 INFO GST_ELEMENT_FACTORY gstelementfactory.c:371:gst_element_factory_create: creating element "omx_videosrc"
    0:00:00.437450400 1588 0x150a8 INFO GST_ELEMENT_PADS gstelement.c:716:gst_element_add_pad:<GstBaseSrc@0x62008> adding pad 'src'
    0:00:00.447723900 1588 0x150a8 INFO GST_ELEMENT_FACTORY gstelementfactory.c:371:gst_element_factory_create: creating element "omx_mpeg4enc"
    98:caps obtainedvideo/mpeg
    98:caps obtained width: [ 16, 4096 ]
    98:caps obtained height: [ 16, 4096 ]
    98:caps obtained framerate: [ 0/1, 2147483647/1 ]
    98:caps obtained mpegversion: 4
    98:caps obtained systemstream: false
    registering static plugin
    0:00:00.457400700 1588 0x150a8 INFO GST_ELEMENT_PADS gstelement.c:716:gst_element_add_pad:<GstOmxBaseFilter@0x66830> adding pad 'sink'
    0:00:00.457568900 1588 0x150a8 INFO GST_ELEMENT_PADS gstelement.c:716:gst_element_add_pad:<GstOmxBaseFilter@0x66830> adding pad 'src'
    0:00:00.530853599 1588 0x150a8 INFO GST_PLUGIN_LOADING gstplugin.c:859:gst_plugin_load_file: plugin "/usr/lib/gstreamer-0.10/libgstcoreelements.so" loaded
    0:00:00.531108199 1588 0x150a8 INFO GST_ELEMENT_FACTORY gstelementfactory.c:371:gst_element_factory_create: creating element "filesink"
    0:00:00.538391900 1588 0x150a8 INFO GST_ELEMENT_PADS gstelement.c:716:gst_element_add_pad:<GstBaseSink@0x6a0e8> adding pad 'sink'
    0:00:00.539071300 1588 0x150a8 INFO GST_ELEMENT_FACTORY gstelementfactory.c:371:gst_element_factory_create: creating element "pipeline"
    0:00:00.548137900 1588 0x150a8 INFO GST_PIPELINE ./grammar.y:568:gst_parse_perform_link: linking omxvideosrc0:(any) to omxmpeg4enc0:(any) (0/0) with caps "(nil)"
    0:00:00.552452299 1588 0x150a8 INFO GST_ELEMENT_PADS gstutils.c:1568:gst_element_link_pads_full: trying to link element omxvideosrc0:(any) to element omxmpeg4enc0:(any)
    0:00:00.553987000 1588 0x150a8 INFO GST_PADS gstutils.c:1028:gst_pad_check_link: trying to link omxvideosrc0:src and omxmpeg4enc0:sink
    0:00:00.559690200 1588 0x150a8 INFO GST_PADS gstutils.c:1468:prepare_link_maybe_ghosting: omxvideosrc0 and omxmpeg4enc0 in same bin, no need for ghost pads
    0:00:00.569456700 1588 0x150a8 INFO GST_PADS gstpad.c:1941:gst_pad_link_prepare: trying to link omxvideosrc0:src and omxmpeg4enc0:sink
    0:00:00.569715600 1588 0x150a8 INFO GST_PADS gstpad.c:2124:gst_pad_link_full: linked omxvideosrc0:src and omxmpeg4enc0:sink, successful
    0:00:00.569973499 1588 0x150a8 INFO GST_PIPELINE ./grammar.y:568:gst_parse_perform_link: linking omxmpeg4enc0:(any) to filesink0:(any) (0/0) with caps "(nil)"
    0:00:00.570096899 1588 0x150a8 INFO GST_ELEMENT_PADS gstutils.c:1568:gst_element_link_pads_full: trying to link element omxmpeg4enc0:(any) to element filesink0:(any)
    0:00:00.570211099 1588 0x150a8 INFO GST_PADS gstutils.c:1028:gst_pad_check_link: trying to link omxmpeg4enc0:src and filesink0:sink
    0:00:00.571724099 1588 0x150a8 INFO GST_PADS gstutils.c:1468:prepare_link_maybe_ghosting: omxmpeg4enc0 and filesink0 in same bin, no need for ghost pads
    0:00:00.571938999 1588 0x150a8 INFO GST_PADS gstpad.c:1941:gst_pad_link_prepare: trying to link omxmpeg4enc0:src and filesink0:sink
    0:00:00.572064299 1588 0x150a8 INFO GST_PADS gstpad.c:2124:gst_pad_link_full: linked omxmpeg4enc0:src and filesink0:sink, successful
    Setting pipeline to PAUSED ...
    0:00:00.580180099 1588 0x150a8 INFO GST_STATES gstelement.c:2341:gst_element_continue_state:<filesink0> completed state change to READY
    0:00:00.580358699 1588 0x150a8 INFO GST_STATES gstelement.c:2354:gst_element_continue_state:<filesink0> posting state-changed NULL to READY
    0:00:00.582168699 1588 0x150a8 INFO GST_STATES gstbin.c:2492:gst_bin_change_state_func:<pipeline0> child 'filesink0' changed state to 2(READY) successfully
    0:00:00.582368399 1588 0x150a8 INFO omx gstomx_base_filter.c:157:change_state:<omxmpeg4enc0> begin: changing state NULL -> READY
    Syslink: _NotifyDrvUsr_eventWorker thread created, tid = 1593
    Syslink: _NotifyDrvUsr_eventWorker: set real-time priority of 32
    Osal runStub() thread, tid = 1600
    Osal runStub(): set real-time priority of 32
    Osal runStub() thread, tid = 1601
    Osal runStub(): set real-time priority of 32
    0:00:01.769768399 1588 0x150a8 INFO GST_STATES gstelement.c:2341:gst_element_continue_state:<omxmpeg4enc0> completed state change to READY
    0:00:01.770015599 1588 0x150a8 INFO GST_STATES gstelement.c:2354:gst_element_continue_state:<omxmpeg4enc0> posting state-changed NULL to READY
    0:00:01.770243199 1588 0x150a8 INFO GST_STATES gstbin.c:2492:gst_bin_change_state_func:<pipeline0> child 'omxmpeg4enc0' changed state to 2(READY) successfully
    0:00:01.770419899 1588 0x150a8 INFO GST_STATES gstelement.c:2341:gst_element_continue_state:<omxvideosrc0> completed state change to READY
    0:00:01.770518099 1588 0x150a8 INFO GST_STATES gstelement.c:2354:gst_element_continue_state:<omxvideosrc0> posting state-changed NULL to READY
    0:00:01.770664099 1588 0x150a8 INFO GST_STATES gstbin.c:2492:gst_bin_change_state_func:<pipeline0> child 'omxvideosrc0' changed state to 2(READY) successfully
    0:00:01.770873099 1588 0x150a8 INFO GST_STATES gstelement.c:2314:gst_element_continue_state:<pipeline0> committing state from NULL to READY, pending PAUSED, next PAUSED
    0:00:01.772861199 1588 0x150a8 INFO GST_STATES gstelement.c:2323:gst_element_continue_state:<pipeline0> continue state change READY to PAUSED, final PAUSED
    0:00:01.779078300 1588 0x150a8 INFO GST_STATES gstbin.c:2498:gst_bin_change_state_func:<pipeline0> child 'filesink0' is changing state asynchronously to PAUSED
    0:00:01.779307400 1588 0x150a8 INFO omx gstomx_base_filter.c:157:change_state:<omxmpeg4enc0> begin: changing state READY -> PAUSED
    0:00:01.779471800 1588 0x150a8 INFO GST_STATES gstelement.c:2341:gst_element_continue_state:<omxmpeg4enc0> completed state change to PAUSED
    0:00:01.779569300 1588 0x150a8 INFO GST_STATES gstelement.c:2354:gst_element_continue_state:<omxmpeg4enc0> posting state-changed READY to PAUSED
    0:00:01.779738100 1588 0x150a8 INFO GST_STATES gstbin.c:2492:gst_bin_change_state_func:<pipeline0> child 'omxmpeg4enc0' changed state to 3(PAUSED) successfully
    Osal runStub() thread, tid = 1602
    Osal runStub(): set real-time priority of 32
    0:00:01.861393499 1588 0x150a8 INFO GST_EVENT gstevent.c:606:gst_event_new_new_segment_full: creating newsegment update 0, rate 1.000000, format bytes, start 0, stop -1, position 0
    0:00:01.866367800 1588 0x150a8 INFO GST_STATES gstelement.c:2341:gst_element_continue_state:<omxvideosrc0> completed state change to PAUSED
    0:00:01.866519700 1588 0x150a8 INFO GST_STATES gstelement.c:2354:gst_element_continue_state:<omxvideosrc0> posting state-changed READY to PAUSED
    0:00:01.866694600 1588 0x150a8 INFO GST_STATES gstbin.c:2536:gst_bin_change_state_func:<pipeline0> child 'omxvideosrc0' changed state to 3(PAUSED) successfully without preroll
    0:00:01.866886700 1588 0x150a8 INFO GST_STATES gstelement.c:2341:gst_element_continue_state:<pipeline0> completed state change to PAUSED
    0:00:01.866983100 1588 0x150a8 INFO GST_STATES gstelement.c:2354:gst_element_continue_state:<pipeline0> posting state-changed READY to PAUSED
    Pipeline is live and does not need PREROLL ...
    Setting pipeline to PLAYING ...
    0:00:01.890656599 1588 0x150a8 INFO GST_EVENT gstevent.c:1068:gst_event_new_latency: creating latency event 0:00:00.000000000
    0:00:01.890974899 1588 0x150a8 INFO bin gstbin.c:2368:gst_bin_do_latency_func:<pipeline0> configured latency of 0:00:00.000000000
    0:00:01.891282299 1588 0x150a8 INFO GST_STATES gstbin.c:2498:gst_bin_change_state_func:<pipeline0> child 'filesink0' is changing state asynchronously to PLAYING
    0:00:01.891445899 1588 0x150a8 INFO omx gstomx_base_filter.c:157:change_state:<omxmpeg4enc0> begin: changing state PAUSED -> PLAYING
    0:00:01.891557699 1588 0x150a8 INFO GST_STATES gstelement.c:2341:gst_element_continue_state:<omxmpeg4enc0> completed state change to PLAYING
    0:00:01.891652499 1588 0x150a8 INFO GST_STATES gstelement.c:2354:gst_element_continue_state:<omxmpeg4enc0> posting state-changed PAUSED to PLAYING
    0:00:01.891808199 1588 0x150a8 INFO GST_STATES gstbin.c:2492:gst_bin_change_state_func:<pipeline0> child 'omxmpeg4enc0' changed state to 4(PLAYING) successfully
    0:00:01.892084599 1588 0x78c10 INFO omx gstomx_base_src.c:222:create:<omxvideosrc0> omx: prepare
    0:00:01.892644099 1588 0x150a8 INFO GST_STATES gstelement.c:2341:gst_element_continue_state:<omxvideosrc0> completed state change to PLAYING
    0:00:01.892768999 1588 0x150a8 INFO GST_STATES gstelement.c:2354:gst_element_continue_state:<omxvideosrc0> posting state-changed PAUSED to PLAYING
    0:00:01.892948099 1588 0x150a8 INFO GST_STATES gstbin.c:2492:gst_bin_change_state_func:<pipeline0> child 'omxvideosrc0' changed state to 4(PLAYING) successfully
    New clock: GstSystemClock
    Configured capture from sil9135 at 720p
    Osal runStub() thread, tid = 1604
    Osal runStub(): set real-time priority of 32
    control TVP compoenent is created
    Buffer Size computed: 1382400
    set input port params (width = 1280, height = 720)
    enable capture output port
    sil9135: Detecting video
    got eventState changed to: OMX_StateIdle
    got eventState changed to: OMX_StateExecuting
    sil9135: Done: Detecting video
    sil9135: Detected video resolution 1280x720
    sil9135: Configured capture 1280x720 ==> scaled to 1280x720
    0:00:02.327715500 1588 0x78c10 INFO omx gstomx_base_src.c:143:gst_omx_base_src_create_from_port:<omxvideosrc0> omx: play
    0:00:02.441153799 1588 0x78c10 INFO omx gstomx_base_videoenc.c:291:pad_event:<omxmpeg4enc0> begin: event=newsegment
    0:00:02.441380299 1588 0x78c10 INFO omx gstomx_base_filter.c:724:pad_event:<omxmpeg4enc0> begin: event=newsegment
    0:00:02.446018500 1588 0x78c10 INFO omx gstomx_base_videoenc.c:140:sink_setcaps:<omxmpeg4enc0> setcaps (sink): 0x55060
    0:00:02.452603899 1588 0x78c10 INFO omx gstomx_base_filter.c:589:pad_chain:<omxmpeg4enc0> omx: prepare
    0:00:02.452749199 1588 0x78c10 INFO omx gstomx_base_videoenc.c:204:omx_setup:<omxmpeg4enc0> begin
    0:00:02.470388599 1588 0x78c10 INFO omx gstomx_base_videoenc.c:279:omx_setup:<omxmpeg4enc0> end
    0:00:02.478184500 1588 0x78c10 WARN omx gstomx_base_filter.c:866:buffer_alloc:<omxmpeg4enc0> faking settings changed notification
    0:00:02.479493500 1588 0x78c10 INFO omx gstomx_mpeg4enc.c:362:settings_changed_cb:<omxmpeg4enc0> caps are: 0x55080

  • Hello,

     ./loggerSMDump.out 0x9e400000 0x100000 all


    This is avilable at /usr/share/ti/ti-uia folder in filesystem.

    Provide details about your use case since I already checked the mpeg4enc and I answered here:

    http://e2e.ti.com/support/dsp/davinci_digital_media_processors/f/716/p/265960/1340561.aspx#1340561

    Best Regards,

    Margarita

  • hi ,

    I understand , but problem is log is not enabled here no loggerSMDump.out , if you doesn't mind trying a pipeline.

    please try this pipeline

    gst-launch -v omx_videosrc !  omx_mpeg4enc  ! filesink location=some.mp4 

  • Hello,

    Vishwanath Patil said:
    gst-launch -v omx_videosrc !  omx_mpeg4enc  ! filesink location=some.mp4 

    In EZSDK there is no element omx_videosrc.

    What is the software release that you are using here?

     omx_mpeg4enc the output of this element is YUV 4:2:0 so if you need video stream in mp4 contain you should use muxer.

    I tried with :

    gst-launch videotestsrc num-buffers=1000  ! omx_mpeg4enc ! video/mpeg,mpegversion=4,systemstream=false ! mp4mux ! filesink location=mpeg4enc.mp4

    Decoding:

    gst-launch filesrc location=mpeg4enc.mp4 ! qtdemux   ! mpeg4videoparse  !  omx_mpeg4dec  ! omx_scaler ! omx_ctrl display-mode=OMX_DC_MODE_1080P_60  !  gstperf  !  omx_videosink
    Setting pipeline to PAUSED ...
    Pipeline is PREROLLING ...
    Width :320, Height: 240
    Pipeline is PREROLLED ...
    Setting pipeline to PLAYING ...
    New clock: GstSystemClock
    perf0: frames: 32     current: 31.64     average: 31.64    arm-load: 8
    perf0: frames: 62     current: 30.00     average: 30.82    arm-load: 10
    perf0: frames: 93     current: 29.99     average: 30.54    arm-load: 13
    perf0: frames: 124     current: 30.01     average: 30.41    arm-load: 13
    perf0: frames: 155     current: 29.99     average: 30.32    arm-load: 9
    perf0: frames: 186     current: 30.00     average: 30.27    arm-load: 12
    perf0: frames: 217     current: 30.02     average: 30.23    arm-load: 9
    perf0: frames: 247     current: 30.00     average: 30.20    arm-load: 10
    perf0: frames: 278     current: 29.99     average: 30.18    arm-load: 9
    perf0: frames: 309     current: 29.99     average: 30.16    arm-load: 9
    perf0: frames: 340     current: 30.02     average: 30.15    arm-load: 8
    perf0: frames: 371     current: 29.99     average: 30.13    arm-load: 9
    perf0: frames: 401     current: 30.00     average: 30.12    arm-load: 9
    perf0: frames: 431     current: 29.99     average: 30.12    arm-load: 10
    perf0: frames: 462     current: 29.99     average: 30.11    arm-load: 11
    perf0: frames: 492     current: 30.00     average: 30.10    arm-load: 12
    perf0: frames: 523     current: 30.02     average: 30.10    arm-load: 12
    perf0: frames: 553     current: 30.00     average: 30.09    arm-load: 14
    perf0: frames: 584     current: 29.99     average: 30.09    arm-load: 13
    perf0: frames: 615     current: 29.99     average: 30.08    arm-load: 11
    perf0: frames: 646     current: 30.02     average: 30.08    arm-load: 8
    perf0: frames: 676     current: 30.00     average: 30.07    arm-load: 13
    perf0: frames: 706     current: 30.00     average: 30.07    arm-load: 14
    perf0: frames: 737     current: 29.99     average: 30.07    arm-load: 13
    perf0: frames: 768     current: 29.99     average: 30.06    arm-load: 14
    perf0: frames: 799     current: 30.02     average: 30.06    arm-load: 11
    perf0: frames: 829     current: 30.00     average: 30.06    arm-load: 14
    perf0: frames: 860     current: 29.99     average: 30.06    arm-load: 12
    perf0: frames: 890     current: 30.00     average: 30.06    arm-load: 15
    perf0: frames: 920     current: 30.00     average: 30.05    arm-load: 11
    perf0: frames: 951     current: 30.02     average: 30.05    arm-load: 10
    Recieved EOS event, press <CTRL+C> to terminate pipeline.
    Recieved EOS event, press <CTRL+C> to terminate pipeline.
    perf0: frames: 981     current: 30.00     average: 30.05    arm-load: 14
    Got EOS from element "pipeline0".
    Execution ended after 32699297700 ns.
    Setting pipeline to PAUSED ...
    Setting pipeline to READY ...
    Setting pipeline to NULL ...
    Freeing pipeline ...

    There is no problem on my side.

    Provide more details about software release, gstreamer version, what is the hardware platform (is it dm8168?) are you using EVM or custom board, what changes you have made, etc.

    Best Regards,

    Margarita

  • Hello,

    This is working also:

    gst-launch videotestsrc num-buffers=1000  ! omx_mpeg4enc ! filesink location=mpeg4enc.yuv

    Best Regards,

    Margarita

  • hi margarita,

    i have isolated the error location , it is recieving EOS event in g_omx_core_prepare (self->gomx);

    in gstomx_base_filter.c.

    any finding of you share that would be helpful for me in debugging.

    Vishwanath Patil

    Thanks & Regards

  • Hello,

    Since I  have not observed any issue on my side, I need this information in order to help you:

    Margarita Gashova said:
    Provide more details about software release version, gstreamer version, what is the hardware platform (is it dm8168?) are you using EVM or custom board, what changes you have made, etc.

    Best Regards,

    Margarita

  • hi margarita,

    I am really sorry , i am very new to this topics,

    your not facing any problem while running these two pipelines, if you can please let me know that that ll be of great help

    1) gst-launch omx_videosrc  ! omx_mpeg4enc ! filesink location=some

    this is not playing at all.

    2) gst-launch videotestsrc num-buffers=1000 ! omx_mpeg4enc ! avimux ! filesink location=some.avi  after running this pipeline try   running it in on vlc , i was able to run second pipeline . but , when i play the output file it is not playable only in 2nd case.

    needn' t be avimux anything also , if you could try and reply ,

    Thanks & Regards,

    Vishwanath Patil 

  • Gstreamer version is 0.10.32 , ivahd_mpeg4enc_01_00_00_05_production , omx-ti81xx-src_05_02_00_37 , dm813evm.

  • Hi margarita,

    I am really sorry , I didn't check your previous mails .. I too don't have clear idea . how , my gstreamer library has omx_videosrc . thanks a lot , i will go through it completely i will let you know .

    Thanks & Regards,

    Vishwanath Patil

  • Hello,

    Vishwanath Patil said:
    Gstreamer version is 0.10.32

    This is the base plugin version only.

    Please check under :

    EZSDK/component-sources for the gstreamer version.

    Could you try with these pipelines:

    gst-launch videotestsrc num-buffers=1000  ! omx_mpeg4enc ! video/mpeg,mpegversion=4,systemstream=false ! mp4mux ! filesink location=mpeg4enc.mp4

    Decoding on the EVM Board:

    gst-launch filesrc location=mpeg4enc.mp4 ! qtdemux   ! mpeg4videoparse  !  omx_mpeg4dec  ! omx_scaler ! omx_ctrl display-mode=OMX_DC_MODE_1080P_60  !  gstperf  !  omx_videosink

    Best Regards,

    Margarita

  • Hi margarita ,

    I have limited plugins support here , still i would like to have this pipeline verified , that is with 60fps.

    gst-launch -v videotestsrc  ! 'video/x-raw-yuv, width=(int)1280, height=(int)720, framerate=(fraction)60/1, format=(fourcc)NV12'  !  omx_mpeg4enc ! filesink location=some

    can you please let me know that , whether this pipeline works fine.

    Thanks & Regards,

    Vishwanath Patil

  • HI Margarita,

    can i know , whether some changes or configuration to be made if any, so that omx_mpe4enc accepts 60fps also.

    Vishwanath Patil

    Thanks & Regards,

  • Hello,

    I have not tried your pipeline.

    You could refer to this thread(the last post):

    http://e2e.ti.com/support/dsp/davinci_digital_media_processors/f/716/t/265960.aspx

    Have you tried with the OMX encode demo?

    Best Regards,

    Margarita