LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-31-2021, 11:58 PM   #1
Aquarius_Girl
Senior Member
 
Registered: Dec 2008
Posts: 4,731
Blog Entries: 29

Rep: Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940
Exclamation Verify GStreamer working installation on Ubuntu 18.04


Code:
gst-launch-1.0 -v fakesrc silent=false num-buffers=3 ! fakesink silent=false
results in:
Code:
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
/GstPipeline:pipeline0/GstFakeSink:fakesink0: last-message = event   ******* (fakesink0:sink) E (type: stream-start (10254), GstEventStreamStart, stream-id=(string)486026ce0abb226f3c2b716a3f2c9f46, flags=(GstStreamFlags)GST_STREAM_FLAG_NONE, group-id=(uint)1;) 0x56415a1edd10
/GstPipeline:pipeline0/GstFakeSrc:fakesrc0: last-message = create   ******* (fakesrc0:src) (0 bytes, dts: none, pts:none, duration: none, offset: 0, offset_end: -1, flags: 00000000 ) 0x56415a1f35a0
/GstPipeline:pipeline0/GstFakeSink:fakesink0: last-message = event   ******* (fakesink0:sink) E (type: segment (17934), GstEventSegment, segment=(GstSegment)"segment, flags=(GstSegmentFlags)GST_SEGMENT_FLAG_NONE, rate=(double)1, applied-rate=(double)1, format=(GstFormat)bytes, base=(guint64)0, offset=(guint64)0, start=(guint64)0, stop=(guint64)18446744073709551615, time=(guint64)0, position=(guint64)0, duration=(guint64)18446744073709551615;";) 0x56415a1edd80
/GstPipeline:pipeline0/GstFakeSink:fakesink0: last-message = preroll   ******* 
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
/GstPipeline:pipeline0/GstFakeSrc:fakesrc0: last-message = event   ******* (fakesrc0:src) E (type: latency (56321), GstEventLatency, latency=(guint64)0;) 0x56415a1ed420
/GstPipeline:pipeline0/GstFakeSink:fakesink0: last-message = chain   ******* (fakesink0:sink) (0 bytes, dts: 0:00:00.000000000, pts: none, duration: none, offset: 0, offset_end: -1, flags: 00000040 discont , meta: none) 0x56415a1f35a0
/GstPipeline:pipeline0/GstFakeSrc:fakesrc0: last-message = create   ******* (fakesrc0:src) (0 bytes, dts: none, pts:none, duration: none, offset: 0, offset_end: -1, flags: 00000000 ) 0x56415a1f36c0
/GstPipeline:pipeline0/GstFakeSink:fakesink0: last-message = chain   ******* (fakesink0:sink) (0 bytes, dts: 0:00:00.000000000, pts: 0:00:00.000000000, duration: none, offset: 0, offset_end: -1, flags: 00000000 , meta: none) 0x56415a1f36c0
/GstPipeline:pipeline0/GstFakeSrc:fakesrc0: last-message = create   ******* (fakesrc0:src) (0 bytes, dts: none, pts:none, duration: none, offset: 0, offset_end: -1, flags: 00000000 ) 0x56415a1f37e0
/GstPipeline:pipeline0/GstFakeSink:fakesink0: last-message = chain   ******* (fakesink0:sink) (0 bytes, dts: 0:00:00.000000000, pts: 0:00:00.000000000, duration: none, offset: 0, offset_end: -1, flags: 00000000 , meta: none) 0x56415a1f37e0
/GstPipeline:pipeline0/GstFakeSink:fakesink0: last-message = event   ******* (fakesink0:sink) E (type: eos (28174), ) 0x56415a1eddf0
Got EOS from element "pipeline0".
Execution ended after 0:00:00.000668234
Setting pipeline to NULL ...
Freeing pipeline ...
Whereas according to this website, it should result in:
https://gstreamer.freedesktop.org/do...?gi-language=c
Code:
RUNNING pipeline ... fakesrc0: last-message = "get      ******* 
(fakesrc0:src)gt; (0 bytes, 0) 0x8057510" 
fakesink0: last-message = "chain   ******* 
(fakesink0:sink)lt; (0 bytes, 0) 0x8057510" 
fakesrc0: last-message = "get      ******* 
(fakesrc0:src)gt; (0 bytes, 1) 0x8057510" 
fakesink0: last-message = "chain   ******* 
(fakesink0:sink)lt; (0 bytes, 1) 0x8057510" 
fakesrc0: last-message = "get      ******* 
(fakesrc0:src)gt; (0 bytes, 2) 0x8057510" 
fakesink0: last-message = "chain   ******* 
(fakesink0:sink)lt; (0 bytes, 2) 0x8057510" execution ended after 5 iterations (sum 301479000 ns, average 60295800 ns, min 3000 ns, max 105482000 ns)
In my output as you can see, I cannot find
Code:
 
last-message = "get
How do I get that statement in my output?

Last edited by Aquarius_Girl; 02-01-2021 at 12:03 AM.
 
Old 02-02-2021, 03:54 AM   #2
shruggy
Senior Member
 
Registered: Mar 2020
Posts: 3,670

Rep: Reputation: Disabled
I suspect the example output on freedesktop.org is out of date. I get the same results as you both on CentOS 8 and Ubuntu 20.04, and GStreamer definitely works there.
 
1 members found this post helpful.
Old 02-02-2021, 04:40 AM   #3
Aquarius_Girl
Senior Member
 
Registered: Dec 2008
Posts: 4,731

Original Poster
Blog Entries: 29

Rep: Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940
I am thankful for your confirmation.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Verify JAVA Installation on Ubuntu and Check the Installed version (if any) LXer Syndicated Linux News 0 02-03-2019 03:41 AM
gstreamer package in current puts gstconfig.h in /usr/lib64/gstreamer-1.0/include akschu Slackware 5 11-26-2015 01:46 AM
[SOLVED] gstreamer-plugins-base conflicts with gstreamer-plugins-good Raveolution Linux - Software 14 11-17-2009 12:24 PM
openssl ssl error code 14090086 verify the CA cert is ok / certificate verify failed acummings Slackware 14 02-27-2009 01:51 AM
Ubuntu 7.04+Gstreamer+off line installation? senthilvael Linux - Newbie 3 06-17-2008 02:24 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:28 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration