Neocities.org

Thricegreat's Webpage

thricegreat.neocities.org

250,260 views
66 followers
4,359 updates
0 tips
2 likes
kaa 1 year ago

-b:a sets bitrate, which is irrelevant for a lossless conversion. According to https://trac.ffmpeg.org/wiki/Encode/MP3, "If you need constant bitrate (CBR) MP3 audio, you need to use the -b:a option". That being said, if you like the placebo regardless, good!

1 like
kaa 1 year ago

Regarding your usage of sed, if for example your file is named `a-webm.webm`, it'll be converted to `a-mkv.webm`. Here's an example of doing this correctly in pure shell script, I'll leave it as an exercise to the reader to convert it to rc. https://kaa.neocities.org/Program/nameconvert.sh.txt

1 like
thricegreat 1 year ago

>-b:a Yes, that's a pure placebo. But it shows 192kbps instead of 128kbps while encoding. That soothes me mentally.

1 like
thricegreat 1 year ago

>name Of course. For generality, it shouldn't be like that. But I've never used that name form. So it should be fine. Anyway, I think I could use awk and make it into a single line. Maybe -F. with $NF would work.

1 like

Website Stats

Last updated 10 hours ago
CreatedMar 20, 2022
Site Traffic Stats

Tags

writing philosophy technology math blog