Skip to content

Commit

Permalink
- [!] fix bug of incorrect transpose, by using rubberband
Browse files Browse the repository at this point in the history
  • Loading branch information
suntong committed Sep 10, 2023
1 parent 15851a1 commit 0b29c9d
Show file tree
Hide file tree
Showing 3 changed files with 120 additions and 120 deletions.
4 changes: 2 additions & 2 deletions ffcvt.go
Original file line number Diff line number Diff line change
Expand Up @@ -447,7 +447,7 @@ func transcodeFile(inputName string) {
}
}

args := []string{"-i", inputName}
args := []string{"-hide_banner", "-i", inputName}
args = append(args, strings.Fields(Opts.OptExtra)...)
//debug(strings.Join(args, " "), 4)
args = encodeParametersS(encodeParametersA(encodeParametersV(args)))
Expand All @@ -463,7 +463,7 @@ func transcodeFile(inputName string) {
}
if len(transpFrom) != 0 {
args = append(args, "-af")
af := fmt.Sprintf("atempo=%s/%s,asetrate=44100*%[2]s/%[1]s",
af := fmt.Sprintf("rubberband=pitch=%[2]s/%[1]s",
transpFrom, transpTo)
args = append(args, af)
}
Expand Down
122 changes: 61 additions & 61 deletions test/ffcvt_test.txt
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ To reduce output, use `-debug 0`, e.g., `ffcvt -force -debug 0 -f testf.mp4 ...`

== Transcoding: StreamSample.mkv
ffcvt: to execute -
ffmpeg -i StreamSample.mkv -c:v libvpx-vp9 -b:v 0 -crf 42 -c:a libopus -b:a 64k -c:s copy /tmp/StreamSample.mkv
ffmpeg -hide_banner -i StreamSample.mkv -c:v libvpx-vp9 -b:v 0 -crf 42 -c:a libopus -b:a 64k -c:s copy /tmp/StreamSample.mkv

Transcoding completed in xxx ms
Org Size: 0 MB
Expand All @@ -169,79 +169,79 @@ Saved: 0%
# Test transcoding different target types

== Transcoding: StreamSample.mkv
] ffmpeg -i StreamSample.mkv -c:v libvpx-vp9 -b:v 0 -crf 42 -c:a libopus -b:a 64k -c:s copy /tmp/StreamSample.mkv
] ffmpeg -hide_banner -i StreamSample.mkv -c:v libvpx-vp9 -b:v 0 -crf 42 -c:a libopus -b:a 64k -c:s copy /tmp/StreamSample.mkv
ffcvt: to execute -
ffmpeg -i StreamSample.mkv -c:v libvpx-vp9 -b:v 0 -crf 42 -c:a libopus -b:a 64k -c:s copy /tmp/StreamSample.mkv
ffmpeg -hide_banner -i StreamSample.mkv -c:v libvpx-vp9 -b:v 0 -crf 42 -c:a libopus -b:a 64k -c:s copy /tmp/StreamSample.mkv

Transcoding completed in xxx ms
Org Size: 0 MB
New Size: 0 MB
Saved: 0%

== Transcoding: StreamSample.mkv
] ffmpeg -i StreamSample.mkv -c:v libx265 -x265-params crf=28 -c:a libopus -b:a 64k /tmp/StreamSample.mkv
] ffmpeg -hide_banner -i StreamSample.mkv -c:v libx265 -x265-params crf=28 -c:a libopus -b:a 64k /tmp/StreamSample.mkv
ffcvt: to execute -
ffmpeg -i StreamSample.mkv -c:v libx265 -x265-params crf=28 -c:a libopus -b:a 64k /tmp/StreamSample.mkv
ffmpeg -hide_banner -i StreamSample.mkv -c:v libx265 -x265-params crf=28 -c:a libopus -b:a 64k /tmp/StreamSample.mkv

Transcoding completed in xxx ms
Org Size: 0 MB
New Size: 0 MB
Saved: 0%

== Transcoding: StreamSample.mkv
] ffmpeg -i StreamSample.mkv -c:v libx265 -x265-params crf=33.8 -c:a libopus -b:a 64k /tmp/StreamSample.mkv
] ffmpeg -hide_banner -i StreamSample.mkv -c:v libx265 -x265-params crf=33.8 -c:a libopus -b:a 64k /tmp/StreamSample.mkv
ffcvt: to execute -
ffmpeg -i StreamSample.mkv -c:v libx265 -x265-params crf=33.8 -c:a libopus -b:a 64k /tmp/StreamSample.mkv
ffmpeg -hide_banner -i StreamSample.mkv -c:v libx265 -x265-params crf=33.8 -c:a libopus -b:a 64k /tmp/StreamSample.mkv

Transcoding completed in xxx ms
Org Size: 0 MB
New Size: 0 MB
Saved: 0%

== Transcoding: StreamSample.mkv
] ffmpeg -i StreamSample.mkv -c:v libx264 -x264-params crf=23 -c:a libmp3lame -b:a 256k -q:a 3 /tmp/StreamSample.mp4
] ffmpeg -hide_banner -i StreamSample.mkv -c:v libx264 -x264-params crf=23 -c:a libmp3lame -b:a 256k -q:a 3 /tmp/StreamSample.mp4
ffcvt: to execute -
ffmpeg -i StreamSample.mkv -c:v libx264 -x264-params crf=23 -c:a libmp3lame -b:a 256k -q:a 3 /tmp/StreamSample.mp4
ffmpeg -hide_banner -i StreamSample.mkv -c:v libx264 -x264-params crf=23 -c:a libmp3lame -b:a 256k -q:a 3 /tmp/StreamSample.mp4

Transcoding completed in xxx ms
Org Size: 0 MB
New Size: 0 MB
Saved: 0%

== Transcoding: StreamSample.mkv
] ffmpeg -i StreamSample.mkv -c:v libx264 -x264-params crf=33.8 -c:a libmp3lame -b:a 256k -q:a 3 /tmp/StreamSample.mp4
] ffmpeg -hide_banner -i StreamSample.mkv -c:v libx264 -x264-params crf=33.8 -c:a libmp3lame -b:a 256k -q:a 3 /tmp/StreamSample.mp4
ffcvt: to execute -
ffmpeg -i StreamSample.mkv -c:v libx264 -x264-params crf=33.8 -c:a libmp3lame -b:a 256k -q:a 3 /tmp/StreamSample.mp4
ffmpeg -hide_banner -i StreamSample.mkv -c:v libx264 -x264-params crf=33.8 -c:a libmp3lame -b:a 256k -q:a 3 /tmp/StreamSample.mp4

Transcoding completed in xxx ms
Org Size: 0 MB
New Size: 0 MB
Saved: 0%

== Transcoding: StreamSample.mkv
] ffmpeg -i StreamSample.mkv -c:v libx264 -x264-params crf=33 -c:a aac -b:a 48k -q:a 3 /tmp/StreamSample.m4v
] ffmpeg -hide_banner -i StreamSample.mkv -c:v libx264 -x264-params crf=33 -c:a aac -b:a 48k -q:a 3 /tmp/StreamSample.m4v
ffcvt: to execute -
ffmpeg -i StreamSample.mkv -c:v libx264 -x264-params crf=33 -c:a aac -b:a 48k -q:a 3 /tmp/StreamSample.m4v
ffmpeg -hide_banner -i StreamSample.mkv -c:v libx264 -x264-params crf=33 -c:a aac -b:a 48k -q:a 3 /tmp/StreamSample.m4v

Transcoding completed in xxx ms
Org Size: 0 MB
New Size: 0 MB
Saved: 0%

== Transcoding: StreamSample.mkv
] ffmpeg -i StreamSample.mkv -c:v libx264 -x264-params crf=20 -pix_fmt yuv420p -c:a libvorbis -q:a 5 /tmp/StreamSample.avi
] ffmpeg -hide_banner -i StreamSample.mkv -c:v libx264 -x264-params crf=20 -pix_fmt yuv420p -c:a libvorbis -q:a 5 /tmp/StreamSample.avi
ffcvt: to execute -
ffmpeg -i StreamSample.mkv -c:v libx264 -x264-params crf=20 -pix_fmt yuv420p -c:a libvorbis -q:a 5 /tmp/StreamSample.avi
ffmpeg -hide_banner -i StreamSample.mkv -c:v libx264 -x264-params crf=20 -pix_fmt yuv420p -c:a libvorbis -q:a 5 /tmp/StreamSample.avi

Transcoding completed in xxx ms
Org Size: 0 MB
New Size: 0 MB
Saved: 0%

== Transcoding: StreamSample.mkv
] ffmpeg -i StreamSample.mkv -c:v copy -c:a copy -b:a 64k -c:s copy /tmp/StreamSample.mkv
] ffmpeg -hide_banner -i StreamSample.mkv -c:v copy -c:a copy -b:a 64k -c:s copy /tmp/StreamSample.mkv
ffcvt: to execute -
ffmpeg -i StreamSample.mkv -c:v copy -c:a copy -b:a 64k -c:s copy /tmp/StreamSample.mkv
ffmpeg -hide_banner -i StreamSample.mkv -c:v copy -c:a copy -b:a 64k -c:s copy /tmp/StreamSample.mkv

Transcoding completed in xxx ms
Org Size: 0 MB
Expand All @@ -250,19 +250,19 @@ Saved: 0%
# Test adding karaoke audio track

== Transcoding: test1.avi
] ffmpeg -i test1.avi -filter_complex [0:1]pan=mono|c0=c0-c1[a] -map 0:0 -map [a] -map 0:1 test1_karaoke.mp4
] ffmpeg -hide_banner -i test1.avi -filter_complex [0:1]pan=mono|c0=c0-c1[a] -map 0:0 -map [a] -map 0:1 test1_karaoke.mp4
ffcvt: to execute -
ffmpeg -i test1.avi -filter_complex [0:1]pan=mono|c0=c0-c1[a] -map 0:0 -map [a] -map 0:1 test1_karaoke.mp4
ffmpeg -hide_banner -i test1.avi -filter_complex [0:1]pan=mono|c0=c0-c1[a] -map 0:0 -map [a] -map 0:1 test1_karaoke.mp4

Transcoding completed in xxx ms
Org Size: 0 MB
New Size: 0 MB
Saved: 0%

== Transcoding: test1.avi
] ffmpeg -i test1.avi -filter_complex [0:1]pan=mono|c0=c0-c1[a] -map 0:0 -map [a] -map 0:1 test1_k.avi
] ffmpeg -hide_banner -i test1.avi -filter_complex [0:1]pan=mono|c0=c0-c1[a] -map 0:0 -map [a] -map 0:1 test1_k.avi
ffcvt: to execute -
ffmpeg -i test1.avi -filter_complex [0:1]pan=mono|c0=c0-c1[a] -map 0:0 -map [a] -map 0:1 test1_k.avi
ffmpeg -hide_banner -i test1.avi -filter_complex [0:1]pan=mono|c0=c0-c1[a] -map 0:0 -map [a] -map 0:1 test1_k.avi

Transcoding completed in xxx ms
Org Size: 0 MB
Expand All @@ -272,9 +272,9 @@ Saved: 0%
Transposing from 'F' (349.23) to 'D' (293.66)

== Transcoding: StreamSample.mkv
] ffmpeg -i StreamSample.mkv -vn -c:a libmp3lame -b:a 256k -q:a 3 -af atempo=349.23/293.66,asetrate=44100*293.66/349.23 /tmp/StreamSample.mp4
] ffmpeg -hide_banner -i StreamSample.mkv -vn -c:a libmp3lame -b:a 256k -q:a 3 -af rubberband=pitch=293.66/349.23 /tmp/StreamSample.mp4
ffcvt: to execute -
ffmpeg -i StreamSample.mkv -vn -c:a libmp3lame -b:a 256k -q:a 3 -af atempo=349.23/293.66,asetrate=44100*293.66/349.23 /tmp/StreamSample.mp4
ffmpeg -hide_banner -i StreamSample.mkv -vn -c:a libmp3lame -b:a 256k -q:a 3 -af rubberband=pitch=293.66/349.23 /tmp/StreamSample.mp4

Transcoding completed in xxx ms
Org Size: 0 MB
Expand All @@ -283,9 +283,9 @@ Saved: 0%
Transposing from 'F#' (369.99) to 'Db' (277.18)

== Transcoding: StreamSample.mkv
] ffmpeg -i StreamSample.mkv -vn -c:a libmp3lame -b:a 72k -q:a 3 -af atempo=369.99/277.18,asetrate=44100*277.18/369.99 /tmp/StreamSample.mp4
] ffmpeg -hide_banner -i StreamSample.mkv -vn -c:a libmp3lame -b:a 72k -q:a 3 -af rubberband=pitch=277.18/369.99 /tmp/StreamSample.mp4
ffcvt: to execute -
ffmpeg -i StreamSample.mkv -vn -c:a libmp3lame -b:a 72k -q:a 3 -af atempo=369.99/277.18,asetrate=44100*277.18/369.99 /tmp/StreamSample.mp4
ffmpeg -hide_banner -i StreamSample.mkv -vn -c:a libmp3lame -b:a 72k -q:a 3 -af rubberband=pitch=277.18/369.99 /tmp/StreamSample.mp4

Transcoding completed in xxx ms
Org Size: 0 MB
Expand All @@ -294,9 +294,9 @@ Saved: 0%
Transposing from 'Gb' (369.99) to 'A#' (466.16)

== Transcoding: StreamSample.mkv
] ffmpeg -i StreamSample.mkv -vn -c:a libmp3lame -b:a 72k -af atempo=369.99/466.16,asetrate=44100*466.16/369.99 StreamSample_.mp3
] ffmpeg -hide_banner -i StreamSample.mkv -vn -c:a libmp3lame -b:a 72k -af rubberband=pitch=466.16/369.99 StreamSample_.mp3
ffcvt: to execute -
ffmpeg -i StreamSample.mkv -vn -c:a libmp3lame -b:a 72k -af atempo=369.99/466.16,asetrate=44100*466.16/369.99 StreamSample_.mp3
ffmpeg -hide_banner -i StreamSample.mkv -vn -c:a libmp3lame -b:a 72k -af rubberband=pitch=466.16/369.99 StreamSample_.mp3

Transcoding completed in xxx ms
Org Size: 0 MB
Expand All @@ -311,9 +311,9 @@ Saved: 0%

== Transcoding [1/1] (100%): 'StreamSample.mkv'
under .
] ffmpeg -i ./StreamSample.mkv -c:v libx265 -x265-params crf=28 -c:a libopus -b:a 64k ./StreamSample_.mkv
] ffmpeg -hide_banner -i ./StreamSample.mkv -c:v libx265 -x265-params crf=28 -c:a libopus -b:a 64k ./StreamSample_.mkv
ffcvt: to execute -
ffmpeg -i ./StreamSample.mkv -c:v libx265 -x265-params crf=28 -c:a libopus -b:a 64k ./StreamSample_.mkv
ffmpeg -hide_banner -i ./StreamSample.mkv -c:v libx265 -x265-params crf=28 -c:a libopus -b:a 64k ./StreamSample_.mkv
Time taken so far xxx ms
] Taking a breath for: xxx ms
Finishing the remaining 0% in xxx ms
Expand All @@ -327,36 +327,36 @@ Saved: 0%

== Transcoding [1/4] (100%): 'StreamSample.mkv'
under .
] ffmpeg -i ./StreamSample.mkv -c:v libx265 -x265-params crf=28 -c:a libopus -b:a 64k ./StreamSample_.mkv
] ffmpeg -hide_banner -i ./StreamSample.mkv -c:v libx265 -x265-params crf=28 -c:a libopus -b:a 64k ./StreamSample_.mkv
ffcvt: to execute -
ffmpeg -i ./StreamSample.mkv -c:v libx265 -x265-params crf=28 -c:a libopus -b:a 64k ./StreamSample_.mkv
ffmpeg -hide_banner -i ./StreamSample.mkv -c:v libx265 -x265-params crf=28 -c:a libopus -b:a 64k ./StreamSample_.mkv
Time taken so far xxx ms
] Taking a breath for: xxx ms
Finishing the remaining 0% in xxx ms

== Transcoding [2/4] (100%): 'test1.avi'
under .
] ffmpeg -i ./test1.avi -c:v libx265 -x265-params crf=28 -c:a libopus -b:a 64k ./test1_.mkv
] ffmpeg -hide_banner -i ./test1.avi -c:v libx265 -x265-params crf=28 -c:a libopus -b:a 64k ./test1_.mkv
ffcvt: to execute -
ffmpeg -i ./test1.avi -c:v libx265 -x265-params crf=28 -c:a libopus -b:a 64k ./test1_.mkv
ffmpeg -hide_banner -i ./test1.avi -c:v libx265 -x265-params crf=28 -c:a libopus -b:a 64k ./test1_.mkv
Time taken so far xxx ms
] Taking a breath for: xxx ms
Finishing the remaining 0% in xxx ms

== Transcoding [3/4] (100%): 'test2.avi'
under .
] ffmpeg -i ./test2.avi -c:v libx265 -x265-params crf=28 -c:a libopus -b:a 64k ./test2_.mkv
] ffmpeg -hide_banner -i ./test2.avi -c:v libx265 -x265-params crf=28 -c:a libopus -b:a 64k ./test2_.mkv
ffcvt: to execute -
ffmpeg -i ./test2.avi -c:v libx265 -x265-params crf=28 -c:a libopus -b:a 64k ./test2_.mkv
ffmpeg -hide_banner -i ./test2.avi -c:v libx265 -x265-params crf=28 -c:a libopus -b:a 64k ./test2_.mkv
Time taken so far xxx ms
] Taking a breath for: xxx ms
Finishing the remaining 0% in xxx ms

== Transcoding [4/4] (100%): 'test3.webm'
under .
] ffmpeg -i ./test3.webm -c:v libx265 -x265-params crf=28 -c:a libopus -b:a 64k ./test3_.mkv
] ffmpeg -hide_banner -i ./test3.webm -c:v libx265 -x265-params crf=28 -c:a libopus -b:a 64k ./test3_.mkv
ffcvt: to execute -
ffmpeg -i ./test3.webm -c:v libx265 -x265-params crf=28 -c:a libopus -b:a 64k ./test3_.mkv
ffmpeg -hide_banner -i ./test3.webm -c:v libx265 -x265-params crf=28 -c:a libopus -b:a 64k ./test3_.mkv
Time taken so far xxx ms
] Taking a breath for: xxx ms
Finishing the remaining 0% in xxx ms
Expand All @@ -373,9 +373,9 @@ Saved: 0%

== Transcoding [1/1] (100%): 'StreamSample.mkv'
under .
] ffmpeg -i ./StreamSample.mkv -c:v libvpx-vp9 -b:v 0 -crf 42 -c:a libopus -b:a 64k -c:s copy ./StreamSample_.mkv
] ffmpeg -hide_banner -i ./StreamSample.mkv -c:v libvpx-vp9 -b:v 0 -crf 42 -c:a libopus -b:a 64k -c:s copy ./StreamSample_.mkv
ffcvt: to execute -
ffmpeg -i ./StreamSample.mkv -c:v libvpx-vp9 -b:v 0 -crf 42 -c:a libopus -b:a 64k -c:s copy ./StreamSample_.mkv
ffmpeg -hide_banner -i ./StreamSample.mkv -c:v libvpx-vp9 -b:v 0 -crf 42 -c:a libopus -b:a 64k -c:s copy ./StreamSample_.mkv
Time taken so far xxx ms
] Taking a breath for: xxx ms
Finishing the remaining 0% in xxx ms
Expand All @@ -389,36 +389,36 @@ Saved: 0%

== Transcoding [1/4] (100%): 'StreamSample.mkv'
under .
] ffmpeg -i ./StreamSample.mkv -c:v libvpx-vp9 -b:v 0 -crf 42 -c:a libopus -b:a 64k -c:s copy ./StreamSample_.mkv
] ffmpeg -hide_banner -i ./StreamSample.mkv -c:v libvpx-vp9 -b:v 0 -crf 42 -c:a libopus -b:a 64k -c:s copy ./StreamSample_.mkv
ffcvt: to execute -
ffmpeg -i ./StreamSample.mkv -c:v libvpx-vp9 -b:v 0 -crf 42 -c:a libopus -b:a 64k -c:s copy ./StreamSample_.mkv
ffmpeg -hide_banner -i ./StreamSample.mkv -c:v libvpx-vp9 -b:v 0 -crf 42 -c:a libopus -b:a 64k -c:s copy ./StreamSample_.mkv
Time taken so far xxx ms
] Taking a breath for: xxx ms
Finishing the remaining 0% in xxx ms

== Transcoding [2/4] (100%): 'test1.avi'
under .
] ffmpeg -i ./test1.avi -c:v libvpx-vp9 -b:v 0 -crf 42 -c:a libopus -b:a 64k -c:s copy ./test1_.mkv
] ffmpeg -hide_banner -i ./test1.avi -c:v libvpx-vp9 -b:v 0 -crf 42 -c:a libopus -b:a 64k -c:s copy ./test1_.mkv
ffcvt: to execute -
ffmpeg -i ./test1.avi -c:v libvpx-vp9 -b:v 0 -crf 42 -c:a libopus -b:a 64k -c:s copy ./test1_.mkv
ffmpeg -hide_banner -i ./test1.avi -c:v libvpx-vp9 -b:v 0 -crf 42 -c:a libopus -b:a 64k -c:s copy ./test1_.mkv
Time taken so far xxx ms
] Taking a breath for: xxx ms
Finishing the remaining 0% in xxx ms

== Transcoding [3/4] (100%): 'test2.avi'
under .
] ffmpeg -i ./test2.avi -c:v libvpx-vp9 -b:v 0 -crf 42 -c:a libopus -b:a 64k -c:s copy ./test2_.mkv
] ffmpeg -hide_banner -i ./test2.avi -c:v libvpx-vp9 -b:v 0 -crf 42 -c:a libopus -b:a 64k -c:s copy ./test2_.mkv
ffcvt: to execute -
ffmpeg -i ./test2.avi -c:v libvpx-vp9 -b:v 0 -crf 42 -c:a libopus -b:a 64k -c:s copy ./test2_.mkv
ffmpeg -hide_banner -i ./test2.avi -c:v libvpx-vp9 -b:v 0 -crf 42 -c:a libopus -b:a 64k -c:s copy ./test2_.mkv
Time taken so far xxx ms
] Taking a breath for: xxx ms
Finishing the remaining 0% in xxx ms

== Transcoding [4/4] (100%): 'test3.webm'
under .
] ffmpeg -i ./test3.webm -c:v libvpx-vp9 -b:v 0 -crf 42 -c:a libopus -b:a 64k -c:s copy ./test3_.mkv
] ffmpeg -hide_banner -i ./test3.webm -c:v libvpx-vp9 -b:v 0 -crf 42 -c:a libopus -b:a 64k -c:s copy ./test3_.mkv
ffcvt: to execute -
ffmpeg -i ./test3.webm -c:v libvpx-vp9 -b:v 0 -crf 42 -c:a libopus -b:a 64k -c:s copy ./test3_.mkv
ffmpeg -hide_banner -i ./test3.webm -c:v libvpx-vp9 -b:v 0 -crf 42 -c:a libopus -b:a 64k -c:s copy ./test3_.mkv
Time taken so far xxx ms
] Taking a breath for: xxx ms
Finishing the remaining 0% in xxx ms
Expand All @@ -432,28 +432,28 @@ Saved: 0%

== Transcoding [1/4] (100%): 'StreamSample.mkv'
under .
] ffmpeg -i ./StreamSample.mkv -c:v libvpx-vp9 -b:v 0 -crf 42 -c:a libopus -b:a 64k -c:s copy ./StreamSample_.mkv
] ffmpeg -hide_banner -i ./StreamSample.mkv -c:v libvpx-vp9 -b:v 0 -crf 42 -c:a libopus -b:a 64k -c:s copy ./StreamSample_.mkv
ffcvt: to execute -
ffmpeg -i ./StreamSample.mkv -c:v libvpx-vp9 -b:v 0 -crf 42 -c:a libopus -b:a 64k -c:s copy ./StreamSample_.mkv
ffmpeg -hide_banner -i ./StreamSample.mkv -c:v libvpx-vp9 -b:v 0 -crf 42 -c:a libopus -b:a 64k -c:s copy ./StreamSample_.mkv
Time taken so far xxx ms
] Taking a breath for: xxx ms
Finishing the remaining 0% in xxx ms

== Transcoding [2/4] (100%): 'test1.avi'
under .
] ffmpeg -i ./test1.avi -c:v libvpx-vp9 -b:v 0 -crf 42 -c:a libopus -b:a 64k -c:s copy ./test1_.mkv
] ffmpeg -hide_banner -i ./test1.avi -c:v libvpx-vp9 -b:v 0 -crf 42 -c:a libopus -b:a 64k -c:s copy ./test1_.mkv
ffcvt: to execute -
ffmpeg -i ./test1.avi -c:v libvpx-vp9 -b:v 0 -crf 42 -c:a libopus -b:a 64k -c:s copy ./test1_.mkv
ffmpeg -hide_banner -i ./test1.avi -c:v libvpx-vp9 -b:v 0 -crf 42 -c:a libopus -b:a 64k -c:s copy ./test1_.mkv
Time taken so far xxx ms
] Max conversion count reached.
] None-video file './ffcvt_test.txt' duplicated to dest dir.
] None-video file './test-all.sh' duplicated to dest dir.

== Transcoding [1/4] (100%): 'StreamSample.mkv'
under .
] ffmpeg -i ./StreamSample.mkv -c:v libvpx-vp9 -b:v 0 -crf 42 -c:a libopus -b:a 64k -c:s copy ./StreamSample_.mkv
] ffmpeg -hide_banner -i ./StreamSample.mkv -c:v libvpx-vp9 -b:v 0 -crf 42 -c:a libopus -b:a 64k -c:s copy ./StreamSample_.mkv
ffcvt: to execute -
ffmpeg -i ./StreamSample.mkv -c:v libvpx-vp9 -b:v 0 -crf 42 -c:a libopus -b:a 64k -c:s copy ./StreamSample_.mkv
ffmpeg -hide_banner -i ./StreamSample.mkv -c:v libvpx-vp9 -b:v 0 -crf 42 -c:a libopus -b:a 64k -c:s copy ./StreamSample_.mkv
Time taken so far xxx ms
] Max conversion count reached.
] Transcoding to /tmp/test
Expand All @@ -462,36 +462,36 @@ Time taken so far xxx ms

== Transcoding [1/4] (100%): 'StreamSample.mkv'
under .
] ffmpeg -i ./StreamSample.mkv -c:v libvpx-vp9 -b:v 0 -crf 42 -c:a libopus -b:a 64k -c:s copy /tmp/test/StreamSample.mkv
] ffmpeg -hide_banner -i ./StreamSample.mkv -c:v libvpx-vp9 -b:v 0 -crf 42 -c:a libopus -b:a 64k -c:s copy /tmp/test/StreamSample.mkv
ffcvt: to execute -
ffmpeg -i ./StreamSample.mkv -c:v libvpx-vp9 -b:v 0 -crf 42 -c:a libopus -b:a 64k -c:s copy /tmp/test/StreamSample.mkv
ffmpeg -hide_banner -i ./StreamSample.mkv -c:v libvpx-vp9 -b:v 0 -crf 42 -c:a libopus -b:a 64k -c:s copy /tmp/test/StreamSample.mkv
Time taken so far xxx ms
] Taking a breath for: xxx ms
Finishing the remaining 0% in xxx ms

== Transcoding [2/4] (100%): 'test1.avi'
under .
] ffmpeg -i ./test1.avi -c:v libvpx-vp9 -b:v 0 -crf 42 -c:a libopus -b:a 64k -c:s copy /tmp/test/test1.mkv
] ffmpeg -hide_banner -i ./test1.avi -c:v libvpx-vp9 -b:v 0 -crf 42 -c:a libopus -b:a 64k -c:s copy /tmp/test/test1.mkv
ffcvt: to execute -
ffmpeg -i ./test1.avi -c:v libvpx-vp9 -b:v 0 -crf 42 -c:a libopus -b:a 64k -c:s copy /tmp/test/test1.mkv
ffmpeg -hide_banner -i ./test1.avi -c:v libvpx-vp9 -b:v 0 -crf 42 -c:a libopus -b:a 64k -c:s copy /tmp/test/test1.mkv
Time taken so far xxx ms
] Taking a breath for: xxx ms
Finishing the remaining 0% in xxx ms

== Transcoding [3/4] (100%): 'test2.avi'
under .
] ffmpeg -i ./test2.avi -c:v libvpx-vp9 -b:v 0 -crf 42 -c:a libopus -b:a 64k -c:s copy /tmp/test/test2.mkv
] ffmpeg -hide_banner -i ./test2.avi -c:v libvpx-vp9 -b:v 0 -crf 42 -c:a libopus -b:a 64k -c:s copy /tmp/test/test2.mkv
ffcvt: to execute -
ffmpeg -i ./test2.avi -c:v libvpx-vp9 -b:v 0 -crf 42 -c:a libopus -b:a 64k -c:s copy /tmp/test/test2.mkv
ffmpeg -hide_banner -i ./test2.avi -c:v libvpx-vp9 -b:v 0 -crf 42 -c:a libopus -b:a 64k -c:s copy /tmp/test/test2.mkv
Time taken so far xxx ms
] Taking a breath for: xxx ms
Finishing the remaining 0% in xxx ms

== Transcoding [4/4] (100%): 'test3.webm'
under .
] ffmpeg -i ./test3.webm -c:v libvpx-vp9 -b:v 0 -crf 42 -c:a libopus -b:a 64k -c:s copy /tmp/test/test3.mkv
] ffmpeg -hide_banner -i ./test3.webm -c:v libvpx-vp9 -b:v 0 -crf 42 -c:a libopus -b:a 64k -c:s copy /tmp/test/test3.mkv
ffcvt: to execute -
ffmpeg -i ./test3.webm -c:v libvpx-vp9 -b:v 0 -crf 42 -c:a libopus -b:a 64k -c:s copy /tmp/test/test3.mkv
ffmpeg -hide_banner -i ./test3.webm -c:v libvpx-vp9 -b:v 0 -crf 42 -c:a libopus -b:a 64k -c:s copy /tmp/test/test3.mkv
Time taken so far xxx ms
] Taking a breath for: xxx ms
Finishing the remaining 0% in xxx ms
Expand Down
Loading

0 comments on commit 0b29c9d

Please sign in to comment.