View Single Post
Old 9th December 2008, 12:52   #1  |  Link
Selur
Registered User
 
Selur's Avatar
 
Join Date: Oct 2001
Location: Germany
Posts: 7,277
sx264 - qt based x264 gui (Linux&Windows)

Welcome to my an alpha thread about my little hobby project: sx264
It's an alpha and I'm developing it in my free time, so don't kill me if something does not work like it should.

sx264 is a small gui ment to convert X to x264.


Windows users need:
(there's a 'small' package under Downloads)

0. the Microsoft Visual C++ 2008 Redistributable Package to run sx264:

Microsoft Visual C++ 2008 Redistributable Package (x86) - 32bit
http://www.microsoft.com/downloads/d...displaylang=en (english)

Microsoft Visual C++ 2008 Redistributable Package (x64) - 64bit
http://www.microsoft.com/Downloads/d...displaylang=en (english)

to really use sx264 you need the backend tools that sx264 uses:
1. x264.exe with mp4/mkv output and hrd patch (e.g. from http://x264.nl/)
2. MediaInfo - command line version (http://sourceforge.net/project/showf...ckage_id=90612)
3. mkvmerge (+.dlls it needs) of the mkvtoolnix package (z.B. von http://www.bunkus.org/videotools/mkv...s.html#windows)
4. mp4Box (http://kurtnoise.free.fr/index.php?dir=mp4tools/)
5. tsMuxeR (http://www.smlabs.net/tsmuxer_en.html)
6. MPlayer and Mencoder (http://sourceforge.net/project/showf...kage_id=248631)
7. FFMpeg (http://sourceforge.net/project/showf...kage_id=248632)
8. NeroAacEnc (http://www.nero.com/eng/downloads-ne...-aac-codec.php)
9. vstrip_ifo (z.B. http://www.mediafire.com/?9rvft5eet1d <- css free Version)
10. avsInfo (comes with the sx264 download)
11. sox (http://sourceforge.net/project/showf...ckage_id=10619)
12. SetPriority (http://gilchrist.ca/jeff/SetPriority/index.html)
13. current sx264 version (for download see below under Downloads)

At the end the sx264 folder should contain:
avsInfo.exe, cygz.dll, ffmpeg.exe, libcharset.dll, libebml.dll, libiconv.dll, libmatroska.dll, MediaInfo.dll, MediaInfo.exe, mencoder.exe, mkvmerge.exe, MP4Box.exe, mplayer.exe, neroAacEnc.exe, (pthreadGC2.dll <- might be needed by x264) sox.exe, sx264.exe, tsMuxeR.exe, vStrip.dll, vstrip_ifo.exe, x264.exe

Comments for Vista user:
After the first start:
1. switch to the 'Misc'-register
2. activate 'Show additional misc settings'
3. switch to the 'Misc 2'-register
4. set the default paths to paths where your user got read/write-rights (you should set: sx264 path, output path, temp path)
5. switch to the 'Misc'-register again
6. deactivate 'Show additional misc settings'
7. press 'Save Profile as Default'


General comments: (for Windows&Linux user
After the first start::
1. switch to the 'Misc'-register
2. activate 'Show additional misc settings'
3. switch to the 'Misc 2'-register
4. set the "Font Path" to your system font folder (or any other folder with .ttf files)
5. switch to the 'Misc'-register again
6. deactivate 'Show additional misc settings'
7. press 'Save Profile as Default'

For Linux users:
sx264 is OpenSource und the SourceCode can be obtained under Downloads or from me via PM.

Compiling sx264: (when not using the binary build, see below under Downloads)
0. You need a current gcc version and the current qt-dev package installed. (to use it you also need a qt runtime environment on you system, which normally comes with the dev package)
1. Download the source code (see below under Downloads)
2. extract the source code
3. inside a console: switch to the console
4. create a make-file: qmake sx264.pro
5. start the compilation: make

To use sx264:
After the compilation copy the binary to a place you like (e.g. the binary path for all users: /usr/local).
Since sx264 is 'only' a graphical frontend you need additional tools to use sx264. These tool normally need to be up-to-date and need to be available via command line without entering a path. Here's a list of the tools you need:
x264 (http://www.videolan.org/developers/x264.html)
mplayer & mencoder (http://www.mplayerhq.hu/design7/dload.html)
ffmpeg (http://ffmpeg.mplayerhq.hu/download.html)
mediaInfo (http://sourceforge.net/project/showf...ckage_id=90612)
tsMuxeR (http://www.smlabs.net/tsmuxer_en.html)
neroAacEnc (http://www.nero.com/eng/downloads-ne...-aac-codec.php)
mkvmerge (part of mkvtoolnix: )
mp4box (part of gpac: http://www.bunkus.org/videotools/mkv...downloads.html)
lsdvd (http://sourceforge.net/project/showf...roup_id=133848)
Most of these tools should be available through the package management of your distribution. Personally I would recommend to at least compile x264 on you own.
As a little help here is a link for Ubuntu Users: HOWTO: Install and use the latest FFmpeg and x264.


About feature requests:
I'll listen to feature requests but can't promise anything.

Here are some feature requests that are known but not (yet?)implemented:

General Features:
- fileCheck check if ffmpeg/mencoder/mplayer/... are installed (+version check)
- specify a separate paths for each tool
- find a way to remove maximize button and remove it (under windows)
- give a notice that Lagrinth input is not supported since, neither ffmpeg nor mplayer can handle it. (LAGS)
- MultiInputSource -> SingleInputOutput
- better m2ts - overhead/file size calculation if needed (had no dts audio stream to test)
- command line support
- support for different languages

Audio Features:
- multi audio support
- add audio stretch (for mkv)
- add stretch/shrink audio on reencode
- ogg vorbis encoding (for mkv)
- ac3 encoding (for mkv/bluray/m2ts)

Muxing Features:
- add multiple subtitles to output
- add timecodes (for vfr material)
- multi audio support
- import subtitles from external mkv/mp4 source
- import chapters from external chapter file/mkv/mp4/dvd source


Not planned features:
1. extended Avisynth-Support like with MeGui+AvsP
2. support for additional output containers like .mov, .3gp,..
3. support for other encoders
4. decrypt dvds
5. .ac3/.ogg support inside .mp4 files


Known restrictions/bugs:
1. design inherent: sources that can't be handled by the mencoder/ffmpeg version you got on you system can't be processed.
2. Avisynth support: as soon as 'Yv12 Pass-Through' is enabled in DivX-Configuration avisynth support is broken on some windows systems
3. Avisynth support: interlacted material will be recognized as progressive unless the script contains AssumeBFF or AssumeTFF


About the License:
License needs to be GPL since I use the OpenSource QT Framework atm.


Thanks:
Thanks to all the pre-alpha testers and people that helped.


Screenshots
Over at http://www.mediahump.com/gallery/3457/ are some screenshots of sx264.


Downloads
sx264 Win32: http://www.selur.info/sx264/sx264_Alpha_rev573.zip
sx264 Win64: http://www.selur.info/sx264/sx264_Al...v573_64bit.zip
sx264 Source: http://www.selur.info/sx264/sx264_Al...rce_rev573.zip
sx264 Linux32bit binary: http://www.selur.info/sx264/sx264_Al...573_binary.zip
sx264 Linux64bit binary: http://www.selur.info/sx264/sx264_Al...bit_binary.zip


Reading up on the licences I made a 'small' package for windows users containing most of the files needed.
I'll not update the package each time I update sx264, so download the package + the current windows binary to to get the most up-to-date sx264.
You still need to download NeroAacEnc and if needed the Microsoft Visual C++ 2008 Redistributable Package.
For the package:
http://www.multiupload.com/QMEUND4GN1
Please post all feedback&co about the alpha versions in this thread or via pm to me.


Have fun testing sx264.


Cu Selur

Ps.: I'll post all updates in the thread and modifiy the links in this post.

PPs.: the sx264config file and other sx264 data is located at:
win7: C:\Users\USERNAME\AppData\Roaming\sx264
winxp: C:\Documents and Settings\USERNAME\Application Data\sx264
linux: /home/USERNAME/.sx264/

Defaults are located in the sx264Config file.
__________________
Hybrid here in the forum, homepage

Last edited by Selur; 13th March 2010 at 10:50.
Selur is offline   Reply With Quote