Hi Ari,

Thanks isn't a submission... it's a suggestion.   Until we default to
using ffmpeg it's not yet appropriate.  Preloading the ffmpeg is what
we need to do now.

Robert.

On Thu, Jul 1, 2010 at 12:53 PM,  <[email protected]> wrote:
> .. continuing from osg-users list:
>
> Hi Robert,
>
> I don't fully understand how plugins works in OSG but at least I figured
> out that Registry.cpp has no section for ffmpeg att all like other plugins
> has.
>
> I added this to Registry.cpp:
>
> addFileExtensionAlias("ogv", "ffmpeg");
>
> and then I was able to show videos with osgmovie and my own application
> without explicitly loading ffmpeg plugin.
>
> There is no USE_FFMPEG flag in cmake files and I don't know cmake well
> enough to add it.
>
> I don't know if this helps at all or is even correct analysis but this is
> best I can think of :)
>
>
> Regards,
> Ari
>
>
>
>> Hi Ari,
>>
>> Just add the supportsExtension("ogv",""Theora movie format"); into the
>> ReaderWriterFFmpeg.cpp and see if that works fine for you.   If it
>> does then send the change to osg-submissions ;-)
>>
>> Robert.
>>
>> On Thu, Jul 1, 2010 at 8:18 AM,  <[email protected]> wrote:
>>>
>>> Hi!
>>>
>>> I think I found a little issue with ffmepg plugin. According the source
>>> files Xine plugin supports .ogv extension (only) and ffmpeg plugin
>>> supports .ogg (only).
>>>
>>> It seems that .ogv is now official extension for video.:
>>> http://wiki.xiph.org/index.php/MIME_Types_and_File_Extensions
>>>
>>>
>>> ReaderWriterFFmpeg.cpp:
>>>
>>> ? ? ? ?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("mp4", ? ?"MPEG-4");
>>> ? ? ? ?supportsExtension("sav", ? ?"MPEG-4");
>>> ? ? ? ?supportsExtension("3gp", ? ?"MPEG-4");
>>> ? ? ? ?supportsExtension("sdp", ? ?"MPEG-4");
>>>
>>> I used hours wondering why ogv example that comes with Ubuntu 10.4
>>> worked
>>> with xine plugin but not with ffmpeg plugin.
>>>
>
>
> _______________________________________________
> osg-submissions mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
>
_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org

Reply via email to