Re: Creating an Audio only DVD from several CD's

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

just to summarize the steps I followed (and so that there is no
misunderstanding) I have put up this little shellscript which takes as
argument the directory with all the wav files you'd like to put on the
DVD-Video and makes a DVD from that with some photo in jpeg format as
display. 

Gabriel 


#!/bin/bash
### Usage:
### make_music_dvd.sh DIRECTORY WITH WAVFILES

DISPLAYIMAGE=display.jpg
WAVDIR=$@

XMLSTRING=\
"<dvdauthor> 
<vmgm /> 
<titleset> 
<titles>
<pgc>"

for wav in $(ls $WAVDIR/*.wav); do FILE=$(echo $wav|sed s/"\.wav"//g);\
ffmpeg -loop_input -shortest -i $DISPLAYIMAGE -i $FILE.wav \
 -r 44100 -target pal-dvd -aspect 16:9 $FILE.mpg; \
XMLSTRING+="<vob file=\"$FILE.mpg\" />"; \
done

XMLSTRING+=\
"</pgc>
</titles>
</titleset>
</dvdauthor>"

echo $XMLSTRING > dvd.xml

rm -rf dvddir

dvdauthor -o dvddir -x dvd.xml

growisofs -Z /dev/sr0 -dvd-video dvddir/
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux