mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
fate-run: make avconv() properly deal with multiple inputs.
This commit is contained in:
parent
083d0f6be8
commit
8d18bc550e
@ -75,7 +75,13 @@ probefmt(){
|
|||||||
}
|
}
|
||||||
|
|
||||||
avconv(){
|
avconv(){
|
||||||
run avconv -nostats -threads $threads -thread_type $thread_type -cpuflags $cpuflags "$@"
|
dec_opts="-threads $threads -thread_type $thread_type"
|
||||||
|
avconv_args="-nostats -cpuflags $cpuflags"
|
||||||
|
for arg in $@; do
|
||||||
|
[ ${arg} = -i ] && avconv_args="${avconv_args} ${dec_opts}"
|
||||||
|
avconv_args="${avconv_args} ${arg}"
|
||||||
|
done
|
||||||
|
run avconv ${avconv_args}
|
||||||
}
|
}
|
||||||
|
|
||||||
framecrc(){
|
framecrc(){
|
||||||
|
Loading…
Reference in New Issue
Block a user