Selene Media Converter


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.


  • 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


Main Window

Edit Preset

File Format Options

Audio Codec Options

SOX Audio Processing Options

Video Codec Settings

Progress Window


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

Packages are available in launchpad for supported Ubuntu releases. 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 older Ubuntu releases which have reached end-of-life, you can install Selene using the DEB files linked below.
selene-latest-i386.deb (32-bit)
selene-latest-amd64.deb (64-bit)


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: (32-bit) (64-bit)

Run it from a terminal window with the following commands:

sh ./  #32-bit
sh ./  #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 


Selene is written using Vala and GTK. Source code is available from the project hosting page at Github:

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 binaries for Nero AAC.

cd /tmp
unzip -j linux/neroAacEnc
sudo install -m 0755 neroAacEnc /usr/bin
sudo apt-get install gpac


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.


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 automatically detect the black borders in the video and set the cropping parameters for the file.

  3. Select any preset, OR

  4. 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 leaving a donation using the PayPal link below.

This application is completely free and will continue to remain that way. Your contributions will help in keeping this project alive and improving it further. Feel free to send me an email if you find any issues in this application or if you need any changes. Suggestions and feedback are always welcome.

If you want to buy me a coffee or send some donations my way, you can use Google wallet or Paypal to send a donation to teejeetech at gmail dot com.

Donate with Paypal

Donate with Google Wallet


  1. Looks great!
    Any chance for Arch packages?

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

    2. It works!

    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:

    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:

  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!

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

  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...

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

  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!

  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.

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

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

    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.

  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

    1. did you ever find a solution? i have the same issue currently

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

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

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

    1. You can use the installer for Fedora: (32-bit) (64-bit)

      Run it from a terminal window with the following commands:

      sh ./ #32-bit
      sh ./ #64-bit

  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!

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

    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

  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 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='' --output "${outputFile}" -

    Obviously --title 'It's A Hard Life' is the problem. I resolved by modifying the 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)

  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 !!

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

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

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

  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) :/

  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.

    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.

  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.


    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.

  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.

    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

    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

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

  20. Works like a charm converting an mp4 file to mp3 file.

  21. In Fedora 20, selene won't start with the error : missing encoder : 'avconv'. But there's no avconv anywhere in yum. Is there something we can do to bypass this ?

  22. I have encountered a serious bug. When trying to convert a video using MP4 H.264 AAC and resizing set to 720p (or any size), the encoder fails with an "Error" at the very beginning. For other formats such as WebM it works perfectly. I have installed NeroAAC as described. Mail:

  23. Hi,
    The conky-manager and aptik are just awosome. They are just.. .. . ( don't know how to say super duper awosome)
    But in selene I am not able to convert my video in mobile mp4. I mean i want to convert it into size of 320×240 mp4 format but i can't find any option there. Is there any possibly way to do it.
    Thanks again. You are just super duper awosome

  24. Hi, sorry for my english.
    I have files with audio 1, audio 2, audio 3.
    Selene convert audio 1.

    It is possible to ad an option for select audio to convert ?


  25. I am trying to write a shell script to convert all of my videos to webm but I am having trouble with command line execution. Is there a more detailed explanation somewhere of how to use the command line tool and what the options are?



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.