Digital Workshop

Welcome to the Digital Workshop Message Boards
It is currently December 23rd, 2024, 3:00 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: Slide bar to control the video time
PostPosted: April 24th, 2010, 2:30 pm 
Offline

Joined: December 13th, 2008, 3:15 pm
Posts: 152
Location: Brasil
Opus: 7
OS: Windows 7 x64
System: Asus P5Q3 Deluxe, Core 2 Duo E8500, 8 Gb DDR3 1333 mhz, His IceQ5 5770 HD Graphic Card, Samsung T220 Monitor; Lenovo G550 T6600, 4 GB DDR3 - 15,6".
Hy Opus lovers. New forum, new challenges, big posts...

I need help again.

I have some videos in mpg and swf to insert in my program. I made a video player with buttons for forward, rewind, pause and play the videos.

My biggest challenge now is how to put a slide bar to move forward or backward tracking the position of the video that is playing from beginning to end, as does the slide bar in windows media player. Likewise, if the user clicks somewhere point in the bar, he goes to the point equivalent of the video.

I did some search on the topics of the forum but found nothing similar.

Any suggestions on how to make this possible slide bar functional?

I,m using Opus 6. Thanks...

_________________
"To the ignorant, old age is the winter of life, for the wise, is the season of harvest."
It is not easy to translate the world into a binary code of 0s and 1s, but in scripts, anything is possible!


For this message NilsonBrasil has been thanked by : mackavi


Top
 Profile  
 
 Post subject: Re: Slide bar to control the video time
PostPosted: April 24th, 2010, 3:10 pm 
Offline
Godlike
Godlike

Joined: November 12th, 2005, 1:56 am
Posts: 1474
Location: SFBay Area
Opus: OpusPro v9.0x, & Evol.
OS: Vista32
System: Core 2 duo 2Ghz, RAM 3GB, Nvidia Go 7700 - laptop
Hi Nilson,

Video slide-bar/tracking-bar is one of those things that is takes some creativity and resolve.

It's not too difficult to get something working. However IMO there is a great challenge in getting the tracking-bar to work smoothly and reliably (while video plays and while it is paused).

Best recommendation is in this post: viewtopic.php?f=6&t=4024

_________________
_good things come to those who wait(0)_


For this message Lar_123 has been thanked by : mackavi


Top
 Profile  
 
 Post subject: Slide bar to control the video time
PostPosted: April 24th, 2010, 10:21 pm 
Offline

Joined: December 13th, 2008, 3:15 pm
Posts: 152
Location: Brasil
Opus: 7
OS: Windows 7 x64
System: Asus P5Q3 Deluxe, Core 2 Duo E8500, 8 Gb DDR3 1333 mhz, His IceQ5 5770 HD Graphic Card, Samsung T220 Monitor; Lenovo G550 T6600, 4 GB DDR3 - 15,6".
Lar, thanks for the indication. But... The example that I downloaded from the site interaktiv (vcr.exe), along with some codecs do not work in my seven 64. The mpgs that I have fought, and moreover, must also be free to play swf files in which there are embedded videos in flv format.

So the challenge is much bigger than I thought. Opus has commands in script to give the possibility of controlling the video object via buttons, but a slide bar, for what seems to be something much more complex, bacause the player that I use needs to be incorporated within the slides of the program.

I thought about making a slide bar working like a clock, with the same time the video being played on the player, because each video to be inserted in a slide program has already a determined slide. In this case, the buttons to pause / play, forward and rewind could control both objects.

Again, the space bar still remains a major challenge. As you click a point on the bar and have the same equivalent point in the video? If the time bar is determined by the time of the video, I believe it may be possible to find the control for both ...

I'll call some more facts to be analyzed. Anyway, any help in this direction is welcome.

_________________
"To the ignorant, old age is the winter of life, for the wise, is the season of harvest."
It is not easy to translate the world into a binary code of 0s and 1s, but in scripts, anything is possible!


For this message NilsonBrasil has been thanked by : mackavi


Top
 Profile  
 
 Post subject: Re: Slide bar to control the video time
PostPosted: April 25th, 2010, 12:05 am 
Offline
Godlike
Godlike
User avatar

Joined: March 21st, 2007, 10:44 am
Posts: 3188
Location: UK
Opus: Evolution
The VCR was published under Opus 6.0. It will work under W7x64 if published from Opus 7.0.

As for codec support, it was created to play & control MPG1, WMV & MP3s but because of the way Opus works, will play most formats if the correct codec is installed. However, the success of controlling a video format will depend on the format, the codec and the way these work with Opus. On this system, MPG2, MPG4 (h.264) all load, play and navigate fine in Opus. SWF & FLV play, but navigate very badly but then it may well be the encoding as we rarely use this format for video but then as the aforementioned basically covers VCD / DVD & HD quality, everything else is surplus.

Regards,

Mack

http://sandbox.interaktiv.co.uk/VCR.zip
published with Opus 7.0 and added SWF for file browser (not recommended).

_________________
When you have explored all avenues of possibilities, what ever remains, how ever improbable, must be the answer.

Interactive Solutions for Business & Education
Learn Anywhere. Learn Anytime.

www.interaktiv.co.uk
+44 (0) 1395 548057


Top
 Profile Visit website  
 
 Post subject: Slide bar to control the video time
PostPosted: April 27th, 2010, 4:29 pm 
Offline

Joined: December 13th, 2008, 3:15 pm
Posts: 152
Location: Brasil
Opus: 7
OS: Windows 7 x64
System: Asus P5Q3 Deluxe, Core 2 Duo E8500, 8 Gb DDR3 1333 mhz, His IceQ5 5770 HD Graphic Card, Samsung T220 Monitor; Lenovo G550 T6600, 4 GB DDR3 - 15,6".
Well, I think I will have to contend with the flash. So, I'll see if I can make a functional flash player, with files flvs. Flv's compression is much greater than Mpg's and results in a smaller final file to be inserted in the program. As always, the biggest challenge will remain the control bar of the video, which will depend on programming.
I do not know if all the action script commands are accepted by Opus. There is the question. Opusscript or actinscript ...

_________________
"To the ignorant, old age is the winter of life, for the wise, is the season of harvest."
It is not easy to translate the world into a binary code of 0s and 1s, but in scripts, anything is possible!


For this message NilsonBrasil has been thanked by : mackavi


Top
 Profile  
 
 Post subject: Slide bar to control the video time
PostPosted: June 9th, 2010, 6:08 pm 
Offline

Joined: December 13th, 2008, 3:15 pm
Posts: 152
Location: Brasil
Opus: 7
OS: Windows 7 x64
System: Asus P5Q3 Deluxe, Core 2 Duo E8500, 8 Gb DDR3 1333 mhz, His IceQ5 5770 HD Graphic Card, Samsung T220 Monitor; Lenovo G550 T6600, 4 GB DDR3 - 15,6".
Well, I have found the solution in one of the posts here in the forum. I'm working on the player, whose control buttons, with the slide bar control are becoming functional. Once you're done, I put the file. Thanks for your model, Duncan Lilly!!!!

_________________
"To the ignorant, old age is the winter of life, for the wise, is the season of harvest."
It is not easy to translate the world into a binary code of 0s and 1s, but in scripts, anything is possible!


For this message NilsonBrasil has been thanked by : mackavi


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 34 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group