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]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux