mjpeg with libjpeg-turbo encoder
Nirbheek Chauhan
nirbheek.chauhan at gmail.com
Thu Jul 23 00:48:07 PDT 2015
On Tue, Jul 21, 2015 at 4:49 PM, Jacob S <jacobhameiri at gmail.com> wrote:
> Is it possible to create an mjpeg video with libjpeg-turbo as the encoder
> with gstreamer 1.5.2 ?
> Can you give an example pipeline ?
libjpeg-turbo is ABI-compatible with libjpeg, and most Linux
distributions use it instead of libjpeg. So if you build the `jpeg`
element from gst-plugins-good with libjpeg-turbo (your distribution
likely already does this), you can use a trivial pipeline such as
this:
$ gst-launch-1.0 videotestsrc ! jpegenc ! filesink location=test.mjpeg
Playback:
$ gst-play-1.0 test.mjpeg
Cheers,
Nirbheek
--
~Nirbheek Chauhan
More information about the gstreamer-devel
mailing list