Quote:
It appears that a "DVD" Video requires special formatting:
|
Yes, it has to be mpeg2 video. ac3 audio. Been a while since I made one. In case k3b won't do what you wish.
From my notes.
Make mpeg2/ac3 video example:
Code:
ffmpeg -i file.avi -c:a ac3 -c:v mpeg2video -target ntsc-dvd -b:v 1200k test.mpg
Then make the DVD structure (everyting goes into ~/mydvd)
Code:
export VIDEO_FORMAT=NTSC
dvdauthor -t -o mydvd -f test.mpg
Then to make the VMG info
Code:
dvdauthor -T -o mydvd/
ls -l ~/mydvd/VIDEO_TS
total 12640
-rw-r--r-- ... 6144 Dec 2 08:50 VIDEO_TS.BUP
-rw-r--r-- ... 6144 Dec 2 08:50 VIDEO_TS.IFO
-rw-r--r-- ... 12288 Dec 2 08:49 VTS_01_0.BUP
-rw-r--r-- ... 12288 Dec 2 08:49 VTS_01_0.IFO
-rw-r--r-- ... 12900352 Dec 2 08:49 VTS_01_1.VOB
Make a menu example:
Grab a screenshot 720x480
Code:
ffmpeg -f x11grab -video_size 720x480 -i $DISPLAY -vframes 1 1.png
Make video out of it
Code:
jpeg2yuv -n 50 -I p -f 29.97 -j 1.jpg | mpeg2enc -n n -f 8 -o menu.m2v
Make 1 sec blank audio
Code:
ffmpeg -f lavfi -i anullsrc=channel_layout=5.1:sample_rate=48000 -t 1 menu.mp2
Merge them
Code:
mplex -f 8 -o menu.mpg menu.m2v menu.mp2
make menu.xml
Code:
spumux menu.xml < menu.mpg > menu_final.mpg
You don't have to have a menu.