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
fcd08262
Commit
fcd08262
authored
May 27, 2012
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tests and tools: cleanup ffmpeg reference
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
2fd5e708
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
17 additions
and
17 deletions
+17
-17
codec-regression.sh
tests/codec-regression.sh
+1
-1
fate-run.sh
tests/fate-run.sh
+8
-8
mapchan.mak
tests/fate/mapchan.mak
+1
-1
pcm.mak
tests/fate/pcm.mak
+1
-1
vpx.mak
tests/fate/vpx.mak
+1
-1
regression-funcs.sh
tests/regression-funcs.sh
+4
-4
ismindex.c
tools/ismindex.c
+1
-1
No files found.
tests/codec-regression.sh
View file @
fcd08262
#!/bin/sh
#
# automatic regression test for
avconv
# automatic regression test for
ffmpeg
#
#
#set -x
...
...
tests/fate-run.sh
View file @
fcd08262
...
...
@@ -73,28 +73,28 @@ probefmt(){
run ffprobe
-show_format_entry
format_name
-print_format
default
=
nw
=
1:nk
=
1
-v
0
"
$@
"
}
avconv
(){
ffmpeg
(){
run ffmpeg
-nostats
-threads
$threads
-thread_type
$thread_type
-cpuflags
$cpuflags
"
$@
"
}
framecrc
(){
avconv
"
$@
"
-f
framecrc -
ffmpeg
"
$@
"
-f
framecrc -
}
framemd5
(){
avconv
"
$@
"
-f
framemd5 -
ffmpeg
"
$@
"
-f
framemd5 -
}
crc
(){
avconv
"
$@
"
-f
crc -
ffmpeg
"
$@
"
-f
crc -
}
md5
(){
avconv
"
$@
"
md5:
ffmpeg
"
$@
"
md5:
}
pcm
(){
avconv
"
$@
"
-vn
-f
s16le -
ffmpeg
"
$@
"
-vn
-f
s16le -
}
enc_dec_pcm
(){
...
...
@@ -106,8 +106,8 @@ enc_dec_pcm(){
encfile
=
"
${
outdir
}
/
${
test
}
.
${
out_fmt
}
"
cleanfiles
=
$encfile
encfile
=
$(
target_path
${
encfile
})
avconv
-i
$src_file
"
$@
"
-f
$out_fmt
-y
${
encfile
}
||
return
avconv
-i
${
encfile
}
-c
:a pcm_
${
pcm_fmt
}
-f
${
dec_fmt
}
-
ffmpeg
-i
$src_file
"
$@
"
-f
$out_fmt
-y
${
encfile
}
||
return
ffmpeg
-i
${
encfile
}
-c
:a pcm_
${
pcm_fmt
}
-f
${
dec_fmt
}
-
}
regtest
(){
...
...
tests/fate/mapchan.mak
View file @
fcd08262
FATE_MAPCHAN += fate-mapchan-6ch-extract-2
fate-mapchan-6ch-extract-2: tests/data/asynth-22050-6.wav
fate-mapchan-6ch-extract-2: CMD =
avconv
-i $(TARGET_PATH)/tests/data/asynth-22050-6.wav -map_channel 0.0.0 -f wav md5: -map_channel 0.0.1 -f wav md5:
fate-mapchan-6ch-extract-2: CMD =
ffmpeg
-i $(TARGET_PATH)/tests/data/asynth-22050-6.wav -map_channel 0.0.0 -f wav md5: -map_channel 0.0.1 -f wav md5:
FATE_MAPCHAN += fate-mapchan-6ch-extract-2-downmix-mono
fate-mapchan-6ch-extract-2-downmix-mono: tests/data/asynth-22050-6.wav
...
...
tests/fate/pcm.mak
View file @
fcd08262
...
...
@@ -27,6 +27,6 @@ fate-dcinema-encode: tests/data/asynth-96000-6.wav
fate-dcinema-encode: SRC = tests/data/asynth-96000-6.wav
fate-dcinema-encode: CMD = enc_dec_pcm daud md5 s16le $(SRC) -c:a pcm_s24daud
FATE_
AVCONV
+= $(FATE_PCM)
FATE_
FFMPEG
+= $(FATE_PCM)
FATE_SAMPLES_AVCONV += $(FATE_SAMPLES_PCM)
fate-pcm: $(FATE_PCM) $(FATE_SAMPLES_PCM)
tests/fate/vpx.mak
View file @
fcd08262
...
...
@@ -37,7 +37,7 @@ define FATE_VP8_FULL
$(foreach N,$(VP8_SUITE),$(eval $(call FATE_VP8_SUITE,$(N),$(1),$(2))))
# FIXME this file contains two frames with identical timestamps,
# so
avconv
drops one of them
# so
ffmpeg
drops one of them
FATE_VP8 += fate-vp8-sign-bias$(1)
fate-vp8-sign-bias$(1): CMD = framemd5 $(2) -i $(SAMPLES)/vp8/sintel-signbias.ivf
fate-vp8-sign-bias$(1): REF = $(SRC_PATH)/tests/ref/fate/vp8-sign-bias
...
...
tests/regression-funcs.sh
View file @
fcd08262
#!/bin/sh
#
# common regression functions for
avconv
# common regression functions for
ffmpeg
#
#
...
...
@@ -20,7 +20,7 @@ this="$test.$test_ref"
outfile
=
"
$datadir
/
$test_ref
/"
# various files
avconv
=
"
$target_exec
${
target_path
}
/ffmpeg"
ffmpeg
=
"
$target_exec
${
target_path
}
/ffmpeg"
tiny_psnr
=
"tests/tiny_psnr"
raw_src
=
"
${
target_path
}
/
$raw_src_dir
/%02d.pgm"
raw_dst
=
"
$datadir
/
$this
.out.yuv"
...
...
@@ -54,8 +54,8 @@ ENC_OPTS="$COMMON_OPTS -threads 1 -dct fastint"
run_avconv
()
{
$echov
$
avconv
$AVCONV_OPTS
$*
$
avconv
$AVCONV_OPTS
$*
$echov
$
ffmpeg
$AVCONV_OPTS
$*
$
ffmpeg
$AVCONV_OPTS
$*
}
do_avconv
()
...
...
tools/ismindex.c
View file @
fcd08262
...
...
@@ -20,7 +20,7 @@
/*
* To create a simple file for smooth streaming:
*
avconv
<normal input/transcoding options> -movflags frag_keyframe foo.ismv
*
ffmpeg
<normal input/transcoding options> -movflags frag_keyframe foo.ismv
* ismindex -n foo foo.ismv
* This step creates foo.ism and foo.ismc that is required by IIS for
* serving it.
...
...
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