Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

dtk_video_getstate(3) [debian man page]

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)
Man Page

15 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Need help with video card.

http://adsl.027game.com/uploadImages/200211122321064403.jpg Help, please!!! :confused: :confused: :confused: (7 Replies)
Discussion started by: HOUSCOUS
7 Replies

2. Solaris

ultra sparc 2 no video - ok prompt access

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)
Discussion started by: tribbles
7 Replies

3. Shell Programming and Scripting

save streaming video data for later viewing?

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)
Discussion started by: euclid3628800
5 Replies

4. UNIX and Linux Applications

Apache+Perl: interruption of STDIN

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)
Discussion started by: sevmax
3 Replies

5. OS X (Apple)

OSX: Syncing VERY large video files across web

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)
Discussion started by: Bubnoff
2 Replies

6. What is on Your Mind?

What people should be aware of

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)
Discussion started by: ctsgnb
2 Replies

7. UNIX for Advanced & Expert Users

split a video into smaller clips

Does anyone know how to split a video into smaller clips? (5 Replies)
Discussion started by: cokedude
5 Replies

8. UNIX for Dummies Questions & Answers

CPU load in video decoding using SAR

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)
Discussion started by: John_giova
4 Replies

9. Ubuntu

Converting Impress output to DVD video

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)
Discussion started by: Royalist
14 Replies

10. Windows & DOS: Issues & Discussions

How to play video files one after the other continously?

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)
Discussion started by: Maddy123
5 Replies

11. What is on Your Mind?

My Charts in the Prototype Vue.js UserCP

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)
Discussion started by: Neo
6 Replies

12. What is on Your Mind?

A terrific historical video about UNIX circa 1982 with well known names.

Enjoy folks... AT&T Archives: The UNIX Operating System - YouTube (2 Replies)
Discussion started by: wisecracker
2 Replies

13. UNIX for Beginners Questions & Answers

Length of video file in minutes

I need to extract the length of a video file in minutes, not seconds or hours. How do I get the amount of minutes exclusively? (2 Replies)
Discussion started by: locoroco
2 Replies

14. What is on Your Mind?

Top 5 Roadblocks to a Secure Cyberspace in 2019 | YouTube Video

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)
Discussion started by: Neo
7 Replies

15. What is on Your Mind?

A nice YT video on A.I

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)
Discussion started by: RavinderSingh13
8 Replies