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
e587a0a5
Commit
e587a0a5
authored
18 years ago
by
Diego Biurrun
Browse files
Options
Downloads
Patches
Plain Diff
Use a function for audio-only tests.
Originally committed as revision 7195 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
56cca5f1
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tests/regression.sh
+14
-21
14 additions, 21 deletions
tests/regression.sh
with
14 additions
and
21 deletions
tests/regression.sh
+
14
−
21
View file @
e587a0a5
...
...
@@ -165,6 +165,13 @@ do_video_encoding()
do_ffmpeg
$file
-y
$1
-f
pgmyuv
-i
$raw_src
$2
$file
}
do_audio_only
()
{
file
=
${
outfile
}
libav.
$1
do_ffmpeg
$file
-t
1
-y
-qscale
10
-f
s16le
-i
$pcm_src
$file
do_ffmpeg_crc
$file
-i
$file
}
echo
"ffmpeg regression test"
>
$logfile
echo
"ffmpeg benchmarks"
>
$benchfile
...
...
@@ -737,39 +744,25 @@ do_ffmpeg_crc $file -f image2 -i $file
# audio only
# wav
file
=
${
outfile
}
libav.wav
do_ffmpeg
$file
-t
1
-y
-qscale
10
-f
s16le
-i
$pcm_src
$file
do_ffmpeg_crc
$file
-i
$file
do_audio_only wav
# alaw
file
=
${
outfile
}
libav.al
do_ffmpeg
$file
-t
1
-y
-qscale
10
-f
s16le
-i
$pcm_src
$file
do_ffmpeg_crc
$file
-i
$file
do_audio_only al
# mulaw
file
=
${
outfile
}
libav.ul
do_ffmpeg
$file
-t
1
-y
-qscale
10
-f
s16le
-i
$pcm_src
$file
do_ffmpeg_crc
$file
-i
$file
do_audio_only ul
# au
file
=
${
outfile
}
libav.au
do_ffmpeg
$file
-t
1
-y
-qscale
10
-f
s16le
-i
$pcm_src
$file
do_ffmpeg_crc
$file
-i
$file
do_audio_only au
# mmf
file
=
${
outfile
}
libav.mmf
do_ffmpeg
$file
-t
1
-y
-qscale
10
-f
s16le
-i
$pcm_src
$file
do_ffmpeg_crc
$file
-i
$file
do_audio_only mmf
# aiff
file
=
${
outfile
}
libav.aif
do_ffmpeg
$file
-t
1
-y
-qscale
10
-f
s16le
-i
$pcm_src
$file
do_ffmpeg_crc
$file
-i
$file
do_audio_only aif
# voc
file
=
${
outfile
}
libav.voc
do_ffmpeg
$file
-t
1
-y
-qscale
10
-f
s16le
-i
$pcm_src
$file
do_ffmpeg_crc
$file
-i
$file
do_audio_only voc
####################
# pix_fmt conversions
...
...
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