Taperssection.com

Gear / Technical Help => Post-Processing, Computer / Streaming / Internet Devices & Related Activity => Topic started by: sleepypedro on October 19, 2005, 11:58:45 PM

Title: DVD-A conversion batch scripts?
Post by: sleepypedro on October 19, 2005, 11:58:45 PM
has anybody tried this package of batch scripts?  a friend just turned me onto it yesterday, i'm running my first test right now.
it's a front end script for dvda-author-20050703 and cdrtools-2.01.01a01-win32-bin

http://home.comcast.net/~adobeman/DVDA/DVDA.zip
 
Unzip it so the dvda dir is at the root of any drive.
Edit the setevn.bat file to point to your dvda dir drive and set the drive for a temp drive as well.
copy the 16bit or 24bit wav's to group1 dir and then click on the makedvda.bat
 
this will create the dvda.iso that you can burn to a dvd-r
 
Title: Re: DVD-A conversion batch scripts?
Post by: scb on October 20, 2005, 07:43:58 AM
if you had a mac, you could use the nice pretty graphical front end :)
Title: Re: DVD-A conversion batch scripts?
Post by: scb on October 20, 2005, 01:25:04 PM
i was referring to the dvd-a app i sent you last week
Title: Re: DVD-A conversion batch scripts?
Post by: sleepypedro on October 21, 2005, 12:44:42 PM
maybe i spoke a little too soon:  the scripts aren't working for me.  at least, i don't think they are.

i've been running a process to convert 82 minutes of 24/96 audio to a dvd-a .iso image, and we're coming up on 24 hours later and it's still not done.  the processor (an AMD 3200, fyi) is running at 100% utilization for the entire process, so it is chewing on data apparently, but... wtf?  it's working on two ATA/133 disks, 768 MB of ram, all fairly modern hardware so i'm really stumped.

moke, did you have any luck with it?
Title: Re: DVD-A conversion batch scripts?
Post by: sleepypedro on October 21, 2005, 01:05:25 PM
you don't have to feed it raw .wav files?  it can process .flac?  interesting.

or are you just saying to take the original wavs, convert to flac (which would remove the header information), and then extract to wav (presumably cleaner than they'd been previously).
Title: Re: DVD-A conversion batch scripts?
Post by: sleepypedro on October 21, 2005, 01:57:45 PM
It converts flac to the necessary information for creating the iso-image (image.iso ?). It doesn't like wav files so much.
Converting to flac first has been flawless for me.

that's great to know.

i even read the documentation too, and i don't remember any reference to flac support.  cool!  +T to you for the assist.

(and yes, i'm proud of you hanging out in the Computer Recording Help forum!   ;D  )
Title: Re: DVD-A conversion batch scripts?
Post by: scb on October 21, 2005, 02:54:01 PM
moke was talking about mac GUI for it, but it should be the same :)

the dvda-author tool works better from flac than wav.  certain wav file headers throw it off, but it'll always work from wav. 

but as for the scripts you're using, i'm not sure what's going on there.  maybe something in those scripts is hanging your machine up
Title: Re: DVD-A conversion batch scripts?
Post by: Ed. on October 26, 2005, 07:36:37 AM
hey peter, i downloaded your ween 24/96 show and i'm trying to use the make_dvd.bat in it, but when i click on it, the window pops up for a second and then its gone.  and no where does it make an iso file?

any ideas?
Title: Re: DVD-A conversion batch scripts?
Post by: sleepypedro on October 26, 2005, 09:05:45 AM
hey peter, i downloaded your ween 24/96 show and i'm trying to use the make_dvd.bat in it, but when i click on it, the window pops up for a second and then its gone.  and no where does it make an iso file?

any ideas?

works like a charm for me, ed.  i just tested it here at work on a single file from that set and it performs exactly as it should.

provided it works, the dvd-a_image.iso file is created within the main folder.

what OS are you on?  both my test environments were XP pro.  you might want to do what i did and just step through the process manually and figure out what's going on.

my script is phenomenally simple -- i'm sure the batch file set that i mentioned in the first post of this thread accomplishes worlds more, but my little two-line wonder does everything i'd ever need it to do


::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
::*  make_dvd-a
::*  version 0.01
::* 
::*  a very simple script to create dvd-a .iso images from your FLACs
::* 
::*  brought to you by peter w. king (sleepypedro_at_yahoo.com)
::*  in the early morning hours of
::*  10/24/2005
::* 
::* 
::*  http://dvd-audio.sourceforge.net/ -- read more about it
::*  http://dvd-audio.sourceforge.net/alpha/ -- download the latest dvda-author here
::* 
::* 
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

::*  USAGE INSTRUCTIONS:
::*  simply copy this .bat file and the corresponding /make_dvd-a subfolder
::*  into any folder with FLAC files you'd like to make a DVD-a image of.
::*  double-click on make_dvd-a.bat.  wait a few minutes.  that's IT.
::*  then just burn the resulting dvd-a_image.iso with your favorite
::*  dvd-burning program!
::*

%cd%\make_dvd-a\dvda-author -o DVD -g *.flac
%cd%\make_dvd-a\mkisofs -o dvd-a_image.iso -sort %cd%\make_dvd-a\sort.txt  -udf DVD
Title: Re: DVD-A conversion batch scripts?
Post by: Ed. on October 26, 2005, 09:26:36 AM
well, i'm doing something wrong somewhere.

i'm running xp pro as well, but don't know whats up.  the little command prompt screen flashes on my screen and then is gone, so i can't even see what its saying.

right now, in a folder i have the /make_dvd-a subfolder, one flac, and the .bat file in one folder.  i click the .bat file and nothing.

should i be processing the .bat file with anything specific?
Title: Re: DVD-A conversion batch scripts?
Post by: sleepypedro on October 26, 2005, 10:01:16 AM
well, i'm doing something wrong somewhere.

i'm running xp pro as well, but don't know whats up.  the little command prompt screen flashes on my screen and then is gone, so i can't even see what its saying.

right now, in a folder i have the /make_dvd-a subfolder, one flac, and the .bat file in one folder.  i click the .bat file and nothing.

should i be processing the .bat file with anything specific?

nope, in all my tests it works fine just double-clicking on the .bat.

do this:  open a command window in the actual folder, eg
c:\ween_050716_mk4v.flac24 or whatever

and then run the script manually within the shell.  that'll stay open after the batch runs or fails, and it'll also tell you what went wrong!  let me know and i'll see if i can't make sense of it.

open note to anyone else reading this:  can you download the same fileset and give it a try as well?  thanks.
Title: Re: DVD-A conversion batch scripts?
Post by: Ed. on October 26, 2005, 10:24:45 AM
d'oh, i got it.

gotta have the ween folder in the c:\ directory, not in any other folders.

this'll work for any flac files i want to make into a dvd-a?  are there skips between tracks at all?

+t for making my life a helluva lot easier.
Title: Re: DVD-A conversion batch scripts?
Post by: Ed. on October 26, 2005, 10:34:42 AM
ok, one more dumb question.

how much audio can you fit on one dvd time wise?  seems like i should be able to get a little over 2 hours on one disc, right?
Title: Re: DVD-A conversion batch scripts?
Post by: pfife on October 26, 2005, 11:07:27 AM
Sleepy, this looks pretty awesome man!  I'm gonna give this a shot when I get home from work later, but I have a couple questions in the meantime...

a) will this work with any sample rate on the input files?   As you fully know, the R-1 is 44.1 - do I have to upsample to 48 before running this process?

b) how does the program know/sort the input files to make sure they are in the correct order in the .iso?  Is there a specific file-naming convention that needs to be followed?

This is the shiznits man!  +T
Title: Re: DVD-A conversion batch scripts?
Post by: sleepypedro on October 26, 2005, 11:17:58 AM
gotta have the ween folder in the c:\ directory, not in any other folders

actually not true --

%cd%\make_dvd-a\dvda-author -o DVD -g *.flac

the %cd% part of the code above is a windows environment variable, returning whatever the Current Directory is, so even if it's nested in /blah/blah/blah/timbuktu it should still work.  (i just tested it, and it does)

if you want to email me privately, we can try to figure out what's going on with your situation.  but it is good to know that you got it working when the folder is at the root of the volume.

this'll work for any flac files i want to make into a dvd-a?  are there skips between tracks at all?

no idea about skips between tracks, i actually have no dvd-a playback equipment at all!  there's not even a software player currently, so... i'm in the dark.  sent a friend home with a test disk last night and he said it mounted and played fine, but i didn't ask him specifically about gaps between tracks. 

and yeah, it should work for any flac files you feed it!
Title: Re: DVD-A conversion batch scripts?
Post by: scb on October 26, 2005, 11:18:23 AM
ok, one more dumb question.

how much audio can you fit on one dvd time wise?  seems like i should be able to get a little over 2 hours on one disc, right?

all depends on the sample rate. 
Title: Re: DVD-A conversion batch scripts?
Post by: scb on October 26, 2005, 11:19:44 AM
no gaps

Title: Re: DVD-A conversion batch scripts?
Post by: sleepypedro on October 26, 2005, 11:31:06 AM
Sleepy, this looks pretty awesome man!  I'm gonna give this a shot when I get home from work later, but I have a couple questions in the meantime...

a) will this work with any sample rate on the input files?   As you fully know, the R-1 is 44.1 - do I have to upsample to 48 before running this process?

b) how does the program know/sort the input files to make sure they are in the correct order in the .iso?  Is there a specific file-naming convention that needs to be followed?

This is the shiznits man!  +T


good questions!  i've only fed it 24/96 files so far -- and lacking a software playback tool, i really don't know how it would treat 44.1 files.  (i've got an r1 as well, so this is probably something i'll be concerned with Real Soon Now also.)  best i can do is ask you to try it tonight and see how it behaves?  :-)

as for naming conventions, i'd make sure the files are named sequentially, eg t01.wav, t02.wav, t03.wav etc.  OR  ween_0501716_t01.wav, ween_0501716_t02.wav, ween_0501716_t03.wav.

and look, before this thread goes any further i just want to make sure people know i have nothing to do with the development of the binaries that actually prepare the .iso image, all i did was write a little winky two line batch file because i couldn't get someone else's batch file to work for me as documented earlier in the thread!  all thanks and praises belong to the guy who develops the dvd-audio project, and to scott brown for putting me on the right track!

but yeah, if this works for folks, i'd love to see the means to create a dvd-a .iso image contained within 24/96 filesets we seed out.  might as well make it simple for folks and take the learning curve out of the equation entirely!   ;D

http://dvd-audio.sourceforge.net/

Title: Re: DVD-A conversion batch scripts?
Post by: scb on October 26, 2005, 11:37:53 AM
it'll handle 44.1 fine.  it does all dvd-a rates, which are 44.1, 48, 88.2, 96, 176.4 and 192

maybe i'll try to whip up a windows GUI tonight.  it'll have to be simple 1 group for now, not all 9 groups like the mac GUI does
Title: Re: DVD-A conversion batch scripts?
Post by: pfife on October 26, 2005, 11:40:30 AM
Nice.  You guys rule.  I wish I had 1/200th the skill you guys have.
Title: Re: DVD-A conversion batch scripts?
Post by: Ed. on October 26, 2005, 11:50:04 AM
gotta have the ween folder in the c:\ directory, not in any other folders

actually not true --

%cd%\make_dvd-a\dvda-author -o DVD -g *.flac

the %cd% part of the code above is a windows environment variable, returning whatever the Current Directory is, so even if it's nested in /blah/blah/blah/timbuktu it should still work.  (i just tested it, and it does)

if you want to email me privately, we can try to figure out what's going on with your situation.  but it is good to know that you got it working when the folder is at the root of the volume.

i'll see what happens when i try it on my desktop, i was just doing it on my lappy that i have with me at work.  once, i get out of work, i'll have more time to diagnose the problems.  honestly tho, i don't mind moving the folder over to the root if i can't figure it out.

all depends on the sample rate. 

i'm too lazy to look but i thought 24/96 was 2gb's an hour roughly, thats kinda what i was going on, so i shoudl be able to get a little over 2 hours for a 24/96 disc, right?  more hours for a lower sample rate.  woot!


as for naming conventions, i'd make sure the files are named sequentially, eg t01.wav, t02.wav, t03.wav etc.  OR  ween_0501716_t01.wav, ween_0501716_t02.wav, ween_0501716_t03.wav.


sweet, i was kind of assuming that as long as they were sequential all would be good.

i'm going to burn the ween show once i get home and see what happens with the gaps, but i'll believe scott for the time being and assume that its gapless.

it'll handle 44.1 fine.  it does all dvd-a rates, which are 44.1, 48, 88.2, 96, 176.4 and 192

maybe i'll try to whip up a windows GUI tonight.  it'll have to be simple 1 group for now, not all 9 groups like the mac GUI does

nice, a windows gui will probably make this a pretty hot program in the upcoming months with everyone going from 16 > 24 lately.

awesome job guys, makes burning a dvda really easy.  +t's to all involved.
Title: Re: DVD-A conversion GUI For Windows
Post by: scb on October 26, 2005, 10:37:42 PM
any windows users want to be my guinea pig?

http://199.224.117.240/~scb/DVD-Audiofile0.1win.zip

written on my mac (took a bit to get the windows details worked out on the mac), compiled on my work windows machine via vpn and remote desktop.  it worked on that machine

drop files onto the file list.  it'll sort them by filename and they'll be in that order on the disc.   tell it to make an image, tell with directory to make the image in.  it'll author the disc into a DVD folder and then make the image.iso. 

1. i hope it works
2. if it does, it's a VERY early version.  the mac version has all 9 groups and tells the user how long the audio is and how much space it'll take up (so you know what can fit on the disc).  if this works, i'll add that to this sometime

Title: Re: DVD-A conversion batch scripts?
Post by: pfife on October 26, 2005, 11:24:20 PM
OK, I'll test it, but it'll have to be tomorrow.  I wasn't able to get the other one to work, but I think it was becuase of my stupidity, not becuase of the program.  For that process, the input files had to be flacs (it would stop because the "flac decoder" couldn't find *.flac), but when I tried to use FLAC frontend to encode my 24/44.1 files, it wouldn't work.  Do I need to download something in order to be able to encode 24/44.1 into FLACs?

Since I was stuck with this route, I did get one to work using Wavelab.  Although, this process seems much more streamlined (especially if the input file can be .wavs), so I'd like to contribute any assistance w/ testing...
Title: Re: DVD-A conversion batch scripts?
Post by: Ed. on October 27, 2005, 10:20:26 AM
i got the other one to work with peter's ween files, now i'm trying scott's with the skalinder's 24bit mmj.  everything seems to be working right now when its making the .iso file.  i won't have time to burn it tho cuz i have to go to work, but i'll try that this afternoon when i get home.

the ween dvd-a i made is playing perfectly tho, no gaps no problems.
Title: Re: DVD-A conversion batch scripts?
Post by: scb on October 27, 2005, 10:30:26 AM
http://199.224.117.240/~scb/DVD-Audiofile0.2win.zip
Title: Re: DVD-A conversion batch scripts?
Post by: Ed. on October 27, 2005, 11:46:23 AM
http://199.224.117.240/~scb/DVD-Audiofile0.2win.zip

whats the difference between this one and the first one?
Title: Re: DVD-A conversion batch scripts?
Post by: scb on October 27, 2005, 12:20:43 PM
just progress bars and status
Title: Re: DVD-A conversion batch scripts?
Post by: Ed. on October 27, 2005, 12:26:34 PM
awesome, i was going to recommend a status bar.

as soon as i get out of work at 3:30, i'll try burning the iso and see what happens.  but i'm sure it'll work like a charm.  thanks for the GUI scott, i wish i had skills to do that stuff.  +t again.
Title: Re: DVD-A conversion batch scripts?
Post by: BJ on October 27, 2005, 01:46:08 PM
Scott, what are you doing this in?  java?  c?  just wondering!  im going to try this out when i get home from Denver.....NICE...the dvd-a instead of the video-dvd's would be great....not sure if there is any actual sound difference?? but just having the dvd-a's would make me feel better  ;D ;D
Title: Re: DVD-A conversion batch scripts?
Post by: scb on October 27, 2005, 03:06:42 PM
my boss is going to kill me for nto doing real work

http://199.224.117.240/~scb/DVD-Audiofile0.3win.zip


written in java
Title: Re: DVD-A conversion batch scripts?
Post by: Ed. on October 27, 2005, 03:30:30 PM
i haven't even downloaded .2 yet, now theres a .3  - you're out of control man, get to work!
Title: Re: DVD-A conversion batch scripts?
Post by: sleepypedro on November 04, 2005, 09:36:51 AM
well, i'm doing something wrong somewhere.

i'm running xp pro as well, but don't know whats up.  the little command prompt screen flashes on my screen and then is gone, so i can't even see what its saying.

right now, in a folder i have the /make_dvd-a subfolder, one flac, and the .bat file in one folder.  i click the .bat file and nothing.

should i be processing the .bat file with anything specific?

for the record, i pieced together what was happening to Ed here:  the script chokes on filepaths that have spaces.  I'm in the habit of using underscores in my directory names, but if you're like microsoft and like to name folders things like "Program Files" you're SOL for now.... or you could just use scott brown's bitchen GUI.  :-)
Title: Re: DVD-A conversion batch scripts?
Post by: scb on November 04, 2005, 09:46:05 AM
i'm off today so i might make the 9 groups work
Title: Re: DVD-A conversion batch scripts?
Post by: nickgregory on November 04, 2005, 09:48:23 AM
i'm off today so i might make the 9 groups work

you need a hobby :P


seriously, thanks...this is nice to have!
Title: Re: DVD-A conversion batch scripts?
Post by: scb on November 04, 2005, 10:19:07 AM
i guess i'm a total dork if this is one of my hobbies, huh? :)
Title: Re: DVD-A conversion batch scripts?
Post by: nickgregory on November 04, 2005, 10:20:26 AM
i guess i'm a total dork if this is one of my hobbies, huh? :)

no, no, not at all...at least not until I get the final output :P

and dont worry, not saying much coming from a guy who has dork hobbies himself
Title: Re: DVD-A conversion batch scripts?
Post by: BJ on November 04, 2005, 10:56:13 AM
i'm off today so i might make the 9 groups work

i dont know enough about dvd-a...what are groups?
Title: Re: DVD-A conversion batch scripts?
Post by: scb on November 04, 2005, 11:15:19 AM
http://www.deluxemedia.com/support/dvdtech/dvdaudio/dvdaud_spec.xml
Title: Re: DVD-A conversion batch scripts?
Post by: Ed. on November 04, 2005, 12:22:03 PM
way to go scott, i'm anxiously awaiting the next installment.

now i just need peter to release his 24bit halloWEEN show :P

+t guys
Title: Re: DVD-A conversion batch scripts?
Post by: BJ on November 04, 2005, 12:23:28 PM
http://www.deluxemedia.com/support/dvdtech/dvdaudio/dvdaud_spec.xml

thnx...

follow up question for the dvd-a dumbass(es?)

if you do group them...does it just automatically play the next group?  how can you get menues into this with the batch?  sorry ...im just dumb on this subject...btw...very nice work...i havent d/l it yet..but will soon!

bj
Title: Re: DVD-A conversion batch scripts?
Post by: BJ on November 04, 2005, 02:44:24 PM
thats what I meant to ask, ehh! ^^
(no on out dumbasses me, damnit!!)

 ;D ;D  you may have met your match on this one!
Title: Re: DVD-A conversion batch scripts?
Post by: scb on November 04, 2005, 07:03:00 PM
all 9 groups.  i think it works, but i didn't really have a windows machine to try on.

http://199.224.117.240/~scb/index.php?path=dvd-audiofile
Title: Re: DVD-A conversion batch scripts?
Post by: BobW on November 06, 2005, 09:11:37 PM
all 9 groups.  i think it works, but i didn't really have a windows machine to try on.

http://199.224.117.240/~scb/index.php?path=dvd-audiofile

Would be happy to give it a whirl, but...

(http://img.photobucket.com/albums/v114/bobw1/Missing_File.png)

What version of Java is it compatible with ?

BTW, +T yet again !  And another in 12 for the trade.  I'll be taping for a few months to square up with you !
Title: Re: DVD-A conversion batch scripts?
Post by: scb on November 07, 2005, 07:20:11 AM
your browser is doing something funky.  it's right there at

http://199.224.117.240/~scb/dvd-audiofile/DVD-Audiofile0.4win.zip


i think it'll work on java 1.3 or higher

(not sure why clicking the link from http://199.224.117.240/~scb/index.php?path=dvd-audiofile/ didn't work...works for me)