From UnwelcomeGuests
Jump to: navigation, search
(Started, for linux)
 
(add reference to dirpy.com)
 
(3 intermediate revisions by 2 users not shown)
Line 2: Line 2:
 
This should present no problem. Just use ''right-''click, 'Save As'...
 
This should present no problem. Just use ''right-''click, 'Save As'...
  
== rtsp:// ==
+
== YouTube ==
 +
 
 +
A handy site for ripping audio from YouTube videos: http://dirpy.com/
 +
 
 +
== Unusual Protocols - rtsp:// , mms:// ==
  
 
=== Linux ===
 
=== Linux ===
 +
 +
You'll have to have installed win32codecs ("sudo apt-get install win32codecs"):
  
 
  mplayer -dumpaudio -dumpfile ripped-file.rm  rtsp://128.104.248.78:554/wpr/dun/dun050412d.rm?cloakport=8080,554,7070
 
  mplayer -dumpaudio -dumpfile ripped-file.rm  rtsp://128.104.248.78:554/wpr/dun/dun050412d.rm?cloakport=8080,554,7070
Line 14: Line 20:
 
=== Linux ===
 
=== Linux ===
  
To convert from video to audio:
+
To convert from video to MP3:
  
 
  ffmpeg -i input-file.mp4 -vn -o output-file.mp3
 
  ffmpeg -i input-file.mp4 -vn -o output-file.mp3
Line 21: Line 27:
  
 
* -ab <bitrate> Set the bitrate (default=64k)
 
* -ab <bitrate> Set the bitrate (default=64k)
* -ac 2 Stereo (default=mono)
+
* -ac <#channels> Set how many channels (default=1, mono)
 
* -ar <freq> Set sampling frequency (default=44100Hz)
 
* -ar <freq> Set sampling frequency (default=44100Hz)
 
* -vn Discard the video
 
* -vn Discard the video
 +
 +
[[category:studio]]

Latest revision as of 20:57, 30 January 2013

Most audio on the web is MP3 files at addresses which begin http://. This should present no problem. Just use right-click, 'Save As'...

YouTube

A handy site for ripping audio from YouTube videos: http://dirpy.com/

Unusual Protocols - rtsp:// , mms://

Linux

You'll have to have installed win32codecs ("sudo apt-get install win32codecs"):

mplayer -dumpaudio -dumpfile ripped-file.rm  rtsp://128.104.248.78:554/wpr/dun/dun050412d.rm?cloakport=8080,554,7070

This will discard the video stream. If you want that, use 'dumpstream' instead

File Formats

Linux

To convert from video to MP3:

ffmpeg -i input-file.mp4 -vn -o output-file.mp3

ffmpeg has a lot of options, including:

  • -ab <bitrate> Set the bitrate (default=64k)
  • -ac <#channels> Set how many channels (default=1, mono)
  • -ar <freq> Set sampling frequency (default=44100Hz)
  • -vn Discard the video