Can now mux audio with video. Audio/Video saved in start path. Make sure to delete zmovie.cfg before recording with this change.

This commit is contained in:
n-a-c-h
2006-02-27 20:37:42 +00:00
parent 69f05041fa
commit 57abe8131d
3 changed files with 54 additions and 22 deletions

View File

@@ -1,17 +1,24 @@
md_raw_file times 50 db "rawvideo.bin" @ Only for Raw Video
md_pcm_audio times 50 db "pcmaudio.wav" @ AVI dumping always dumps audio seperatly
md_pcm_audio times 50 db "audio.wav" @ AVI dumping always dumps audio seperatly
md_ntsc times 20 db "59649/995"
md_pal times 5 db "50/1"
md_file times 50 db "video.avi"
md_prog times 50 db "mencoder"
md_raw times 100 db "-demuxer rawvideo -rawvideo format=0x42475218:w=256:h=224:size=172032"
md_other times 75 db "-aspect 4:3 -mc 0 -nosound"
md_file times 50 db "video.avi"
md_other times 75 db "-aspect 4:3 -mc 0"
md_no_sound times 25 db "-nosound"
md_sound times 50 db "-oac mp3lame -lameopts aq=0:preset=64"
md_x264 times 100 db "-ovc x264 -x264encopts qp_constant=0:frameref=15"
md_ffv1 times 100 db "-ovc lavc -lavcopts vcodec=ffv1:vstrict=-2:aspect=4/3"
@Valid variables to use in the next three lines are:
@$md_prog, $md_raw, $md_other, $md_file, $md_video_rate
@Valid variables to use in the next two lines are:
@$md_file, $md_prog, $md_raw, $md_other, $md_no_sound, $md_sound, $md_pcm_audio
@and $md_video_rate, $md_vcodec
@These variables are defined above.
@$md_video_rate is $md_ntsc or $md_pal depending on the game as needed
md_uncompressed times 150 db "$md_prog $md_other $md_raw:fps=$md_video_rate -ovc copy -o $md_file -"
md_x264 times 150 db "$md_prog $md_other $md_raw:fps=$md_video_rate -ovc x264 -x264encopts qp_constant=0:frameref=15 -o $md_file -"
md_ffv1 times 150 db "$md_prog $md_other $md_raw:fps=$md_video_rate -ovc lavc -lavcopts vcodec=ffv1:vstrict=-2:aspect=4/3 -o $md_file -"
@$md_vcodec is $md_x264 or $md_ffv1 depending on the codec selected
md_command times 150 db "$md_prog $md_other $md_no_sound $md_raw:fps=$md_video_rate $md_vcodec -o $md_file -"
md_merge times 150 db "$md_prog $md_other $md_sound -audiofile $md_pcm_audio -ovc copy -o merged.avi $md_file"