[libav-api] mjpeg stream
lu_zero at gentoo.org
Wed Apr 15 13:59:39 CEST 2015
On 15/04/15 11:37, Ran Shalit wrote:
>>> The captured frames from camera are already in JP2 format, so I
>>> actually only need mux (and demux in the decoder) for network
>>> 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) ?
The easy way is
avconv -filter_complex testsrc -c:v libopenjpeg out.ts
it generates a ts file, then
avplay out.ts gets you "data" since it has no mean to figure out what
had been put inside.
More information about the libav-api