Hi @lherg,
I created 3 folders:
~$ mkdir ./wav-tmp
~$ mkdir ./wav-lv2
~$ mkdir ./wav-norm
I see these 3 folders present in /home, OK.
In the “wav-tmp” folder I put 3 .wav files:
:~/wav-tmp$ ls
B0.wav C1.wav D1.wav
The “wav-lv2” and “wav-norm” folders that I created, however, are empty for now.
In the script there are these paths:
REP_IN=./wav-tmp
REP_LV2=./wav-lv2
REP_NORM=./wav-norm
Now, I run your script, which I saved in a text file with the name “test”:
:~$ ./test
Conversion de: ./wav-tmp/B0.wav
Vers: ./wav-norm/B0.wav.
ffmpeg version 6.1.1 Copyright (c) 2000-2023 the FFmpeg developers
built with gcc 11 (Ubuntu 11.4.0-1ubuntu1~22.04)
configuration:
libavutil 58. 29.100 / 58. 29.100
libavcodec 60. 31.102 / 60. 31.102
libavformat 60. 16.100 / 60. 16.100
libavdevice 60. 3.100 / 60. 3.100
libavfilter 9. 12.100 / 9. 12.100
libswscale 7. 5.100 / 7. 5.100
libswresample 4. 12.100 / 4. 12.100
[aist#0:0/pcm_s24le @ 0x55e034af0f00] Guessed Channel Layout: stereo
Input #0, wav, from './wav-tmp/B0.wav':
Duration: 00:00:49.36, bitrate: 2116 kb/s
Stream #0:0: Audio: pcm_s24le ([1][0][0][0] / 0x0001), 44100 Hz, 2 channels, s32 (24 bit), 2116 kb/s
[AVFilterGraph @ 0x55e034b395c0] No option name near 'http\://calf.sourceforge.net/plugins/Compressor:c= bypass=0.000000| level_in=1.000000| threshold=0.125000| ratio=6.000000| attack=0.000000| release=250.000000| makeup=1.000000| knee=2.828430| detection=0.000000| stereo_link=0.000000| mix=1.000000'
[AVFilterGraph @ 0x55e034b395c0] Error parsing a filter description around:
[AVFilterGraph @ 0x55e034b395c0] Error parsing filterchain 'lv2=http\\://calf.sourceforge.net/plugins/Compressor:c= bypass=0.000000| level_in=1.000000| threshold=0.125000| ratio=6.000000| attack=0.000000| release=250.000000| makeup=1.000000| knee=2.828430| detection=0.000000| stereo_link=0.000000| mix=1.000000' around:
[aost#0:0/pcm_s16le @ 0x55e034b38500] Error initializing a simple filtergraph
Error opening output file ./wav-lv2/B0.wav.
Error opening output files: Invalid argument
sox FAIL formats: can't open input file `./wav-lv2/B0.wav': No such file or directory
Conversion de: ./wav-tmp/C1.wav
Vers: ./wav-norm/C1.wav.
ffmpeg version 6.1.1 Copyright (c) 2000-2023 the FFmpeg developers
built with gcc 11 (Ubuntu 11.4.0-1ubuntu1~22.04)
configuration:
libavutil 58. 29.100 / 58. 29.100
libavcodec 60. 31.102 / 60. 31.102
libavformat 60. 16.100 / 60. 16.100
libavdevice 60. 3.100 / 60. 3.100
libavfilter 9. 12.100 / 9. 12.100
libswscale 7. 5.100 / 7. 5.100
libswresample 4. 12.100 / 4. 12.100
[aist#0:0/pcm_s24le @ 0x55d7a47f4f00] Guessed Channel Layout: stereo
Input #0, wav, from './wav-tmp/C1.wav':
Duration: 00:00:49.36, bitrate: 2116 kb/s
Stream #0:0: Audio: pcm_s24le ([1][0][0][0] / 0x0001), 44100 Hz, 2 channels, s32 (24 bit), 2116 kb/s
[AVFilterGraph @ 0x55d7a483d5c0] No option name near 'http\://calf.sourceforge.net/plugins/Compressor:c= bypass=0.000000| level_in=1.000000| threshold=0.125000| ratio=6.000000| attack=0.000000| release=250.000000| makeup=1.000000| knee=2.828430| detection=0.000000| stereo_link=0.000000| mix=1.000000'
[AVFilterGraph @ 0x55d7a483d5c0] Error parsing a filter description around:
[AVFilterGraph @ 0x55d7a483d5c0] Error parsing filterchain 'lv2=http\\://calf.sourceforge.net/plugins/Compressor:c= bypass=0.000000| level_in=1.000000| threshold=0.125000| ratio=6.000000| attack=0.000000| release=250.000000| makeup=1.000000| knee=2.828430| detection=0.000000| stereo_link=0.000000| mix=1.000000' around:
[aost#0:0/pcm_s16le @ 0x55d7a483c500] Error initializing a simple filtergraph
Error opening output file ./wav-lv2/C1.wav.
Error opening output files: Invalid argument
sox FAIL formats: can't open input file `./wav-lv2/C1.wav': No such file or directory
Conversion de: ./wav-tmp/D1.wav
Vers: ./wav-norm/D1.wav.
ffmpeg version 6.1.1 Copyright (c) 2000-2023 the FFmpeg developers
built with gcc 11 (Ubuntu 11.4.0-1ubuntu1~22.04)
configuration:
libavutil 58. 29.100 / 58. 29.100
libavcodec 60. 31.102 / 60. 31.102
libavformat 60. 16.100 / 60. 16.100
libavdevice 60. 3.100 / 60. 3.100
libavfilter 9. 12.100 / 9. 12.100
libswscale 7. 5.100 / 7. 5.100
libswresample 4. 12.100 / 4. 12.100
[aist#0:0/pcm_s24le @ 0x5578cf2cef00] Guessed Channel Layout: stereo
Input #0, wav, from './wav-tmp/D1.wav':
Duration: 00:00:49.36, bitrate: 2116 kb/s
Stream #0:0: Audio: pcm_s24le ([1][0][0][0] / 0x0001), 44100 Hz, 2 channels, s32 (24 bit), 2116 kb/s
[AVFilterGraph @ 0x5578cf3175c0] No option name near 'http\://calf.sourceforge.net/plugins/Compressor:c= bypass=0.000000| level_in=1.000000| threshold=0.125000| ratio=6.000000| attack=0.000000| release=250.000000| makeup=1.000000| knee=2.828430| detection=0.000000| stereo_link=0.000000| mix=1.000000'
[AVFilterGraph @ 0x5578cf3175c0] Error parsing a filter description around:
[AVFilterGraph @ 0x5578cf3175c0] Error parsing filterchain 'lv2=http\\://calf.sourceforge.net/plugins/Compressor:c= bypass=0.000000| level_in=1.000000| threshold=0.125000| ratio=6.000000| attack=0.000000| release=250.000000| makeup=1.000000| knee=2.828430| detection=0.000000| stereo_link=0.000000| mix=1.000000' around:
[aost#0:0/pcm_s16le @ 0x5578cf316500] Error initializing a simple filtergraph
Error opening output file ./wav-lv2/D1.wav.
Error opening output files: Invalid argument
sox FAIL formats: can't open input file `./wav-lv2/D1.wav': No such file or directory
Am I doing something wrong?
a.