Advertisement
Guest User

How to extract Nico songs

a guest
Jul 25th, 2014
249
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.50 KB | None | 0 0
  1. >use firefox
  2. >download greasemonkey
  3. >download nicofox
  4.  
  5. >for the song you want to extract, find the nicovideo link either directly, via searching titles, or, if provided, in the youtube video description
  6. >once on page, click the nicofox button in top right and click Options at bottom of window
  7. >disable comments and choose which directory to store files in; try the same path as your ffmpeg folder
  8.  
  9. >oh yeah get ffmpeg
  10. https://www.ffmpeg.org/download.html
  11.  
  12. >within the ffmpeg folder where the three .exe files are, create a .bat file by creating a blank text tile and renaming the extension
  13. >name it what you like to help you recognize that it will extract audio
  14. >right click and press Edit
  15. >paste this:
  16. ffmpeg -i %1 -acodec copy -vn %1.m4a
  17. >now you can drag the .mp4 file over the .bat file and you'll see a .m4a file appear in the same directory
  18.  
  19.  
  20.  
  21. 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: {
  22.  
  23. 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"
  24.  
  25. move /y "F:\Users\Mr. Africa-America\Pictures\gifs\*.webm" "F:\Users\Mr. Africa-America\Pictures\webm"
  26.  
  27. cd ..
  28. cd "F:\Users\Mr. Africa-America\Pictures\webm"
  29.  
  30. powershell -Command "& {Dir *.gif.webm | rename-item -newname { $_.name -replace '\.gif.webm$','.webm' } }
  31.  
  32. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement