After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 796778 - Unable to play the video with gst-launch1.0 by command line.
Unable to play the video with gst-launch1.0 by command line.
Status: RESOLVED NOTABUG
Product: GStreamer
Classification: Platform
Component: gst-plugins-ugly
1.x
Other Linux
: Normal minor
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
https://github.com/GStreamer/gstreame...
Depends on:
Blocks:
 
 
Reported: 2018-07-10 07:38 UTC by venkatesh
Modified: 2018-07-10 09:29 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description venkatesh 2018-07-10 07:38:35 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
Comment 1 Tim-Philipp Müller 2018-07-10 08:06:04 UTC
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.
Comment 2 venkatesh 2018-07-10 09:29:47 UTC
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