DTK_VIDEO_GETSTATE(3) Draw Toolkit manual DTK_VIDEO_GETSTATE(3)NAME
dtk_video_getstate - returns the current state of a video texture
SYNOPSIS
#include <dtk_video.h>
int dtk_video_getstate(dtk_htex vid);
DESCRIPTION
This function returns the state of a video texture referenced by vid created by one of the functions dtk_create_video_*(3) and is a BITOR
combination of the following flags:
DTKV_PLAYING : Indicates whether the video is paused or playing
DTKV_EOS : Indicates that the end of the video stream has been reached
RETURN VALUE
This function returns the state of the video in case of success, -1 otherwise.
SEE ALSO dtk_load_video_file(3), dtk_load_video_gst(3), dtk_load_video_test(3), dtk_load_video_udp(3), dtk_load_video_tcp(3), dtk_video_exec(3)EPFL 2011 DTK_VIDEO_GETSTATE(3)
Check Out this Related Man Page
DTK_LOAD_VIDEO_GST(3) Draw Toolkit manual DTK_LOAD_VIDEO_GST(3)NAME
dtk_load_video_gst - Load the sink of gstreamer pipeline as a texture
SYNOPSIS
#include <dtk_video.h>
dtk_htex dtk_load_video_gst(int flags, const char *desc);
DESCRIPTION
This function loads as a dynamic texture the video stream arriving into the sink of a gstreamer pipeline. The pipeline description desc
should follows the syntax used in the gst-launch(1) utility and it must contains an video sink of type appsink named dtksink that will be
used to get the data for the dynamic texture. The texture will then been tracked by an internal texture manager so that the next call using
the same desc argument will return the same texture handle, thus sparing the resources of the system. If not specified by flags the video
will not be played immediately and dtk_video_exec(3) should be called to do start playing.
The argument flags is used to modify the creation. It should contains a bitwise OR combination of the following flags:
DTK_AUTOSTART : Indicates that the video should start immediately after creation.
DTK_NOBLOCKING : Indicates that the creation function should not block waiting that the video pipeline is fully running.
A dynamic texture can be used the same way as a static texture (for example image file). The only difference is that the content of the
texture changes automatically with the stream of video. This means that every time a shape using this texture is drawn, the latest frame
available from the video stream will be mapped on the shape.
There is no need for a valid window to create successfully a texture, i.e. creation of textures are completely decoupled from the creation
of others resources and can even be created in one thread to be used in another one.
Once a the texture is stopped being used, it should be destroyed by dtk_destroy_texture(3).
RETURN VALUE
In case of success, the function returns the handle to the created texture. In case of failure, NULL is returned.
THREAD SAFETY
dtk_load_video_gst() is thread-safe.
SEE ALSO gst-launch(1), dtk_destroy_texture(3), dtk_video_exec(3), dtk_video_getstate(3)EPFL 2010 DTK_LOAD_VIDEO_GST(3)
I have an ultra sparc 2 with no video - I connect to it with hyperterm.
Is there a way to get to the OK prompt? I have tried control/break and that does not work.
If not is there a video card I can get to put in this box?
I have Solaris 10 installed on this machine.
Thanks (7 Replies)
I have limited bandwidth in my apartment and no cable TV service. I was wondering if it is possible to write a script that would download the video data from my favorite TV shows (legally... many networks post their videos online for free) while I sleep, so that later I can watch them on my TV... (5 Replies)
Hello dear community!
I have faced with a trouble which I trying to solve for a long time.
I have service of video streaming. And I have web and video roles for servers.
Video servers upload video using SWFUpload and then stream it.
Issue became during uploading of video.
In random time... (3 Replies)
My impressions from recent web explorations has me questioning the
appropriateness of rsync ( or rsyncx ) for syncing large video/movie
files to remote locations.
Background: A friend who edits and creates movies would like to sync
his video files from his place of business to his home. These... (2 Replies)
I you haven't already see it yet, I just wanted to share with you the following video :
How lobbies controls international organizations regarding Food/Health ...
Dailymotion - NWO - Nouvel Ordre Mondial - Codex Alimentarius - Food Plan - une vidéo News & Politics
What happen when fees come... (2 Replies)
Hi, I'm John_giova and I'm new in this Forum. Sorry my english, it's not my first language.
So, I'm trying to check the CPU utlization during the video encoding and decoding (making a comparison between SW and HW ) using the SAR tool. According to a past thread I saw as CPU utilization I should... (4 Replies)
I have a need to convert 'Impress' presentations to DVD video format whilst retaining the original presentation in situ.
Copying the individual slides and modifying size etc. in Gimp and then importing them into 'Openshot' is both long winded and the loss of quality is significant.
Can anybody... (14 Replies)
Hi,
There are many MP4 files in a folder say 50 files . All these files are video clipping files.Instead of playing the video one by one , is it possible to play all video clipping files into single shot ?
Say for example when i play one video file it gets over after sometime and to view... (5 Replies)
Yea.... something I thought would take me an hour ended up taking most of the day. Well, it's not like those YT video tutorials where it take a week or more to make a video and the guys (gals) make it look so easy. But having said that, I'm happy to share with forum members the first "My... (6 Replies)
Here is a shout-out to wisecracker, who selected the sound track for this new video:
Top 5 Roadblocks to a Secure Cyberspace in 2019
https://youtu.be/2rXo_ywM-NQ (7 Replies)
Hello All,
Just went through a nice YT video of A.I
Age of A.I YT video
See who is the host of this video :) if you are a Hollywood fan(a bit spoiler)
I hope to learn something of it someday, technology is really growing day by day, cheers.
Thanks,
R. Singh (8 Replies)