Created
October 27, 2013 12:19
-
-
Save 1951FDG/4120ebd70a82f77b7f17 to your computer and use it in GitHub Desktop.
DVD Authoring
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<DVD> | |
cd /Volumes/Untitled\ 2/complete/lchd-tlibim720p.nfo | |
/Volumes/Untitled/Users/administrator/Developer/mkvdts2ac3/mkvdts2ac3.sh --new --no-dts --debug --wd /Volumes/Untitled\ 1 | |
/Volumes/Untitled/Users/administrator/Developer/mkvdts2ac3/mkvdts2ac3.sh --new -n -w /Volumes/Untitled\ 2/complete/lchd-tlibim720p.nfo lchd-tlibim720p.mkv | |
mkvmerge -i lchd-tlibim720p-AC3.mkv | |
mkvextract tracks lchd-tlibim720p-AC3.mkv 2:lchd-tlibim720p-AC3.srt | |
ffmpeg -i lchd-tlibim720p-AC3.mkv -vf "scale=720:360,pad=720:480:0:60" -target ntsc-dvd -aspect 16:9 -acodec copy lchd-tlibim720p-AC3.mpg | |
spumux -s0 -m dvd -P spumux.xml < lchd-tlibim720p-AC3.mpg > lchd-tlibim720p-AC3-sub.mpg | |
spumux -s0 -m dvd -P /Volumes/Untitled\ 2/complete/lchd-tlibim720p.nfo/spumux.xml < /Volumes/Untitled\ 2/complete/lchd-tlibim720p.nfo/lchd-tlibim720p-AC3.mpg > /Volumes/Untitled\ 2/complete/lchd-tlibim720p.nfo/lchd-tlibim720p-AC3-sub.mpg | |
dvdauthor -x dvdauthor.xml | |
mkisofs -dvd-video -udf -o dvd.iso DVD | |
hdiutil burn dvd.iso | |
<spumux> | |
sudo ln -s /Library/Fonts/*.ttf ~/.spumux | |
sudo ln -s /Library/Fonts/Microsoft/*.ttf ~/.spumux | |
sudo ln -s ~/Library/Fonts/*.ttf ~/.spumux | |
<sample> | |
ffmpeg -i lchd-tlibim720p.mkv -vf "scale=720:360,pad=720:480:0:60" -target ntsc-dvd -aspect 16:9 -acodec copy -t 60 -pass 1 lchd-tlibim720p-sample.mpg | |
ffmpeg -i lchd-tlibim720p.mkv -vf "scale=720:360,pad=720:480:0:60" -target ntsc-dvd -aspect 16:9 -acodec copy -t 60 -vb 3000000 -pass 2 lchd-tlibim720p-sample.mpg | |
<final> | |
ffmpeg -i lchd-tlibim720p.mkv -vf "scale=720:360,pad=720:480:0:60" -target ntsc-dvd -aspect 16:9 -acodec copy -pass 1 lchd-tlibim720p.mpg | |
ffmpeg -i lchd-tlibim720p.mkv -vf "scale=720:360,pad=720:480:0:60" -target ntsc-dvd -aspect 16:9 -acodec copy -vb 3000000 -pass 2 lchd-tlibim720p.mpg | |
<results> | |
fps= 32 q=2.0 Lsize= 6871302kB bitrate=5579.8kbits/s video:5946625kB muxing overhead 2.027005% | |
fps= 34 q=2.3 Lsize= 4592300kB bitrate=3729.1kbits/s video:3694509kB muxing overhead 2.445615% | |
<threads> | |
fps= 34 q=2.3 Lsize= 4583536kB bitrate=3722.0kbits/s video:3685888kB muxing overhead 2.447130% | |
fps= 37 q=2.3 Lsize= 4583700kB bitrate=3722.1kbits/s video:3685889kB muxing overhead 2.450771% | |
<syntax> | |
ffmpeg -i lchd-tlibim720p.mkv -vf "scale=720:360,pad=720:480:0:60" -target ntsc-dvd -aspect 16:9 -pass 1 -an -f rawvideo -y /dev/null | |
-fs | |
-t "hh:mm:ss[.xxx]" -t "00:01:00" or -t 60 | |
-vf "pad=full width with pad:full height with pad:x offset:y offset" | |
-vb bitrate (bitrate = 3733000 - 100000 - 640000=2993000) | |
(use Bitrate Pro) (HH:MM:SS) (02:48:08) | |
video bitrate(kbps) = (4.7 * 1000 * 1000 * 8)kbp/(duration)s - (audio bitrate)kbps - 100(kbps) | |
-ac channels (channels = number of audio channels) | |
<calc> | |
16:9 x 480 = 853 = 854 | |
854 x 544/1280 = 360 | |
<ports> | |
nano /Users/administrator/Downloads/ldo-dvdauthor-20e3578/bootstrap | |
/opt/local/share/gettext/config.rpath | |
sudo port install FRIBIDI | |
sudo port install docbook2X | |
sudo port install libxml2 | |
sudo port install libpng | |
./configure CPPFLAGS="-I/opt/local/include/" LDFLAGS="-L/opt/local/lib" | |
make | |
sudo make install | |
/usr/bin/install -c -m 644 dvdauthor.xsd spumux.xsd '/usr/local/share/dvdauthor' | |
/usr/bin/install -c -m 644 dvdauthor.1 dvddirdel.1 dvdunauthor.1 mpeg2desc.1 spumux.1 spuunmux.1 '/usr/local/share/man/man1' | |
/usr/bin/install -c dvdauthor spumux spuunmux mpeg2desc '/usr/local/bin' | |
/usr/bin/install -c dvddirdel '/usr/local/bin' | |
sudo port -d selfupdate | |
port outdated | |
sudo port upgrade outdated | |
sudo port uninstall inactive | |
du -sh /opt | |
sudo port clean --all all | |
du -sh /opt | |
du -sh /opt | |
sudo port clean --all installed | |
du -sh /opt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment