logo

Live Production Software Forums


Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
taurojo  
#1 Posted : Saturday, March 3, 2018 4:59:10 AM(UTC)
taurojo

Rank: Newbie

Groups: Registered
Joined: 3/3/2018(UTC)
Posts: 8

Thanks: 1 times
Need to know what is the play time of a video.
Especially if it's on the program.
Is it possible?!!

Thanks for your time.
doggy  
#2 Posted : Saturday, March 3, 2018 5:20:51 AM(UTC)
doggy

Rank: Advanced Member

Groups: Registered
Joined: 12/27/2012(UTC)
Posts: 5,216
Belgium
Location: Belgium

Thanks: 291 times
Was thanked: 955 time(s) in 790 post(s)
how about under the output when playing ?
doggy attached the following image(s):
playtime.JPG (18kb) downloaded 6 time(s).

You cannot view/download attachments. Try to login or register.
thanks 1 user thanked doggy for this useful post.
stigaard on 3/4/2018(UTC)
taurojo  
#3 Posted : Saturday, March 3, 2018 9:53:30 AM(UTC)
taurojo

Rank: Newbie

Groups: Registered
Joined: 3/3/2018(UTC)
Posts: 8

Thanks: 1 times
Of course!!!!

The question is whether the player's time can be captured in the API. Not in the software.
I nned get the time player for controler the real play in program or fonts.
DYosua  
#4 Posted : Saturday, March 3, 2018 5:19:09 PM(UTC)
DYosua

Rank: Advanced Member

Groups: Registered
Joined: 2/24/2014(UTC)
Posts: 45
Man
United States
Location: Maine, USA

Thanks: 26 times
Was thanked: 14 time(s) in 12 post(s)
You can use http://localhost:8088/API which will bring back XML from the inputs. Each input containing a video/audio file, will have an attribute called "position" which is the current position of the playhead (in milliseconds). There is also a duration called "duration" which is the length of the file in milliseconds.

The XML also contains an attribute called "active" which gives the input number currently on the program monitor.
doggy  
#5 Posted : Saturday, March 3, 2018 7:44:05 PM(UTC)
doggy

Rank: Advanced Member

Groups: Registered
Joined: 12/27/2012(UTC)
Posts: 5,216
Belgium
Location: Belgium

Thanks: 291 times
Was thanked: 955 time(s) in 790 post(s)
2 different questions, twice correct response ;-)
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.