GNOME Bugzilla – Bug 796778
Unable to play the video with gst-launch1.0 by command line.
Last modified: 2018-07-10 09:29:47 UTC
Getting the below errors when i am running following command at command line: root@localhost:~/home# gst-launch-1.0 filesrc location=video2.mkv ! queue max_size_buffers=2 ! videoconvert ! capsfilter caps="video/x-raw,format=BGRx,framerate=6/1" ! videoconvert. ----------------------------------------------- Setting pipeline to PAUSED ... Pipeline is PREROLLED ... Setting pipeline to PLAYING ... New clock: GstSystemClock WARNING: from element /GstPipeline:pipeline0/GstVideoConvert:videoconvert0: not negotiated Additional debug info: gstbasetransform.c(2115): gst_base_transform_handle_buffer (): /GstPipeline:pipeline0/GstVideoConvert:videoconvert0: not negotiated ERROR: from element /GstPipeline:pipeline0/GstFileSrc:filesrc0: Internal data flow error. Additional debug info: gstbasesrc.c(2865): gst_base_src_loop (): /GstPipeline:pipeline0/GstFileSrc:filesrc0: streaming task paused, reason not-negotiated (-4) Execution ended after 0:00:00.011139666 Setting pipeline to PAUSED ... Setting pipeline to READY ... Setting pipeline to NULL ... Freeing pipeline ... ------------------------------------------------------------------------ Configuration: Board:-IMX6Q SabreSD Kernel:-ubuntu 3.14.52 Gstreamer version:Gst-launch-1.0
It looks like you're making up random gst-launch lines to try and play something. This is not expected to work. Try gst-launch-1.0 playbin uri=file:///path/to/foo.mkv or such instead. Please mail the gstreamer-devel mailing list for support, bugzilla is not the right place for this, thanks.
Hi Tim, Thanks for the replay and we have tried the above command also as you said : gst-launch-1.0 playbin uri=file:///path/to/foo.mkv but, still i am unable to play the video. please find the below results: root@localhost:~/home# gst-launch-1.0 playbin uri=file:///root/home/video2.mp4 Setting pipeline to PAUSED ... Pipeline is PREROLLING ... [INFO] bitstreamMode 1, chromaInterleave 0, mapType 0, tiled2LinearEnable 0 Note: After the above statements, nothing is monitored and processing happens continuously. Thanks, Venkatesh Marella