Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- reminder you can create webms from individual songs & album covers, or full album crossfades just with foobar, ffmpeg and a nifty component called foo_run
- first you set up a conversion preset (right click song -> convert -> ... ):
- >output format: WAV
- >destination: [your choice of destination], Overwrite, Merge all Tracks
- >processing: skip silence, crossfader (for album crossfades)
- >other: generate previews, fixed track length 30s (divide 5min/300s by the amount of tracks in the album), transfer attached pictures, copy other files to the >destination: cover.jpg (you can specify your own album art naming scheme here, but the ffmpeg command will only be looking for cover.jpg)
- save it as a preset and now you should be able to set up a hotkey for it.
- here's the command i use in foo_run (foobar prefs > tools > run services > add):
- >cmd /s /k pushd "C:\Program Files\ffmpeg\bin" && ffmpeg -framerate 7 -loop 1 -i "C:\converted\cover.jpg" -c:v libvpx -i "C:\converted\Image.wav" -c:a libvorbis -b:a 96k -b:v 50k -vf scale=-1:300 -shortest -metadata title="%artist% - %album%" -metadata author="%artist%" -threads 8 -y "C:\converted\%artist% - %album%.webm" && pause && exit
- depends on the existence of cover.jpg in the song's directory, so make sure it is there.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement