Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
gmsh
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Larry Price
gmsh
Commits
83ab0f5f
Commit
83ab0f5f
authored
21 years ago
by
Christophe Geuzaine
Browse files
Options
Downloads
Patches
Plain Diff
some more mpeg encoders + params for higher quality
parent
21cc2f14
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
tutorial/t8.geo
+16
-7
16 additions, 7 deletions
tutorial/t8.geo
tutorial/t8.par
+17
-3
17 additions, 3 deletions
tutorial/t8.par
with
33 additions
and
10 deletions
tutorial/t8.geo
+
16
−
7
View file @
83ab0f5f
...
@@ -117,16 +117,25 @@ For num In {1:255}
...
@@ -117,16 +117,25 @@ For num In {1:255}
EndFor
EndFor
If
(
num
==
3
)
If
(
num
==
3
)
// We could make a system call here to generate the mpeg animation
// Here we could make a system call to generate a movie. For example,
// (uncomment the following if mpeg_encode is installed on your
// computer):
// System "mpeg_encode t8.par";
// We could also call whirlgif to create an animated gif file:
// with whirlgif:
//
// System "whirlgif -minimize -loop -o t8.gif t8-*.gif";
// System "whirlgif -minimize -loop -o t8.gif t8-*.gif";
// Or, we could call mencoder to create an mpeg4 movie:
// with mpeg_encode:
// System "mencoder 'mf://*.jpg' -mf fps=5 -o t8.mpg -ovc lavc vcoldec=mpeg4:vhq";
//
// 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
EndIf
EndFor
EndFor
This diff is collapsed.
Click to expand it.
tutorial/t8.par
+
17
−
3
View file @
83ab0f5f
...
@@ -12,22 +12,36 @@ BASE_FILE_FORMAT JPEG
...
@@ -12,22 +12,36 @@ BASE_FILE_FORMAT JPEG
# BASE_FILE_FORMAT YUV
# BASE_FILE_FORMAT YUV
# YUV_SIZE 320x240
# YUV_SIZE 320x240
GOP_SIZE 30
GOP_SIZE 1
# GOP_SIZE 30
SLICES_PER_FRAME 1
SLICES_PER_FRAME 1
PIXEL HALF
PIXEL HALF
RANGE 10
RANGE 10
PSEARCH_ALG TWOLEVEL
PSEARCH_ALG TWOLEVEL
# PSEARCH_ALG LOGARITHMIC
# PSEARCH_ALG LOGARITHMIC
BSEARCH_ALG CROSS2
BSEARCH_ALG CROSS2
IQSCALE 8
IQSCALE 1
# IQSCALE 8
PQSCALE 10
PQSCALE 10
BQSCALE 25
BQSCALE 25
REFERENCE_FRAME ORIGINAL
REFERENCE_FRAME DECODED
# REFERENCE_FRAME ORIGINAL
OUTPUT t8.mpg
OUTPUT t8.mpg
INPUT_CONVERT *
INPUT_CONVERT *
INPUT_DIR .
INPUT_DIR .
INPUT
INPUT
t8-*.jpg [01-50]
t8-*.jpg [01-50]
# t8-*.ppm [01-50]
# t8-*.ppm [01-50]
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment