ActiveDen

Video with Scrubber and Second by Second Data chart

905 posts
  • Has been a member for 5-6 years
  • Bought between 100 and 499 items
  • United States
unchartedrealms says

Hi all,

I was curious if anyone has any ideas how I can play a 5 hour video and show data that has been captured for each second of the video.. basically we have data that is relevant to each second of a video and we want to be able to allow a user to scrub through the video and see the 3 fields of data change that are relevant to each second of the video. I will need a visual bar graph system as well that changes with the three data fields.

Basically it is a video.. three bar graphs… and three data fields that all can be scrubbed at once and the data is relevant to where we are at time wise in the video.

I assume we will have to put Cue points in the Flv file that trigger a action to read data out of the xml file and display it in a the textfield at the same time we have some kind of visual scrubber that can scrub the video and the bar graphs.. The bar graphs may be able to be scrolled horizontally or maybe I will show all the graph in one.. I will probably operate this from the desktop due to the size of the video..

I open to suggestions or freelance bids I can provide a functional spec once I create it real soon.. but ideas are appreciated.. even though I will probably need to seek a freelancer to implement the ideas.. Thanks for any time anyone may have to offer.

Sincerely, UR

3 years ago
156 posts
  • Has been a member for 3-4 years
  • Bought between 1 and 9 items
  • Referred between 1 and 9 users
Subeli says

unchartedrealms I would not use que points. If you know in what precise second the relevant data should be displayed its not hard to link it with video (e.g. like the subtitles work) You can easily get the exact second of the played video.

3 years ago
905 posts
  • Has been a member for 5-6 years
  • Bought between 100 and 499 items
  • United States
unchartedrealms says
unchartedrealms I would not use que points. If you know in what precise second the relevant data should be displayed its not hard to link it with video (e.g. like the subtitles work) You can easily get the exact second of the played video.

Thanks so much Subeli :) That is perfect information that helps me down the right path. I will start researching that right away. I do appreciate your time and help

3 years ago
156 posts
  • Has been a member for 3-4 years
  • Bought between 1 and 9 items
  • Referred between 1 and 9 users
Subeli says

Good luck!

3 years ago
905 posts
  • Has been a member for 5-6 years
  • Bought between 100 and 499 items
  • United States
unchartedrealms says

Thanks again Subeli Your help guided me right and I think i figured out my solution…

Timed Text captions uses a xml like file to map to each second of the video and displays whatever text I want… so I am going to make a big video the holds my graphs and other video and any animations and then will use the xml captions file to chart all my data to the right time in video..

My Learning ActionScript 3.0 a beginners guide book even tell me how to do it.

Super fresh.

anyone who has this issue can find out about timed text captions here http://help.adobe.com/en_US/ActionScript/3.0_UsingComponentsAS3/WS5b3ccc516d4fbf351e63e3d118a9c65b32-7ee5.html

3 years ago
6471 posts
  • Has been a member for 4-5 years
  • Won a Competition
  • Contributed a Tutorial to a Tuts+ Site
  • Contributed a Blog Post
  • Grew a moustache for the Envato Movember competition
  • Community Moderator
  • Beta Tester
  • Exclusive Author
  • Sold between 1 000 and 5 000 dollars
  • Bought between 50 and 99 items
  • United Kingdom
  • Referred between 10 and 49 users
MSFX says
Timed Text captions uses a xml like file to map to each second of the video and displays whatever text I want… so I am going to make a big video the holds my graphs and other video and any animations and then will use the xml captions file to chart all my data to the right time in video..

My Learning ActionScript 3.0 a beginners guide book even tell me how to do it.

Super fresh.

anyone who has this issue can find out about timed text captions here http://help.adobe.com/en_US/ActionScript/3.0_UsingComponentsAS3/WS5b3ccc516d4fbf351e63e3d118a9c65b32-7ee5.html

Sorry dude but ew ew ew ew EW, dont use the built in components *cringe*

Like Subeli said you dont need captioning for this.. timed text = captioning…

And using built in components you’ll be adding so much weight to your SWF that you wont need… :( I could probably make this for < 10-15kb… with components it’ll be far bigger that that :(

You’d be far better off extracting you data from xml straight into arrays and running a Timer every second to extract the relevent data to be displayed… then, when the user scrubs, stop the timer and calculate the number of seconds the user has scrubbed to and use that as the index to extract the data from the array… when they release the scrubber restart the timer :)

3 years ago
MSFX is a moderator
905 posts
  • Has been a member for 5-6 years
  • Bought between 100 and 499 items
  • United States
unchartedrealms says

Thank you so much MSFX for the excellent advice and strategy. I really am stoked to have your help.

The good part is this will most likely be a desktop application projector file..so file size might to be a issue (plus my videos are 5 hours long) The bad part is I never really wrote a array or brought in information from xml and used timers and stuff. I usually use ActiveDen Files for that stuff.

But I did do the as3 xml tutorial today off gotoAndLearn and my AS3 book shows me how to use only Actionscript to build my video player that can do what the component would.. I am going to take your advice into consideration I just think it may be a bit harder for me to do myself but if i cant do this and need to get help I will tell them your advice.. i bet it has more flexibility..

Q. Is there a way to make sure the timer starts once the video loads and starts.. I dont want the data to be off sync.

Thanks again you rock

3 years ago
by
by
by
by
by