#1 Burning Software

It is currently Mon Dec 23, 2024 7:11 am

All times are UTC




Post new topic Reply to topic  [ 12 posts ] 
Author Message
 Post subject: Create a simple DVD-Video
PostPosted: Thu Dec 30, 2004 9:35 am 
Offline

Joined: Thu Dec 30, 2004 9:31 am
Posts: 2
I'm trying to figure out the simplest way to create a DVD. The DVD would be nothing fancy, just a bunch of captured video clips. Any help would be greatly appreciated.

The ideal solution would look like this:

- I have a bunch MPEG2 clips in a directory.

- I start a script (or simple program) that results in a DVD with all the clips included.

- Being able to specify a title for the DVD and chapter titles would be nice but not necessary.

What I would ideally like to do is to be able to tell someone to load a blank DVD and then start this program (or script). When it's done, they eject the DVD and go on their merry way.

The idea is a simple one step process to dump all the clips to DVD without requiring someone to manually author the DVD. If there's one product that can do this that's great. Alternatively it could be a series of applications that can be strung together to accomplish the same thing.

I'm also open to writing my own custom application. Can I use the StarBurn SDK to accomplish this?

Thanks


Top
 Profile  
 
 Post subject: Re: Create a simple DVD-Video
PostPosted: Thu Dec 30, 2004 10:06 am 
Offline

Joined: Mon May 31, 2004 6:22 am
Posts: 134
Hi,

cutaway wrote:
I'm trying to figure out the simplest way to create a DVD. The DVD would be nothing fancy, just a bunch of captured video clips. I'm also open to writing my own custom application. Can I use the StarBurn SDK to accomplish this?


I recommend you to use StarBurnX (http://www.rocketdivision.com/downloads/StarBurnX.zip). It's a COM-wrapper of StarBurn SDK.
There is a sample of DVD-Video building application.
Of course, you can use some scripts like the following:
Code:
function CreateImage()
{
  var Image = new ActiveXObject( "StarBurnX.DVDVideoImage" );
  Image.AddFile("c:\\vob\\VIDEO_TS.VOB");
  Image.AddFile("c:\\vob\\VIDEO_TS.IFO");
  Image.AddFile("c:\\vob\\VIDEO_TS.BUP");
  Image.AddFile("c:\\vob\\VTS_01_1.VOB");
  Image.Build("EASY TRIBUTE CREATOR 2005",false); 
  return Image;   
}
var x=CreateImage();
var c = new ActiveXObject( "StarBurnX.SimpleCallback" );
x.SaveImageToFile("c:\\111.iso",c);
WScript.Echo('Saved!');


Top
 Profile  
 
 Post subject:
PostPosted: Thu Dec 30, 2004 6:27 pm 
Offline

Joined: Thu Dec 30, 2004 9:31 am
Posts: 2
Thank you for the quick reply. The StarBurnX code you posted looks like a simple way to create the iso image.

How do I create the VOB, IFO, BUP files? Does StarBurn SDK provide that capability?

Once the iso image is created, can StarBurn SDK burn it to a DVD?

Thanks again


Top
 Profile  
 
 Post subject:
PostPosted: Thu Dec 30, 2004 9:03 pm 
Offline

Joined: Mon May 31, 2004 6:22 am
Posts: 134
Hi,

cutaway wrote:
Thank you for the quick reply. The StarBurnX code you posted looks like a simple way to create the iso image.


ISO - it's only extension. In our case it contains ISO9660/UDF1.02 bridge filesystem which alse called DVD-Video filesystem.

cutaway wrote:
How do I create the VOB, IFO, BUP files? Does StarBurn SDK provide that capability?


VOB - it's your MPEG2 video files. Creation of IFO/BUP files is not supported by StarBurn SDK.

cutaway wrote:
Once the iso image is created, can StarBurn SDK burn it to a DVD?


Yes, you may do it by to way:
1. Create the ISO-image and then burn it with Device.TrackAtOnceFromFile
2. Use Device.TrackAtOnceFromHandle to burn filesystem data without temporary ISO-file.

Regards,
Alexey


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jan 11, 2005 3:47 pm 
Offline

Joined: Tue Jan 11, 2005 2:59 pm
Posts: 18
If I do Create a simple Video-DVD like Following code:

function CreateImage()
{
var Image = new ActiveXObject( "StarBurnX.DVDVideoImage" );
Image.AddFile("c:\\vob\\VIDEO_TS.VOB");
Image.AddFile("c:\\vob\\VIDEO_TS.IFO");
Image.AddFile("c:\\vob\\VIDEO_TS.BUP");
Image.AddFile("c:\\vob\\VTS_01_1.VOB");

Image.Build("EASY TRIBUTE CREATOR 2005",false);
return Image;
}
var x=CreateImage();
var c = new ActiveXObject( "StarBurnX.SimpleCallback" );
x.SaveImageToFile("c:\\111.iso",c);
WScript.Echo('Saved!');

In the Result DVD or ISO File
Could StarBurn auto create 'VIDEO_TS' and 'AUDIO_TS' folder?
And save VIDEO_TS.VOB, VIDEO_TS.IFO... in 'VIDEO_TS' Folder?

How Can I do it with COM_WRAPPER?
The Demo StarBurnX Only Add File ,How to Add Folder(like D:\DVD\AUDIO_TS and D:\DVD\VIDEO_TS)?

Thank you very much.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jan 11, 2005 8:56 pm 
Offline
Site Admin

Joined: Fri Jun 18, 2004 12:03 am
Posts: 4089
Location: British Virgin Islands
What data do you have as input for your DVD-Video title? I mean do you just need us to master already prepared DVD-Video authorized content or you just have bunch of MPEG2 video files and AC3 audio files and some menues in XML and BMP you'd like to author and only then master?

oldsheep35 wrote:
If I do Create a simple Video-DVD like Following code:

function CreateImage()
{
var Image = new ActiveXObject( "StarBurnX.DVDVideoImage" );
Image.AddFile("c:\\vob\\VIDEO_TS.VOB");
Image.AddFile("c:\\vob\\VIDEO_TS.IFO");
Image.AddFile("c:\\vob\\VIDEO_TS.BUP");
Image.AddFile("c:\\vob\\VTS_01_1.VOB");

Image.Build("EASY TRIBUTE CREATOR 2005",false);
return Image;
}
var x=CreateImage();
var c = new ActiveXObject( "StarBurnX.SimpleCallback" );
x.SaveImageToFile("c:\\111.iso",c);
WScript.Echo('Saved!');

In the Result DVD or ISO File
Could StarBurn auto create 'VIDEO_TS' and 'AUDIO_TS' folder?
And save VIDEO_TS.VOB, VIDEO_TS.IFO... in 'VIDEO_TS' Folder?

How Can I do it with COM_WRAPPER?
The Demo StarBurnX Only Add File ,How to Add Folder(like D:\DVD\AUDIO_TS and D:\DVD\VIDEO_TS)?

Thank you very much.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jan 12, 2005 12:26 am 
Offline

Joined: Tue Jan 11, 2005 2:59 pm
Posts: 18
Thank you for your so quick reply.
Before Burn Files,I have create All DVD Video file and DVD Audio file with my own dvd author.
For example,I have create D:\DVDOutput Folder :
DVDOUTPUT
|__AUDIO_TS
| |....
|
|__VIDEO_TS
|
|_VIDEO_TS.VOB
|_VIDEO_TS.IFO
|.....
Now, This Folder can Play with PowerDVD or Other DVD Player.
I will burn DVDOUTPUT folder with all subfolder and all files.
How can I "Add Folder" ?
anton (staff) wrote:
What data do you have as input for your DVD-Video title? I mean do you just need us to master already prepared DVD-Video authorized content or you just have bunch of MPEG2 video files and AC3 audio files and some menues in XML and BMP you'd like to author and only then master?

oldsheep35 wrote:
If I do Create a simple Video-DVD like Following code:

function CreateImage()
{
var Image = new ActiveXObject( "StarBurnX.DVDVideoImage" );
Image.AddFile("c:\\vob\\VIDEO_TS.VOB");
Image.AddFile("c:\\vob\\VIDEO_TS.IFO");
Image.AddFile("c:\\vob\\VIDEO_TS.BUP");
Image.AddFile("c:\\vob\\VTS_01_1.VOB");

Image.Build("EASY TRIBUTE CREATOR 2005",false);
return Image;
}
var x=CreateImage();
var c = new ActiveXObject( "StarBurnX.SimpleCallback" );
x.SaveImageToFile("c:\\111.iso",c);
WScript.Echo('Saved!');

In the Result DVD or ISO File
Could StarBurn auto create 'VIDEO_TS' and 'AUDIO_TS' folder?
And save VIDEO_TS.VOB, VIDEO_TS.IFO... in 'VIDEO_TS' Folder?

How Can I do it with COM_WRAPPER?
The Demo StarBurnX Only Add File ,How to Add Folder(like D:\DVD\AUDIO_TS and D:\DVD\VIDEO_TS)?

Thank you very much.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jan 12, 2005 3:12 am 
Offline

Joined: Tue Jan 11, 2005 2:59 pm
Posts: 18
Sorry.
Demo StarBurnX is OK.
I have test it.
But StarBurn SDK Help is so Poor in COM Wrapper.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jan 12, 2005 6:27 am 
I have a question With DVDImage.SaveImageToFile(filename.StarBurnCallBack)

How can i show StarBurnCallBack's Percent in my form's progressbar?

Pass Device.Callback in the second param of SaveImagetoFile????

Could you give me a short demo code?

Somebody Who have demo code in delphi like StarBurnX?

Sorry, My English is so poor.


Top
  
 
 Post subject:
PostPosted: Wed Jan 12, 2005 8:19 am 
Offline

Joined: Mon May 31, 2004 6:22 am
Posts: 134
Anonymous wrote:
I have a question With DVDImage.SaveImageToFile(filename.StarBurnCallBack)
How can i show StarBurnCallBack's Percent in my form's progressbar?
Pass Device.Callback in the second param of SaveImagetoFile????
Could you give me a short demo code?
Somebody Who have demo code in delphi like StarBurnX?
Sorry, My English is so poor.


There two ways:
1. You should implement IStarBurnCallBack interface and pass it as second parameter to DVDImage.SaveImageToFile. This function will call your handler of function ProgressCallBack.
Code:
   public class CallBack : StarBurnX.IStarBurnCallBack
   {
      private Form1 m_frmObject;
      private int LastPercentWritten;

      public CallBack(Form1 frmObject)
      {
         m_frmObject = frmObject;
         LastPercentWritten = 0;
      }
      public void ProgressCallBack(int Percent)
      {
         if (LastPercentWritten != Percent)
         {
            m_frmObject.ShowProgress(Percent);
            LastPercentWritten = Percent;
         }         
      }
   }


2. You can also to create an object StarBurnX.SimpleCallback and to pass it as second parameter. Then in other thread you can access to the Percent property.
Code:
var c = new ActiveXObject( "StarBurnX.SimpleCallback" );
x.SaveImageToFile("c:\\111.iso",c);


Think it will help you.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jan 12, 2005 8:49 am 
But it is not in Delphi!


Top
  
 
 Post subject:
PostPosted: Wed Jan 12, 2005 9:05 am 
Offline
Site Admin

Joined: Fri Jun 18, 2004 12:03 am
Posts: 4089
Location: British Virgin Islands
Primary target is C/C++ that's why all of the demos appear for C/C++ initially and only get ported to Delphi. Hold on, we'll try to find some sample for this.

guest wrote:
But it is not in Delphi!


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

All times are UTC


Who is online

Users browsing this forum: No registered users and 2 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:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group