| GStreamer Good Plugins 0.10 Plugins Reference Manual | ||||
|---|---|---|---|---|
multipartmuxmultipartmux — Muxer that takes one or several digital streams and muxes them to a single multipart stream. |
MultipartMux uses the GstCaps of the sink pad as the Content-type field for incoming buffers when muxing them to a multipart stream. Most of the time multipart streams are sequential JPEG frames.
Here is a simple pipeline to mux 5 JPEG frames per second into a multipart stream stored to a file :
gst-launch videotestsrc ! video/x-raw-yuv, framerate=(fraction)5/1 ! jpegenc ! multipartmux ! filesink location=/tmp/test.multipart
| plugin | multipart |
| author | Wim Taymans <wim@fluendo.com> |
| class | Codec/Muxer |
| name | src |
| direction | source |
| presence | always |
| details | multipart/x-mixed-replace |
| name | sink_%d |
| direction | sink |
| presence | request |
| details | ANY |
typedef struct _GstMultipartMux GstMultipartMux;
The opaque GstMultipartMux structure.