Enlarged command buffer, mencoder option size. Fixed bug if variable name is unrecognized.
This commit is contained in:
@@ -4,6 +4,6 @@ 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 50 db "-aspect 4/3 -mc 0 -nosound"
|
||||
md_file times 50 db "video.avi"
|
||||
md_uncompressed times 125 db "$md_prog $md_other $md_raw:fps=$md_video_rate -ovc copy -o $md_file -"
|
||||
md_x264 times 125 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 125 db "$md_prog $md_other $md_raw:fps=$md_video_rate -ovc lavc -lavcopts vcodec=ffv1:vstrict=-2 -o $md_file -"
|
||||
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 -o $md_file -"
|
||||
|
||||
@@ -1884,13 +1884,14 @@ static char *pick_var(char **str)
|
||||
*str += strlen("$md_video_rate");
|
||||
return(romispal ? md_pal : md_ntsc);
|
||||
}
|
||||
*str += strlen(*str);
|
||||
fprintf(stderr, "Unknown Variable: %s", *str);
|
||||
return("");
|
||||
}
|
||||
|
||||
FILE *open_movie_file()
|
||||
{
|
||||
char command[400], *p, *var;
|
||||
char command[450], *p, *var;
|
||||
read_movie_vars("zmovie.cfg");
|
||||
|
||||
*command = 0;
|
||||
|
||||
Reference in New Issue
Block a user