The video does not play with gst-launch-1.0.

Discussion in 'UDOO QUAD' started by donbit, Apr 17, 2018.

  1. donbit

    donbit New Member

    Joined:
    Apr 17, 2018
    Messages:
    2
    Likes Received:
    1
    Hi. all.

    I am using UDOO QUAD as an SD card.
    img used udoobuntu-udoo-qdl-desktop_2.2.0.img.

    I will refer to "Playing video with GStreamer" and try to play the movie with gst-launch-1.0.
    I also refer to "Installing Ubuntu Rootfs on NXP i.MX6 boards".

    I have confirmed that the following commands work normally.
    # gst-launch-1.0 videotestsrc ! imxipuvideosink
    # gst-launch-1.0 videotestsrc ! imxg2dvideosink
    # gst-launch-1.0 videotestsrc ! imxeglvivsink


    However, it does not work with the following playbin.
    [​IMG]
    # gst-launch-1.0 playbin uri=file:///path/to/file_video.avi

    Is there something I'm missing?
    Below is my test log.
    root@udoo:~# ls -al /media/udooer/DATA_USB/sample_video/
    total 1573888
    drwx------ 2 udooer udooer 16384 Feb 27 16:00 .
    drwx------ 5 udooer udooer 16384 Jan 1 1970 ..
    -rw-r--r-- 1 udooer udooer 725106140 Feb 28 15:00 big_buck_bunny_1080p_h264.mov
    -rw-r--r-- 1 udooer udooer 249229883 Mar 6 09:54 big_buck_bunny_480p_h264.mov
    -rw-r--r-- 1 udooer udooer 220514438 Apr 17 2018 big_buck_bunny_480p_surround-fix.avi
    -rw-r--r-- 1 udooer udooer 416751190 Feb 28 16:12 big_buck_bunny_720p_h264.mov
    root@udoo:~#
    root@udoo:~# gst-launch-1.0 playbin uri=file=///media/udooer/DATA_USB/sample_video/big_buck_bunny_1080p_h264.mov
    Setting pipeline to PAUSED ...
    ERROR: Pipeline doesn't want to pause.
    ERROR: from element /GstURIDecodeBin:uridecodebin0: Invalid URI "file=///media/udooer/DATA_USB/sample_video/big_buck_bunny_1080p_h264.mov".
    Additional debug info:
    gsturidecodebin.c(1373): gen_source_element (): /GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0
    Setting pipeline to NULL ...
    Freeing pipeline ...
    root@udoo:~#
    root@udoo:~# gst-launch-1.0 playbin uri=file=///media/udooer/DATA_USB/sample_video/big_buck_bunny_480p_surround-fix.avi
    Setting pipeline to PAUSED ...
    ERROR: Pipeline doesn't want to pause.
    ERROR: from element /GstURIDecodeBin:uridecodebin0: Invalid URI "file=///media/udooer/DATA_USB/sample_video/big_buck_bunny_480p_surround-fix.avi".
    Additional debug info:
    gsturidecodebin.c(1373): gen_source_element (): /GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0
    Setting pipeline to NULL ...
    Freeing pipeline ...
    root@udoo:~#​

    The attachment gst-launch_log.txt is my test pool log.
    What went wrong?
     

    Attached Files:

  2. donbit

    donbit New Member

    Joined:
    Apr 17, 2018
    Messages:
    2
    Likes Received:
    1
    Sorry.
    Playback will be normal.


    fail : gst-launch-1.0 playbin uri=file=///media/udooer/DATA_USB/sample_video/big_buck_bunny_1080p_h264.mov
    success : gst-launch-1.0 playbin uri=file:///media/udooer/DATA_USB/sample_video/big_buck_bunny_1080p_h264.mov

    Thank you.
     
    Last edited: Apr 17, 2018
    waltervl likes this.

Share This Page