[FFmpeg-devel] [PATCH]Add an image3 demuxer with format autodetection
Michael Niedermayer
michaelni at gmx.at
Tue Jun 24 23:33:01 CEST 2014
On Tue, Jun 24, 2014 at 09:04:29PM +0000, Carl Eugen Hoyos wrote:
> Michael Niedermayer <michaelni <at> gmx.at> writes:
>
> > > > I support the suggestion from wm4 (and i belive
> > > > nicolas) of 1 AVInputFormat per AV_CODEC
> > >
> > > Would that also work for image2pipe?
> >
> > iam not sure i understand what issue you are thinking of
> > that there could be, so i might be missing something
>
> The following works with my patch:
> $ ./ffmpeg -i tests/lena.pnm -f image2 -vcodec png out
> $ cat out out out|./ffmpeg -f image2pipe -i -
>
> I don't yet understand how this can work with separate
> demuxers.
really this should work:
./ffmpeg -i tests/lena.pnm -f image2 -vcodec png out
cat out out out|./ffmpeg -i -
and the way it could is if the probe functions can distinguish not
only which image type but if there are multiple such images and just
1 file
that is multiple images, only one image per file, no avparser
-> detect as foobar
one file, multiple images, av parser available
-> detect as foobarpipe
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
No great genius has ever existed without some touch of madness. -- Aristotle
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20140624/1b73a467/attachment.asc>
More information about the ffmpeg-devel
mailing list