Showing posts with label audio. Show all posts
Showing posts with label audio. Show all posts

Tuesday, October 27, 2015

Convert Audio / Video Files With Selene Media Encoder

Selene is a GTK3/Vala media converter tool developed by Tony George (who's also behind Conky Manager), which "aims to provide a simple GUI for converting files to popular formats along with powerful command-line options for automated/unattended encoding".

Selene Media Encoder

Besides supporting most popular audio/video formats, Selene supports 2 types of presets: JSON presets (which determine the audio/video format, codecs, bitrate, quality and so on) as well as Bash script presets which can be used for converting files using any command line utility, useful for integrating tools that aren't directly supported by Selene, as well as for automated / unattended encoding.

It's also important to note that Selene can also crop / resize / resample videos or embed subtitles.

The application is under constant development, with the latest version (2.4) being released about 10 days ago with SOX Audio Processing support, an option to check for missing encoders (see screenshot below) and bug fixes.

Selene Media Encoder
Selene - encoders status

Selene Media Encoder
Selene Presets - filter options


Selene Media Encoder features:
  • Encode videos to MKV/MP4/OGV/WEBM formats;
  • Encode music to MP3/AAC/OGG/OPUS/FLAC/WAV formats;
  • Option to pause/resume encoding;
  • Option to run in background and shutdown PC after encoding;
  • Option for SOX Audio Processing;
  • Customizable presets;
  • Preview file before converting;
  • Bash scripts can be written to control the encoding process;
  • Command line interface for unattended/automated encoding (run "selene --help" for a list of available commands);
  • Support for copying audio tags (Artist, Album, etc) to the the output file;
  • Option to check for missing encoders.
Update January 26th, 2015: Selene has received VP9 and H.265/HEVC encoding support. Note that You need to have ffmpeg/avconv compiled with VP8/VP9 support to be able to use the new VP9 encoder (Ubuntu 14.04 and above should have this enabled by default).


Install Selene Media Encoder in Ubuntu or Linux Mint


Ubuntu / Linux Mint (and derivatives) users can install the latest Selene Media Encoder by using its official PPA. Add the PPA and install Selene using the following commands:
sudo apt-add-repository ppa:teejee2008/ppa
sudo apt-get update
sudo apt-get install selene
If you don't want to add the PPA or you're using Debian, etc., grab the Selene Media Encoder deb from HERE.

For encoding AAC/MP4 format, Selene needs NeroAAC encoder which you can install by using the following commands:
cd /tmp
wget http://ftp6.nero.com/tools/NeroAACCodec-1.5.1.zip
unzip -j NeroAACCodec-1.5.1.zip linux/neroAacEnc
sudo install -m 0755 neroAacEnc /usr/bin
sudo apt-get install gpac

Arch Linux users can install Selene via AUR.

Other Linux distributions: grab the Selene source code via Launchpad (BZR).

For more information, usage, how to use bash scripts for encoding and more, see Selene's homepage.
Read more »

Sunday, October 25, 2015

YouTube Command Line Player And Downloader `mps-youtube` 0.2.0 Released With Support For Downloading YouTube Playlists, More

mps-youtube is a command line tool that can be used to search, play and download YouTube videos, which supports both local and YouTube playlists.

By default, mps-youtube is basically a YouTube audio player (and downloader), but you can enable external video playback (via mpv or MPlayer) from its options:


Features:
  • search and play audio / video from YouTube;
  • search tracks of albums by album title;
  • search and import YouTube playlists;
  • create and save local playlists;
  • download audio / video from YouTube, with support for DASH (so it can mux separate audio and video streams - that means it can download 1080p YouTube videos since all 1080p YouTube videos use DASH);
  • view video comments;
  • works under Linux, Windows and Mac OSX;
  • many other small but useful features.

The latest mps-youtube 0.2.0, released today, adds quite a few new features and improvements, such as:
  • auto detect terminal size;
  • transcode audio to mp3 and other formats (requires ffmpeg or avconv);
  • added "da" (download best available audio file) and "dv" (download best available video file) commands to playlist search results;
  • added options to download YouTube playlists (use "dapl" for audio and "dvpl" for video) by url or id;
  • the progress indicator now works with mpv;
  • added option to show system notifications (on Ubuntu, install "libnotify-bin" and enable notifications using "set notifier notify-send");
  • Added overwrite true/false option for downloads (skips download if downloaded file already exists);
  • added copy to clipboard feature (requires "xclip" from the repositories and "xerox" which you can install via python-pip);
  • remux audio downloads for better file compatibility.


Getting started with mps-youtube


To start mps-youtube, use the following command:
mpsyt

Before using mps-youtube, let's configure it.

mps-youtube uses mplayer as the default media player but you can change this to mpv by using the following command:
set player mpv

By default, mps-youtube searches for music only. If you want to disable this, use the following command:
set search_music false

Also, mps-youtube plays just the audio by default so if you wish to enable playing videos (using the player set above), run the command below (once again, after running "mpsyt"):
set show_video true

You can view all the available configuration options by using the command below:
set


Searching for music / videos using mps-youtube is as easy as adding "." or "/" in front of the search terms (without the quotes). For instance, to search for Led Zeppelin, you can use:
.led zeppelin
or:
/led zeppelin
You can navigate to the next / previous page of results by using "n" (next) and "p" (previous).

To play an item, enter its number. You can also play multiple items, for instance, use "1-5" to play items 1 to 5 or "1, 2, 6" to play the first, second and sixth item and so on.



To download an item, use:
d ITEM-NUMBER
For example, to download the 3rd search result, use "d 3" - this displays all the available audio and video formats and lets you choose which to download. You can also download the best audio (use "da ITEM-NUMBER") or best video (use "dv ITEM-NUMBER"). This works for both searches and playlists.

This is just to get you started so for more information on using mps-youtube, type "h" and then "help TOPIC" (where topic is "basic", "search" and so on) as explained in mps-youtube:



Install mps-youtube


Arch Linux users can install the latest mps-youtube via AUR

mps-youtube is available in Ubuntu 14.10 and 15.04 repositories as well as Debian Sid and Jessie however, that's an older version so if you want to install the latest version in Ubuntu, Debian, Linux Mint and so on, you can use PIP:

1. Install Python PIP:
sudo apt-get install python3-pip

2. Install mps-youtube using Python PIP:
sudo pip3 install mps-youtube

3. You'll also need either mpv or mplayer if you want to play audio or video via mps-youtube.

mpv is available in the official Ubuntu 14.04, 14.10 and 15.04 repositories as well as in Debian Jessie and Sid so to install it, use the following command:
sudo apt-get install mpv

Of course, you can also use mplayer, which is available in the official repositories for any Ubuntu / Debian version - install it using the following command:
sudo apt-get install mplayer

If you had mps-youtube installed and you want to upgrade it (or you want to upgrade it later on, when a new version is released), use the following command:
sudo pip3 install mps-youtube --upgrade

For Windows and Mac OS X installation instructions, bug reports and so on, see the mps-youtube GitHub page.
Read more »

Sunday, October 18, 2015

Automatically Record Skype Calls In Linux With Skype Call Recorder

Skype Call Recorder is a small Linux utility that lets you record your Skype calls easily. The application can record all Skype audio calls automatically or you can set it to ask before recording a call.

Skype Call Recorder Linux

Skype Call Recorder features:
  • record calls automatically / manually;
  • record Skype calls to mp3, ogg vorbis or wav;
  • automatic Skype calls recording on per-caller basis;
  • split stereo recording.

Using the application is very easy: start Skype Call Recorder, then Skype. A popup will be displayed, asking if you want to allow Skype Call Recorder to connect to Skype:

Skype Call Recorder

Enable "remember this selection" if you don't want this popup to be displayed every time you start Skype, then click the "Yes" button.

By default, when you receive a call, Skype Call Recorder will ask if you want to record it but you can set the application to automatically record all calls or set it to record Skype calls on per-caller basis:

Skype Call Recorder

All calls are recorder under ~/Skype Calls ("Skype Calls" folder in your home directory) as mp3s, but these can be changed from the Skype Call Recorder preferences.


Download Skype Call Recorder (deb* and rpm** files available) | Source code

* Ubuntu users: ignore the fact that the download page says "Ubuntu 13.04" for the latest Skype Call Recorder version. The application should also work on Ubuntu 12.04, 12.10, 13.10 and 14.04. Also, make sure you download the latest version!

** The rpm files available on the Skype Call Recorder downloads page are very old so it's probably better to compile it from source if you use Fedora, etc.
Read more »