views:

137

answers:

0

I'm trying to make a small video with a still image and a sound file playing in the background to pass it to dvdauthor and create a DVD.

The command I'm using is this:

ffmpeg -loop_input -i image.jpg -qscale 2 -i song.flac -aspect 4:3 -target pal-dvd -acodec pcm_s16le -shortest output.mpg

However, the resulting video file doesn't have sound at all (testing it on VLC Player). I don't know if I can't combine "-acodec pcm_s16le" with "-target pal-dvd" to override the later, or if there is something else wrong with the command.

If I try without the "-acodec pcm_s16le" parameter the video and audio works, I can even create a DVD ISO with it. However, the audio stays as AC3. I wanted to include with the video the lossless audio, not a compressed one. I suppose the DVD standart allows to have PCM audio in it.

So, what's the command to build a mpeg2 video with PCM audio and with a single image to burn to a DVD?