Log in

View Full Version : sx264 - qt based x264 gui (Linux&Windows)


Pages : [1] 2 3 4 5 6 7 8 9 10 11 12 13 14 15

Selur
9th December 2008, 12:52
Welcome to my an alpha (http://en.wikipedia.org/wiki/Beta_version#Alpha:_internal_test) 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. :D

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/details.aspx?FamilyID=9B2DA534-3E03-4391-8A4D-074B9F2BC1BF&displaylang=en (english)

Microsoft Visual C++ 2008 Redistributable Package (x64) - 64bit
http://www.microsoft.com/Downloads/details.aspx?familyid=BD2A6171-E2D6-4230-B809-9A8D7548C1B6&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/showfiles.php?group_id=86862&package_id=90612)
3. mkvmerge (+.dlls it needs) of the mkvtoolnix package (z.B. von http://www.bunkus.org/videotools/mkvtoolnix/downloads.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/showfiles.php?group_id=205275&package_id=248631)
7. FFMpeg (http://sourceforge.net/project/showfiles.php?group_id=205275&package_id=248632)
8. NeroAacEnc (http://www.nero.com/eng/downloads-nerodigital-nero-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/showfiles.php?group_id=10706&package_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/showfiles.php?group_id=86862&package_id=90612)
tsMuxeR (http://www.smlabs.net/tsmuxer_en.html)
neroAacEnc (http://www.nero.com/eng/downloads-nerodigital-nero-aac-codec.php)
mkvmerge (part of mkvtoolnix: )
mp4box (part of gpac: http://www.bunkus.org/videotools/mkvtoolnix/downloads.html)
lsdvd (http://sourceforge.net/project/showfiles.php?group_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 (http://ubuntuforums.org/showthread.php?t=786095) 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_Alpha_rev573_64bit.zip
sx264 Source: http://www.selur.info/sx264/sx264_AlphaSource_rev573.zip
sx264 Linux32bit binary: http://www.selur.info/sx264/sx264_Alpha_rev573_binary.zip
sx264 Linux64bit binary: http://www.selur.info/sx264/sx264_Alpha_rev573_64bit_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.

buzzqw
9th December 2008, 13:09
Thanks Selur!
a truly great software! (and now i can test it even under win)

thanks!!

BHH

EDIT: just a hint for windows user
MAKE SURE YOU HAVE ALL NEEDED APPLICATIONS IN SX264 FOLDER OR IN SYSTEM PATH

gswudi
9th December 2008, 14:56
where can i find pcrecpp.dll?

Selur
9th December 2008, 15:05
Should come with mkvmerge (part of mkvtoolnix) if it doesn't come with current mkvtoolnix and mkvmerge doesn't need it anymore, sx264 shouldn't either. :)
-> Just checked works fine without, will modify the first thread. :)
I also added a note that pthreadGC2.dll <- might be needed by x264 if x264 is statically linked sx264 doesn't need it. :)

Cu Selur

flebber
9th December 2008, 15:10
Looks good. Will give it a try.:D

flebber
9th December 2008, 15:28
SX264 keeps crashing just after audio encoding, however I can't provide many details as I cannot find an error log or similar the program exits totally after windows reports error.

Is there a way to get crash logs so I can give you some useful info regarding crashes?

Selur
9th December 2008, 15:34
enable debug output under misc sx264 will then create a sx264Debug.txt file :)

If you choose 1pass encoding the next step should be muxing so something might be wrong there, if you choose 2pass encoding next step would be encoding using mencoder and x264,..
-> hard to tell what exactly went wrong withoug some infos what you were doing. :) (and knowing if you use windows or linux)

flebber
9th December 2008, 16:15
Got some info now. I am on Windows XP.

- audio encoding finished --

decoderCL:
ffmpeg -i "C:\Rip\Source Video\Probot_-_Shake_Your_Blood-sic-ucv.mpeg" -v 0 -vcodec rawvideo-croptop 36 -cropbottom 44 -cropleft 18 -cropright 80 -s 352x288 -vsync 0 -an -pix_fmt yuv420p -f rawvideo -
encoderCL:
x264 --pass 1 --bitrate 950 --level 5.1 --ref 1 --keyint 250 --min-keyint 25 --scenecut 40 --bframes 3 --b-bias 0 --b-pyramid --weightb --direct auto --ratetol 1 --cplxblur 20 --qcomp 0.6 --qblur 0.5 --vbv-maxrate 300000 --vbv-bufsize 300000 --qpmin 1 --qpmax 51 --qpstep 4 --ipratio 1.4 --pbratio 1.3 --chroma-qp-offset 0 --direct-8x8 -1 --partitions i4x4,i8x8,p8x8,b8x8 --me dia --subme 2 --trellis 0 --aq-mode 1 --aq-strength 1 --deadzone-inter 11 --deadzone-intra 11 --threads auto --thread-input --sar 1067:1000 --filter -1,0 --no-psnr --no-ssim --stats "C:\Rip\Produced\Probot - Shake Your Foundation.stats" --progress --fps 25 --output NUL - 352x288
x264 [info]: using SAR=1067/1000
x264 [warning]: VBV bitrate (300000) > level limit (240000)
x264 [warning]: VBV buffer (300000) > level limit (240000)
x264 [info]: using cpu capabilities: MMX2 SSE2 Cache64
x264 [info]: profile Main, level 5.1
x264 [info]: final ratefactor: 15.34


-- video encoding 2nd pass --

encoderCL:
x264 --pass 2 --bitrate 950 --level 5.1 --ref 7 --keyint 250 --min-keyint 25 --scenecut 40 --bframes 3 --b-bias 0 --b-pyramid --weightb --direct auto --ratetol 1 --cplxblur 20 --qcomp 0.6 --qblur 0.5 --vbv-maxrate 300000 --vbv-bufsize 300000 --qpmin 1 --qpmax 51 --qpstep 4 --ipratio 1.4 --pbratio 1.3 --chroma-qp-offset 0 --direct-8x8 -1 --partitions i4x4,i8x8,p8x8,b8x8 --me umh --merange 16 --subme 6 --8x8dct --trellis 1 --psy-rd 1:0.5 --aq-mode 1 --aq-strength 1 --deadzone-inter 11 --deadzone-intra 11 --threads auto --thread-input --sar 1067:1000 --filter -1,0 --no-psnr --no-ssim --stats "C:\Rip\Produced\Probot - Shake Your Foundation.stats" --progress --fps 25 --output "C:\Rip\Produced\Probot - Shake Your Foundation.264" - 352x288
x264 [info]: using SAR=1067/1000
x264 [info]: using cpu capabilities: MMX2 SSE2 Cache64
x264 [error]: empty stats file
x264 [error]: x264_encoder_open failed
Videoencoder: Error - QProcess::Crashed
Videoencoder: exitCode: -1, ExitStatus:

Now running with mencoder and all appears to be working fine. Final ouput was good and correct for settings.

Selur
9th December 2008, 16:24
(iirc ffmpeg as decoder is only needed for flv/swf input, but should normally work for other input too, strange)
Thanks for the info, will try to reproduce the problem with ffmpeg as decoder here. :)

Found the problem:
"-vcodec rawvideo-croptop 36 "
there's a space missing -> will fix and update the download links :)

Cu Selur

Selur
9th December 2008, 17:06
*fixed*
- missing space in ffmpeg calls

-> updated downloads in first post

Cu Selur

Pitti
10th December 2008, 02:27
Hallo Selur,

thx for your software.
I'm trying to compile this on Debian_etch_AMD_64 and this errormsg pops up:
nwidget/NListWidget.cpp: In member function 'virtual void NListWidget::clear()':
nwidget/NListWidget.cpp:8: error: 'class NListWidget' has no member named 'removeItemWidget'
make: *** [NListWidget.o] Fehler 1
can you help me please? (evtl sogar in deutsch)

Pitti

Adub
10th December 2008, 04:25
There seems to be a small issues when muxing .aac files. I ran a test file that contained .aac audio. It went through all of the motions just fine, but when it said it was done, there was no output file. So, I said do not delete sources, and copy and pasted the mkvmerge line and I got this:
mkvmerge v2.4.0 ('Fumbling Towards Ecstasy') built on Nov 24 2008 12:14:35
Error: The file '/home/****/End of the World 1.MP4 DELAY 0ms.aac' has unknown type. Please have a look at the supported file types ('mkvmerge --list-types') and contact the author Moritz Bunkus <moritz@bunkus.org> if your file type is supported but not recognized properly.

Hmm..or maybe it is complaining because my original file is named End of the World 1.MP4.m4v, and your program succesfully chopped of the last 3 characters, but MKVmerge is choking on the "End of the World 1.MP4 DELAY 0ms.aac" part with the double periods.

Otherwise, awesome program. I will mess with it some more once finals are done.

edit: nope, it seems that .aac is not supported by mkvmerge. Weird.

Selur
10th December 2008, 06:32
@Merlin7777: I'll try to see if I can reproduce it. Would be cool if you could provide me a small sample of the input file you used. :)
It's definitely not that mkvmerge doesn't support .aac input at all, it probably just needs something. ;)

@Pitti:tried to reproduce the problem on a 64bit Kubuntu system but sx264 compiles there without a problem. I uploaded the binary it produced here: http://stashbox.org/320350/sx264_alpha_rev411_64bit_binary.zip

Cu Selur

Adub
10th December 2008, 08:26
I'll get you a link to the file.

Here you go:
http://www.mediafire.com/download.php?2wmn4nzynjf

Selur
10th December 2008, 08:40
Okay, something seems to be wrong with the aac audio inside the file or how I handle it since, mp4box&mkvmerge crash on it but when I reencode the stream everything works like it should. :)

Okay, mp4box provides some info: "Audio isn't MPEG-2/4 AAC with ADTS"
Seems like I got a bug when passing through aac audio -> will try to fix it :)
Found the bug and a fix will upload a fixed version. :)

Cu Selur

Henrikx
10th December 2008, 09:43
@Pitti

Try to install :

libc6-amd64
libc6-dev-amd64

GCC:
gcc-4.3-multilib
lib64mudflap0

GCC++
g++-4.3-multilib
lib64stdc++6-4.3.dbg

Selur
10th December 2008, 09:43
*fixed*
- small bug when passing through aac audio (forcing now ffmpeg for extraction of aac audio)

-> updated 1st post :)

Cu Selur

Ps.: also made a 'small' package for windows users

Adub
10th December 2008, 18:46
Great! Thank you.

Edit: Oh, and is there a reason why p4x4 is disabled?

Selur
10th December 2008, 20:53
Oh, and is there a reason why p4x4 is disabled?
it should only be disabled when it's not allowed by the profile@level + your options disallow it.
p4x4 is not allowed when level > 3 or when level = 3 and B-Frames are enabled. (iirc x264 doesn't check this and you should also find some info about it somewhere in the forum :))
In general sx264 should not allow settings that violate a specific profile@level unless you select unrestricted as level.

Cu Selur

Dark Shikari
10th December 2008, 20:59
it should only be disabled when it's not allowed by the profile@level + your options disallow it.
p4x4 is not allowed when level > 3 or when level = 3 and B-Frames are enabled.Where do people keep coming up with these things? :rolleyes:

p4x4 is allowed at all levels. The only level-related restriction with regards to partitions is on bidirectional sub-8x8 partitions, which x264 doesn't support.

Selur
10th December 2008, 21:08
@Dark Shikari: one of the comments I got this from was:
Don't use p4x4 partitions with level >= 3. (This is one of the constraints x264 doesn't warn about.) (Strictly speaking p4x4 is allowed in the standard, but there's some restrictions on where it can be used, and x264 doesn't check those restrictions, so the only way to be sure is to disable p4x4.) see: http://forum.doom9.org/showpost.php?p=996577&postcount=5
don't remember where I got the other part from, but if you say p4x4 will cause no problem at all, I'll happily remove the restriction. :)

Cu Selur

Dark Shikari
10th December 2008, 21:20
@Dark Shikari: one of the comments I got this from was:
see: http://forum.doom9.org/showpost.php?p=996577&postcount=5
don't remember where I got the other part from, but if you say p4x4 will cause no problem at all, I'll happily remove the restriction. :)

Cu SelurTheoretically, he is right.

In practice, not even the reference encoder abides by that rule. It is meaningless, and, quite literally, nobody cares.

Selur
10th December 2008, 21:27
Okay, just wanted to make sure that it wouldn't cause any incompatibilities. :)
-> I'll lift the restriction.


---
Update:
*changed*
- allowing p4x4 at all levels
see: http://forum.doom9.org/showthread.php?p=1222781 and following; in short: it's not standard conform, but nobody cares

-> updated 1st post

Sharktooth
10th December 2008, 22:33
megui still enforces the standard.

Selur
10th December 2008, 23:11
-> started a small poll to see what the community prefers, see: http://forum.doom9.org/showthread.php?t=143419
isn't much of a change to me anyway, so I'll go with the community there :)

Cu Selur

microchip8
11th December 2008, 00:22
@ Selur

Why fight about/discuss p4x4 so much? If my memory serves me correctly, pengvado (akupenguin here on doom9) once said that out of all partitions, p4x4 is the one that gives the least compression and basically has little to no benefit at all on a lot of content. Do you really think you will see noticeable effects both in compression and quality if you turn on p4x4 or disable it? My guess is you won't

Selur
11th December 2008, 00:34
The question is not if it helps with compression, it's whether one should care about standard conformity.
Since (I think) most people assume when they select a specific profile@level in a gui the output will meet the restrictions of this selection, I think it's a good idea to ask what people want if you don't deliver what they suspect. :)

Cu Selur

microchip8
11th December 2008, 01:12
you want standard conformity? then go find another encoder as x264 won't deliver full standard conformity no matter how much you tweak its options. It may come (very?) close to the standard but full conformity is out of the question at the moment. As Dark said, you will probably have to stop using cabac and probably a few other things

Dark Shikari
11th December 2008, 01:14
you want standard conformity? then go find another encoder as x264 won't deliver full standard conformity no matter how much you tweak its options. It may come (very?) close to the standard but full conformity is out of the question at the moment. As Dark said, you will probably have to stop using cabac and probably a few other thingsI was being pedantic in pointing out every last little thing that could theoretically violate the spec. ;)

I doubt any other encoders care about such things either.

Selur
11th December 2008, 01:26
I prefer to stay close to standard, and not break it if I must not. I also like x264 and will use it further even when it might not be full standard conform. If you don't like that I see not how I could help. :)
I totally got Dark Shikaris point about p4x4 that if nobody cares about p4x4 restrictions it might be valid to use it. I just think it's a valid question to ask others that might want to use the gui I what they prefer. Seems like you don't care about any compatibility that's fine with me. :)

Cu Selur

Pitti
11th December 2008, 05:24
@Pitti:tried to reproduce the problem on a 64bit Kubuntu system but sx264 compiles there without a problem. I uploaded the binary it produced here: http://stashbox.org/320350/sx264_alpha_rev411_64bit_binary.zip

Cu Selur

Hallo Selur,

thx for trying to help me.
But its not working. Your 64bit bin 413 crashing on my 64er Etch.
Seems to be there is a conflict with the libraries between kubuntu and Debian.

I have also tried to compile the rev.413 with the same error.
nwidget/NListWidget.cpp:8: error: ‘class NListWidget’ has no member named ‘removeItemWidget’
For now i have these line complemented out and the process was successful ;)

Pitti

Adub
11th December 2008, 06:05
How up to date is your qt version?

Selur
11th December 2008, 08:11
This might cause a problem with zone and chapter option, since this might stop sx264 from clearing the chapters and zones.
Checking QT Documentation: "This function was introduced in Qt 4.3."
-> I agree with Merlin7777, it might help of you update your qt version.
iirc qt 4.3 was released around june 2007, 4.4 was released around may 2008, I don't think that I used any options that were introduced with 4.4 but 4.3 seems to be mandatory to run sx264. :)

Cu Selur

JxPhoenix
11th December 2008, 22:17
awesome program!! it gives you a very wide range of options to use, finally i was capable of converting videos in h.264 quality for my iPod.
Thanks a lot!

Henrikx
12th December 2008, 00:33
sx264 Test with - OpenSuse 11 - KDE4 works fine.

http://www.imgbox.de/users/public/thumbnails/m22712x154_t.gif (http://www.imgbox.de/?img=m22712x154.png)

flebber
12th December 2008, 02:39
I have tried all analysers but none will seem to accept mp2 input. FFmpeg appears to analyse all data and then errors no audio input.

x264Model: grabDelayFromFilename -> 19
Collected the following audio infos:
Audiostream count = 1
x264Model: grabDelayFromFilename -> 19
FfmpegAnalyser analyses: C:\Rip\Source Video\Anthrax_-_Black_Lodge Tc0 L2 2ch 44.1 224 DELAY 19ms.mp2
Collected the following audio infos:
Audio format = mp2
Audio bitrate = 224
Audio channels = 2
Audio sample rate = 44100
x264Model: grabDelayFromFilename -> 19
analysing audio data,..
Collected the following audio infos:
Audio format = MPEG-1 Audio layer 2
Audio bitrate = 224
Audio channels = 2
Audio sample rate = 44100
Audio delay = 0
Audiostream number = 1
Redoing analysis with ffmpeg as analyser!
Setting ffmpeg as decoder.
x264Model: grabDelayFromFilename -> 19
x264Model: grabDelayFromFilename -> 19
FfmpegAnalyser analyses: C:\Rip\Source Video\Anthrax_-_Black_Lodge Tc0 L2 2ch 44.1 224 DELAY 19ms.mp2
Collected the following audio infos:
Audio format = mp2
Audio bitrate = 224
Audio channels = 2
Audio sample rate = 44100

Actually I have now converted it to mp3 vbr192 with lame. and no analyser lets me select it as a audio track same error as above similar log. Interestingly and probably nothing to do with your program (but the external ones)they all guessed a bifferent bitrate.
FfmpegAnalyser analyses: C:\Rip\Source Video\Anthrax_-_Black_Lodge 0ms.mp3
Collected the following audio infos:
Audio format = mp3
Audio bitrate = 160
Audio channels = 2
Audio sample rate = 44100
analysing audio data,..
Collected the following audio infos:
Audio format = MPEG-1 Audio layer 3
Audio bitrate = 167
Audio channels = 2
Audio sample rate = 44100
Audio delay = 0
Audiostream number = 1
Redoing analysis with ffmpeg as analyser!
Setting ffmpeg as decoder.
analysing audio data,..
Collected the following audio infos:
Audio format = MPEG-1 Audio layer 3
Audio bitrate = 167
Audio channels = 2
Audio sample rate = 44100
Audio delay = 0
Audiostream number = 1
Redoing analysis with ffmpeg as analyser!
Setting ffmpeg as decoder.
Collected the following audio infos:
Audio format = mp3
Audio bitrate = 128
Audio channels = 2
Audio sample rate = 44100

Selur
12th December 2008, 09:12
@Henrik: You might want to adjust your dpi to your monitor, seems like the font size hints are off. :)
@flebber: found the problem :) there's a small copy&paste error, will fix it and upload a new version later. :)

Cu Selur

Henrikx
12th December 2008, 09:44
Yes. My monitor or Graphics card is broken.Synchronization is broken.
Fonts with max 70(?) dpi is possible. Next week I buy a new (Quad Core!!)
But the statement remains, sx264 works fine ...

Selur
12th December 2008, 11:00
rev415
*fixed*
- some minor bugs with seperate audio stream handling

*changed*
- limit p4x4 usage again on default

*added*
- option to allow p4x4 for all levels

*updated*
- Windows package: new mplayer, ffmpeg, mediainfo, x264

-> updated 1st post

Cu Selur

buzzqw
12th December 2008, 15:57
please use another service provider for download like mediafire

here is locked your speedshare :(

BHH

Selur
12th December 2008, 16:13
Tried mediafire, but only got an upload of about 80kbit/s. Didn't know speedshare blocks some regions of the net, works fine from here. :)
Here's an alternative Download to current windows package: http://www.fileqube.com/file/xLDRULs158932 hope this works for you.

Cu Selur

Pitti
13th December 2008, 07:15
This might cause a problem with zone and chapter option, since this might stop sx264 from clearing the chapters and zones.
Checking QT Documentation: "This function was introduced in Qt 4.3."
-> I agree with Merlin7777, it might help of you update your qt version.
iirc qt 4.3 was released around june 2007, 4.4 was released around may 2008, I don't think that I used any options that were introduced with 4.4 but 4.3 seems to be mandatory to run sx264. :)

Cu Selur

Ok. I have updated to QTv4.4.3 and now it works fine.
The first testings on ripping a DVD running also fine on the video part.
The audio part is not working. maybe neroaac hast trouble with the debian64.

and now i have a feature request :)
is it possible to add a logfile that includes the history.
jobid|starttime|endtime|fps
or expand the jobcontrol (like megui)

Pitti
PS: i like your tool.

Selur
13th December 2008, 08:09
iirc there's a thread in the forum which mentions some problems with NeroAacEnc and 64bit on some systems. ;)

is it possible to add a logfile that includes the history.
jobid|starttime|endtime|fps
Will think about it, it's probably possible, if I add it, I'll probably modify the report output. :)

Cu Selur

buzzqw
13th December 2008, 10:15
i have a sample (too big to upload) of vob where mediainfo or mplayer were unable to determine the frames count

the missing frame count is a stop for encoding in you application

i suggest that ABR encoding and CRF/QP encoding (where users have to specify the values of bitrate/crf/qp), sx264 should not stop encoding, since not knowing the frame count isn't important

BHH

Selur
13th December 2008, 10:28
sx264 should not stop encoding, since not knowing the frame count isn't important
FrameCount is used to:
1. calculate remaining time during encoding
2. calculate file size for 2pass Encoding (and 1pass bitrate Encoding to give some sort of a general 'size hint')

What did you do to the vob such that mediainfo and MPlayer both can't get the framecount? (sounds like the file is broken in some way)
If frame rate and video length are identified correctly I could add a workaround to calculate framecount. (not 100% accurate, but should work)
-> Are these identified correctly?

Cu Selur

buzzqw
13th December 2008, 11:08
the vob is a split from a bigger vob, so.. could be broken (and don't blame mediainfo or mplayer)

and yes, both lenght and fps are correctly indentified

just add a warning, and compute the frame count on videolenght/fps (or.. as i have said.. a panel with media proprierties.. editable by users)

thanks

BHH

Selur
13th December 2008, 11:18
don't like the panel idea, since missing properties mos times imply a problem with the source that might cause other problems, e.g. decoder/encoder crashing. :)
Modifying ReportInfos and thinking about adding a little history like Pitti wanted, with lines like:
#### StartTime: 11:05:02 #### D:\sx264\test.mp4 #### Average speed: 220.85fps #### Endtime: 11:05:04 ####
for each finished encode. :)
Will add a warning and calculate frameCount in MediaInfo-Analyser and MPlayer-Analyser after that. :)

Cu Selur

Selur
13th December 2008, 12:16
and yes, both lenght and fps are correctly indentified
Please recheck this for MPlayer since, MPlayer-Analyser always calculates FrameCount anyway.
So something really went wrong, or length and/or fps are missing or zero.

Cu Selur

microchip8
13th December 2008, 12:40
Tip: When using --pulldown in x264, --nal-hrd is required. Also looking at console output, no matter if one selects 3:2 or 6:4 pulldown, the program always passes --pulldown 32 to x264

nice GUI anyways, but definitely not something I will be using.

Selur
13th December 2008, 12:44
When using --pulldown in x264, --nal-hrd is required. Also looking at console output, no matter if one selects 3:2 or 6:4 pulldown, the program always passes --pulldown 32 to x264
thanks for the info, will fix :)

nice GUI anyways, but definitely not something I will be using.
can't win them all :D

Cu Selur