Hi Eduardo,
ffmpeg plugin, as it is now, do not work "natively" with extensionless
files/urls, check the source code of the plugin for the list of supported
extensions :
supportsExtension("ffmpeg", "");
supportsExtension("avi", "");
supportsExtension("flv", "Flash video");
supportsExtension("mov", "Quicktime");
supportsExtension("ogg", "Theora movie format");
supportsExtension("mpg", "Mpeg movie format");
supportsExtension("mpv", "Mpeg movie format");
supportsExtension("wmv", "Windows Media Video format");
supportsExtension("mkv", "Matroska");
supportsExtension("mjpeg", "Motion JPEG");
supportsExtension("mjpg", "Motion JPEG");
supportsExtension("mp4", "MPEG-4");
supportsExtension("sav", "MPEG-4");
supportsExtension("3gp", "MPEG-4");
supportsExtension("sdp", "MPEG-4");
supportsExtension("amp", "MPEG-4");
One possible workaroud for extensionless urls, is to force using the ffmpeg
plugin when the extension ".ffmpeg" (or whatever) is appended to the url.
For this to be done, the function ReaderWriterFFmpeg::readImage should be
changed to allow reading osgDB::getNameLessExtension(filename) without
calling again readImage, because the function will always check if the
extension of the file is supported by the plugin.
If it seems ok for Robert and the others, maybe this could be applied to the
ffmpeg plugin.
Any thoughts?
Mourad
On Mon, Jan 11, 2010 at 3:02 PM, Eduardo Pinheiro <eduardo.pinheiro.pt@
gmail.com> wrote:
> Hi,
>
> I already had tried this version before and now i remember why i've passed
> again to 2.8.2 . The camera its not stable. It appears then not, then
> appears then not...
>
> Anyway i've tested the command osgmovie -e ffmpeg simple.mpg with the 2.8.2
> and it worked.
>
> But the streaming its still not working. Any idea?
>
> Thanks.
>
> ...
>
> Thank you!
>
> Cheers,
> Eduardo
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=22380#22380
>
>
>
>
>
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org