[FFmpeg-user] Missing ')' or too many args in 'between(t'
Ulf Zibis
Ulf.Zibis at CoSoCo.de
Wed May 6 15:06:19 EEST 2020
Hi,
I get this result here:
$ ffmpeg -ss 03:00 -t 01:30:50 -i in.mp3 -t 00:30:00 -f lavfi -i life=s=320x240:mold=10:r=30:ratio=0.1:death_color=#C83232:life_color=#00ff00 -af volume='not(between(t,46:50,48:50))',volume='not(between(t,1:30:00,1:31:00))',atempo=1/1.1/1.3,aresample=48000/1.1,asetrate=48000 -vf format=yuv420p -crf 39 out_1.3x.mp4
ffmpeg version N-97388-g2a322906b7 Copyright (c) 2000-2020 the FFmpeg developers
built with gcc 7 (Ubuntu 7.5.0-3ubuntu1~18.04)
configuration: --enable-libx264 --enable-gpl
libavutil 56. 42.102 / 56. 42.102
libavcodec 58. 80.100 / 58. 80.100
libavformat 58. 42.100 / 58. 42.100
libavdevice 58. 9.103 / 58. 9.103
libavfilter 7. 79.100 / 7. 79.100
libswscale 5. 6.101 / 5. 6.101
libswresample 3. 6.100 / 3. 6.100
libpostproc 55. 6.100 / 55. 6.100
Input #0, mp3, from 'in.mp3':
Duration: 01:34:13.70, start: 0.023021, bitrate: 42 kb/s
Stream #0:0: Audio: mp3, 48000 Hz, stereo, fltp, 42 kb/s
Metadata:
encoder : LAME3.100
Input #1, lavfi, from 'life=s=320x240:mold=10:r=30:ratio=0.1:death_color=#C83232:life_color=#00ff00':
Duration: N/A, start: 0.000000, bitrate: N/A
Stream #1:0: Video: rawvideo (RGB[24] / 0x18424752), rgb24, 320x240 [SAR 1:1 DAR 4:3], 30 tbr, 30 tbn, 30 tbc
Stream mapping:
Stream #1:0 -> #0:0 (rawvideo (native) -> h264 (libx264))
Stream #0:0 -> #0:1 (mp3 (mp3float) -> aac (native))
Press [q] to stop, [?] for help
[libx264 @ 0x55b1b5602340] using SAR=1/1
[libx264 @ 0x55b1b5602340] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.1 Cache64
[libx264 @ 0x55b1b5602340] profile High, level 1.3
[libx264 @ 0x55b1b5602340] 264 - core 152 r2854 e9a5903 - H.264/MPEG-4 AVC codec - Copyleft 2003-2017 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=3 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=39.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
[Parsed_volume_0 @ 0x55b1b575cd40] [Eval @ 0x7ffed56fa4a0] Missing ')' or too many args in 'between(t'
[Parsed_volume_0 @ 0x55b1b575cd40] Error when evaluating the volume expression 'not(between(t'
[AVFilterGraph @ 0x55b1b575c5c0] Error initializing filter 'volume' with args 'not(between(t'
Error reinitializing filters!
Failed to inject frame into filter network: Invalid argument
Error while processing the decoded data for stream #0:0
Conversion failed!
What is the problem here ?
-Ulf
More information about the ffmpeg-user
mailing list