Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
f8aa7645
Commit
f8aa7645
authored
Dec 01, 2006
by
Diego Biurrun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use a function for image formats.
Originally committed as revision 7197 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
d449d1bc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
9 deletions
+11
-9
regression.sh
tests/regression.sh
+11
-9
No files found.
tests/regression.sh
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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment