Gst-rtsp-server Compile Test

Source: Internet
Author: User
Tags gtk xsl gstreamer

Recently in the development of dm368, intends to transplant a gst-rtsp-server on 368. First on the computer to toss a day, finally can run.

Gstreamer-0.10 was previously installed on my virtual machine (the GStreamer version is too new and some plugins are not available). GStreamer and Base,good,ugly,bad related plug-in installation did not encounter any problems. Here are the problems I encountered in compiling gst-rtsp-0.10.8.

1, download the source package

GST-RTSP-0.10.8.TAR.BZ2 (Source address: http://people.freedesktop.org/~wtay/)

Libtool-2.4.tar.gz

gtk-doc-1.18.tar.bz2

2. Installation of Libtool and Gtk-doc two packages

Libtool successfully passed. Error Gtk-doc Configuration:

Checking for DocBook XML DTD V4.3 in XML catalog ... found
Checking for DocBook XSL stylesheets in XML catalog ... not found

View the Gtk-doc of the Reame has said the software's dependency package, but the URL provided I can not access. The Dead Horse is a live horse doctor's test under the direct installation of XSL actually succeeded.

sudo apt-get install docbook-xsl

Then the config is compiled through.

2. Installing gst-rtsp-0.10.8

Run autogen.sh after decompression. If the above two packages are not installed, the following two errors will appear respectively.

No Libtool installed:

Checking for libtoolize >= 2.2.6 ... checking for glibtoolize >= 2.2.6 ... libtoolize not found!

You must has Libtoolize installed to compile gst-rtsp.
Download the appropriate package for your distribution,
Or get the source tarball at ftp://ftp.gnu.org/pub/gnu/libtool/
Checking for Pkg-config >= 0.8.0 ... found 0.27.1, OK.

-Get the right tools before proceeding.
-Alternatively, if you ' re sure we ' re wrong, run with--nocheck.

No Gtk-doc installed:

Checking for valgrind ... no
Checking for gobject-introspection ... no
Checking for Gtkdoc-check ... no
Checking for gtkdoc-rebase ... no
Checking for gtkdoc-mkpdf ... no
Configure:error:You need to has Gtk-doc >= 1.3 installed to build GST-RTSP
Configure failed

Run the Make && sudo make install installation after the autogen.sh script execution is complete.

3. Test GST-RTSP

The first thing to look at is the Readme in the Doc directory in the GST-RTSP installation package. This document describes the use of GST-RTSP. There are sample programs in the examples directory that have all been compiled.

First, run a simple:

$./test_readme

Open another terminal run: VLC rtsp://localhost:8554/test successfully saw the image. 90 's TV station when the screen, good feel.

To this gst-rtsp-server is the compilation of no problem.

The sample program has a very handy tool like Gst-lanuch.

$./test_launch "(VIDEOTESTSRC is-live=1!) Vpuenc codec=6! Rtph264pay name=pay0 pt=96) "

This command effect is the same as the. Test_readme.

I directly read the camera video command is it:

$./test-launch "(MFW_V4LSRC device=/dev/video0!) Queue! Vpuenc codec=6! Rtph264pay name=pay0 pt=96) "

Open VLC rtsp://localhost:8554/test with VLC to successfully see the image.

Also, GST-RTSP is supported for multiple playback.

http://m.blog.csdn.net/blog/zhoudekuai_tjsd/8539432

Gst-rtsp-server Compile Test

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.