
This script will allow you to extract the audio from all media files acceptable to ffmpeg. It gives options of output format, channels, and bitrate. Because of the way it works, it could also be used to batch convert audio files, although it may be difficult to convert to certain formats because some are based on Constant Bitrates, while others are on Variable Bitrates, and this script does not account for this change (yet..). It easily does batch extractions where some files need to be treated differently than others. Very useful when coupled with the Firefox plugin DownloadHelper (no association) on sites such as youtube and imeem. Use DH to get the .flv file then use Extract Audio to get only the music in MP3 player compatible format.
To use this script, extract the .tar.gz file into /home/USR/.gnome2/nautilus-scripts/
If it doesn't appear in your scipts context menu, you may need to use "sudo chmod a+x '.gnome2/nautilus-scripts/Extract Audio' "
Note: I've noticed for my script, as well as all others, in Ubuntu, nautilus does not accurately report selected files when right-clicking on desktop. To get around this, just open Places->Desktop and select the files there.
Enjoy
9 years ago
First release- v0.1
9 years ago
First release- v0.1
stratok
9 years ago
Report
jonsatan
9 years ago
then i tried to run the script on a gnome-terminal...
j0n-4x0@j0n-4x0-desktop:~$ sh '/home/j0n-4x0/.gnome2/nautilus-scripts/Extract Audio' '/home/j0n-4x0/Escritorio/John_Lennon_-_Woman_Acoustic_Studio_.flv'
FFmpeg version SVN-rUNKNOWN, Copyright (c) 2000-2007 Fabrice Bellard, et al.
configuration: --enable-gpl --enable-pp --enable-swscaler --enable-pthreads --enable-libvorbis --enable-libtheora --enable-libogg --enable-libgsm --enable-dc1394 --disable-debug --enable-shared --prefix=/usr
libavutil version: 1d.49.3.0
libavcodec version: 1d.51.38.0
libavformat version: 1d.51.10.0
built on Mar 12 2008 14:31:53, gcc: 4.2.3 (Ubuntu 4.2.3-2ubuntu4)
/home/j0: I/O error occured
Usually that means that input file is truncated and/or corrupted.
Report
style14
9 years ago
Report
CruelAngel
9 years ago
Report
CruelAngel
9 years ago
http://img.photobucket.com/albums/v55/Barmunk/xterm_output.png
Report