Creation of a DVD from my photos
Brian Millett
bmillett at gmail.com
Wed Feb 20 21:50:07 UTC 2008
Robin Laing escribío:
> Mikkel L. Ellertson wrote:
>> Antonio M wrote:
>>> First time with this problem.
>>> If I have my pictures, a buch of ogg files for music, which is the
>>> tool to create a DVD???
>>>
>>> I have already given a short trial to dvd-slideshow but I get:
>>>
>>> Input #0, wav, from
>>> '/home/antonio/fotografie/dvd-slideshow_temp_18471/audio1.wav':
>>> Duration: 00:02:05.0, bitrate: 1536 kb/s
>>> Stream #0.0: Audio: pcm_s16le, 48000 Hz, stereo, 1536 kb/s
>>> WARNING: The bitrate parameter is set too low. It takes bits/s as
>>> argument, not kbits/s
>>> Output #0, ac3, to
>>> '/home/antonio/fotografie/dvd-slideshow_temp_18471/audio1.ac3':
>>> Stream #0.0: Audio: ac3, 48000 Hz, 5:1, 0 kb/s
>>> Stream mapping:
>>> Stream #0.0 -> #0.0
>>> Error while opening codec for output stream #0.0 - maybe incorrect
>>> parameters such as bit_rate, rate, width or height
>>>
>>> I suppose that something is wrong in ffmep settings but I have no idea
>>> what to do (furthermore ffmep is not standard in fedora!!!)
>>>
>>> Any help???
>>>
>> Try using the -mp2 option for the audio. You can create a
>> .dvd-slideshow directory in your home directory with a dvd-slideshowrc
>> configuration file in it. I have in mine:
>>
>> debug=0
>> ac3=0
>>
>> You may want to look at Slideshow Creator. It is a GUI front end for
>> DVD-Slideshow. I have used it to create DVD slideshows with music. It
>> does not support all the different transitions from one slide to
>> another that DVD-Slideshow does, but you can edit the text file it
>> create to change the transition type.
>>
>> http://slcreator.sourceforge.net/
>>
>> Mikkel
>>
>
> Sorry for the late response. To busy outside work and at work.
>
> I found and used dir2slideshow to create DVDs from photos.
>
> This is the procedure that I use.
>
> 1. Make sure pictures are complete and in one directory in the order
> wanted.
>
> 2. dir2slideshow
> dir2slideshow [-o <output directory>] [-t <Seconds per picture>] [-c
> <Crossfade seconds>] -n <Slideshow name> [-T] [-M] [-s subtitle_text]
> [-notitle] <Images directory>
>
> > dir2slideshow -n 'Complete example' -t 5 my_pictures
>
> 3. dvd-slideshow
> dvd-slideshow [-n <slideshow name>] [-o <output directory>] [-b
> <background jpeg>] [-a <audiofile1> -a <audiofile2> -a <audiofileN>]
> [-p] [-L] [-H] [-mp2][-r] [-smp] [-border <bordersize>] [-theme
> <themename>] [-f] <input text file>
>
> > dvd-slideshow -n 'test complete' -f Complete_example.txt -a
> 'strojovna_07-TEXEMPO-30s.ogg'
>
> 4. Test the created *.vob file that was created with dvd-slideshow.
> I use mplayer for this.
>
> 5. For a simple DVD, use dvd-menu to create a simple menu to start with.
>
> 6. dvd-menu
> dvd-menu -t <ButtonText1> ... -t <ButtonTextN> -f <XML_file1 |
> MPEG_file1> ... -f <XML_fileN | MPEG_fileN> [-o <output directory>] [-n
> <DVD Title>] [-b <background jpeg>] [-e <embed image>] [-a <audiofile>]
> [-p] [-c] [-D] [-W] [-mp2] [-iso] [-nomenu] [-L]
>
> > dvd-menu -t 'My example' -t 'Slideshow 2' -f test_complete.xml -f
> test_complete.xml -n 'Complete Example DVD'
>
> 7. Test the final DVD structure for full operation.
> I use mplayer or xine to test this.
>
> 8. If you wish, you can create a DATA directory for your original
> pictures in the created dvd_fs directory. I do this if there is enough
> space to give to others.
>
> > ls -F AUDIO_TS/ Data/ VIDEO_TS/
>
> 9. Create ISO
> > mkisofs -dvd-video -udf -o dvd.iso dvd_fs
>
> 10. Burn DVD
>
> > dvdrecord -v -eject -dao speed=4 dev=0,1,0 dvd.iso
>
>
>
I ran into Antonio's problem. Found that the audio_bitrate was incorrect. The
dvd-slideshow file had the rates at line number 4004 (+-) as
audio_bitrate=224
and
audio_bitrate=128
and
audio_bitrate=192
I changed them to have the correct values in k, then it work correctly.
--- dvd-slideshow 2008-02-20 15:48:35.000000000 -0600
+++ /usr/bin/dvd-slideshow 2008-02-20 11:17:02.000000000 -0600
@@ -3986,7 +3986,7 @@
# setup audio parameters
if [ "$vcd" -eq 1 ] ; then
ac3=0 # force mp2
- audio_bitrate=224
+ audio_bitrate='224k'
video_bitrate='1152'
audio_sample_rate=44100
mplex_type=1
@@ -3994,14 +3994,14 @@
mpeg2enc_params="-v 0 -4 2 -2 1 -H -b 1150 -n n -s -f $mplex_type"
elif [ "$svcd" -eq 1 ] ; then
ac3=0 # force mp2
- audio_bitrate=128
+ audio_bitrate='128k'
video_bitrate='4500'
audio_sample_rate=44100
mplex_type=4
aspect_ratio="4:3"
mpeg2enc_params="-v 0 -4 2 -2 1 -H -b 2500 -n n -s -f $mplex_type"
else
- audio_bitrate=192
+ audio_bitrate='192k'
video_bitrate='3800'
audio_sample_rate=48000
mplex_type=8
--
Brian Millett - [ Delenn (to Teronn), "A Distant Star"]
"Understanding is not required. Only obedience."
More information about the users
mailing list