Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to build Ubuntu gstreamer Development Environment under Ubuntu

2025-04-06 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)05/31 Report--

This article mainly introduces how to build a Ubuntu gstreamer development environment under Ubuntu, which has a certain reference value, interested friends can refer to, I hope you can learn a lot after reading this article, let the editor take you to understand it.

1Jing Ubuntu has installed the Ubuntu gstreamer library, so only a few more development libraries need to be installed, yes

Libstreamer0.10- 0 libstreamer0.10-dev libstreamer0.10- 0-dbg

Just select the application in Synaptic.

2. Test the Ubuntu gstreamer development library

# include int main (int argc,char * argv []) {const gchar * nano_str; guint major, minor, micro, nano; gst_init (& argc, & argv); gst_version (& major, & minor, & micro, & nano); if (nano = = 1) nano_str = "(CVS)"; else if (nano = = 2) nano_str = "(Prerelease)"; else nano_str = "" Printf ("This program is linked against GStreamer% d.%d.%d% s\ n", major, minor, micro, nano_str); return 0;}

3Jing Ubuntu gstreamer compiles and runs

Gcc-Wall $(pkg-config-- cflags-- libs gstreamer-0.10) hello.c-o hello. / hello

Running result: This program is linked against GStreamer 0.10.22

Thank you for reading this article carefully. I hope the article "how to build a Ubuntu gstreamer Development Environment under Ubuntu" shared by the editor will be helpful to you. At the same time, I also hope you will support us and pay attention to the industry information channel. More related knowledge is waiting for you to learn!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report