Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
FFmpeg
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
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
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
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
libremedia
Tethys
FFmpeg
Commits
f8aa7645
Commit
f8aa7645
authored
18 years ago
by
Diego Biurrun
Browse files
Options
Downloads
Patches
Plain Diff
Use a function for image formats.
Originally committed as revision 7197 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
d449d1bc
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tests/regression.sh
+11
-9
11 additions, 9 deletions
tests/regression.sh
with
11 additions
and
9 deletions
tests/regression.sh
+
11
−
9
View file @
f8aa7645
...
...
@@ -172,6 +172,14 @@ do_streamed_images()
do_ffmpeg_crc
$file
-f
image2pipe
-i
$file
}
do_image_formats
()
{
file
=
${
outfile
}
libav%02d.
$1
$ffmpeg
-t
0.5
-y
-qscale
10
-f
pgmyuv
-i
$raw_src
$2
$3
$file
do_ffmpeg_crc
$file
$3
-i
$file
}
do_audio_only
()
{
file
=
${
outfile
}
libav.
$1
...
...
@@ -727,19 +735,13 @@ do_ffmpeg $file -t 1 -y -qscale 10 -f pgmyuv -i $raw_src $file
####################
# image formats
# pgm (we do not do md5 on image files yet)
file
=
${
outfile
}
libav%02d.pgm
$ffmpeg
-t
0.5
-y
-qscale
10
-f
pgmyuv
-i
$raw_src
$file
do_ffmpeg_crc
$file
-i
$file
do_image_formats pgm
# ppm (we do not do md5 on image files yet)
file
=
${
outfile
}
libav%02d.ppm
$ffmpeg
-t
0.5
-y
-qscale
10
-f
pgmyuv
-i
$raw_src
$file
do_ffmpeg_crc
$file
-i
$file
do_image_formats ppm
# jpeg (we do not do md5 on image files yet)
file
=
${
outfile
}
libav%02d.jpg
$ffmpeg
-t
0.5
-y
-qscale
10
-f
pgmyuv
-i
$raw_src
-flags
+bitexact
-dct
fastint
-idct
simple
-pix_fmt
yuvj420p
-f
image2
$file
do_ffmpeg_crc
$file
-f
image2
-i
$file
do_image_formats jpg
"-flags +bitexact -dct fastint -idct simple -pix_fmt yuvj420p"
"-f image2"
####################
# audio only
...
...
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