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.

Linux: AM57XX gst-play

Tool/software: Linux

Hello,

I cannot play any video's

root@am57xx-evm:~# gst-play-1.0 ./bv.mp4
Now playing /home/root/bv.mp4
MmRpc_create: Error: open failed, name=/dev/rpmsg-dce

(gst-play-1.0:1255): GStreamer-CRITICAL **:
Trying to dispose element vpe, but it is in READY instead of the NULL state.
You need to explicitly set elements to the NULL state before
dropping the final reference, to allow them to clean up.
This problem may also be caused by a refcounting bug in the
application or some element.

/home/gtbldadm/processor-sdk-linux-fido-build/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa15hf-vfp-neon-linux-gnueabi/libdce/3.00.08.02-r0/git/libdce.c:198:    dce_ipc_init     Error: ERROR: Failed eError == DCE_EOK error val -4/home/gtbldadm/processor-sdk-linux-fido-build/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa15hf-vfp-neon-linux-gnueabi/libdce/3.00.08.02-r0/git/libdce.c:276:    Engine_open     Error: ERROR: Failed dce_ipc_init(coreIdx) == DCE_EOK error val -4Redistribute latency...
ERROR The autoaudiosink element is not working. for file:///home/root/bv.mp4
ERROR debug information: /home/gtbldadm/processor-sdk-linux-fido-build/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa15hf-vfp-neon-linux-gnueabi/gstreamer1.0-plugins-base/1.2.3-r0-arago1/gst-plugins-base-1.2.3/gst/playback/gstplaysink.c(2687): gen_audio_chain (): /GstPlayBin:playbin/GstPlaySink:playsink
Reached end of play list.

  • Hello,

    Could you try to play the video file with gstreamer pipeline. Please check this wiki page for examples:
    processors.wiki.ti.com/.../Processor_Training:_Multimedia

    I would recommend you to try with playbin.

    BR
    Margarita

  • Hi,
    I tried all the combinations from
    processors.wiki.ti.com/.../Processor_Training:_Multimedia
    and still complains about gtbdadm user source file . Even creating a window in wayland desktop fails.

    root@am57xx-evm:~# /etc/init.d/weston start
    root@am57xx-evm:~# gst-launch-1.0 v4l2src device=/dev/video1 num-buffers=1000 io-mode=4 ! 'video/x-raw, \
    > format=(string)YUY2, width=(int)1280, height=(int)720' ! vpe num-input-buffers=8 ! queue ! waylandsink
    Setting pipeline to PAUSED ...
    ERROR: Pipeline doesn't want to pause.
    ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Cannot identify device '/dev/video1'.
    Additional debug info:
    /home/gtbldadm/processor-sdk-linux-fido-build/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa15hf-vfp-neon-linux-gnueabi/gstreamer1.0-plugins-good/1.2.3-r0-arago1/gst-plugins-good-1.2.3/sys/v4l2/v4l2_calls.c(564): gst_v4l2_open (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0:
    system error: No such file or directory
    Setting pipeline to NULL ...
    Freeing pipeline ...
    root@am57xx-evm:~#



    playbin is missing:
    root@am57xx-evm:~# which playbin
    root@am57xx-evm:~#
  • Hi,

    I havd more success with media without sound, up to 5 seconds but we get

    ERROR: from element /GstPlayBin:playbin0/GstPlaySink:playsink/GstBin:vbin/GstWaylandSink:waylandsink0: Internal error: can't allocate images


    ./playv.sh bvns.avi
    Setting pipeline to PAUSED ...
    Pipeline is PREROLLING ...
    MmRpc_create: Error: open failed, name=/dev/rpmsg-dce

    (gst-launch-1.0:1620): GStreamer-CRITICAL **:
    Trying to dispose element vpe, but it is in READY instead of the NULL state.
    You need to explicitly set elements to the NULL state before
    dropping the final reference, to allow them to clean up.
    This problem may also be caused by a refcounting bug in the
    application or some element.

    /home/gtbldadm/processor-sdk-linux-fido-build/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa15hf-vfp-neon-linux-gnueabi/libdce/3.00.08.02-r0/git/libdce.c:198: dce_ipc_init Error: ERROR: Failed eError == DCE_EOK error val -4/home/gtbldadm/processor-sdk-linux-fido-build/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa15hf-vfp-neon-linux-gnueabi/libdce/3.00.08.02-r0/git/libdce.c:276: Engine_open Error: ERROR: Failed dce_ipc_init(coreIdx) == DCE_EOK error val -4Redistribute latency...
    ERROR: from element /GstPlayBin:playbin0/GstPlaySink:playsink/GstBin:vbin/GstWaylandSink:waylandsink0: Internal error: can't allocate images
    Additional debug info:
    /home/gtbldadm/processor-sdk-linux-fido-build/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/am57xx_evm-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago5/git/ext/wayland/gstwaylandsink.c(1205): gst_wayland_sink_render (): /GstPlayBin:playbin0/GstPlaySink:playsink/GstBin:vbin/GstWaylandSink:waylandsink0:
    We don't have a bufferpool negotiated
    ERROR: pipeline doesn't want to preroll.
    Setting pipeline to NULL ...
    Caught SIGSEGV
    #0 __libc_do_syscall ()
    #1 0xb6be3816 in __libc_waitpid (pid=1626, stat_loc=0xbe841208, options=0)
  • Hi,
    After more tests all we can play is one single file from this site:
    www.engr.colostate.edu/.../drop.avi
    Anything else, any other avi, mp* files yields all kind of errors.


    Is anyone testing these boards and SDK releases or just trows them
    out there in the hope the minuscule community is resolving them?!?!
  • Hello,

    Marius Chincisan said:

    ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Cannot identify device '/dev/video1'.

    The pipeline that you are trying is for capture display. The error that you are seeing indicates that the camera module is probably not connected.

    Marius Chincisan said:
    playbin is missing:
    root@am57xx-evm:~# which playbin

    If you want to check the some element is present in the plugins and the element description you could use :

    1. gst-inspect-1.0 "playbin"

    or if you are not sure in the element's name use:

    2. gst-inspect-1.0 | grep "dec"

    this will display all elements which contains "dec" in the name.

    As I said I would recommend you to try with playbin for decode display:

    gst-launch-1.0 playbin uri=file:///<path_to_file> video-sink=kmssink audio-sink=alsasink

    In case of kmssink usage the  /etc/init.d/weston should be stop.

    Under /usr/share/ti/videos you could find example videos.

    I would recommend you also to add gst-debug=3 -v in the pipeline for more debug prints.

    BR
    Margarita

  • Hi.
    Thank you for the prompt and fast answer. I might be needing to give more information.

    HW: Board we are running is: REV1.2A, AM572X Industrial EVM

    SW: Linux am57xx-evm 4.1.13-g8dc6617 #1 SMP PREEMPT Fri Jan 8 18:44:32 EST 2016 armv7l GNU/Linux
    Installed as in per: processors.wiki.ti.com/.../Processor_SDK_Linux_Installer
    create-sdcard ran with default options, 2 partitions, pre build image .

    weston stopped.
    kmscube runs OK
    playin video yelds erros, and the display goes dark for a second

    root@am57xx-evm:~#
    root@am57xx-evm:~# gst-launch-1.0 playbin uri=file:///home/root/drop.avi video-sink=kmssink gst-debug=3 -v
    Setting pipeline to PAUSED ...
    /GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0: ring-buffer-max-size = 0
    /GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0: buffer-size = -1
    /GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0: buffer-duration = -1
    /GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0: use-buffering = false
    /GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0: download = false
    /GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0: uri = file:///home/root/drop.avi
    /GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0: connection-speed = 0
    /GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0: source = "\(GstFileSrc\)\ source"
    Pipeline is PREROLLING ...
    /GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/GstTypeFindElement:typefind.GstPad:src: caps = video/x-msvideo
    /GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/GstTypeFindElement:typefind.GstPad:src: caps = NULL
    /GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/GstMultiQueue:multiqueue0: max-size-buffers = 5
    /GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/GstMultiQueue:multiqueue0: max-size-time = 0
    /GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/GstMultiQueue:multiqueue0: max-size-bytes = 2097152
    /GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/GstMultiQueue:multiqueue0.GstPad:sink_0: caps = video/x-indeo, indeoversion=(int)4, framerate=(fraction)30/1, width=(int)256, height=(int)240
    /GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/GstMultiQueue:multiqueue0.GstPad:src_0: caps = video/x-indeo, indeoversion=(int)4, framerate=(fraction)30/1, width=(int)256, height=(int)240
    /GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/GstMultiQueue:multiqueue0: max-size-buffers = 5
    /GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/GstMultiQueue:multiqueue0: max-size-time = 0
    /GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/avdec_indeo4:avdec_indeo4-0.GstPad:sink: caps = video/x-indeo, indeoversion=(int)4, framerate=(fraction)30/1, width=(int)256, height=(int)240
    /GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/GstMultiQueue:multiqueue0: max-size-bytes = 2097152
    /GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/GstMultiQueue:multiqueue0: max-size-buffers = 5
    /GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/GstMultiQueue:multiqueue0: max-size-time = 0
    /GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/GstMultiQueue:multiqueue0: max-size-bytes = 2097152
    Redistribute latency...
    /GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/avdec_indeo4:avdec_indeo4-0.GstPad:src: caps = video/x-raw, format=(string)YUV9, width=(int)256, height=(int)240, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, colorimetry=(string)bt601, framerate=(fraction)30/1
    /GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/GstMultiQueue:multiqueue0: max-size-buffers = 5
    /GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/GstMultiQueue:multiqueue0: max-size-time = 0
    /GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/GstMultiQueue:multiqueue0: max-size-bytes = 2097152
    /GstPlayBin:playbin0/GstInputSelector:inputselector0.GstSelectorPad:sink_0: always-ok = false
    /GstPlayBin:playbin0/GstInputSelector:inputselector0.GstSelectorPad:sink_0: active = true
    /GstPlayBin:playbin0/GstInputSelector:inputselector0: active-pad = "\(GstSelectorPad\)\ sink_0"
    /GstPlayBin:playbin0/GstInputSelector:inputselector0.GstPad:src: caps = video/x-raw, format=(string)YUV9, width=(int)256, height=(int)240, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, colorimetry=(string)bt601, framerate=(fraction)30/1
    /GstPlayBin:playbin0/GstPlaySink:playsink.GstGhostPad:video_sink.GstProxyPad:proxypad4: caps = video/x-raw, format=(string)YUV9, width=(int)256, height=(int)240, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, colorimetry=(string)bt601, framerate=(fraction)30/1
    /GstPlayBin:playbin0/GstPlaySink:playsink/GstStreamSynchronizer:streamsynchronizer0.GstPad:src_0: caps = video/x-raw, format=(string)YUV9, width=(int)256, height=(int)240, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, colorimetry=(string)bt601, framerate=(fraction)30/1
    /GstPlayBin:playbin0/GstPlaySink:playsink/GstBin:vdbin.GstGhostPad:sink.GstProxyPad:proxypad8: caps = video/x-raw, format=(string)YUV9, width=(int)256, height=(int)240, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, colorimetry=(string)bt601, framerate=(fraction)30/1
    /GstPlayBin:playbin0/GstPlaySink:playsink/GstBin:vdbin/GstVideoConvert:vdconv.GstPad:src: caps = video/x-raw, width=(int)256, height=(int)240, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, framerate=(fraction)30/1, format=(string)Y41B
    /GstPlayBin:playbin0/GstPlaySink:playsink/GstBin:vdbin/GstDeinterlace:deinterlace.GstPad:src: caps = video/x-raw, width=(int)256, height=(int)240, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, framerate=(fraction)30/1, format=(string)Y41B
    /GstPlayBin:playbin0/GstPlaySink:playsink/GstBin:vdbin.GstGhostPad:src: caps = video/x-raw, width=(int)256, height=(int)240, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, framerate=(fraction)30/1, format=(string)Y41B
    /GstPlayBin:playbin0/GstPlaySink:playsink/GstBin:vbin.GstGhostPad:sink.GstProxyPad:proxypad7: caps = video/x-raw, width=(int)256, height=(int)240, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, framerate=(fraction)30/1, format=(string)Y41B
    /GstPlayBin:playbin0/GstPlaySink:playsink/GstBin:vbin/GstQueue:vqueue.GstPad:sink: caps = video/x-raw, width=(int)256, height=(int)240, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, framerate=(fraction)30/1, format=(string)Y41B
    /GstPlayBin:playbin0/GstPlaySink:playsink/GstBin:vbin/GstQueue:vqueue.GstPad:sink: caps = video/x-raw, width=(int)256, height=(int)240, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, framerate=(fraction)30/1, format=(string)Y41B
    /GstPlayBin:playbin0/GstPlaySink:playsink/GstBin:vbin.GstGhostPad:sink: caps = video/x-raw, width=(int)256, height=(int)240, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, framerate=(fraction)30/1, format=(string)Y41B
    /GstPlayBin:playbin0/GstPlaySink:playsink/GstBin:vbin.GstGhostPad:sink: caps = video/x-raw, width=(int)256, height=(int)240, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, framerate=(fraction)30/1, format=(string)Y41B
    /GstPlayBin:playbin0/GstPlaySink:playsink/GstBin:vdbin.GstGhostPad:src.GstProxyPad:proxypad9: caps = video/x-raw, width=(int)256, height=(int)240, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, framerate=(fraction)30/1, format=(string)Y41B
    /GstPlayBin:playbin0/GstPlaySink:playsink/GstBin:vdbin/GstDeinterlace:deinterlace.GstPad:sink: caps = video/x-raw, width=(int)256, height=(int)240, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, framerate=(fraction)30/1, format=(string)Y41B
    /GstPlayBin:playbin0/GstPlaySink:playsink/GstBin:vbin/GstPlaySinkVideoConvert:vconv/GstVideoConvert:conv.GstPad:src: caps = video/x-raw, width=(int)256, height=(int)240, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, framerate=(fraction)30/1, format=(string)Y41B
    /GstPlayBin:playbin0/GstPlaySink:playsink/GstBin:vbin/GstPlaySinkVideoConvert:vconv/GstVideoScale:scale.GstPad:src: caps = video/x-raw, width=(int)256, height=(int)240, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, framerate=(fraction)30/1, format=(string)Y41B
    /GstPlayBin:playbin0/GstPlaySink:playsink/GstBin:vbin/GstPlaySinkVideoConvert:vconv/GstVideoBalance:videobalance.GstPad:src: caps = video/x-raw, width=(int)256, height=(int)240, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, framerate=(fraction)30/1, format=(string)Y41B
    /GstPlayBin:playbin0/GstPlaySink:playsink/GstBin:vbin/GstPlaySinkVideoConvert:vconv/GstVideoConvert:conv2.GstPad:src: caps = video/x-raw, width=(int)256, height=(int)240, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, framerate=(fraction)30/1, format=(string)NV12
    /GstPlayBin:playbin0/GstPlaySink:playsink/GstBin:vbin/GstPlaySinkVideoConvert:vconv.GstGhostPad:src: caps = video/x-raw, width=(int)256, height=(int)240, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, framerate=(fraction)30/1, format=(string)NV12
    /GstPlayBin:playbin0/GstPlaySink:playsink/GstBin:vbin/GstKMSSink:kmssink0.GstPad:sink: caps = video/x-raw, width=(int)256, height=(int)240, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, framerate=(fraction)30/1, format=(string)NV12
    /GstPlayBin:playbin0/GstPlaySink:playsink/GstBin:vbin/GstPlaySinkVideoConvert:vconv.GstGhostPad:src.GstProxyPad:proxypad6: caps = video/x-raw, width=(int)256, height=(int)240, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, framerate=(fraction)30/1, format=(string)NV12
    /GstPlayBin:playbin0/GstPlaySink:playsink/GstBin:vbin/GstPlaySinkVideoConvert:vconv/GstVideoConvert:conv2.GstPad:sink: caps = video/x-raw, width=(int)256, height=(int)240, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, framerate=(fraction)30/1, format=(string)Y41B
    /GstPlayBin:playbin0/GstPlaySink:playsink/GstBin:vbin/GstPlaySinkVideoConvert:vconv/GstVideoBalance:videobalance.GstPad:sink: caps = video/x-raw, width=(int)256, height=(int)240, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, framerate=(fraction)30/1, format=(string)Y41B
    /GstPlayBin:playbin0/GstPlaySink:playsink/GstBin:vbin/GstPlaySinkVideoConvert:vconv/GstVideoScale:scale.GstPad:sink: caps = video/x-raw, width=(int)256, height=(int)240, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, framerate=(fraction)30/1, format=(string)Y41B
    /GstPlayBin:playbin0/GstPlaySink:playsink/GstBin:vbin/GstPlaySinkVideoConvert:vconv/GstVideoConvert:conv.GstPad:sink: caps = video/x-raw, width=(int)256, height=(int)240, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, framerate=(fraction)30/1, format=(string)Y41B
    /GstPlayBin:playbin0/GstPlaySink:playsink/GstBin:vbin/GstPlaySinkVideoConvert:vconv.GstGhostPad:sink: caps = video/x-raw, width=(int)256, height=(int)240, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, framerate=(fraction)30/1, format=(string)Y41B
    /GstPlayBin:playbin0/GstPlaySink:playsink/GstBin:vdbin/GstVideoConvert:vdconv.GstPad:sink: caps = video/x-raw, format=(string)YUV9, width=(int)256, height=(int)240, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, colorimetry=(string)bt601, framerate=(fraction)30/1
    /GstPlayBin:playbin0/GstPlaySink:playsink/GstBin:vdbin.GstGhostPad:sink: caps = video/x-raw, format=(string)YUV9, width=(int)256, height=(int)240, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, colorimetry=(string)bt601, framerate=(fraction)30/1
    /GstPlayBin:playbin0/GstPlaySink:playsink/GstStreamSynchronizer:streamsynchronizer0.GstPad:sink_0: caps = video/x-raw, format=(string)YUV9, width=(int)256, height=(int)240, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, colorimetry=(string)bt601, framerate=(fraction)30/1
    /GstPlayBin:playbin0/GstPlaySink:playsink.GstGhostPad:video_sink: caps = video/x-raw, format=(string)YUV9, width=(int)256, height=(int)240, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, colorimetry=(string)bt601, framerate=(fraction)30/1
    /GstPlayBin:playbin0/GstInputSelector:inputselector0.GstSelectorPad:sink_0: caps = video/x-raw, format=(string)YUV9, width=(int)256, height=(int)240, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, colorimetry=(string)bt601, framerate=(fraction)30/1
    /GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0.GstGhostPad:src_0.GstProxyPad:proxypad3: caps = video/x-raw, format=(string)YUV9, width=(int)256, height=(int)240, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, colorimetry=(string)bt601, framerate=(fraction)30/1
    /GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0.GstDecodePad:src_0.GstProxyPad:proxypad2: caps = video/x-raw, format=(string)YUV9, width=(int)256, height=(int)240, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, colorimetry=(string)bt601, framerate=(fraction)30/1
    /GstPlayBin:playbin0/GstInputSelector:inputselector0.GstSelectorPad:sink_0: tags = "taglist\,\ container-format\=\(string\)AVI\;"
    /GstPlayBin:playbin0/GstInputSelector:inputselector0.GstSelectorPad:sink_0: tags = "taglist\,\ container-format\=\(string\)AVI\,\ video-codec\=\(string\)\"Intel\\\ Video\\\ 4\"\;"
    Pipeline is PREROLLED ...
    Setting pipeline to PLAYING ...

    ** (gst-launch-1.0:1244): CRITICAL **: gst_video_calculate_display_ratio: assertion 'num > 0' failed
    New clock: GstSystemClock
    ERROR: from element /GstPlayBin:playbin0/GstPlaySink:playsink/GstBin:vbin/GstKMSSink:kmssink0: GStreamer error: negotiation problem.
    Additional debug info:
    /home/gtbldadm/processor-sdk-linux-fido-build/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/am57xx_evm-linux-gnueabi/gstreamer1.0-plugins-bad/1.2.3-r0-arago5/git/sys/kms/gstkmssink.c(90): gst_kms_sink_calculate_aspect_ratio (): /GstPlayBin:playbin0/GstPlaySink:playsink/GstBin:vbin/GstKMSSink:kmssink0:
    Error calculating the output display ratio of the video.
    Execution ended after 0:00:00.001146149
    Setting pipeline to PAUSED ...
    Setting pipeline to READY ...
    Setting pipeline to NULL ...
    Freeing pipeline ...
    root@am57xx-evm:~#
  • Hello,

    It seems like the error comes form kmssink, it can not calculate the aspect ratio of this video.
    Could you try to scale it?
    Did you tried to play videos under /usr/share/ti/videos?

    BR
    Margarita
  • Hi Margarita,

    The SDK I mentioned I installed has no folder /usr/share/ti/videos

  • Hello,

    I am sorry the path is usr/share/ti/video/ not videos.

    BR
    Margarita