Selene

Latest Version: 2.4 (2014-04-12)
Platform: Linux (Debian/Ubuntu)
Language: Vala & GTK3
ProjectPage: https://launchpad.net/selene

Selene Media Encoder

Selene is an audio/video converter for converting files to OGG/OGV/ MKV/MP4/WEBM/OPUS/AAC/FLAC/MP3/WAV formats. It aims to provide a simple GUI for converting files to popular formats along with powerful command-line options for automated/unattended encoding.

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
  • Bash scripts can be written to control the encoding process
  • Commandline interface for unattended/automated encoding

Screenshots

Installation

Ubuntu-based Distributions (Ubuntu, Linux Mint, etc)

Install from PPA for Ubuntu 13.10 (saucy), 14.04 (trusty), 14.10 (utopic).
Run the following commands in a terminal window:

sudo apt-add-repository -y ppa:teejee2008/ppa
sudo apt-get update
sudo apt-get install selene

For any other Ubuntu release, you can install from the DEB files given below.

selene-latest-i386.deb (32-bit)
selene-latest-amd64.deb (64-bit)

Debian

DEB files are available from following links:

selene-latest-i386.deb (32-bit)
selene-latest-amd64.deb (64-bit)

Other Linux Distributions

An installer is available from following links:

selene-latest-i386.run (32-bit)
selene-latest-amd64.run (64-bit)

Run it from a terminal window with the following commands:

sh ./selene-latest-i386.run  #32-bit
sh ./selene-latest-amd64.run  #64-bit

Depending on the distribution that you are using, you may need to install packages for the following dependencies:

Required: libgtk-3 libgee2 libjson-glib rsync realpath libav-tools mediainfo
Optional: vorbis-tools, opus-tools, vpx-tools, x264, lame, mkvtoolnix, ffmpeg2theora, gpac, sox 

AAC Encoding

For encoding to AAC/MP4 format you need to install the NeroAAC encoder. Run the following commands in a terminal window. It will download and install the NeroAAC encoder.

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

Usage

Drag audio/video files to the main window, select a script or preset from the drop-down and click 'Start' to begin. The progress window will display the progress for each file along with options to pause/resume encoding. Right-click on files in the main window for more options.

Running the app in admin mode (using sudo or gksu) will enable additional options for running the conversion process with lower priority (background mode) and for shutting down the system after encoding.

Command-line Options

Selene can also be used as a normal command-line utility. Run Selene with the '--help' argument to see the full list of options.

Using bash scripts for encoding

Bash scripts can be written for controlling the encoding process. For example:

x264 -o "${outDir}/${title}.mkv" "${inFile}"

This script converts any given input file to an MKV file using the x264 encoder.

${inFile}, ${outDir}, ${title} are variables which refer to the input file. These variables will be inserted into the script before execution. It is mandatory to use these variables instead of hard-coding the input file names. This is the only restriction.

The script can use any command line utility (like ffmpeg, x264, etc) for converting the files. The progress percentage will be calculated automatically from the console output.

If the encoding tool is a common tool (like ffmpeg or x264), selene will provide some additional features:

  • The console output displayed in the statusbar will be pretty-formatted
  • The input files can be auto-cropped by replacing the cropping parameters specified in the script.

AutoCropping

For auto-cropping the input files:

  1. Select one or more files from the input list
  2. Right-click and select the AutoCrop option. This will calculate the cropping parameters for the file.
  3. Select any script that uses avconv, x264 or ffmpeg2theora for encoding. The script must use the cropping option for the encoder that is used. For example, we can use:
    x264 --vf crop:0,0,0,0 -o "${outDir}/${title}.mkv" "${inFile}"
    The cropping values specified in the script will be replaced with the calculated values before the script is executed.

After using the 'AutoCrop' option, the output can be previewed by right-clicking the file and selecting the 'Preview Output' option. The values can be edited directly from the input file list. Clear the values to disable the cropping option.

Support This Project

This software is free for personal and commercial use and is licensed under the GNU General Public License. If you find this software useful and wish to support its development, please consider purchasing a support subscription for $10 or leaving a donation using the PayPal link below. Your contributions will help in keeping this project alive and developing it further.

What you get when you purchase a support license:

  • Technical support through email
  • Feature requests will be given higher priority
  • People who donate $10 or more will be listed on the donations page
Options


Customization

If you need a customized version of Selene for your organization or for some other purpose please contact me by email. I can customize the application for a small fee (depending on the changes required).

39 comments:

  1. Looks great!
    Any chance for Arch packages?

    ReplyDelete
    Replies
    1. Currently only Debian packages are available. There are some tools available like deb2targz for converting to arch. Let me know if it works.

      Delete
    2. It works!

      Delete
    3. there's an arch pkgbuild now, i just made one :D it pulls from the newest bzr revision, so if that gets broken frequently perhaps i should make a version-specific one as well.

      my pkgbuild: https://aur.archlinux.org/packages/selene-media-encoder-bzr/

      Delete
    4. i made a stable release pkgbuild as well. i'd recommend it over my above bzr pkgbuild for most users, as random broken code is far less likely. here it is: https://aur.archlinux.org/packages/selene-media-encoder/

      Delete
  2. Hello! thanks for your work! there is a hi10p mode avaliable to encode? I hope this project keeps working is amazing aund simple, I use it everyday!

    ReplyDelete
    Replies
    1. Glad to know you find it useful :)
      I'll add the option soon

      Delete
  3. and a bug, if you remove one of the files in the to-do list in the hard drive while enconding other files in the list the program crash when arrive to that file and not continue with the rest...

    ReplyDelete
    Replies
    1. It will be fixed in the next version. Thanks for reporting it :)
      Let me know if you find any other issues.

      Delete
  4. I can give you some feedback, for example it would be nice a profile for "pro encoders" using the famous 10bits color deep for h264, i think is a parameter pof x264 codec, creating a MKV quality profile with quality audio, because the actual is x264 + mp3 i think. bests and thanks!

    ReplyDelete
  5. I'm having some problems with selene in ubuntu 13.10, it makes a segment fault when encoding... probably is my fault by i just share perhaps more people is having same problem.

    ReplyDelete
  6. meanwhile I will help you with the spanish translation in launchpad. bests

    ReplyDelete
  7. allow people to encode h265 and u will rock linux ide world of encoding bests

    ReplyDelete
    Replies
    1. It will be added once a proper tool is available for Linux. Currently there seems to be only one encoder available and it has to be compiled from source.

      Delete
  8. Hi, in ubuntu 14.04 it fails using the rpeset mp3 video:
    avs [error]: failed to load avisynth
    raw [error]: raw input requires a resolution.
    x264 [error]: could not open input file `title00.mkv' via any method!
    Several tracks in MP4 - please indicate track to import
    Several tracks in MP4 - please indicate track to import
    Error importing /tmp/selene/1399154798 - title00.mkv/video.mp4: Bad Parameter

    Bests, ps: using las version from ppa

    ReplyDelete
  9. adding more front end controls for SoX would be absolutely amazing :) (Y)

    ReplyDelete
    Replies
    1. What are the options that you would like to be added?

      Delete
  10. no love for Fedora and RPM? :'(

    ReplyDelete
    Replies
    1. You can use the installer for Fedora:

      selene-latest-i386.run (32-bit)

      selene-latest-amd64.run (64-bit)

      Run it from a terminal window with the following commands:

      sh ./selene-latest-i386.run #32-bit
      sh ./selene-latest-amd64.run #64-bit

      Delete
  11. I downloaded Selene Media Encoder v2.4.3 for unbuntu 14.04 Lts. I uploaded one webm video file to convert into MP4 Video, once done at 100% I get this "error" on the uploading bar, then a message saying "file has failed".
    Any reasons why?
    What should I do?
    Any help will be greatly appreciated. Thank you!

    ReplyDelete
    Replies
    1. Right click on the failed file and click on 'Open log file'. This will show the error message.

      Delete
    2. I am trying to encode AVI file (format JPEG codec MJPG) but its throwing error. And the log turns out to be empty. What should I do? Is there a specific code that I need?
      Thank you

      Delete
  12. Hi! Great software, but with a little problem with quotes.

    Some files are aborting, the log.txt says something about missing " ' ". My file's name is "03 - It's A Hard Life.wma", and so is its title tag. So the convert.sh contains

    avconv -stats -i "${inFile}" -f wav -acodec pcm_s16le -vn -y - | oggenc --quiet --bitrate 128 --title 'It's A Hard Life' --comment='track=3' --artist 'Queen' --album 'The Works' --date '1984' --comment='comment=www.allofmp3.com' --output "${outputFile}" -

    Obviously --title 'It's A Hard Life' is the problem. I resolved by modifying the convert.sh in /tmp myself. But it's a bit annoying - and not really Average Joe compliant ;) Could you just escape the tags and file name?

    Thank you in advance.

    (note: I use Selene 2.4.3)

    ReplyDelete
  13. I was looking for a coder to M4A file that was not NERO. I found this but, it does not convert well M4A less than 256 kb, though it has the codec installed Nero and some players just do not even get recognized, what should I do? If I use the option variable encoding at 12 kb, then use the Constant but that does not give me a listen fluid on car radio and Hi-Fi home !!

    ReplyDelete
  14. For the Ubuntu 14.04 users getting the error 'x264 [error]: could not open input file ' is discussed here

    https://bugs.launchpad.net/ubuntu/+source/x264/+bug/1317131

    the fix that worked for me was to use the x264 from this guys ppa

    https://launchpad.net/~djcj/+archive/ubuntu/vlc-stable

    ReplyDelete
  15. How about using "ffmpeg"? That way you could reduce the dependencies to one program.

    ReplyDelete
  16. Problems with neroAacEnc and Selene 2.4.5 (Ubuntu 14.04), encoding settings don't work (encoding mode, bitrate, quality, etc.) No matter the values ​​set, always be encoded in low quality (AAC SBR+PS 12kbps) :/

    ReplyDelete
  17. Hi again, I would appreciate an option that encodes only the video and creates a new MKV with everything but the video encoded, I rip lots of dvds with MakeMKV and then I have to open it with selene, encode the mpeg2 video to mpeg4 and then open mkvmergue to put the new mp4 video into the original mkv, I would love the option to just get an mkv reencode the video and leave the mkv as the original. Bests from a registered user of your product and translator to spanish. Bests Felix.

    ReplyDelete
    Replies
    1. So basically you want to encode only video and keep all other audio/subtitle tracks in the source file? This can be done. I'll update you once its implemented.

      Delete
  18. Yes exactly, just reencode video and leave the rest of stuff inside the mkv, subs, tracks other stuff but the video reencoded to h264 or in the future h265

    Did you tried h265 codecs? Now is possible in ubuntu 14.04 to play h265 with vlc and the default video player.

    Bests.

    ReplyDelete
    Replies
    1. I was searching for a good encoder for h265 but I could not find any. I'll the option to encode to h265 once a proper encoder becomes available.

      Delete
  19. What do I have to do to make the tags automatically transfer from the source file to the converted audio file? I am converting from MP3 to AAC (using Nero encoder), and the tags do not get transferred to the converted file.

    ReplyDelete
    Replies
    1. Check if you have neroAacTag on your system (run the command 'neroAacTag' in a terminal). You can download it from the Nero website and place it in /usr/bin

      Delete
    2. Thanks, Tony. Did that. Still no tags.
      Also, when I just run 'neroAacTag' in terminal, I get this:
      bash: /usr/bin/neroAacTag: Permission denied

      Delete
    3. OK, it was a permissions issue. Got it working now. Thanks again, Tony!

      Delete

If you are reporting an issue and commenting as an anonymous user, please leave your email address so that I can get in touch with you.