|
| FFmpegDecoder () |
| Constructor.
|
|
| ~FFmpegDecoder () |
| Destructor.
|
|
virtual bool | testClip (const string &url) |
| test if video clip is valid. Returns true on success.
|
|
virtual bool | loadClip (const string &url) |
| load an video clip from a url. Returns true on success.
|
|
virtual void | startPlaying () |
| Start decoding the video clip.
|
|
virtual void | stopPlaying () |
| Stop decoding the video clip and set the position to the start position.
|
|
virtual void | pausePlaying () |
| Pause the decoding of the video clip.
|
|
virtual void | setLooping (bool) |
| Set whether the clip should loop and start from the start again when the end has been reached.
|
|
virtual H3DTime | getPosition () |
| Get the current position in the clip (in seconds from start position)
|
|
virtual void | setPosition (H3DTime pos) |
| Set the current position in the clip(in seconds from start position)
|
|
virtual bool | setRate (double r) |
| Set the playback rate. More...
|
|
virtual H3DTime | getDuration () |
| Returns the duration in seconds at normal play rate of the currently loaded video clip.
|
|
virtual bool | haveNewFrame () |
| Returns true when a new frame is available.
|
|
virtual void | getNewFrame (unsigned char *buffer) |
| Get the new frame. The buffer must be at least getFrameSize() bytes.
|
|
virtual unsigned int | getFrameWidth () |
| The width in pixels of the current frame.
|
|
virtual unsigned int | getFrameHeight () |
| The height in pixels of the current frame.
|
|
virtual unsigned int | getFrameBitsPerPixel () |
| Get the number of bits per pixel in the current frame.
|
|
virtual unsigned int | getFrameSize () |
| The size in bytes of the current frame.
|
|
virtual bool | theTimeIsRight () |
| Should the next frame be processed?
|
|
virtual Image::PixelType | getFramePixelType () |
| The pixel type of the current frame.
|
|
virtual Image::PixelComponentType | getFramePixelComponentType () |
| The pixel component type of the current frame.
|
|
| H3DVideoClipDecoderNode () |
| Constructor.
|
|
virtual unsigned int | getFrameByteAlignment () |
| The byte alignment of each row in the buffer data from getNewFrame.
|
|
PlayStatus | getPlayStatus () |
| Returns the current play status.
|
|
virtual string | defaultXMLContainerField () |
| Returns the default xml containerField attribute value. More...
|
|
| Node () |
| Constructor.
|
|
virtual Node * | clone (bool deepCopy=true, DeepCopyMap *deepCopyMap=NULL) |
| Returns a new instance of this node type with the same state as this one. More...
|
|
virtual | ~Node () |
| Destructor.
|
|
X3DPrototypeInstance * | getProtoInstanceParent () |
| If this node is the root node in the proto body of a X3DPrototypeInstance then this will return that node. More...
|
|
void | setProtoInstanceParent (X3DPrototypeInstance *p) |
| Set the X3DPrototypeInstance this node is the the root node if applicaple.
|
|
virtual void | render () |
| the render() function is used for the depth-first rendering traversal of the scene-graph. More...
|
|
virtual void | traverseSG (TraverseInfo &ti) |
| traverseSG is called once per scenegraph loop on the scene in order to traverse the scenegraph. More...
|
|
virtual bool | lineIntersect (const Vec3f &from, const Vec3f &to, LineIntersectResult &result) |
| Detect intersection between a line segment and the Node. More...
|
|
virtual void | closestPoint (const Vec3f &p, NodeIntersectResult &result) |
| Find closest point on Node to p. More...
|
|
virtual bool | movingSphereIntersect (H3DFloat radius, const Vec3f &from, const Vec3f &to, NodeIntersectResult &result) |
| Detect collision between a moving sphere and the Node. More...
|
|
virtual Field * | getField (const string &_name) const |
| return a pointer to the field specified by name within this instance
|
|
int | addDestructCallback (void(*func)(Node *, void *), void *args) |
| Add a callback function to be run on destruction of node. More...
|
|
int | removeDestructCallback (void(*func)(Node *, void *), void *args) |
| Add a callback function to be run on destruction of node. More...
|
|
This node uses FFmpeg to decode video clips.
All video types that are supported by an installed FFmpeg filter can be decoded.