Solved

programatically loading and unloading DVD (file based) playback in director (shockwave)

Posted on 2009-05-07
13
344 Views
Last Modified: 2013-12-24
Hello All,

We're wanting to create a director/shockwave application which is capable of reading information from a database (specifically the information to load a file based DVD) for playback on a locally created TV channel.

We had an application developed using FLV and Flash which played a show (loaded an external FLV into SWF) played the show through and then read the database playlist and loaded the next.

The problem is that converting our media to FLV format in the quality we need is a very long process and we could streamline this by using DVD based playback.

What I need to be able to achieve is have director access the database, determine the show to be loaded and get its length, start a countdown timer on screen till the show's beginning, then once the timer expires, play the show; before the end of the show, reconnect to the database and get the next show and its play time.  In between the show, randomly select previews of other shows come up (also pulled from the database).

I'm reasonably sure this is possible (as we've had it working in flash) but I have no idea how to get it functioning using file based DVD media (ie: not on a disc, on the file system) or how to get director to connect to the database.

Code samples or examples would be extremly appreciated.

Thanks
Anubis.
0
Comment
Question by:Anubis2005
  • 5
  • 5
13 Comments
 
LVL 1

Author Comment

by:Anubis2005
ID: 24353060
Wow, I didn't think this would have been so tricky for experts.  Thanks to the mods for your help!

Anyone, have even a small starting point for this project?

Thanks
Anubis.
0
 
LVL 22

Expert Comment

by:rascalpants
ID: 24398769
FYI...

Read through your question and my advice to you, being the resident Flash Zone Advisor, would  be to stick with FLV playback, and just setup some software to automate your conversion process.  

In my opinion, Director is Deadware  :)


And here is a question for you...  What format is the Video source that comes from the DVD?  Is it VOB (normal DVD), or is it raw video in AVI or MOV formats?


And idea I have would be to develop an AIR application that Automates the process of taking a DVD of videos in AVI or MOV format, and doing a batch process using Sorensen Squeeze to turn the videos into HD quality FLVs.  Something to think about.


If you need any help at all with the Flash/Actionscript part of this project, if you decide to go back to that way of implementation, then let me know...


rp / ZA
0
 
LVL 1

Author Comment

by:Anubis2005
ID: 24401359
Hi RP,

Thanks for the comment!

I've actually decided to head down that same path.  After going into the deeper depths of Director it was going to be harder to implement in there than it was to continue down the path of converting to FLV.

The DVD's are in VOB format and I think now I've been through and tested about 33 different programs all claiming to be able to convert DVD to FLV.  So far, only 3 have stood out.  

Leawo's DVD to FLV was the quickes but the audio was not in sync; I've contacted them about it but still waiting for a reply.  

Next in line was HandBrake, it doesn't convert directly to FLV but it does to MP4 which works good as well but is the slowest of them all.  

Finally, I've tried Xvid4PSP.  This program was one of the first I found and although it's speed is inbetween that of Leawo and HandBrake it's output has been good each time.  It's batch processing is handy but the GUI still needs some work although that's not a complaint by any means, the program is free (so thanks heaps to its developer).

Thanks
Anubis.
0
 
LVL 22

Expert Comment

by:rascalpants
ID: 24401393

I can't remember if Sorensen Squueze can grab the VOB and convert it to FLV, but that is the industry standard for compression and conversion...

look into that software program...


rp / ZA
0
 
LVL 22

Expert Comment

by:rascalpants
ID: 24436189


^ bump ^
 

please come back and finish up this question...


thanks,

rp / Flash Zone Advisor
0
Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

 
LVL 1

Author Comment

by:Anubis2005
ID: 24436802
Hello rp,

Sorry, I hadn't forgotten about it, I'm still in the process of reviewing the programs and options.  I'll get back shortly.

Thanks
Anubis.
0
 
LVL 22

Expert Comment

by:rascalpants
ID: 24442633
Thanks for following up.

rp / ZA
0
 
LVL 1

Author Comment

by:Anubis2005
ID: 24608269
Hello rp,

I have now attempted reviwing Sorensen twice, the first time it didn't run properly and just crashed the second time I finally got some encoding happening.

It seems to work good, but does appear slow compared to Xvid4psp additionally it can't convert directly from a DVD, so I need to combine the VOB's first then import to sorensen.

Am I correct or is there some other options in Sorensen I'm missing?

Thanks for your patience with this question.
Anubis
0
 
LVL 22

Accepted Solution

by:
rascalpants earned 500 total points
ID: 24612631
I am pretty sure you are write about not being able to convert directly from DVD... mainly because it is a commercial product, and that would be a feature that would have companies suing them...

Anyway...  I have not used Xvid4psp before, but I assume Sorenson is slower, because it delivers much better "pass" results...  quality takes time, unless you have Dual Quad Processors and more RAM than you know what to do with.


rp
0
 
LVL 1

Author Closing Comment

by:Anubis2005
ID: 31578952
Thanks to rascalpants for their input and persistance with my question :)
0

Featured Post

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Are you looking to clear some space on your phone for the latest iOS 8 update? Did you switch to Spotify so you no longer need to keep music native on your phone? Run out of space for taking photos while in the middle of vacation? Sometimes the quic…
Boost your ability to deliver ambitious and competitive web apps by choosing the right JavaScript framework to best suit your project’s needs.
Viewers will learn the basics of creating custom device Racks in Ableton Live. Place instrument(s) and effects onto a track, and select them all by holding the Shift key and clicking on the device title bars: Group them by typing Command-G (Ctrl-G…
The goal of the tutorial is to teach the user how to select which audio input to use. Once you have an audio input plugged into the laptop or computer, you will go into the audio input settings and choose which audio input you want to use.

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now