just thought i'd chip in my solution for making a compliation dvd (such as several episodes of a tv show)
this works for almost any file format but might not get 5.1 sound
if you have 10 or fewer tracks its simple
if you have 11-100 tracks theres one extra step
(one extra step for each 0 place value)
for <= 10 tracks name them track0.avi(mpg,flv,mov, whatever)-track9.whatever
for <= 100 mumber them track00.whatever - track99.whatever
and so on
then write the following bash script;
Code:
for ((x=0;x<=9;x+=1))
do
ffmpeg -i track$x.whatever -target dvd track$x.mpg
done
for 10 or fewer tracks, alter the <=9 to whatever the top numbered track is
or if you have betwwen 10-100 tracks it would look something like
Code:
for ((x=0;x<=9;x+=1))
do
ffmpeg -i track0$x.whatever -target dvd track0$.mpg
done
for ((x=10;x<=99;x+=1))
do
ffmpeg -i track$x.whatever -target dvd track$x.mpg
done
altering the <=99 number to the highest track number
in the unlikely event you have more then 100 tracks
Code:
for ((x=0;x<=9;x+=1))
do
ffmpeg -i track00$x.whatever -target dvd track00$.mpg
done
for ((x=10;x<=99;x+=1))
do
ffmpeg -i track0$x.whatever -target dvd track0$x.mpg
done
for ((x=100;x<=999;x+=1))
do
ffmpeg -i track$x.whatever -target dvd track$x.mpg
done
and change the <=999 to the highest number track you have
*yes that was redundant but some people like me want working code when they first are learning about something new*
now
if you did a whole season (or god forbid a whole series) of a tv show at once, chances are you have more then one disk full of information, now create folders (disc1-discX) X beign the number of disks it takes to separate all the mpg data to fit the disk size (i use 4.7GB media)
renaming the files track1 to track X.mpg (more then likely not going to be in the double digits on one cd but it shoudnt matter to use the extra place holder 0s here since you are going to define the order by hand in the next step
use this code from the answer
[code]
<dvdauthor dest="DVD">
<vmgm />
<titleset>
<titles>
<pgc>
<vob file="trackX.mpg" chapters="0,5:00,10:00,15:00,20:00;25:00"/>
</pgc>
</titles>
</titleset>
</dvdauthor>
[code]
make sure to repeat this part
Code:
<pgc>
<vob file="trackX.mpg" chapters="0,5:00,10:00,15:00,20:00;25:00"/>
</pgc>
for each .mpg file and edit the chapter times accordingly (the above example is 5 minute chapters for a 30 minute file)
and save one copy of in each disk (note this is why i said to renumber them track 1-track x for each disk so you dont have to edit this file each time unless one disk has fewer files then you simply remove the excess title entries
from there on out follow the instructions as is in the guide
god luck