[libav-api] mjpeg stream

Ran Shalit ranshalit at gmail.com
Wed Apr 15 11:37:13 CEST 2015


>> The captured frames from camera are already in JP2 format, so I
>> actually only need mux (and demux in the decoder) for network
>> streaming.
>> Is there any mux which support jp2 ?
>
>
> matroska for sure.
>

So, if matroska mux is used and will be network stream and played by
vlc is probably good enough.

>> How can I verify if this is supported ?
>
>
> avconv -filter_complex testsrc -c:v libopenjpeg out.mkv
>
> avplay out.mkv
>
> and so on seems the simplest way.
>
> nut and mov seem working fine as well. ts can encapsulate as private stream
> so you'd need to force the decoder in vlc.
>

Just one more if I may, how did you verify that .ts does not support
mux of jp2 (I have the source code) ?

Thank you for your time,
Ran


More information about the libav-api mailing list