published: python3 check.py goodbye-to-spring.mp3 intro.mp3 0 15 run: python3 /home/ubuntu/hub-repo/public/hub-media/royalty-free-podcast-intro-music/check.py goodbye-to-spring.mp3 intro.mp3 0 15 {"cut": "intro.mp3", "requested_s": 15.0, "measured_s": 15.020408, "error_ms": 20.4, "codec": "mp3", "sample_rate": "44100", "channels": 2, "kbps": 198, "packets": 575, "copied_from_source_packet": 1, "frame_copy": true, "start_frame_s": 0.026, "lufs_I": "-17.8", "LRA": "2.4", "true_peak_dbfs": "-1.9"} exit=0 published: python3 check.py goodbye-to-spring.mp3 intro.mp3 0 15 edge: outro, times typed as m:ss like in the tool run: python3 /home/ubuntu/hub-repo/public/hub-media/royalty-free-podcast-intro-music/check.py goodbye-to-spring.mp3 outro.mp3 3:24 3:54 {"cut": "outro.mp3", "requested_s": 30.0, "measured_s": 29.988571, "error_ms": -11.4, "codec": "mp3", "sample_rate": "44100", "channels": 2, "kbps": 207, "packets": 1148, "copied_from_source_packet": 7811, "frame_copy": true, "start_frame_s": 204.042, "lufs_I": "-9.5", "LRA": "1.4", "true_peak_dbfs": "0.9"} exit=0 published: python3 check.py goodbye-to-spring.mp3 intro.mp3 0 15 edge: missing file run: python3 /home/ubuntu/hub-repo/public/hub-media/royalty-free-podcast-intro-music/check.py nofile.mp3 intro.mp3 0 15 missing or empty file: nofile.mp3 exit=1 published: python3 check.py goodbye-to-spring.mp3 intro.mp3 0 15 edge: empty file run: python3 /home/ubuntu/hub-repo/public/hub-media/royalty-free-podcast-intro-music/check.py goodbye-to-spring.mp3 empty.mp3 0 15 missing or empty file: empty.mp3 exit=1 published: python3 check.py goodbye-to-spring.mp3 intro.mp3 0 15 edge: a text file named .mp3 run: python3 /home/ubuntu/hub-repo/public/hub-media/royalty-free-podcast-intro-music/check.py goodbye-to-spring.mp3 text.mp3 0 15 not an audio file: text.mp3 exit=1 published: python3 check.py goodbye-to-spring.mp3 intro.mp3 0 15 edge: one argument only run: python3 /home/ubuntu/hub-repo/public/hub-media/royalty-free-podcast-intro-music/check.py goodbye-to-spring.mp3 usage: python3 check.py (times as 204 or 3:24) exit=1 published: python3 check.py goodbye-to-spring.mp3 intro.mp3 0 15 edge: non-ASCII file name and Windows line break in the end time run: python3 /home/ubuntu/hub-repo/public/hub-media/royalty-free-podcast-intro-music/check.py goodbye-to-spring.mp3 intro-café.mp3 0 "$(printf '15\r')" {"cut": "intro-caf\u00e9.mp3", "requested_s": 15.0, "measured_s": 15.020408, "error_ms": 20.4, "codec": "mp3", "sample_rate": "44100", "channels": 2, "kbps": 198, "packets": 575, "copied_from_source_packet": 1, "frame_copy": true, "start_frame_s": 0.026, "lufs_I": "-17.8", "LRA": "2.4", "true_peak_dbfs": "-1.9"} exit=0 published: bash fade-out.sh intro.mp3 1.5 run: bash /home/ubuntu/hub-repo/public/hub-media/royalty-free-podcast-intro-music/fade-out.sh intro.mp3 1.5 wrote ./intro-fade.mp3 (fade from 13.520s for 1.5s) exit=0 published: bash fade-out.sh intro.mp3 1.5 edge: missing file run: bash /home/ubuntu/hub-repo/public/hub-media/royalty-free-podcast-intro-music/fade-out.sh nofile.mp3 1.5 missing file: nofile.mp3 exit=2 published: bash fade-out.sh intro.mp3 1.5 edge: empty file run: bash /home/ubuntu/hub-repo/public/hub-media/royalty-free-podcast-intro-music/fade-out.sh empty.mp3 1.5 empty file: empty.mp3 exit=3 published: bash fade-out.sh intro.mp3 1.5 edge: a text file run: bash /home/ubuntu/hub-repo/public/hub-media/royalty-free-podcast-intro-music/fade-out.sh text.mp3 1.5 [mp3 @ 0x58e44041e800] Failed to read frame size: Could not seek to 1029. text.mp3: Invalid argument not an audio file: text.mp3 exit=4 published: bash fade-out.sh intro.mp3 1.5 edge: Windows line break in the seconds run: cp intro.mp3 intro-b.mp3; bash /home/ubuntu/hub-repo/public/hub-media/royalty-free-podcast-intro-music/fade-out.sh intro-b.mp3 "$(printf '1.5\r')" wrote ./intro-b-fade.mp3 (fade from 13.520s for 1.5s) exit=0 published: bash fade-out.sh intro.mp3 1.5 edge: non-ASCII file name run: bash /home/ubuntu/hub-repo/public/hub-media/royalty-free-podcast-intro-music/fade-out.sh intro-café.mp3 1.5 wrote ./intro-café-fade.mp3 (fade from 13.520s for 1.5s) exit=0 published: bash fade-out.sh intro.mp3 1.5 edge: file name without an extension run: cp intro.mp3 noext; bash /home/ubuntu/hub-repo/public/hub-media/royalty-free-podcast-intro-music/fade-out.sh ./noext 1.5; ls noext-fade.mp3 wrote ./noext-fade.mp3 (fade from 13.520s for 1.5s) noext-fade.mp3 exit=0 published: bash fade-out.sh intro.mp3 1.5 edge: a dot in the folder name run: mkdir -p my.show; cp intro.mp3 my.show/intro; bash /home/ubuntu/hub-repo/public/hub-media/royalty-free-podcast-intro-music/fade-out.sh my.show/intro 1.5; ls my.show wrote my.show/intro-fade.mp3 (fade from 13.520s for 1.5s) intro intro-fade.mp3 exit=0 published: bash fade-out.sh intro.mp3 1.5 edge: fade is not a number run: bash /home/ubuntu/hub-repo/public/hub-media/royalty-free-podcast-intro-music/fade-out.sh intro.mp3 abc fade must be a number of seconds above 0, got: abc exit=5 published: bash fade-out.sh intro.mp3 1.5 edge: fade longer than the file run: bash /home/ubuntu/hub-repo/public/hub-media/royalty-free-podcast-intro-music/fade-out.sh intro.mp3 20 fade of 20s is not shorter than the file (15.020408s) exit=5 published: bash fade-out.sh intro.mp3 1.5 edge: no arguments run: bash /home/ubuntu/hub-repo/public/hub-media/royalty-free-podcast-intro-music/fade-out.sh usage: bash fade-out.sh exit=1 published: ffmpeg -hide_banner -nostats -i intro-16.mp3 -af ebur128=peak=true -f null - 2>&1 | tail -12 run: ffmpeg -hide_banner -nostats -i intro-16.mp3 -af ebur128=peak=true -f null - 2>&1 | tail -12 Integrated loudness: I: -15.8 LUFS Threshold: -25.9 LUFS Loudness range: LRA: 1.8 LU Threshold: -35.7 LUFS LRA low: -16.7 LUFS LRA high: -14.9 LUFS True peak: Peak: -1.5 dBFS exit=0 published: ffmpeg -hide_banner -nostats -i intro-16.mp3 -af ebur128=peak=true -f null - 2>&1 | tail -12 edge: missing file (exactly the published pipeline: the shell exit is tail's, 0) run: ffmpeg -hide_banner -nostats -i nofile.mp3 -af ebur128=peak=true -f null - 2>&1 | tail -12 [in#0 @ 0x5be9a10c0dc0] Error opening input: No such file or directory Error opening input file nofile.mp3. Error opening input files: No such file or directory exit=0 published: ffmpeg -hide_banner -nostats -i intro-16.mp3 -af ebur128=peak=true -f null - 2>&1 | tail -12 edge: empty file (exactly the published pipeline: the shell exit is tail's, 0) run: ffmpeg -hide_banner -nostats -i empty.mp3 -af ebur128=peak=true -f null - 2>&1 | tail -12 [mp3 @ 0x5a00ee085ec0] Format mp3 detected only with low score of 1, misdetection possible! [mp3 @ 0x5a00ee085ec0] Failed to read frame size: Could not seek to 1026. [in#0 @ 0x5a00ee085dc0] Error opening input: Invalid argument Error opening input file empty.mp3. Error opening input files: Invalid argument exit=0 published: ffmpeg -hide_banner -nostats -i intro-16.mp3 -af ebur128=peak=true -f null - 2>&1 | tail -12 edge: non-ASCII file name run: cp intro-16.mp3 intro-16-café.mp3; ffmpeg -hide_banner -nostats -i intro-16-café.mp3 -af ebur128=peak=true -f null - 2>&1 | tail -12 | grep -E ' I:|Peak:' I: -15.8 LUFS Peak: -1.5 dBFS exit=0 published: ffmpeg -hide_banner -nostats -i intro-16.mp3 -af ebur128=peak=true -f null - 2>&1 | tail -12 edge: Windows line breaks (file name read from a CRLF list; strip CR first) run: printf 'intro-16.mp3\r\n' > list.txt; f=$(head -1 list.txt | tr -d '\r'); ffmpeg -hide_banner -nostats -i "$f" -af ebur128=peak=true -f null - 2>&1 | tail -12 | grep ' I:' I: -15.8 LUFS exit=0 published: python3 credit.py tracks.tsv edge: Windows line breaks and non-ASCII text run: od -c tracks.tsv | grep -c '\\r'; python3 /home/ubuntu/hub-repo/public/hub-media/royalty-free-podcast-intro-music/credit.py tracks.tsv 3 Music: "Goodbye To Spring (instrumental)" by Josh Woodward (https://www.joshwoodward.com/song/GoodbyeToSpring). Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Cut to 0:00-0:15 (faded out) and 3:24-3:54, both leveled to -16 LUFS. Music: "4 RNDD!" by Drozerix (https://modarchive.org/module.php?172898), CC0 1.0 (https://creativecommons.org/publicdomain/zero/1.0/). No credit required; given as thanks. Music: "Été café" by José Ñúñez (https://example.org/ete). Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). exit=0 published: python3 credit.py tracks.tsv edge: header row run: head -1 header.tsv; python3 /home/ubuntu/hub-repo/public/hub-media/royalty-free-podcast-intro-music/credit.py header.tsv title artist source_url license license_url changes Music: "Goodbye To Spring (instrumental)" by Josh Woodward (https://www.joshwoodward.com/song/GoodbyeToSpring). Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Cut to 0:00-0:15 (faded out) and 3:24-3:54, both leveled to -16 LUFS. exit=0 published: python3 credit.py tracks.tsv edge: comma-separated file run: python3 /home/ubuntu/hub-repo/public/hub-media/royalty-free-podcast-intro-music/credit.py t.csv line 1: need title, artist, source_url, license, license_url (no tabs found: separate the columns with tabs, not commas) exit=1 published: python3 credit.py tracks.tsv edge: Latin-1 file run: python3 /home/ubuntu/hub-repo/public/hub-media/royalty-free-podcast-intro-music/credit.py latin1.tsv not UTF-8: latin1.tsv (save it as UTF-8 and run again) exit=1 published: python3 credit.py tracks.tsv edge: missing file run: python3 /home/ubuntu/hub-repo/public/hub-media/royalty-free-podcast-intro-music/credit.py nofile.tsv missing file: nofile.tsv exit=1 published: python3 credit.py tracks.tsv edge: empty file run: python3 /home/ubuntu/hub-repo/public/hub-media/royalty-free-podcast-intro-music/credit.py empty.tsv empty file: empty.tsv exit=1 published: python3 credit.py tracks.tsv edge: no argument run: python3 /home/ubuntu/hub-repo/public/hub-media/royalty-free-podcast-intro-music/credit.py usage: python3 credit.py tracks.tsv exit=1 published: python3 credit.py tracks.tsv edge: a full stop typed at the end of the changes column run: cut -f6 dot.tsv; python3 /home/ubuntu/hub-repo/public/hub-media/royalty-free-podcast-intro-music/credit.py dot.tsv Cut and faded. Music: "Goodbye To Spring (instrumental)" by Josh Woodward (https://www.joshwoodward.com/song/GoodbyeToSpring). Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Cut and faded. exit=0 test script (not printed on the page): node tool-run.cjs goodbye-to-spring.mp3 0:00 0:15 intro.mp3 run: PLAYWRIGHT_PATH=/home/ubuntu/agent-tools/node_modules/playwright node /home/ubuntu/hub-repo/public/hub-media/royalty-free-podcast-intro-music/tool-run.cjs goodbye-to-spring.mp3 0:00 0:15 run-intro.mp3; ffprobe -v error -show_entries format=duration -of csv=p=0 run-intro.mp3; rm -f run-intro.mp3 {"file":"goodbye-to-spring.mp3","start":"0:00","end":"0:15","bytes":371480,"suggested":"goodbye-to-spring-cut.mp3"} 15.020408 exit=0 test script (not printed on the page): node tool-run.cjs goodbye-to-spring.mp3 0:00 0:15 intro.mp3 edge: missing file run: PLAYWRIGHT_PATH=/home/ubuntu/agent-tools/node_modules/playwright node /home/ubuntu/hub-repo/public/hub-media/royalty-free-podcast-intro-music/tool-run.cjs nofile.mp3 0:00 0:15 x.mp3 {"file":"nofile.mp3","result":"missing or empty input"} exit=2 test script (not printed on the page): node tool-run.cjs goodbye-to-spring.mp3 0:00 0:15 intro.mp3 edge: non-ASCII file name run: cp goodbye-to-spring.mp3 spring-café.mp3; PLAYWRIGHT_PATH=/home/ubuntu/agent-tools/node_modules/playwright node /home/ubuntu/hub-repo/public/hub-media/royalty-free-podcast-intro-music/tool-run.cjs spring-café.mp3 0:00 0:15 x.mp3; rm -f spring-café.mp3 x.mp3 {"file":"spring-café.mp3","start":"0:00","end":"0:15","bytes":371480,"suggested":"spring-café-cut.mp3"} exit=0 test script (not printed on the page): node normalize-run.cjs intro-fade.mp3 intro-16.mp3 run: PLAYWRIGHT_PATH=/home/ubuntu/agent-tools/node_modules/playwright node /home/ubuntu/hub-repo/public/hub-media/royalty-free-podcast-intro-music/normalize-run.cjs intro-fade.mp3 run-16.mp3; ffmpeg -hide_banner -nostats -i run-16.mp3 -af ebur128=peak=true -f null - 2>&1 | tail -12 | grep -E ' I:|Peak:'; rm -f run-16.mp3 {"file":"intro-fade.mp3","seconds":"3.9","bytes":370166,"suggested":"output.mp3"} I: -15.8 LUFS Peak: -1.5 dBFS exit=0 test script (not printed on the page): node normalize-run.cjs intro-fade.mp3 intro-16.mp3 edge: missing file run: PLAYWRIGHT_PATH=/home/ubuntu/agent-tools/node_modules/playwright node /home/ubuntu/hub-repo/public/hub-media/royalty-free-podcast-intro-music/normalize-run.cjs nofile.mp3 x.mp3 {"file":"nofile.mp3","result":"missing or empty input"} exit=2