[mythtv-users] No audio in standalone DVD player from burned DVD

Thomas Börkel thomas at boerkel.de
Thu Apr 29 04:47:08 EDT 2004


HI!

Gerald Gryschuk wrote:

> I thought I read something somewhere sometime(how's that for vague?)
> about some players requiring ac3 format as the audio. What's up with
> that? Is this possibly an issue in my case? I don't do anything to the
> videos beyond splitting them using mpeg2desc and remultiplexing using
> mplex.

If I play a DVD with MP2 audio on my Toshiba, I have to manually switch 
it to MP2, otherwise I don't have sound. That's the reason I always 
convert the audio to AC3.

Here is my script for remultiplexing (with correct audio offset), 
converting the audio to AC3, mastering and burning:

nuv2dvd.sh:
------------------------------------------
DVDDIR="/buffer/dvd"
DEVICE="/dev/sr0"

let offset=`mpeg2desc -m < "$1"`
rm "$1.fifo.m2v"
rm "$1.fifo.mp2"
rm "$1.fifo.ac3"
mkfifo "$1.fifo.m2v"
mkfifo "$1.fifo.mp2"
mkfifo "$1.fifo.ac3"
nice mpeg2desc -a0 < "$1" > "$1.fifo.mp2" &
nice mpeg2desc -v0 < "$1" > "$1.fifo.m2v" &
nice ffmpeg -y -i "$1.fifo.mp2" -acodec ac3 -ab 224 "$1.fifo.ac3" &
nice mplex -O "$offset"mpt -f 8 -o "$1.mpg" "$1.fifo.m2v" "$1.fifo.ac3"
rm "$1.fifo.m2v"
rm "$1.fifo.mp2"
rm "$1.fifo.ac3"

rm -r $DVDDIR/*
echo "<dvdauthor><vmgm /><titleset><titles><pgc><vob file=\"$1.mpg\" 
/></pgc></titles></titleset></dvdauthor>" > "$1.xml"
dvdauthor -o $DVDDIR -x "$1.xml"

growisofs -dvd-video -Z $DEVICE $DVDDIR
------------------------------------------

If you only want to convert, then delete the dvdauthor and growisofs lines.

I use 224 KBit AC3, but you can of course also use 384 KBit, if you want.

Example:
./nuv2dvd.sh Example.nuv

Thomas




More information about the mythtv-users mailing list