Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- >use firefox
- >download greasemonkey
- >download nicofox
- >for the song you want to extract, find the nicovideo link either directly, via searching titles, or, if provided, in the youtube video description
- >once on page, click the nicofox button in top right and click Options at bottom of window
- >disable comments and choose which directory to store files in; try the same path as your ffmpeg folder
- >oh yeah get ffmpeg
- https://www.ffmpeg.org/download.html
- >within the ffmpeg folder where the three .exe files are, create a .bat file by creating a blank text tile and renaming the extension
- >name it what you like to help you recognize that it will extract audio
- >right click and press Edit
- >paste this:
- ffmpeg -i %1 -acodec copy -vn %1.m4a
- >now you can drag the .mp4 file over the .bat file and you'll see a .m4a file appear in the same directory
- If you can figure out how to really get another batch script rolling, as in queuing audio extraction from all video files in a folder, pls gibe and share; this is what I use to batch convert gifs to webms courtesy of whailormoon: {
- FOR %%G IN ("F:\Users\Mr. Africa-America\Pictures\gifs\*.gif") DO ffmpeg -i "%%G" -c:v libvpx -crf 12 -pix_fmt yuv420p -b:v 2000k "%%G.webm"
- move /y "F:\Users\Mr. Africa-America\Pictures\gifs\*.webm" "F:\Users\Mr. Africa-America\Pictures\webm"
- cd ..
- cd "F:\Users\Mr. Africa-America\Pictures\webm"
- powershell -Command "& {Dir *.gif.webm | rename-item -newname { $_.name -replace '\.gif.webm$','.webm' } }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement