Solved

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

Posted on 2009-05-07
13
347 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
Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

 
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
 
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

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Although it can be difficult to imagine, someday your child will have a career of his or her own. He or she will likely start a family, buy a home and start having their own children. So, while being a kid is still extremely important, it’s also …
Developer portfolios can be a bit of an enigma—how do you present yourself to employers without burying them in lines of code?  A modern portfolio is more than just work samples, it’s also a statement of how you work.
The goal of the tutorial is to teach the user how to set there setting in Adobe Flash Media Live Encoder and YouTube for optimal video and audio quality.
The goal of the tutorial is to teach the user what frame rate is, how to control it and what effect it has on the video.

821 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