Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix 101soundboards #10

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

fix 101soundboards #10

wants to merge 1 commit into from

Conversation

LWSS
Copy link

@LWSS LWSS commented Apr 22, 2023

they changed the <script> a little bit...

But they added these dumbass iphone sounds to the beginning of every .mp3 file.

The way I dealt with that was to name them according to how long the prefix is and then post-process them with ffmpeg like so

for f in *.mp3_2; do ffmpeg -f mp3 -i "${f}" -ss 0.2 -vcodec copy -acodec copy -y "${f%%.*}.mp3"; done
for f in *.mp3_4; do ffmpeg -f mp3 -i "${f}" -ss 0.4 -vcodec copy -acodec copy -y "${f%%.*}.mp3"; done
for f in *.mp3_6; do ffmpeg -f mp3 -i "${f}" -ss 0.6 -vcodec copy -acodec copy -y "${f%%.*}.mp3"; done
...
then move them all to a new folder mv *.mp3 ./processed/

you could probably automate that part, but I got what I wanted out of it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant