[vlc-devel] [PATCH] -- fake module for still images uris

Laurent Aimar fenrir at via.ecp.fr
Wed Feb 10 22:31:05 CET 2010


Hi,

On Wed, Feb 10, 2010, brezhoneg1 wrote:
> Having a first filter based on well-known extensions to separate still
> images may actually be a sane approach, when content-based may lead to
> misinterpretation. Of course, this set of extensions must be kept as
> small as possible.
 Even if only one, it will creates issues. For example, what if I rename
a .avi into .png (or any file that is not an image)...

> If fake were to be rewritten as a true image demux, the same problem
> would still exist as to which demux would be chosen based on content or
> extension.
 Nope because in this case, the demuxer can and must probe the content to be
sure it is actually an image. And besides, the demuxer can then be given 
a small priority to let robust demuxers handle the job when they can.

 About the jpeg vs mjpeg, I think the mjpeg demuxer could do what is required
to provide a sane experience.

> >From a user's viewpoint, still images have become a useful feature in
> vlc, and whatever the demux, supporting file:// should be seen as a must
> for vlc1.1. (saving them in xspf playlist, drag&drop, ... ).
 A real image demuxer yes, reusing the fake one instead seems a bad idea
that will create issues.

Regards,

-- 
fenrir



More information about the vlc-devel mailing list