Re: [osg-users] Building OSG with FFMPEG

2012-06-13 Thread Julen Garcia
Hi,

For building OSG with FFmpeg support you need to use the shared FFmpeg
git-728f86e 64-bit Shared
(Latest)http://ffmpeg.zeranoe.com/builds/win64/shared/ffmpeg-20120612-git-728f86e-win64-shared.7z
  and dev FFmpeg git-728f86e 64-bit Dev
(Latest)http://ffmpeg.zeranoe.com/builds/win64/dev/ffmpeg-20120612-git-728f86e-win64-dev.7z
releases
of the FFmpeg library.

Then, as you have correctly pointed out, you have to specify the “FFMPEG_ROOT”
where you have extracted the libraries, C:/Projects/3rdParty/ffmpeg in
your case.

I think you also have to download msinttypes library 
http://code.google.com/p/msinttypes/downloads/list; and extract them in the
ffmpeg include folder to get FFMPEG_STDINT_INCLUDE_DIR filled correctly.

If you have any question feel free to ask ;)

2012/5/30 Praveena Sara pravee...@gmail.com

 Hi,

 I recently got hold of the book OpenSceneGraph 3 Cookbook. I want to
 show a live webcam feed in OSG like in the example given in the book (I'm
 working on an Augmented Reality project). In order to this, it says I need
 to have FFMPEG built with OSG.

 So, I downloaded the
  FFmpeg git-9c27f29 64-bit Static (Latest)
  under 64-bit Builds (Static)  from zeranoe site but I have no idea how
 to link these files in CMake, when Building OSG.

 File Structure:
 +presets
 +licenses
 +doc
 -bin
 |__ffmpeg.exe
 |__ffplay.exe
 |__ffprobe.exe

 According to this tutorial (**I'm not allowed to share a URL**) I'd only
 have to Set
  “FFMPEG_ROOT” to: C:/Projects/3rdParty/ffmpeg
 . Is this correct? Have I downloaded the correct FFMPEG build? Which
 values need to be entered into CMake when building OSG with FFMPEG?

 My configuration:
 Windows 7, 64-bit
 OSG 3.0.1
 Visual Studio 2008 (Professional Edition)

 ...

 Thank you!

 --
 Read this topic online here:
 http://forum.openscenegraph.org/viewtopic.php?p=47928#47928





 ___
 osg-users mailing list
 osg-users@lists.openscenegraph.org
 http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] Current time when displaying an image stream

2011-09-27 Thread Julen Garcia
Hi Brad,

I have also a simple video player using the ImageStream class and the FFmpeg
plugin. For the slider, I get the maximum value from
the ImageStream-getLenght() method and to update the current position I
call periodically ImageStream-getReferenceTime(). I think that this is
the 'curentTime' function you are looking for.

If you need any help, just let me know ;)

Cheers,
Julen.

2011/9/23 Christiansen, Brad brad.christian...@thalesgroup.com.au

 Hi,

 ** **

 I am creating a basic video player using the ImageStream class. I have
 created a standard 'position' slider to seek within the stream. Seeking is
 working with no problems but I cant see any way of reliabily updating the
 position of the slider as the stream is played.

 ** **

 As well as the seek() and length() function I was hoping to find a
 'curentTime' like function, basically the 'getter' for 'seek'. Without this
 function it looks like I will have to assume that length and seek are both
 in seconds and then calculate my own 'currentTime' based on elapsed time
 since play was called. This seems overly complex and somewhat unreliable as
 it also assumes that the stream is playing with exactly the correct timing.
 

 ** **

 Has anyone solved this? Have I missed something?

 ** **

 Cheers,

 Brad
 -
 DISCLAIMER: This e-mail transmission and any documents, files and previous
 e-mail messages attached to it are private and confidential. They may
 contain proprietary or copyright material or information that is subject to
 legal professional privilege. They are for the use of the intended recipient
 only. Any unauthorised viewing, use, disclosure, copying, alteration,
 storage or distribution of, or reliance on, this message is strictly
 prohibited. No part may be reproduced, adapted or transmitted without the
 written permission of the owner. If you have received this transmission in
 error, or are not an authorised recipient, please immediately notify the
 sender by return email, delete this message and all copies from your e-mail
 system, and destroy any printed copies. Receipt by anyone other than the
 intended recipient should not be deemed a waiver of any privilege or
 protection. Thales Australia does not warrant or represent that this e-mail
 or any documents, files and previous e-mail messages attached are error or
 virus free.
 -

 ___
 osg-users mailing list
 osg-users@lists.openscenegraph.org
 http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org