mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-25 09:40:37 +00:00
Add examples for the jpeg elements.
This commit is contained in:
parent
9795e95f39
commit
eb89143219
2 changed files with 16 additions and 0 deletions
|
@ -21,6 +21,14 @@
|
||||||
* SECTION:element-jpegdec
|
* SECTION:element-jpegdec
|
||||||
*
|
*
|
||||||
* Decodes jpeg images.
|
* Decodes jpeg images.
|
||||||
|
*
|
||||||
|
* <refsect2>
|
||||||
|
* <title>Example launch line</title>
|
||||||
|
* |[
|
||||||
|
* gst-launch -v v4l2src ! jpegddec ! ffmpegcolorspace ! xvimagesink
|
||||||
|
* ]| The above pipeline reads a motion JPEG stream from a v4l2 camera
|
||||||
|
* and renders it to the screen.
|
||||||
|
* </refsect2>
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifdef HAVE_CONFIG_H
|
#ifdef HAVE_CONFIG_H
|
||||||
|
|
|
@ -20,6 +20,14 @@
|
||||||
* SECTION:element-jpegenc
|
* SECTION:element-jpegenc
|
||||||
*
|
*
|
||||||
* Encodes jpeg images.
|
* Encodes jpeg images.
|
||||||
|
*
|
||||||
|
* <refsect2>
|
||||||
|
* <title>Example launch line</title>
|
||||||
|
* |[
|
||||||
|
* gst-launch videotestsrc num-buffers=50 ! video/x-raw-yuv, framerate='(fraction)'5/1 ! jpegenc ! avimux ! filesink location=mjpeg.avi
|
||||||
|
* ]| a pipeline to mux 5 JPEG frames per second into a 10 sec. long motion jpeg
|
||||||
|
* avi.
|
||||||
|
* </refsect2>
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifdef HAVE_CONFIG_H
|
#ifdef HAVE_CONFIG_H
|
||||||
|
|
Loading…
Reference in a new issue