diff --git a/tutorial/t8.geo b/tutorial/t8.geo index 8ca8229c52334d2e46a41507d1d0bd36199e65cb..f8f66c48b3b1ed4351b53d28c666dbf6f0cbeddc 100644 --- a/tutorial/t8.geo +++ b/tutorial/t8.geo @@ -117,16 +117,25 @@ For num In {1:255} EndFor If(num == 3) - // We could make a system call here to generate the mpeg animation - // (uncomment the following if mpeg_encode is installed on your - // computer): - // System "mpeg_encode t8.par"; + // Here we could make a system call to generate a movie. For example, - // We could also call whirlgif to create an animated gif file: + // with whirlgif: + // // System "whirlgif -minimize -loop -o t8.gif t8-*.gif"; - // Or, we could call mencoder to create an mpeg4 movie: - // System "mencoder 'mf://*.jpg' -mf fps=5 -o t8.mpg -ovc lavc vcoldec=mpeg4:vhq"; + // with mpeg_encode: + // + // System "mpeg_encode t8.par"; + + // with mencoder: + // + // System "mencoder 'mf://*.jpg' -mf fps=5 -o t8.mpg -ovc lavc -lavcopts vcodec=mpeg1video:vhq"; + // System "mencoder 'mf://*.jpg' -mf fps=5 -o t8.mpg -ovc lavc -lavcopts vcodec=mpeg4:vhq"; + + // with ffmpeg: + // + // System "ffmpeg -hq -r 5 -b 800 -vcodec mpeg1video -i t8-%02d.jpg t8.mpg" + // System "ffmpeg -hq -r 5 -b 800 -i t8-%02d.jpg t8.asf" EndIf EndFor diff --git a/tutorial/t8.par b/tutorial/t8.par index b557546775f6b4b8717883cb41cf6dc731818ca0..9b10b487c9ed903004a44d01ce6dd159ffebcef6 100644 --- a/tutorial/t8.par +++ b/tutorial/t8.par @@ -12,22 +12,36 @@ BASE_FILE_FORMAT JPEG # BASE_FILE_FORMAT YUV # YUV_SIZE 320x240 -GOP_SIZE 30 +GOP_SIZE 1 +# GOP_SIZE 30 + SLICES_PER_FRAME 1 + PIXEL HALF + RANGE 10 + PSEARCH_ALG TWOLEVEL # PSEARCH_ALG LOGARITHMIC + BSEARCH_ALG CROSS2 -IQSCALE 8 + +IQSCALE 1 +# IQSCALE 8 + PQSCALE 10 + BQSCALE 25 -REFERENCE_FRAME ORIGINAL + +REFERENCE_FRAME DECODED +# REFERENCE_FRAME ORIGINAL OUTPUT t8.mpg INPUT_CONVERT * + INPUT_DIR . + INPUT t8-*.jpg [01-50] # t8-*.ppm [01-50]