mjpeg with libjpeg-turbo encoder

Nirbheek Chauhan nirbheek.chauhan at gmail.com
Thu Jul 23 01:14:09 PDT 2015


On Thu, Jul 23, 2015 at 1:25 PM, Jacob S <jacobhameiri at gmail.com> wrote:
> ok, thanks.
> Would libjpeg-turbo work with android/windows distributions ?
>

Both Chrome and Firefox use libjpeg-turbo, so it should work on both of those.

> On Thu, Jul 23, 2015 at 10:48 AM, Nirbheek Chauhan
> <nirbheek.chauhan at gmail.com> wrote:
>>
>> 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
>> _______________________________________________
>> gstreamer-devel mailing list
>> gstreamer-devel at lists.freedesktop.org
>> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
>
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>



-- 
~Nirbheek Chauhan


More information about the gstreamer-devel mailing list