转换PMP-AVC参数
start /b /wait /low mencoder.exe -ofps 23.976 -endpos 100 -vf harddup,scale=480:272 -ovc x264 -ffourcc H264 -x264encopts qp_constant=23 -srate 44100 -oac mp3lame -lameopts aq=3:cbr:br=112:vol=1 -sid 0 -aid 128 -dvd-device "g:" dvd://1 -chapter 1-22 -o video.avi 2>2.txt
start /b /wait /low mencoder.exe -oac copy -ovc copy -of rawaudio video.avi -o audio.mp3
pmp_muxer_avc -v video.avi -a audio.mp3 -s 1000 -r 23976 -d 1 -o "D:\DVD.pmp"
del video.avi
del audio.mp3
del *.log
mplayer -dvd-device "g:" dvd://1 -frames 0 -v -identify 1>dvdinfo.txt
ID_DVD_TITLES=2 该DVD有两个标题 ( dvd://1、dvd://2)
ID_DVD_TITLE_1_CHAPTERS=19 标题1有19个章节(-chapter 1-19)
ID_DVD_TITLE_1_ANGLES=1
ID_DVD_TITLE_2_CHAPTERS=2 标题2有2个章节(-chapter 1-2)
ID_DVD_TITLE_2_ANGLES=1
ID_DVD_TITLE_1_LENGTH=5827.800
ID_DVD_TITLE_2_LENGTH=93.333
ID_DVD_DISC_ID=8622FCABA73687ACEFE7922728759A0D
There are 2 titles on this DVD.
There are 19 chapters in this DVD title.
There are 1 angles in this DVD title.
DVD successfully opened.
[open] audio stream: 0 audio format: ac3 (stereo) language: en aid: 128
ID_AUDIO_ID=128
ID_AID_128_LANG=en (音频ID号为128的是英语,en表示英语 -aid 128)
[open] audio stream: 1 audio format: ac3 (5.1) language: en aid: 129
ID_AUDIO_ID=129
ID_AID_129_LANG=zh (音频ID号为129的是中文,zh表示中文 -aid 129)
[open] number of audio channels on disk: 2.
[open] subtitle ( sid ): 0 language: zh
ID_SUBTITLE_ID=0
ID_SID_0_LANG=zh (字幕ID号为0的是中文,zh表示中文-sid 0 )
[open] subtitle ( sid ): 1 language: zh
ID_SUBTITLE_ID=1