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.

DM814x Playbin2

Hi ,

    We are working on Mistral EVM[Rev-E] with EZSDK [ti-ezsdk_dm814x-evm_5_05_02_00].

    This board is being tested with the HDMI display. The gst-launch fails using the playbin2 component.


    We also notice that there is an error after we relaunch the same command:
    "gst-launch-0.10: OmxRpc.c:624: OmxRpc_Instance_init: Assertion `(OmxRpc_errorNone == retVal)' failed.Aborted"
    This stops us from executing further playbin2 commands, and it requires a reboot to get out of this problem.

    Please find attached[Playbin2Errors.txt] the logs and help to get gst-launch working with playbin2.  

Thanks.

  • Hello,

    Could you try with:

    gst-launch -v playbin2 uri=file:///home/root/XX.mp4  video-sink="omx_ctrl display-mode=OMX_DC_MODE_1080P_60  ! gstperf  ! omx_videosink"

    gst-launch -v playbin2 uri=file:///usr/share/ti/data/videos/dm816x_1080p_demo.264  video-sink="omx_ctrl display-mode=OMX_DC_MODE_1080P_60  !  omx_videosink"

    Also could you try, when you are using filesrc is working correct?

    Best Regards,

    Margarita

  • Hi Margarita,

        Thanks for the quick inputs.

        Please find here the observations after using the commands provided:

        1. The Gstreamer command works fine with dm816x_1080p_demo.264 file.

        2. The Gstreamer command does have problem with tron.mp4 file. The video play gets stucked after playing for few seconds, although the audio continues to play.

            The "Recieved EOS event, press <CTRL+C> to terminate pipeline." is seen on the serial port. The video is stopped at this point, and again audio continues.

            Once the audio is completed the command exits.

        Attached is the Logs[Playbin2Errors_2] for the above observations.

    Thanks.

  • Hi Margarita,


        Also we have another problem when the HDMI display is configured with 800X480 resolution.

        The Playbin2 fails in this configuration.

        Attached is the Logs[HDMI_ResolutionChange.txt] for the above configuration.

    Thanks.

  • Hello,

    Kumar SK said:
        Also we have another problem when the HDMI display is configured with 800X480 resolution.

    Could you try with filesrc not with playbin2 ? Let me know the result.

    Best Regards,

    Margarita

  • Hi Margarita,

        Please find attached the logs[FilesrcMp4_Display1080P60.txt] with HDMI in 1080P configuration.

        Pipeline:

    gst-launch -v filesrc location=/home/root/tron.mp4 ! qtdemux name=demux ! 'video/x-h264' ! h264parse access-unit=true ! omx_h264dec ! omx_scaler ! omx_ctrl display-mode=OMX_DC_MODE_1080P_60 ! gstperf  ! omx_videosink demux.audio_00 !  queue ! faad ! alsasink --gst-debug=3

    Thanks.

  • Hello,

    Kumar SK said:

        2. The Gstreamer command does have problem with tron.mp4 file. The video play gets stucked after playing for few seconds, although the audio continues to play.

            The "Recieved EOS event, press <CTRL+C> to terminate pipeline." is seen on the serial port. The video is stopped at this point, and again audio continues.

            Once the audio is completed the command exits.

    Thank you for reporting this problem with playbin2.

    Kumar SK said:

    lease find attached the logs[FilesrcMp4_Display1080P60.txt] with HDMI in 1080P configuration.

        Pipeline:

    gst-launch -v filesrc location=/home/root/tron.mp4 ! qtdemux name=demux ! 'video/x-h264' ! h264parse access-unit=true ! omx_h264dec ! omx_scaler ! omx_ctrl display-mode=OMX_DC_MODE_1080P_60 ! gstperf  ! omx_videosink demux.audio_00 !  queue ! faad ! alsasink --gst-debug=3

    I don't see anything wrong in the log file and  the pipeline. Is there a problem?

    Best Regards,

    Margarita

  • Hi Margarita,

        There is no problem with the pipeline. The pipeline with filesrc works fine with HDMI display configured in 1080P configuration.

        The same file does not play with Playbin2. We have an application framework that uses only playbin2 to play the video files. Hence we need playbin2 to work.   

    Thanks.