View Full Version : sx264 - qt based x264 gui (Linux&Windows)
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
microchip8
13th December 2008, 13:03
thanks for the info, will fix :)
can't win them all :D
Cu Selur
you're welcome. And it's not about winning. I just don't like GUIs when it comes to encoding. I have nothing against it if others use it, but for me I stick to CLI stuff since I spend a great deal of time working on the CLI and are kinda addicted to it ;) The only GUI I would consider using is Ripbot264 due to its superior combination of simplicity and usability. GUIs that offer a gazillion of options are, IMHO, not only overloaded but also user unfriendly in regards to the not-so experienced/noob users. I for example, will need less time to write the MEncoder parameters on the command line, than to click checkboxes spread over multiple tabs which hold a considerable amount of options. I think that when Atak_Snajpera started developing Ripbot264, he not only looked at it from the perspective of the developer, but also from the perspective of the (noob) user. In the end, you get a program like Ripbot264, which as I said earlier is unbeatable when it comes to combining simplicity with usability and power.
Again, this is just how I see things and by all means it is not an attack or similar to what you're doing. In fact, I think you're doing a great job, and since this is early alpha release, who knows how this program will develop in the future? It can drastically change or then maybe not. :)
Selur
13th December 2008, 13:21
About simplicity: When starting to write the gui I thought about writing a simple wizard with questions&Co similiar to your h264enc, but then I realized I wouldn't really fresh up my c++ skill doing so, since most of the logic could be copied from h264Enc and combined with QWizard it would be a rather short project. So I started to write the gui mainly to write a gui for my needs, but since I showed it to some buddies and they liked it I decided to tune it and release it to the public. :) I too like RipBot264 for it's simplicity but since I personally like to have a lot of options to play with whatever I do it's not my usual tool to use. :) But who knows maybe I'll add a Wizard view in a later stage. :)
----
rev417
*added*
- Job History (Misc->Logging->Show job history)
- to MediaInfo Analyser: if no framecount was found calculate framecount if fps and length are present
*fixed*
- typo when selecting x264->pulldown
- making sure x264->pulldown can only be used when BluRay support is enabled
*cosmetics*
- changed some debug messages
-> updated 1st post
Cu Selur
microchip8
13th December 2008, 13:35
A wizard will be a good idea, however I don't think it will be the best option here. The biggest thing that will reduce the amount of options and thus bring a lot of simplicity to sx264, is if you design a robust presets system. A presets system that not only allows you to choose from different built-in presets, but for the more experienced user, also allows to write your own presets and load them into the program (just like h264enc allows that). If you develop a presets system, this will not only give you a great deal of simplicity on the user side, but also in the codebase side, since you will not have to deal with all the checkboxes/tabs/whatever in the code. I think the best thing to do here, is somehow find equilibrium (balance) between simplicity and the amount of code. The more code you have in the program, the buggier it can get due to too much variables/functions/etc that have to be considered which also requires a lot of time spend in debugging/reading code and fixing it
Selur
13th December 2008, 14:17
Yup, a preset system is a nice thing, though I don't think I'll implement a more complex one in the near future. :)
If you develop a presets system, this will not only give you a great deal of simplicity on the user side, but also in the codebase side, since you will not have to deal with all the checkboxes/tabs/whatever in the code.
Don't think so, since one would still require to have those checkboxes/tabs/whatever to allow to generate those presets. (if one wants to keep as much freedom as possible)
Cu Selur
Ps.: I like the filtering options/presets you present in h264enc ;)
microchip8
13th December 2008, 14:23
Don't think so, since one would still require to have those checkboxes/tabs/whatever to allow to generate those presets. (if one wants to keep as much freedom as possible)
Cu Selur
yes, this is true, but it will reduce some amount of them. If you implement a presets system, all the checkboxes for things like 8x8dct, level, partitions, motion estimation, deadzones, etc will be gone. That is if you get rid of them and don't keep them for "as much freedom as possible" reasons. The only difference between using a presets system which allows you to write and load your own presets, and the currently used checkbox system, is that instead of the user clicking on various checkboxes, the user writes the x264 settings in a file. Personally, I find the last option more appealing and again, I speak only for me here :)
Selur
13th December 2008, 14:31
I too like the idea of presets :D, that's why one can save&load a profile and save general default settings. ;)
But we will see, may be I'll implement a preset system in the future. :)
Cu Selur
flebber
13th December 2008, 14:36
Selur have you tested flv input. I am trying to use flv with ffmpeg and mencoder decoder. However I cannot get a log or info as sx264 is crashing immediately after I select the file, I have checked the create report and enable debug boxes checked but I am not getting any output.
The flv appears okay as automen is encoding it fine and the flv player plays it without error.
This is my file format read with mediainfo
General
Complete name : C:\Documents and Settings\flebber\My Documents\My Recordings\Slipknot_Dead Memories final1.flv
Format : Flash Video
File size : 17.6 MiB
Duration : 4mn 27s
Overall bit rate : 552 Kbps
Video
Format : VP6
Duration : 4mn 27s
Bit rate : 400 Kbps
Width : 640 pixels
Height : 360 pixels
Display aspect ratio : 16/9
Frame rate : 23.980 fps
Bits/(Pixel*Frame) : 0.072
Audio
Format : MPEG Audio
Format version : Version 1
Format profile : Layer 3
Duration : 4mn 27s
Bit rate mode : Constant
Bit rate : 96.0 Kbps
Channel(s) : 2 channels
Sampling rate : 44.1 KHz
Resolution : 16 bits
Selur
13th December 2008, 14:43
Tested some flv. Try ffmpeg as Decoder not mencoder, since mencoder&mplayer are not so good at handling flv files. :)
Create Report and Debug will both create a file.
report during and after encoding and debug should create a sx264Debug.txt file.
I'll recheck the flv files I got here. (thought that I forced ffmpeg as Decoder wen input is .flv, but I might be wrong there :))
Cu Selur
Selur
13th December 2008, 17:20
rev418
*fixed*
- flv/swf handling -> enforcing ffmpeg as decoder again
-> updated 1st post
Pitti
13th December 2008, 18:46
rev417
*added*
- Job History (Misc->Logging->Show job history)
You're a treasure :)
I try it out immediately
Pitti
14th December 2008, 17:53
btw: in the sources of rev418 the folder "encoder" is missing.
I hope it was ok to use the folder that was contained in r417
Selur
14th December 2008, 17:56
Hups,.. will fix that -> fixed new Download :)
Pitti
14th December 2008, 19:54
thx :)
a little OT:
I have tested some encodings. (DVD-sources, mkv ...)
I cant max out my Phenom x4 ... any ideas?
>> http://www.pittiplatsch.gmxhome.de/bilder/x264maxout.png
Selur
14th December 2008, 20:10
thinks that pop into my head:
1. why do you use unrestricted? (4.1 or even 3.0 is probably enough for DVD sized material)
2. I forgot the "--thread-input" there not sure if it can hurt perfomance
(will remove in future builds -> if you build sx264 yourself yo could try by deleting the arguments << "--thread-input"; line in x264Model.cpp in the model-folder and compile sx264 again)
Alternatively you could replace the line with:
#ifdef Q_OS_WIN32
if(this->findChild<NValue *>("videoInput")->value().endsWith(".avs", Qt::CaseInsensitive)) arguments << "--thread-input";
#endif which I'll do on my end for the next revision. :)
If you compile and test it please report back. :)
3. problem might be that mencoder can't provide the source fast enough (may be mencoder-mt would help, normal mencoder normally single-threaded afaik)
Cu Selur
Pitti
15th December 2008, 01:41
>> 1. why do you use unrestricted?
Oh this was a mistake.
>> if you build sx264 yourself yo could try by deleting the arguments << "--thread-input"; line in x264Model.cpp
I'm testing
edit:
it was functionable but that changes nothing.
can you implement the possibility to start more jobs at the same time?
I have tested with 2 instances but this is no so comfortable.
Emess
16th December 2008, 11:14
My first thought after opening the program was about how cluttered it was. Everything is bunched together, and options that I would think to be in the same tab were not. A lot of the options had named that didn't describe their function as well, I had to do a few quick encodes and compare the header information before I figured it all out. Using QT Designer obviously makes the UI easier to fix, and as it's a gui/frontend the UI is pretty important. If you don't rename things, maybe give them tooltips.
One thing I noticed in R418 was that max reference frames only goes up to 15? I dragged it to the far end but it wouldn't reach 16. Other problems were the program repeatedly giving me warnings. When I selected to use an external audio file, it gave about 5 warnings about not having a file defined. I wasn't able to define one without enabling the option to do so... The program seems pretty liberal with its alerts and pop ups.
The tabs are not that informative either. Tags doesn't exactly cover chapters and subtitles. And the way they are not all there from the start is a bit irritating. In re of subtitles, is it possible to add support for ass/ssa? libass and asa aren't exactly the greatest libs but mplayer/mencoder is able to read the formats fairly well, and given you have them as decoders it shouldn't be too difficult to add.
My only real problems with it overall though were how cluttered it is, and how non descriptive some of the options are. Even a simple tooltip with the corresponding x264 flag would help a lot.
On actually using it for an encode, I found it fairly quick, faster than autox264 at least, and a fairly good tool to use. The UI is unfortunate but it covers everything and is pretty verbose with its output, which is good. Another thing I really liked was its profile system. Is it able to import sharktooth's meGUI profiles or are the XML .flags different, I haven't had a chance to look yet.
Overall, nice little tool that looks to be coming along well, nice work :)
E~
Selur
16th December 2008, 11:45
@Emess: Everything is bunched together, and options that I would think to be in the same tab were not.
like... ? I sorted the options like I felt them fit, but I'm open too suggestions. (But I won't move an option just to be similiar to another UI.)
If you don't rename things, maybe give them tooltips.
'What is / ?'-entries are planned (added some to the main tab some time ago -> press '?'-button and then click on an option to see), but atm family and christmas has the grab on my free time. :)
I'm no real fan of tooltips. :)
The program seems pretty liberal with its alerts and pop ups.
It is an alpha :)
One thing I noticed in R418 was that max reference frames only goes up to 15?
about the formula I use, see: http://forum.doom9.org/showthread.php?t=142758
-> max references depend on a bunch of factors. :)
If you see a mistake please correct. :)
The tabs are not that informative either.
not?
Tags doesn't exactly cover chapters and subtitles.
about chapters:
atm sx264 can:
1. extract chapters from dvd input
2. let you modify and specify your own chapter points
-> should all be possible with the current 'Chapter Editor' in the 'Tags'-register
about subtitles:
atm sx264 can:
1. load external subtitle .srt/.idx (and insert them as subtitle stream to the output)
2. let you choose if you want to embed the subtitle into the picture
3. set a title and language for the subtitles in the 'General Tags' section
-> Could you explain a bit more what you mean with "Tags doesn't exactly cover chapters and subtitles." ?
Is it able to import sharktooth's meGUI profiles or are the XML .flags different, I haven't had a chance to look yet.
XML flags are different and hold some additional infos. Don't think I will support importing sharktooth's meGUI profiles.
@Pitti: I'll add 'running X Jobs' parallel to my todo-list but I don't think that this will come soon.
Cu Selur
Emess
16th December 2008, 14:51
By tabs not being informative, I meant the title of each tab. Obviously Qunatisation and Audio tabs do exactly what they say, but what about the Tags tab? It is called Tags, yet it controls the subtitles and chapters, as well as the actual track/stream names. Maybe rename it Extra or something.
I see what you mean by sorting the options how you say, but I was getting confused to what some of them do, and it seemed like some things that should be together were not. Not such a big deal really. What was really irritating though was that everything is so cramped. Maybe make the window a bit bigger and spread things out more, the app is like a wall of text on the Main tab.
As for the number of refs, I was using both high@5.1 and high@unrestricted, and it still cut it down to 15 refs. I am not sure why.
E~
Selur
16th December 2008, 17:19
rev419
*added*
- option to extract subtitle track from dvd (in DVD Selector)
*changed*
- using '-ovc frameno' instead of '-ovc copy'
- disable ui during analyse and subtitle extraction
- renamed 'Tags'- to 'Tags, Subtitles, Chapters'-register until I find a better name
-> updated 1st post
-----
I checked the number of refs and atm there's a small bug since ref will only be lowered by one if bframe > 1 and b-pyramid is active,and one changes the number of b-frames. Will fix that.
Atm keeping refs to 15 when b-pyramid is active is (using x264) the way to go to get better level compliance. (see thread linked in last post)
Just realized I disabled the 'What is'-option in the Alpha releases. :)
Cu Selur
Pitti
17th December 2008, 19:01
@Pitti: I'll add 'running X Jobs' parallel to my todo-list but I don't think that this will come soon.
or maybe add a button to create a shellscript?
Selur
18th December 2008, 00:03
shell script wouldn't be that easy, but I'll probably have some time to think about the needed changes over the christmas days and with a bit of luck I would be able to implement it at the beginning of january next year. ;)
Pitti
18th December 2008, 06:42
shell script wouldn't be that easy, but I'll probably have some time to think about the needed changes over the christmas days and with a bit of luck I would be able to implement it at the beginning of january next year. ;)
as I can see the shell commands appears in the commandbox and also in the reports.
if you can add a checkbox to prevent the commands then the command lines pops up in the commandbox without executing.
ofc private live first. take your time.
greetings Pitti
Selur
18th December 2008, 09:51
It wouldn't be a problem to generate all the command lines, but if you use 2pass encoding I normally adjust the videobitrate after the audio encoding which wouldn't work in command line.
Cu Selur
Selur
23rd December 2008, 22:06
Good and 'bad' news. ;)
Good news: Found some time to think about multi-Audio/Video/Subtitle support and encoding multiple jobs parallel.
"good" news: I'll implement parallel job encoding probably in january. :)
"Bad" news: Multi-Stream support won't come soon, since I'll have to make a mayor overhaul to implement it, which will result in a total rewrite of sx264. (-> I'll rewrite the program but that will have to wait. After encountering a lot of bugs&co I want to first be sure that the current 1 video + 1 audio + 1 subtitle stream version works fine)
Cu Selur
Selur
27th December 2008, 12:06
rev423
*added*
- 'parallel jobs' under Misc->Encoding defines how many jobs are processed parallel
side notes:
- if cpu usage is high enough for you when processing 1 at a time, stay with one job
- at the moment only the progress of the job at the top is viewable
*fixed*
- small bug, always lower max refs by 1 whenever b-pyramid is enabled, see: http://forum.doom9.org/showthread.php?t=142758
- fixed buffer values
*updated*
- sx264 and x264 version in windows 'complete' package
-> updated 1st post
Cu Selur
Selur
27th December 2008, 15:28
*cosmetics*
- renamed 'average quantization' to 'constant ratefactor'
*changed*
- removed '-noconfig all' calls since some mplayer version on linux got problems with it
-> updated download in 1st post
Selur
28th December 2008, 18:26
rev429
*fixed*
- vbv Buffer/Bitrate initialisation value fixed
- "S-Mpeg 4 v2" also needs to be decoded as YuY2 with mencoder -> using -vf format=yuy2,scale,format=i420 instead of -vf format=i420
*update*
- exchanged x264.exe in windows package since some people reported crashes with the last one
-> updated downloads in first post
rev430
*fixed*
- vbv bug
- instead of toLatin1() use toUtf8() when creating a pipe
-> updated downloads in first post
Pitti
29th December 2008, 06:14
rev423
*added*
- 'parallel jobs' under Misc->Encoding defines how many jobs are processed parallel
cool. my phenom is awake :D
I have testet with some little videos.
Results:
2 vids one after another -> 18:34 min
2 vids at the same time -> 12:42 min
4 vids 4 workers -> 20:30 mim
Selur
29th December 2008, 08:15
There are a bunch of small things about it that have to be fixed in the future: make sure debug output will generate multiple files, status view for all encodings not just the first in the queue, ability to stop a specific worker,... but getting the process started such that the temp files and the processes itself do not get in conflict was the main thing to start.
Nice, happy to see that it really does help with the speed and that it works. :)
Cu Selur
Emess
29th December 2008, 14:44
Just been messing with the settings. Found that when b-pyramid is enabled, thats when the refs drop to 15. Any reason?
Had some errors too:
Folder:
fonts
does not exist -> adjusting folder to '.' !
Could not create mediaInfo-VideoConfig!!
Probably no rights to write in to currten sx264 default path (see Misc 2)
Could not create mediaInfo-AudioConfig!!
Probably no rights to write in to currten sx264 default path (see Misc 2)
This was done in the Misc 2 tab. Unsure about the fonts error, while the mediaInfo errors seem to be from when I set sx264 path to /usr/bin
E~
Dark Shikari
29th December 2008, 14:49
Just been messing with the settings. Found that when b-pyramid is enabled, thats when the refs drop to 15. Any reason?Because the maker of this program introduced the bug intentionally to "fix" a problem that doesn't exist:- small bug, always lower max refs by 1 whenever b-pyramid is enabled
Selur
29th December 2008, 14:55
yup, see: http://forum.doom9.org/showthread.php?t=142758 :)
Folder:
fonts
does not exist -> adjusting folder to '.' !
sais that you didn't specify the path to a font folder on your system and sx264 didn't find a fonts folder next to it.
-> Without a font folder, OSD in mplayer preview can't be used (-> no preview of subtitles) and subtitles can't be burned in :)
Could not create mediaInfo-VideoConfig!!
Probably no rights to write in to currten sx264 default path (see Misc 2)
Could not create mediaInfo-AudioConfig!!
Probably no rights to write in to currten sx264 default path (see Misc 2)
sx264 wants to create two config files:
sx264_mediaInfo-VideoConfig General;%Duration/String3%
Video;%%FrameRate/String%%%Format%%%PixelAspectRatio%%%Width/String%%%Height/String%%%FrameCount%%%Encoded_Library/String%%%ScanOrder% and
sx264_mediaInfo-AudioConfig Audio;%Codec/String%%%SamplingRate/String%%%Channel(s)/String%%%BitRate/String%%%Video_Delay/String%%%ID/String%%%StreamKindPos%%%StreamCount%%%%%
which are used to get the infos needed when analysing a source.
Cu Selur
Selur
29th December 2008, 14:59
Because the maker of this program introduced the bug intentionally to "fix" a problem that doesn't exist:
Did I misunderstand that lowering max ref is needed when b-frames are enabled and b-pyramid is used to stay more standard conform?
If so I'm really sorry, but as I remember the other thread (see link above) the conclusion was this workaround was needed to stay more standard conform. I understood, that it might not be needed to produce content that hardware players accept since the 'normally' do not stick to the specs.
Cu Selur
Dark Shikari
29th December 2008, 15:08
Did I misunderstand that lowering max ref is needed when b-frames are enabled and b-pyramid is used to stay more standard conform?
If so I'm really sorry, but as I remember the other thread (see link above) the conclusion was this workaround was needed to stay more standard conform. I understood, that it might not be needed to produce content that hardware players accept since the 'normally' do not stick to the specs.
Cu SelurThe logic in the original thread on the topic--if correct--suggests that b-pyramid is potentially:
1. Technically never standards-compliant
or
2. Not standards compliant with under 4 refs.
Not that it is compliant if you limit refs to 15.
Selur
29th December 2008, 15:16
okay, thanks for clearing that up, must have misunderstood it, since the formulas I ended up there:
MaxDPB >= (bytes in a frame) * min(16, max(ref + (pyramid ? 1 : 0), 1 + (pyramid ? 2 : bframes ? 1 : 0))
and
maxref = Min(this->maxDPB(level)/bytesPerFrame, 16)
maxref = (pyramid) ? maxref-1 : maxref
if(maxref) < bframeModifier+1) maxref = bframeModifier+1
implied it. :)
So the 'maxref = (pyramid) ? maxref-1 : maxref' part wouldn't be needed, right? :)
Cu Selur
Dark Shikari
29th December 2008, 15:17
So the 'maxref = (pyramid) ? maxref-1 : maxref' part wouldn't be needed, right? :)I think that's right.
Selur
29th December 2008, 15:22
Okay, will fix this and upload a new version shortly. :)
Special thanks to Dark Shikari for it's patience. :)
Cu Selur
Selur
29th December 2008, 15:52
rev431
*fixed*
- forgot a '-noconfig all' in autocrop commandline :/, removed it now
- lowering maxRef when using b-pyramid isn't needed; thanks to Dark Shikari for the hint :)
*cosmetics*
- added (Pass 1/2) to encoding status during 2pass encode
- extended 'timestamp' in job history and debug to: ("yyyy.MM.dd - hh:mm:ss")
- not writing all text files as ascii but utf8
-> updated downloads in first post
Emess
30th December 2008, 08:30
sais that you didn't specify the path to a font folder on your system and sx264 didn't find a fonts folder next to it.
-> Without a font folder, OSD in mplayer preview can't be used (-> no preview of subtitles) and subtitles can't be burned in :)
Thing is in the Misc2 window I do set it. Each time the program closes it forgets the path I give it.
sx264 wants to create two config files:
sx264_mediaInfo-VideoConfig General;%Duration/String3%
Video;%%FrameRate/String%%%Format%%%PixelAspectRatio%%%Width/String%%%Height/String%%%FrameCount%%%Encoded_Library/String%%%ScanOrder% and
sx264_mediaInfo-AudioConfig Audio;%Codec/String%%%SamplingRate/String%%%Channel(s)/String%%%BitRate/String%%%Video_Delay/String%%%ID/String%%%StreamKindPos%%%StreamCount%%%%%
which are used to get the infos needed when analysing a source.
These seem to be created in whatever directory the app is started from. I notice if I load it from cli in /home it creates them there. However if I load it from my menu or kicker it errors on permissions and attempts to write to /usr/bin I believe. I have yet to check that on r431.
E~
Selur
30th December 2008, 10:22
Each time the program closes it forgets the path I give it.
You do save the settings, do you? (misc -> save defaults)
These seem to be created in whatever directory the app is started from.
They will be created in the sx264-Folder specified under Misc -> sx264 Path. If sx264 find them there it's okay, otherwise it's create them. As Defaults sx264 uses the pass it's started from. :)
Thinking about it I could change the default to e.g. /tmp on linux systems. :)
Cu Selur
Emess
30th December 2008, 11:08
I do save defaults yes, but it doesn't save. /tmp would be a very good idea.
E~
Selur
30th December 2008, 11:10
Thanks for the info, will do some testing here and fix that. :)
Cu Selur
Selur
30th December 2008, 12:12
rev432
*fixed*
- typo when calculating framecount from framerate and length in mediainfo analyser (needed when mediainfo could not find the framecount)
- .evo handling: using -demuxer 35 now for .evo content
- fixed problem when loading defaults and sx264Defaults Path was changed
*changed*
- setting sx264 to system variable->TEMP on windows and to /tmp on linux systems if not specified by user under Misc2
-> updated downloads in first post
Selur
30th December 2008, 18:48
rev434
*fixed*
- problem with default path and saving the defaults; defaults will now be saved in the users HOME
-> updated downloads in first post
Emess
31st December 2008, 03:34
rev434
*fixed*
- problem with default path and saving the defaults; defaults will now be saved in the users HOME
-> updated downloads in first post
as in $HOME/.sx264? I haven't grabbed anything past 431 yet (will do in a minute) Good to see the refs thing fixed. I noticed on an encode yesterday that when I try to use neroAacEnc via the GUI, it creates the pipe and then completely locks up. The GUI is fully responsive but it just won't start encoding the audio, I am not sure why.
[EDIT] Checked in r434, still has aac issues, and its not just for nero either. It's good to see the configs and mediainfo dumps going to $HOME, but perhaps create $HOME/.sx264/ for them so they aren't visible to the user whenever they browse their home directory, it's just cleaner that way.
E~
Selur
31st December 2008, 09:06
Thought about creating a .sx264 directory, but wasn't sure if this was a 'proper' way. ;) (haven't done much linux coding up-to-now :))
If the encoding doesn't start it sometimes helps to abort the current queue.
Will test the aac thing if you tell me a bit more specific what you did. :)
Cu Selur
Emess
31st December 2008, 18:15
I went to the audio tab and selected AAC without nero, and sample rate from input. Bitrate to 128. It then opened mplayer after encoding video so as to dump the audio (which I'd imagine you want mplayer's -dumpaudio flag for so the program doesn't need to open in full display) It finished dumping and then just stuck at 0% on "encoding audio" The other time it happened was with an externally loaded WAV file and the neroAAC button checked. Same problem, however it didn't run mplayer to dump. Now I just mux by hand. Feature request along those lines though, option to use raw .264 files as output besides for mkv/mp4/m2ts.
E~
Selur
31st December 2008, 18:35
Will look at it next year. :) (tomorrow)
Selur
1st January 2009, 18:44
rev437
*fixed*
- on source clip change adjustBitrate wasn't called when Target Mode != Custom was selected before loading a source clip
- if current bitrate is higher than allowed for level -> select a higher level
- not analysing video on current audio selection change
- (linux only) saving sx264Config in HOME/.sx264 and setting HOME/.sx264 as sx264 default path
- (linux only) added JobId to .fifo name to avoid collisions with other parallel running jobs
-> updated downloads in first post
----
did some test encodes with neroaacenc to mkv without a problem, so if it still doesn't work please enable debug output and post the sx264Debug.txt :)
Cu Selur
Selur
4th January 2009, 14:56
rev439
*fixed*
- staying deactivated when non analysable data was found
- activating '-demuxer 35' for vc-1 content
- missing separator for tsmuxer .meta file path
-> updated downloads in first post
Selur
6th January 2009, 09:15
@Emess:
Feature request along those lines though, option to use raw .264 files as output besides for mkv/mp4/m2ts.
Got a use-case for this? You want .264 only output then or audio raw too?
Cu Selur
buzzqw
6th January 2009, 10:17
Got a use-case for this? You want .264 only output then or audio raw too?
+1
outputting raw h264 and aac audio could be useful for proper muxing (with mkvmerge or mp4box)
BHH
Selur
6th January 2009, 10:27
@buzzqw: if I the the use-case right sx264 supports this already :)
When disabling 'delete intermediate' under misc sx264 will leave you with:
1. the normal output
2. the raw audio stream
3. the raw video stream
4. the .meta file if .m2ts output was selected
Side node: If muxing is not done proper I hope someone would tell me so I can fix it. ;)
Cu Selur
buzzqw
6th January 2009, 15:01
no no.. i don't want to blame! :p
BHH
Selur
6th January 2009, 15:08
Okay :P
Emess
7th January 2009, 05:57
Just having raw output for muxing with multiple audiotracks or setting a container framerate or other random things one can do by muxing it manually, especially for example, ordered chapters or timecode files in matroska. Having to hunt around for the temp files is messy and somewhat annoying. I mean just the raw video OR audio stream, without muxing at all.
E~
Selur
7th January 2009, 08:34
I mean just the raw video OR audio stream, without muxing at all.
If I would support .264 as output, it would be video only with no size adjustments (thinking about overhead here) to the container.
I could also add an option to skip the muxing part and move the tmp files to the folder the output is ment to be. This would give you all the outputs (size adjusted to a specific container) but not muxed.
Both are minor changes I could do relatively fast. :)
General questions:
- Whats the difference between 'ordered chapters' and the chapter option currently present int the "Tags, Subtitles, Chapters" register?
Cu Selur
Emess
8th January 2009, 15:10
Ordered chapters are chapters that exist outside the main mkv file. Think of the main mkv as a chapter index, it 'imports' the chapters from other files to display as 1 central file. I always encode with crf in general, but for specified bitrate/size users, having it calculate for total file size (load audio size from file) and then copying the temp file to the output dir could work pretty well, esecially as the user can set their wanted size here.
For more info on ordered chapters and other matroska features not in your muxing dialogue but found in mmg, see http://www.mod16.org/hurfdurf/?p=8
E~
Selur
8th January 2009, 16:13
Okay, thanks. Got the main part of the supporting of '.264 output' and 'disabling of just the muxing' finished, going to fix some minor bugs tonight and will probably release a working version tomorrow. :)
Cu Selur
Selur
16th January 2009, 14:40
rev454
*fixed*
- x264 command line only shown after defaults have been saved
- video only source -> no audio handling possible
*changed*
- 'job control'-view
-- can show progress&state of multiple parallel jobs
-- allows to start/stop/set to waiting a current job
- enabling 'adaptive dct' as default (tsmuxer 1080 vs. 1084)
- using tsmuxer to demux .m2ts/.mts/.ts files
*added*
- 'force input PAR type to' - option
*cosmetics*
- removed 'Alternative audio stream' checkbox for audio stream, stream can now be entered directly
- rearranged and renamed option in Misc-tab
*updated*
- windows pack: mencoder, ffmpeg, tsmuxer, x264 and sx264
-> updated downloads in first post
nakTT
16th January 2009, 17:14
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
Hi,
My I know what do you mean by System path? Thanks.
buzzqw
16th January 2009, 17:30
Hi,
My I know what do you mean by System path? Thanks.
this package
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.mediafire.com/?msmmslkhnzq
you must unzip the package OR in the same folder as sx264 OR in your c:\windows\system32 folder
BUT is much better to uncompress on sx264 folder
BHH
nakTT
16th January 2009, 17:54
you must unzip the package OR in the same folder as sx264 OR in your c:\windows\system32 folder
BUT is much better to uncompress on sx264 folder
BHH
Thanks for the reply. Yes I agree with you that uncompress it to sx264 is much better and I would say safer. Thanks again.
Selur
16th January 2009, 19:36
btw. updated the win package link since I accidentally put in an old sx264 version. :)
Selur
16th January 2009, 23:16
rev455
*fixed*
- the newly introduced audio handling bug
*added*
- some additional debug outputs
-> updated downloads in first post
Selur
18th January 2009, 15:57
rev456
*cosmetics*
- x264 command line view always showing up when coming out of minimized to system try state
- percent view and rest time show (of top most job) again in window title
*fixed*
- crash with mkv output when audio handling was enabled
- bitrate&filesize not adjustable (-> show x264 cl bug)
- log output wasn't updated
-> updated downloads in first post
Selur
20th January 2009, 12:53
rev457
*cosmetics*
- forgot to show progress when extracting/multiplexing with tsmuxer
- removed direct-8x8, see: http://forum.doom9.org/showthread.php?t=144433
*fixed*
- problems when converting .m2t files
*updated*
- windows package: x264 and sx264 version
-> updated downloads in first post
Selur
20th January 2009, 21:33
rev461
*fixed*
- forgot to remove direct8x8 call from default simple settings
*updated*
- windows package, testing another filehoster, since downloads from mediafire were too slow (< 4kByte/s)
-> updated downloads in first post
Emess
28th January 2009, 04:47
rev454*changed*
- 'job control'-view
-- can show progress&state of multiple parallel jobs
-- allows to start/stop/set to waiting a current job
BRILLIANT. I now have no reason to use any other UI. Thanks :D
On loading, I keep getting an alert about font paths. There is no single font path in *nix really, is it asking for a specific directory with fonts, or a directory with subdirs? Maybe code it to use fontconfig like most other apps so that it can locate them itself?
E~
Selur
28th January 2009, 08:03
Thanks for the feedback.
atm sx264 wants a single path with truetype fonts (.ttf) in it, which seemed to be the fastest way crossplatform way. :)
I never really thought about it much since, I personally - at least at the moment - don't need subtitles&co at all and nobody gave me any feedback. :)
-> will read up a bit about fontconfig and think about scanning the system using it
Cu Selur
Emess
28th January 2009, 15:08
Can always check for fontconfig during configure and if it's there it will set the right path. If not it asks the user at runtime. Or something.
One other thing, the resizer, what are the equivalent avisynth filters to the different modes? It's hard to tell which one I want >.<
E~
Selur
2nd February 2009, 16:09
rev464
*fixed*
- taking infos from first video stream when multiple video streams are present
- support to mux .sup subtitles when creating blu rays
- broken report and missing log command line output
*cosmetics*
- changed some name/position of some elements
*added*
- linux only: searching for *.ttf file according to /etc/fonts/fonts.conf
*updated*
- new mediainfo, x264 and sx264 build for windows package
-> updated downloads in first post
------
One other thing, the resizer, what are the equivalent avisynth filters to the different modes? It's hard to tell which one I want >.<
Sorry, can't really help there since I never really compared mencoder/ffmpeg vs. avisynth resizers.
Cu Selur
Pitti
3rd February 2009, 14:04
THX Selur :)
464 is nice.
a little issue in the audiotab:
if the option "Encode audio stream" is selected, then audioencoding is disabled.
should be named to "keep orginal audio" or so.
Selur
3rd February 2009, 14:07
yup, had a small mix up with some versions and the naming of the option, will be fixed in the next version. :)
Selur
5th February 2009, 00:35
rev466
*fixed*
- levelForBitrate needs to be 25% higher for highprofile
- max Bitrate&Buffer at Level 4.0 (used lower values before)
- x264 command line view not updated after an encode
*cosmetics*
- small adjustments and renamings
*updated*
- windows package: new x264, sx264 and mkvmerge version
-> updated downloads in first post
Pitti
5th February 2009, 06:31
Hallo Selur
can you think again about the personal profiles?
the decoding part (filtertab) and the encoding part (x264) should be separated (in my mind).
Sometimes the source needs to be cropped or deinterlaced sometimes not,
but the x264-settings are the same (especially on tv-caps).
this makes the possibility to import megui-profiles easer.
one more request :)
the jobs are temporarily?
can you implement the feature that the queue is saved in a file?
Pitti
PS: sorry wegen meines schlechten english
Selur
5th February 2009, 09:29
sorry wegen meines schlechten english
I also post updates over at M2D, Flaskmpeg.info and the german doom9 forum. ;)
the decoding part (filtertab) and the encoding part (x264) should be separated (in my mind).
I'll think about it. :)
the jobs are temporarily?
can you implement the feature that the queue is saved in a file?
Yes, jobs are temporary, but I will think about an Option to load and save them. :)
Cu Selur
Ps.: Main problem atm is that I'm kind of swamped with stuff in real live so free time and time to code are limited. ;)
Selur
9th February 2009, 20:08
rev470
*added*
- profile manager, gives the ability to load/save/delete general/audio/video/filter profiles
- not sure if one of the profiles is missing some parameters that should be included, so feedback is needed
- general = everything, audio = everything under Audio->Audio Encoding, video = all x264 settings, filter = everything under Filter/Subtitle->Filter Settings
- atm. encoding profiles require to be in 'advanced' mode
*cosmetics*
- a lot of changes. ;)
*updated*
- windows package: new x264, sx264 version
-> updated downloads in first post
flebber
9th February 2009, 23:21
Hi selur congrats its coming along nicely.
With the new profile management section do we copy and create the profiles to our sx264 directory in any particular fashion to get profiles to load, eg c:\sx264\Profiles c:\sx264\Filters etc.
I ask because I cannot seem to load profiles into these settings and would love to add the megui profiles and then some filters. however currently seems unable to the import megui profiles is not active. Regarding filters which ones are supported should I use Avisynth ?
http://farm2.static.flickr.com/1363/3267092487_916bef0a67.jpg
http://farm2.static.flickr.com/1106/3267092493_f8d92e26e6.jpg
Selur
10th February 2009, 00:17
Atm importing MeGui is not supported since I did not write any code for it. (It's planned, but will take some time.) :)
When you configure sx264 the way you like you can create a profile by pressing the 'Save As' Button, an entering a name the Profile should get. sx264 will automatically create the needed folders and subfolders and offer the profile in the drop-down menu.
About the filters, like mentioned in the changelog, when saving a filter profile everything under Filter/Subtitle->Filter Settings will be saved to the profile. You can not add any external filters.
And like mentioned in the first post: 'extended Avisynth-Support like with MeGui+AvsP' is not planned, you are free to feed sx264 with an avisynth script and as long as you are aware or the known problems (see first post) everything should work file.
Cu Selur
flebber
10th February 2009, 00:21
Sounds good. I like the layout updates, much cleaner and easier.
Pitti
10th February 2009, 05:25
This is a great update.
It's not an alpha anymore ;)
I have a little trubble to input the bitrate.
The automatic between filesize and bitrate hangs if i input these values manually.
Selur
10th February 2009, 08:00
@pitti: could you explain a bit more what you do to run into the problem? Seems to work here. :) Might also help i you start sx264 enable debug output cause invoke the problem and send me the created debg output file. -> if this is a bug this really is a reason why it should still be alpha, since this really is an important feature that should be stable before going to beta. ;)
-> there's some bug somewhere that's even causing sx264 to crash, don't know if it's the same that's causing your problem, will try to hunt it down tonight.
Cu Selur
Selur
10th February 2009, 09:22
okay, found&killed a small bug which was triggered when entering a target size to fast and in such provoking a loop. iirc you are using the 64bit binary if so plz try if http://stashbox.org/396991/sx264_testing.zip fixes your problem too. :)
Pitti
10th February 2009, 18:34
could you explain a bit more what you do to run into the problem?
- I load the videofile,
- set the outputname,
- go to the bitratefield and input the value manually (not using the spinbutton)
>> then the cpu-usage is going to 100% and sx264 is hanging
here is the debug: http://www.pittiplatsch.gmxhome.de/sx264Debug.txt
it seems that 473test fixes the problem
Selur
10th February 2009, 18:42
Thanks for the info, will make a new release for all systems tomorrow. :)
Pitti
11th February 2009, 00:08
can you please bring back the option "disable auto deinterlacing"
I have some TV-caps marked as interlaced, but there is no interlacing.
If i can disable this option (like in ver 466) in this case manually the encoding is much faster.
Selur
11th February 2009, 00:13
it's still there it just moved to 'Misc'->'Input Settings'->'Disable auto deinterlacing' ;) (wasn't sure if this is a better place -> open for suggestions ;))
CU Selur
Pitti
11th February 2009, 04:45
i like the old place more
otherwise maybe on both places
Selur
11th February 2009, 09:08
"otherwise maybe on both places"-> I'll try that. ;)
Selur
11th February 2009, 11:44
rev473
*added*
- importing MeGui audio/video profiles in profile manager (settings that are not supported in sx264 atm. will be ignored)
- reset settings option in profile manager
*fixed*
- fast manual targetsize change causing crash
*cosmetics*
- 'disableAutoDeinterlaceCheckBox' now under Filter/Subtitle and Misc->Input Settings
- fixed the naming of the 'tagTab'
- fixed some glitches under Audio->Audio Encoding
-> updated downloads in first post
buzzqw
11th February 2009, 13:08
good update!
thanks :)
BHH
Pitti
11th February 2009, 23:47
I think there is one more mainfeature necessary before we can go to search the hidden bugs.
It is the Possibility to keep the queue save over a restart.
Your progress has been made for this short time are really amazing.
Grüßle Pitti
Ps: is there any function in mencoder like the trim() function in avisynth.
for the short testings before the entire encodinprocess
Selur
11th February 2009, 23:56
In general there is only problem is one can't jump in every source, which makes it impossible to set start and end time, had feature in an earlier version but removed it since I never found the time to really test which formats allow jumping with mencoder/mplayer and which not,... atm I'm doing a bunch of gui changes but the queue saving is planned. ;)
Pitti
12th February 2009, 00:20
trim is not so important. I can trim the source with other tools like tsmuxer or mkvmerge.
but saving the queue (automaticly) is very important because sometime my wife interrupting my computer progress
(she call me: Hooooolger come to the supper or so) ;)
saving the queue is also saving my marriage :)
enough joking
cu Pitti
Emess
12th February 2009, 12:06
I'd imagine you could trim in avisynth and using avs2yuv open the pipe as the input in sx264, as long as some sort of way to define the frames is used, like x264 --frames option for this exact purpose. Maybe support named pipe's as input with a popup to ask for the number of frames? This could still be a problem for 2pass tho, so a better way would be for sx264 to create the pipe itself for each pass, maybe have it run wine avs2yuv.exe <stuff> itself. Or maybe this is just a really bad idea. It'd sure save HDD space though.
E~
Selur
12th February 2009, 17:30
Yup, wouldn't be to hard to include avisynth, but like I stated before 'I don't like the wine-way' and avisynth support/integration will only come when avisynth (3) runs native on linux. ;)
Selur
13th February 2009, 18:21
rev474
*added*
- auto load/save jobHistory and jobQueue (only not finished jobs will be saved, for infos about finished job use jobHistory)
- save/clear jobHistory
- 'close on queue finished' and 'shutdown on close' (later only for windows, no clue how to do it on linux without admin rights)
*cosmetics*
- added a menubar
- some small renamings and rearrangements
*fixed*
- p4x4 not enabled when level = unrestriced was selected
-> updated downloads in first post
Selur
14th February 2009, 09:54
rev475
*cosmetics*
- added button to open misc to main register (before it was only in the menubar)
-> updated downloads in first post
Emess
17th February 2009, 03:23
Not a feature request this time but it's been bugging me for a while. Is it possible to use a different location for storing the packages? The site you use currently can't be used with wget (at least not for me) and is VERY slow in a browser. I build a package so my packagemanager doesn't bork and the buildscript usually autodownloads the source but it's not possible here. Is there a possibility of svn access returning?
E~
Selur
17th February 2009, 07:48
I planned to migrate the files to a small homepage in april (should having enough free time on my hand than) which should make wget possible, but svn access is out of the question atm. .
Btw. planned to release a new version today, but atm there's a problem building the 64bit binary, so the 64bit binary release will have to wait a bit unless I figure out where the problem lies. :( (windows and linux 32bit build work fine)
(seems like it can't find qdbus, which is needed for the new option: 'shutdown on queue finished')
---------------
rev481
*cosmetics*
- removed menubar, rearranged some stuff
*fixed*
- neroAAC audio encoding problem
*added*
- 'shut down on queue finished*
*removed*
- 'shut down on close' and 'close on queue finished'
-> updated downloads in first post
-----------------
found the problem, needed to apply a small patch (QT += dbus -> CONFIG += qdbus in the project file) since including D-Bus access changed from QT 4.3 to QT4.4 (programed with qt4.4, but my linux 64bit system still got qt 4.3)
-> will upload a 64bit build and updated sources later
Emess
17th February 2009, 14:45
*cosmetics*
- removed menubarThe menu bar made it less cluttered, but it was annoyingly small and sort of in the way. Maybe a drop down button in the corner or something instead, like the icons VBox uses to indicate network/disk/mouse usage. With the new mplayer patches, is it possible to see ssa/ass subtitle muxing support? Or should we still be using mkvmerge like good muxers for that?
E~
Selur
17th February 2009, 15:59
Don't really know if normal mplayer builds support ssa muxing and preview atm. since I normally don't use subtitles at all or simple .srt subtitles.
So if mplayer supports it I can add support for preview and muxing. ;)
"like the icons VBox uses"
VBox ?
Cu Selur
buzzqw
17th February 2009, 17:14
VboX= VirtualBox www.virtualbox.org
BHH
Selur
17th February 2009, 17:19
you mean like at http://www.virtualbox.org/attachment/wiki/Screenshots/ubuntu-on-xp.png in the right lower corner?
If so stands the question: What should be but there?
(Mainly removed the menubar since it didn't really help from my usage point of view. :))
Cu Selur
Selur
17th February 2009, 19:39
rev483
*changed*
- SpinBoxes do not update (check values) unless 'enter' is pressed or keyboardfokus is lost
*fixed*
- 'negative bitrate' loop
- small workaround to compile under qt4.3 and qt4.4 (!qt4.3 is required!)
-> updated downloads in first post
Selur
18th February 2009, 17:42
rev486
*fixed*
- some bugs related to job load/save (serializing audioIDs and dvdStructure)
-> might have to delete your old sx264Jobs.xml file
- problem with tempFile and neroaacEnc under Linux
*cosmetics*
- adjust window sizes on open
-> updated downloads in first post
rev488
*fixed*
- missed a ! when choosing to delete or stop queue on 'abort' :/
-> updated downloads in first post
Selur
22nd February 2009, 17:04
rev494
*fixed*
- check negative Bitrate before start
- mplayer pcm audio handling
- problem with negative bitrates
- div 0 with mplayer on some Linux systems
- positioning of some tmp files (hope I didn't miss one ;))
-> updated downloads in first post
Selur
23rd February 2009, 00:32
rev495
*fixed*
- intermediate file handling
-> updated downloads in first post
Changelog auf Deutsch:
*Fehler behoben'
- Handhabung der temporären Dateien
-> hab die Downloads im ersten Post aktualisiert
Ajax_Undone
24th February 2009, 00:30
The package link is broken. The file will not download...
Selur
24th February 2009, 01:09
uploaded newest package to Megaupload, hope this helps :)
rev497
*fixed*
- shutdown on queue finished
- extracting .mp3 from .ts container (-> not supported by tsmuxer)
- bob framerate change
- bunch of small fixes related to avc and vc-1 input handling
*updated*
- windows package
-> updated downloads in first post
flebber
27th February 2009, 01:29
I am having trouble with something silly. I have ripped a DVD with DVD decrypter to a folder C:\Rip\DVD so that folder now contains 3 vobs. If I select video input it only opens vob1, but if I select DVD input and DVD folder it says no DVD info exists.
I know the vobs are okay because they open fine in avidemux 2.4.4 final.
Selur
27th February 2009, 01:51
If I select video input it only opens vob1
yup, video input takes 1 input file as source
but if I select DVD input and DVD folder it says no DVD info exists.
assuming the message yo refers sais "NO *.vob files detected in the selected folder! -> Select another folder." sx264 did not find any files
named VTS_0X_1.VOB with X being a number between 0 and 9
Assuming it finds the vob it then tries to parse the ifo file associated with this vob with (vstrip (windows) or lsdvd (linux)) to get a pgc <> vobfile mapping.
So in general it's the best way to just dump the dvd 1:1 to hdd when you want to process it with sx264. :)
Cu Selur
If it's another
flebber
27th February 2009, 02:54
Yeah I have VTS_01_1 2&3 in the DVD folder but it has no ifo file. Maybe I need to ensure dvd decrypter leaves a ifo file
Selur
27th February 2009, 08:08
yup, please try that :)
Selur
5th March 2009, 21:08
rev500
*fixed*
- added warning, because tsMuxeR does not support Umlaute
- freeze when loading audio only file as video input
*added*
- close on queue finished;
- crop view switching Mplayer/FFmpeg
*changed*
- using Qt 4.5
*removed*
- removed 'Non-pre scenecut'
- limiting --scenecut to 0 before it was -1
-> updated downloads in first post
Selur
8th March 2009, 16:04
rev504
*fixed*
- checking input file for Umlaute when (tsMuxeR does not support Umlaute)
- mplayer audioChannel count
- (auto) crop-Bug
- audio handling in .flv files
- mplayer analyser bug mit .ts files
- tsMuxeR extract audio
*changed*
- on audio extraction through tsMuxer, delay fixed during demux through tsMuxer
*updated*
- windows package: new sx264, x264, mkvmerge, tsmuxer version
-> updated downloads in first post
Selur
8th March 2009, 19:39
rev505
*fixed*
- LetterBox + ffmpeg bug (forgot to load the values ;))
-> updated downloads in first post
Betsy25
8th March 2009, 19:51
Hi,
the stashbox.org is not responding.
Selur,
Do we need to download and manually install all the needed tools inside some subfolder, or are these included in the package at stashbox.org ?
Thanks a lot !
Selur
8th March 2009, 19:59
Do we need to download and manually install all the needed tools inside some subfolder, or are these included in the package at stashbox.org ?
for windows it's enough to:
1. download the package from megapload and extract it (contains everything besides neroaacEnc and c++ runtime)
+
2. download newest win32 binary from stashbox and extract it into the folder you extracted the package to have a up-to-date version
the stashbox.org is not responding.
Seems like stashbox really slow today, so you might have to reload the page and/or wait a bit.
Cu Selur
flebber
15th March 2009, 00:16
Hi Selur The latest version crashes when I press encode. It doesn't produce any useful output to greatly help.
This is the only information.
analysing video data,..
analysing audio data,..
Collected the following video infos:
Video format = MPEG Video
Video width = 352
Video height = 240
Video fps = 29.97
Video interlace = PRO
Video PAR = 0.889
Video framecount = 7307
Video length = 00:04:03.810
Collected the following audio infos:
Audio format = MPEG layer-2, layer-3
Audio bitrate = 224
Audio channels = 2
Audio sample rate = 44100
Audiostream count = 1
with MediaInfo, mode: 7
AudioIDs: 0
AutoCrop: cropWidth: 352
AutoCrop: cropHeight: 238
AutoCrop: cropXpos: 0
AutoCrop: cropYpos: 2
AutoCrop: cropWidth: 352
AutoCrop: cropHeight: 224
AutoCrop: cropXpos: 0
AutoCrop: cropYpos: 10
Preview created with:
mplayer "C:\Rip\Source Video\arch_enemy-ravenous-evilsoul-apv.mpg" -mc 0 -nosound -vf crop=352:224:0:10,scale=352:224 -sws 10 -aspect 1.64979:1 -fps 29.97
Selur
15th March 2009, 00:30
I know and i'm working on it, but I got a major exam next Wednesday and a flu, so I'm not really got at coding atm. :(
Will fix it as fast as I'm able to, so probably Thursday or Friday. :)
flebber
15th March 2009, 00:43
I know and i'm working on it, but I got a major exam next Wednesday and a flu, so I'm not really got at coding atm. :(
Will fix it as fast as I'm able to, so probably Thursday or Friday. :)
I hope you get well. Best of Luck in your exams :-)
Selur
15th March 2009, 00:46
thanks :)
Selur
19th March 2009, 19:58
rev507
*fixed*
- blu-ray compatiblility bugs
- "Crop and resize to match input resolution and display aspect ratio (DAR)" Fehler
- m2ts(mpeg,mpa)-Source handling
- linux profile handling
- missing close button with qt 4.5 and linux
*added*
- optional usage of lavd/copts threads=X
-> updated downloads in first post
flebber
20th March 2009, 01:19
I end up with this screen loading with new 507 rev. Was this planned? Did the exams go well?
http://farm4.static.flickr.com/3578/3368533579_dd44373a92_o.jpg
Selur
20th March 2009, 01:29
exams went well,
"Was this planned?"
seems like I forgot to disable the console view I use when debugging. :)
The error is normal when sx264 is started for the first time, or the sx264Config changed a lot, no reason for concern.
Got some time tomorrow so I'll probably do some coding and release a new version. :)
Will probably throw out the 'optional usage of lavd/copts threads=X' since it seems to cause more trouble than it's worth (crashes for some people corrupted output for others) and add Linear Blending (pp=lb) as additional deinterlacer, since it's fast I a lot of times I prefer it over yadif.
Cu Selur
Selur
21st March 2009, 17:39
rev508
*modified*
- lavThreads support disabled when using dvd input and no deinterlacing (causes visual artefacts otherwise)
*added*
- linear blending as additional deinterlacer
-> updated downloads in first post
Cu Selur
Ps.: orderd myself a mac mini which should arrive at the end of next week so may be a mac version isn't that far away ;)
killerhex
24th March 2009, 22:34
doesn't start on windows 7 lol
Selur
24th March 2009, 22:52
don't know what you did, but over here it works fine on windows 7 (got it as alternative to linux on my laptop)
(maybe you forgot to install the c++ runtime)
killerhex
25th March 2009, 02:26
i have revision 508 and a cmd screen starts and shuts off quickly
Selur
25th March 2009, 08:51
send you a pm with a link to the testversion I used on my laptop
(did you install the c++ runtime ?)
Selur
25th March 2009, 16:38
rev509
*fixed*
- forgot 'scale,format=i420' when dvd input and no resize&co was selected
- x264 command line preview not updating when source was loaded
- allowing psyTrellis only if trellis is enabled (> 0)
- handling of some avis with pcm audio
- 'custom output par' crash
*changed*
- create .stats only when using 2pass encoding
-> updated downloads in first post
Selur
30th March 2009, 19:03
rev510
*changed*
- internal 'prefer ffmpeg' option made available under misc; will use ffmpeg instead of mencoder when no filtering&co is done; it's mainly for debugging and should normally kept enabled.
- 'use lavdopts threads' changed to 'FFmpeg/MEncoder threads' -> sets the number of threads FFmpeg/MEncoder use
*added*
- option to lower max references when b-pyramid is enabled
*fixed*
- audio bitrate/quality switching fixed
- audio handling DVD -> Video + NeroAACEnc audiohandling
- small bug with max references (sometimes to few when level <= 3.0)
- adjusted bluRay vbv max buffer for 4.0&4.1 to 30000 and vbv max bitrate rate for level 4.1 to 40000
*cosmetics*
- rearranged misc&misc2
- a bunch of renamings
-> updated downloads in first post
Selur
31st March 2009, 01:21
rev511
*fixed*
- cropToDar -> cropHeight adjustment
- a bunch of GUI glitches
*changed*
- restricting vbv values when bluray is enabled even when no source is loaded
-> updated downloads in first post
Selur
2nd April 2009, 08:07
rev514
*fixed*
- Audio->Quality factor setting after save&restart
- aac audio detection
*added*
- output framerate scaling (thanks to mm)
*cosmetics*
- rearranged: Main, Profile Manager and DVD Selector
*changed*
- audio quality scaling to 1-100 (1= worst, 100=best)
*updated*
- windows package to newest x264, sx264,...
-> updated downloads in first post
Selur
2nd April 2009, 20:22
rev515
*fixed*
- fixed output framerate scaling when using ffmpeg decoder
- fixed adjusting framecount when scaling the framerate
(converting HD captures@50p to 25p should work now :))
- preview with external subtitles
- dvd encode title/chapter
*info*
- preview of subtitles in the DVD Selector might not work, see: http://bugzilla.mplayerhq.hu/show_bug.cgi?id=1332
(does not work with mplayer version inside the windows package and no I don't know when it stopped working)
-> updated downloads in first post
Selur
12th April 2009, 09:42
rev516
*added*
- option to create avchd structure (through tsmuxer) when blu-ray compatibility is enabled
- option to dis-/enable ToolTips
*changed*
- using "tsshutdn 0 /DELAY:0 /POWERDOWN" instead of "shutdown -s -c \"sx264 is shutting down the system\" -t 01" to shutdown Windows systems since method 2 causes Norton Antivir to prevent the shutdown. :(
- blu-ray compatible enables dxva compatible (since it's a subset)
*fixed*
- lost minimize button after minimize to tray
Emess
12th April 2009, 15:02
Hey Selur, is there any chance of a .desktop file? I realise I could of course write my own but one being provided with the source would be handy for building packages.
E~
Selur
12th April 2009, 15:17
Haven't found the time to investigate how to write a .desktop file with an icon. :)
iirc the .desktop file should look like e.g.:
[Desktop Entry]
Exec=sx264
Type=Application
Icon=sx264.png
but I'm not sure where to but the png file or if a .png file is even allowed as icon ;)
Cu Selur
Selur
15th April 2009, 09:24
rev517
*fixed*
- encoding typ not properly saved in video profile
*added*
- possibitlity to adjust vbv values to outpt media
- remember position off sx264 on close
-> updated downloads in first post
Riki
22nd April 2009, 14:51
I love this app. Thanks for creating this and letting us use it!
Things I love:
1. No need for avs files, sx264 handles my avi and mov files perfectly :)
2. The advanced configuration
3. Job Que
3. Audio Encoding and Muxing
A couple features that would be great would be:
1. The ability to drag a file into the input slot (or even the input slot remembering the last location I picked a file)
2. The ability to change the framerate (is this currently possible? Having the option to use the ConvertFPS avisynth option would be awesome)
3. The ability to drag in multiple files and have them all be encoded with the current settings. (batch option)
Selur
22nd April 2009, 16:21
just leaving but here's a fast feedback:
to 1.&3. : thinking about it (3. really isn't a easy as it sounds, especially if the file types differ a lot, implemented it some time ago halfway through but stopped implementing it, not totally sure why so ;))
to 2. : avisynth isn't used in the app so using ConvertFPS from avisynth might be a problem, changing fps through dropping and adding frames is possible: Filter->Filter Settings ->Scale output framerate to
dansus
23rd April 2009, 16:53
hi, thought i would give this another crack. Liking it a lot, a few issues to resolve for me to use it again...
1. Anamorphic content not handled correctly. Broadcast 720x576i and 544x576i (BBC), anamorphic its 1024x576i - not detected.
2. Hard pulldown not detected. ie 29.970> 23.976
3. Trim or SelectRange function would be nice so that i can test result before committing.
4. Denoising options, possibilty to add Undot to the list. Others are too strong for some content.
5. Threading, despite setting to 6 threads, cpu is 50% and using only two cores on my quad. Maybe thats a filter issue, possibilty to wrap filters with mt.
Hopefully you can address some of these issues and make it even better. :)
----
Selur
23rd April 2009, 17:03
about 1.: that aspect ratio is detected by sx264 and what aspect ratio should have been detected in our opinion? Did you try to force a specific PAR type (Generic ITU, IT-R BT-601, MPEG-4 PAR) to fix your problem ?
about 2.: got no clue how to do a frame accurate preview atm. so trim&select range will have to wait until I find a way. :)
about 3.: some additional infos about input, settings you choose, a log or debug file, what versions of ffmpeg/mencoder you are using etc. might help, otherwise I'm totally in the dark. :)
@all: If you have a feature request it would help if you post which OS (Windows/Linux) you use so that I can make a testbuild and send it to you via pm. :)
Cu Selur
dansus
23rd April 2009, 17:27
If i force PAR to 1x1, its gives an odd figure of 720x320.
720x576i detects PAR as 1.422, which is fine but outputs it as 720x576 which is 4:3 on 16:9 content. Output should be 1024x576i or forced ie 720x416p
analysing video data,..
Collected the following video infos:
Video format = MPEG Video
Video fps = 25.000
Video width = 720
Video height = 576
Video interlace = TFF
Video PAR = 1.422
Video framecount = 69369
Video length = 00:46:14.760
No name for the logfile, so nothing to save.
using which ever version of files came with the latest all in one pack, updated sx264 to 5.17
Also cant handle the mpeg audio (mpa) with several test files i tried.
(xp sp3 x86)
---
Selur
23rd April 2009, 17:36
If i force PAR to 1x1, its gives an odd figure of 720x320.
You probably should check 'Auto adjust->width' instead of 'Auto adjust->height' if you want to keep the height and not the width ;)
[quote]Also cant handle the mpeg audio (mpa) with several test files i tried.[/quote9
will have a look later ;)
Selur
23rd April 2009, 19:44
@dansus: could you be a bit more specific about "cant handle the mpeg audio (mpa) with several test files i tried." since I just converted some files with Mpeg-1/2 layer-1/2 audio in it,..
Riki
23rd April 2009, 21:31
Thanks for the fast response. It took me a while to find the filters tab. Now that Im there would it be possible to define a custom framerate? For my videos I tend to go 10, 12, 15, and 30. These are for camtasia recorded training videos so dropping frames is fine.
Im using the windows build and would love to test a build :)
Selur
23rd April 2009, 22:10
under "Filter Settings ->Scale output framerate to" you can select frame rates
switch(forceOutputFramerate){
case 1 : framerate = 23.976; break;
case 2 : framerate = 24; break;
case 3 : framerate = 25; break;
case 4 : framerate = 29.976; break;
case 5 : framerate = 30; break;
case 6 : framerate = 50; break;
case 7 : framerate = 59.976; break;
case 8 : framerate = 60; break;
case 9 : framerate = 100; break;
case 10 : framerate = 120; break;
} atm, can add support for 10, 12, 15 tomorrow. :)
Cu Selur
Selur
24th April 2009, 13:39
rev518
*changed*
- calculating framecount if mediaInfo analyser missed it but has frame rate and length
- keeping temp files if output was not created during muxing
- behaviour when target bitrate collides with restrictions
- .m2ts overhead calculation (lower video, higher audio overhead)
- using lavcopts again, which should help multihreading when filtering
- audio delay handling
*cosmetics*
- changed job manager view
*fixed*
- mplayer analyser audio and .dvr-ms handling
- .stats file naming
- problem when muxing with tsmuxer
*added*
- drag&drop support for video input
- mutlifile input support (using settings selected for 1st file)
- option to downsample dts-hd to dts when using tsmuxer as muxer
- option to automatically create the outputname: 'default output path'+'input filename'+"."+'default extension'
- 'default output path' can be set under: Misc -> Paths
- 'default extension' can be set under: Misc->Encoding, Compatibility and Output->Output Settings->Standard output container
- additional framerates for framerate convertion
-> updated downloads in first post
Riki
24th April 2009, 20:31
Amazing! I cant tell you how much time this saves me, I highly recommend this app.
On a side note, I attached the settings I use for streaming on the web if anyone wants to check them out. I found them to work very well.
Could you or anyone take a look and let me know if there is anymore I could do to improve my output?
My goal is: Smallest filesize possible, Highest Quality possible, and fast playback. I dont care about encoding time because I have a mac pro with 8 cores and it seems to encode very fast, around 20fps with my current settings.
Here are a few things I did and would like some advice on because some of this I dont quite understand.
1. I decreased the reference frames and bframes because there were some playback issues in quicktime (image would get all messed up during playback) and also to increase playback speed.
2. Im going with a 28.00 constant rate because its hard to choose a bitrate and have it fit all the different types of videos. Some have tons of fullscreen motion and others have none and even others are mixed.
3. Increasing Chroma Boost to 12 seemed to make the filesize go down, and I dont seem to see any quality differences.
4. I went with main profile 3.1 to increase playback speed. This actually made a HUGE difference compared to high.
5. I dont understand settings like Quantizer min/max, Quantfactor I P and B, Max quantizer different, Deadzone, and all the Rate Control Settings. Perhaps there are some tweaks in there to help?
Selur
24th April 2009, 20:35
About the settings: it might helpt if you open x264 commandline view and post your settings. ;) (so others don't have to wait for a moderator to approve the attachment ;))
Cu Selr
Riki
24th April 2009, 21:13
oops, Im not sure if this is correct but..
x264 --crf 28 --level 3.1 --ref 3 --keyint 250 --min-keyint 25 --scenecut 40 --bframes 10 --b-bias 0 --b-pyramid --weightb --direct spatial --b-adapt 2 --cplxblur 20 --qcomp 0.6 --qblur 0.5 --qpmin 1 --qpmax 51 --qpstep 4 --ipratio 1.4 --pbratio 1.3 --chroma-qp-offset 12 --partitions i4x4,p4x4,p8x8,b8x8 --me esa --merange 16 --mvrange 512 --subme 9 --mixed-refs --trellis 2 --no-fast-pskip --no-dct-decimate --aq-mode 1 --aq-strength 1 --deadzone-inter 11 --vbv-maxrate 14000 --vbv-bufsize 14000 --threads auto --filter -1,-1 --no-psnr --no-ssim --progress --fps 12 --output
Selur
24th April 2009, 21:27
here some comments from me:
"-me esa" is probably overkill umh (multi-hexagonal) should be fine and a lot faster :) (for most sources one really can't tell the difference when viewing)
"--direct spatial" personally I would select 'auto'
I would also set "--psy-rd" to "1:0.3" (Psy RD/trellis strength)
You can also try to enable 'Allow P4x4 for all levels' under misc->compatibility + p4x4 under Macroblock settings, which might help a bit and will probably cause no problem with quicktime (haven't tested).
Cu Selur
Riki
24th April 2009, 21:38
Thanks, Ill try that and let you know the results
Selur
24th April 2009, 22:38
rev519
*fixed*
- delay moved to muxing when using neroaacenc
- collision when multiInput met parallel encodings
-> updated downloads in first post
Riki
25th April 2009, 03:34
Thanks, all of that is great, except for this
I would also set "--psy-rd" to "1:0.3" (Psy RD/trellis strength)
That made the fielsize significantly bigger.
I found a small bug. When loading a profile the resize only resizes the height, and the auto width doesn't get propagated. I have to toggled the mod setting to get it to update.
Do you accept donations?
Selur
25th April 2009, 06:53
Do you accept donations?
Thanks, but none needed (software is not even beta;)) atm.
When loading a profile the resize only resizes the height, and the auto width doesn't get propagated. I have to toggled the mod setting to get it to update.
Will have a look at it tomorrow. (got a lot to do today, so won't probably find any time ;))
Would be nice If you could specify a bit more what you did and may be send me a profile with the problem via PM.
It's probably only a small bug. -> think I would the problem, will send you a pm
Cu Selur
Riki
25th April 2009, 16:28
Thanks, Im doing a huge test right now with compressing around 200 files. One thing that would help me but it is a minor thing, is to be able to select an output folder and have the files get dumped into there, but inherit the filename.
The reason is some of the files I encode are already mp4 so I get the _reencode suffix.
Its not really a huge deal because I use Directory Opus as my explorer and it has a renaming function to remove characters.
Ill send you a pm about the other fix you sent. :)
Riki
26th April 2009, 03:22
Im not sure if I asked this already but is there a way to set the audio to be mono? I dont seem to see the option and not sure if it has been removed or was never there.
Selur
26th April 2009, 08:44
you can select the output folder by setting a default ouput folder. ;)
void X264Model::autoNameOutput(){
if(this->isClone || !this->findChild<NBoolValue *>("autoOutput")->boolValue()) return;
emit sendMessage(DEBUG, "autoNameOutput called");
if(!this->findChild<NBoolValue *>("dvdInput")->boolValue()){
QString path = this->findChild<NValue *>("defaultOutputPath")->value();
QString input = this->findChild<NValue *>("videoInput")->value();
QString videoInput = input;
emit sendMessage(DEBUG, "autoNameOutput input: "+input);
input = input.replace("\\", "/");
input = input.remove(0, input.lastIndexOf("/")+1);
input = input.remove(input.lastIndexOf("."),input.size());
input = QDir::toNativeSeparators(path+QString((path.isEmpty()) ? QString("") : QDir::separator()))+input;
input +=".";
QString container;
switch(this->findChild<NRangeValue *>("outputContainer")->intValue()){
case 1 : container = "mkv"; break;
case 2 : container = "m2ts"; break;
case 3 : container = "264"; break;
default : container= "mp4"; break;
}
input += container;
if(QFile::exists(input)){
input = input.replace("."+container, "_reencode."+container);
}
emit sendMessage(DEBUG, "autoNameOutput output: "+input);
this->findChild<NValue *>("out")->setValue(input);
}
}
Im not sure if I asked this already but is there a way to set the audio to be mono?
haven't implemented any downmix since ffmpeg can't downmix audio and mencoder normally doesn't handle audio raw well. (it's possible but kind of a pain)
Emess
26th April 2009, 12:41
Im not sure if I asked this already but is there a way to set the audio to be mono? I dont seem to see the option and not sure if it has been removed or was never there.You should be able to demux your audio from your source and open it in say, Audacity, downmix to mono, and then add it as an external audio file.
Haven't found the time to investigate how to write a .desktop file with an icon. :)
iirc the .desktop file should look like e.g.:
[Desktop Entry]
Exec=sx264
Type=Application
Icon=sx264.png
but I'm not sure where to but the png file or if a .png file is even allowed as icon ;)
Cu SelurWindows won't like it (unless it's changed since win2k) but *nix is fine with PNG icons. The default location iirc is /usr/share/icons, however you can use a full path in the .desktop file like $sx264dir/icon.png where sx264dir is the directory where profiles and whatnot are in ~/.sx264. If using /usr/share/icons, be aware that it generally likes multiple sized copies of your icons in the hicolor directory, at least last I checked.
Request: Ability to open named pipes as video sources. I like to use avs2yuv for example to load avisynth scripts in x264 or mencoder, or sometimes I use mplayer and -vo yuv4mpeg:file=mypipe.y4m, is there a way sx264 could maybe buffer the first frame to get the resolution? Obviously there would be no audio and the user would need to set the framerate themselves.
E~
Selur
26th April 2009, 12:47
resolution wouldn't be enough, length, framerate, par, famecount would also be needed, if mplayer an open such a pipe through 'mplayer and -vo yuv4mpeg:file=mypipe.y4m' and it's able to provide all the needed infos via mplayer -identify -vo yuv4mpeg:file=mypipe.y4m, integration into sx264 would probably not much of a problem.
Riki
26th April 2009, 15:53
The strange thing about the audio is the input source is already mono, and the nero encoder converts it to stereo, is there any way to leave it mono?
As for the output path, thanks! When I saw it greyed out I thought it wasnt an option, now I see the checkbox at the top. :p
Selur
26th April 2009, 16:52
Strange, does sx264 recognize the file as mono? (audio channels = ?)
Got no mono file here, but if you upload it somewhere and send me link via pm I'll look into it tomorrow. ;)
Riki
26th April 2009, 21:28
yeah sx26 says 1 audio channel. I did a test with an existing mono audio file and the filesize ended up being exactly the same, so Im not worried about it. I was getting the info from mediainfo. I thought it may have been forcing it to 2 channels and bloating the filesize, but its not.
Riki
26th April 2009, 22:34
Here is something else interesting. I unchecked MP4 hinting and it made the filesize lower and still works just the same on a streaming server. I thought for sure this was needed but I guess its not.
Selur
27th April 2009, 07:43
@Riki: if you need mp4 hinting or not depends on the streaming server you need, some hint the content on the fly iirc. ;)
just tested the mono audio thing with neroaacenc:
got no problem here, reencoding the mono audio creates a mono aac output,..-> if your system gives stereo output it's probably the fault of the decoder used. ;)
@Emess: About y4m pipe/input: The problem is mplayer doesn't give any infos about length or framecount. Without framecount or length size calculation, showing progress during muxing/encoding etc. isn't possible. I probably could write some workarounds to force mplayer as analyser, mencoder as decoder, only allow 1pass encoding, showing no process and ignoring the missing length and frame count, but would it be worth the effort?
Since I don't use wine under linux I'm not sure, but if mplayer can playback avisynth files as input I can tweak sx264 to accept .avs input under linux too. (might even work atm., with some small bugs, when selecting mplayer as analyser and mencoder as decoder) ;)
Cu Selur
Selur
27th April 2009, 09:11
rev520
*fixed*
- auto adjusting resolution on profile load (with auto adjust hieght/width)
- mkv delay handling
-> updated downloads in first post
Emess
27th April 2009, 10:30
@Emess: About y4m pipe/input: The problem is mplayer doesn't give any infos about length or framecount. Without framecount or length size calculation, showing progress during muxing/encoding etc. isn't possible. I probably could write some workarounds to force mplayer as analyser, mencoder as decoder, only allow 1pass encoding, showing no process and ignoring the missing length and frame count, but would it be worth the effort?
Since I don't use wine under linux I'm not sure, but if mplayer can playback avisynth files as input I can tweak sx264 to accept .avs input under linux too. (might even work atm., with some small bugs, when selecting mplayer as analyser and mencoder as decoder) ;)
Cu Selur
MPlayer cannot load avs files, but what I do at the moment is run avs2yuv via wine, and output that to a pipe. I then load that in x264. Sometimes I do a similar thing with mplayer, but either way, once it starts reading from the pipe, I do not think it can seek to go back, so opening info from it would require reinitialising it as far as I can tell. Maybe have a check on the input extention, if it fits one of the standard pipe extentions (usually .y4m or .yuv,) then have a small popup asking the user to fill in info like the resolution, the par, the framerate, the framecount, etc?
E~
Selur
27th April 2009, 10:48
MPlayer cannot load avs files,..
:( (damn, works under windows ;))
have a small popup asking the user to fill in info like the resolution, the par, the framerate, the framecount, etc?
Nope, not a way to go for me. ('Only trust the user if you definitely have to.' ;))
Another idea: could you test if avsinfo works through wine? If avsInfo would work, it should be able to provide the infos needed. When getting a .y2m/.yuv file sx264 could then look for the .avs file (assuming it's in the same dir as the pipe) and analyse the .avs file with avsInfo (wine avsInfo.exe input.avs).
Assuming avsInfo does work through wine, I patched the sources (http://www.selur.info/sx264Source.zip) to check on .y2m/.yuv input if a .avs file exists an if so to call 'wine avsInfo.exe input.avs' to analyze the content.
Cu Selur
Emess
27th April 2009, 18:37
I haven't got a copy of avsInfo to test with, but it sounds like it'd be mostly for avs scripts rather than any old yuv pipe, not that I can find a webpage for it or anything. From what you said though, how would it proceed if there is no avs script, and instead it's being generated from mplayer?
Seeing as I can't find it, are you able to link me a binary of avsInfo from somewhere, or at least a link to a thread or page about it? :3
E~
Selur
27th April 2009, 20:10
here you go http://www.selur.info/sx264/avsInfo.zip ;)
and yes it's ment for .avs input wouldn't help with 'any old yuv pipe' and unless there's an automated way to get framecount/length I don't see me integrating support for it in sx264.
Selur
28th April 2009, 09:13
Assuming all .yuv/.y4m files start with something like:
YUV4MPEG2 W640 H352 F25:1 Ip A1:1
and frame count can be determined by counting the occurrence of "FRAME" in the input, I implemented a simple method that parses the input and should analyse such files. ;)
Updated the test sources (http://www.selur.info/sx264Source.zip), would be nice if someone could post if this works. ;) (tested it only with a small raw file and not with a pipe)
-> seems like only YUV4MPEG2 output is that easy to analyse -> only analysing y4m input ;)
Cu Selur
Riki
29th April 2009, 14:14
Ive been doing many more tests and one idea that I think could benefit some people is the ability to change the parallel jobs number from the job control. So for example if you have many encodes sometimes you need to limit it to 1 encode while you work, and when you leave to crank it up to 4 or so.
Selur
29th April 2009, 14:45
adding an additional control isn't a problem, will send you a pm with a test version,...
roozhou
30th April 2009, 08:12
Hi Selur,
Here is how to add Lagarith support to mplayer/mencoder
Add the following lines to mplayer/codecs.conf and put lagarith.dll inside mplayer's directory or C:\WINDOWS\system32
videocodec lagarith
info "Lagarith Lossless Video Codec"
comment "http://lags.leetcode.net/codec.html, requires an MMX2 CPU."
status working
fourcc LAGS
driver vfw
dll "lagarith.dll"
out BGR32,BGR24 flip
Selur
30th April 2009, 08:37
thought about adding support to other codecs, that are not natively supported but went against it, since I would end up having to check:
a. license issues that might arise
b. add each additional .dll to the downloads (iirc LorD_MuldeR got a nice collection of .dlls that come with SMPlayer)
-> this might come on a later note, but since the user base is rather small atm. and most people that need more exotic codecs normally now how to add mencoder support on their own, it's easier to not add a .dll package +(.conf file) to the downloads. ;)
Cu Selur
Ps.: Personally I use CanopusHQ as an additional codec.
Emess
30th April 2009, 16:44
I'll test that y4m thing when I install the new machine. Lagarith is an awesome codec, but it doesn't run natively in Linux, at least not last I tried. I'd assume the aim of sx264 using Qt would be for multi platform compatibility, so that kind of defeats the purpose.
E~
Selur
30th April 2009, 16:49
One can decode Lagarith under linux very similar to the way roozhou posted for windows, .dlls normally lie in /usr/lib/codecs and codecs.conf in /etc/mplayer, but yes one of the main goals is multi platform compatibility. ;)
Cu Selur
Riki
30th April 2009, 19:38
Would you know why I get messed up audio playback in quicktime when I use sx264? It pops and pauses and stuff like that.
Selur
30th April 2009, 19:44
1st guess: high CPU usage (on windows I use SetPriority which sets all processes to idle and under linux I leave it to the OS)
Riki
30th April 2009, 19:47
I thought about that too, but I did alot of tests and used multiple computers and its definitely a problem with the encoding. It doesn't do it with my other encodes. I have an 8-core mac pro so I know the computer can handle it. The other encodes I have are from megui, super, adobe media encoder, etc.
Riki
30th April 2009, 19:48
Also, the playback is fine in media player classic, just messes up in quicktime.
Selur
30th April 2009, 19:53
To get this right:
Do you have problems playing material created with sx264 or are you having problems with playback in quicktime while encoding?
If it's playing back content which is created by sx264 do a quick test with audio disabled to check if it's an audio problem.
If it's an audio problem: post which settings you selected in the audio register. :)
Cu Selur
Riki
30th April 2009, 19:57
Basically its an audio only problem with content encoded with sx264 and played back in quicktime. (if that makes since :p)
The audio settings are:
aac
32 kb
22050
everything else is default
I just noticed the mp3 option, I could try that too and see if it fixes it.
Selur
30th April 2009, 20:04
strange, when you would have said you selected NeroAACEnc the problem would be that quicktime sucks at aac-he, but ffmpeg/mencoder both should use faac which afaik only uses aac-lc,...
-> yo could try to:
a. use a higher sample rate e.g. 48000
b. use a higher bitrate e.g. 128 kb
Cu Selur
Riki
30th April 2009, 20:07
I dont see nero as an option. I did put the nero encoder into the root of the sx264 folder. The problem is I need the filesize as small as possible, hopefully mp3 will help with this, or another aac encoder? (are you referring about about mencoder/ffmpeg?)
Selur
30th April 2009, 20:11
I dont see nero as an option.
between the 'Audio format' DropDown and the 'Save'-Button, should be a 'Nero AAC' checkbox,...
sx264 uses NeroAACEnc as aac encoder when 'Nero AAC' is checked, otherwise it uses faac which is a part of mencoder/ffmpeg.
Cu Selur
Riki
30th April 2009, 20:13
Ahh! I didnt notice it because its greyed out. How do I ungrey it so I can test it out? All my other tests were with nero encoder so it should help.
Riki
30th April 2009, 20:16
I figured it out I just had to toggle to mp3 and back to aac. Now it works!
Selur
30th April 2009, 20:17
hmmm,.. another bug, it shouldn't be grayed out if aac audio is selected ;)
Riki
30th April 2009, 20:31
I was able to check it after toggling audio format but after I submit the job it greys itself out again. Im not sure if its even using nero at all. The popping was still there with Nero AAC checked.
I also tried mp3 and every time after the encode I double click the mp4 file and get this error:
Error -2041: an invalid sample description was found in the movie
Selur
30th April 2009, 20:36
Since can't reproduce the effect here, enabled debug output under misc and send me the debug file via pm, if you got a small sample of a file you can't properly reencode it might also be helpful if you could provide such a sample and the settings you used.
Cu Selur
Riki
30th April 2009, 20:38
sure, Ill send you a pm :)
rev521
*added*
- support for .y4m input (YUV4MPEG2)
*fixed*
- mix-up when forcing PAR-typ, ITU-601 and MPEG were switched
- neroaacenc wrongfully greyed out when audio input format was .aac
*changed*
- maximum parallel jobs setting adjustable in Job Control
- removed the lagarith warning so that people who want it can add support manually see: http://forum.doom9.org/showthread.php?p=1279783#post1279783
*updated*
- windows package (found a bug: delete the mplayer folder that comes with the package)
-> updated downloads in first post
rev525
*fixed*
- looping when redoing analysis
- handling of dvd with pcm stream
- vbv Buffer/max rate error that prevented encoding in some cases (on default vs. profile conflicts)
- switching to 1pass abr not changing to bitrate configuration
*changed*
- using mediaInfo to grab audio delay
- instead of 'disable auto deinterlace' and 'force deinterlace', now using 'enabled auto deinterlace' and 'enable deinterlace'
*cosmetics*
- showing current audio input info in the audio register
- showing current audio&video input info in the log register
- removed removed info-popup showing collected audio/video infos
- show info current scan type in filter register
-> updated downloads in first post
rev526
*fixed*
- tsmuxer audio handling (wrong audioId)
-> updated downloads in first post
Emess
14th May 2009, 08:07
Selur, any chance of a field for entering manual cli options, or a "super advanced" tab for all the stuff not covered elsewhere? Example being colormatrix setting or no-asm options.
E~
Selur
14th May 2009, 08:35
I know the "Annex E"-settings are not coverd, since I'm not aware of a player that really uses them.
-> if anyone misses a 'useful' option (means they are useful in any way and I get some feedback if they break or are broken ;)) please say so and I'll probably add them somewhere in the GUI
I'm a bit reluctant to add a 'bind add text'-option, but if there are some people that want it it's probably not hard to add.
Cu Selur
Selur
14th May 2009, 11:34
rev535
*fixed*
- crash on dvd chapter grabbing
- disabling hardware compatibility
*added*
- dvd from chapter X to chapter Y encoding
- multiple methods for dvd title selection on dvd load
- 2pass crf encoding method (2pass 1st pass = 1pass crf, 2pass 2nd pass like always)
- some additional options under misc (vui, no-asm, sps, non-deterministic)
-> updated downloads in first post
flebber
15th May 2009, 08:03
Your latest revision crashes when I press start encode.
This is the log I had.
Analysing audio&video with MediaInfoAnalyser
Analysing audio&video with MediaInfoAnalyser
Collected the following video infos:
> Format: MPEG-4 Visual
> Frame rate: 25.000
> Width: 720
> Height: 528
> Interlace mode: PRO
> PAR: 1
> Frame count: 69189
> Duration: 00:46:07.560
Collected the following video infos:
> Format: MPEG-4 Visual
> Frame rate: 25.000
> Width: 720
> Height: 528
> Interlace mode: PRO
> PAR: 1
> Frame count: 69189
> Duration: 00:46:07.560
Collected the following audio infos:
> ID: 1
> Format: mp3
> Bitrate: 128 kBit/s
> Channels: 2
> Sample rate: 48000 Hz
> Stream count: 1
Collected the following audio infos:
> ID: 1
> Format: mp3
> Bitrate: 128 kBit/s
> Channels: 2
> Sample rate: 48000 Hz
> Stream count: 1
> A/V delay: 0 ms
> A/V delay: 0 ms
AutoCrop: cropWidth: 640
AutoCrop: cropWidth: 640
AutoCrop: cropHeight: 384
AutoCrop: cropHeight: 384
AutoCrop: cropXpos: 56
AutoCrop: cropXpos: 56
AutoCrop: cropYpos: 58
AutoCrop: cropYpos: 58
Selur
15th May 2009, 08:15
send you a link via pm think I know where the problem is :)
Selur
15th May 2009, 08:46
rev536
*fixed*
- mencoder decoder call
- targetwidth&height weren't always properly changed on source change
*cosmetics*
- a bunch of smaller changes,..
If you run into a problem: delete your old profiles and settings, since the last versions probably broke a lot. :)
-> updated downloads in first post
Selur
15th May 2009, 18:03
rev537
*fixed*
- double entries in log
- switching to 1pass abr froze bitrate maximum
If you run into a problem: delete your old profiles and settings, since the last versions probably broke a lot. :)
-> updated downloads in first post
flebber
15th May 2009, 22:18
Hi Selur I am ending up with this error now when trying to encode.
Job 221540625 2009.05.16 - 07:16:01:
Audioencoder: extractingCL:
mencoder -lavdopts threads=1 -mc 0 -noskip -aid 1 -ovc frameno -oac copy "C:\Documents and Settings\Family\My Documents\Downloads\Gordon Ramsay Cookalong Live - 101.avi" -of rawaudio -o "C:\DOCUME~1\Family\LOCALS~1\Temp\Gordon Ramsay Cookalong Live - 101_221540625.mp3"
Job 221540625 2009.05.16 - 07:16:27:
Audioencoder: audio passthrough enabled - nothing to do
Job 221540625 2009.05.16 - 07:16:27:
decoderCL:
mencoder "C:\Documents and Settings\Family\My Documents\Downloads\Gordon Ramsay Cookalong Live - 101.avi" -really-quiet -ovc raw -noskip -lavcopts threads=1 -lavdopts threads=1 -mc 0 -vf unsharp=l7x7:1.1:c7x7:1.1,scale,format=i420 -font "\arial.ttf" -fps 25 -nosound -of rawvideo -o -
Job 221540625 2009.05.16 - 07:16:27:
encoderCL:
x264 --pass 1 --bitrate 513 --level 4.1 --ref 1 --keyint 250 --min-keyint 25 --scenecut 40 --bframes 3 --b-bias 0 --weightb --direct auto --cplxblur 20 --qcomp 0.6 --qblur 0.5 --qpmin 10 --qpmax 51 --qpstep 4 --ipratio 1.4 --pbratio 1.3 --chroma-qp-offset 0 --partitions i4x4,i8x8,p8x8,b8x8 --me dia --subme 2 --mixed-refs --trellis 0 --aq-mode 1 --aq-strength 1 --vbv-maxrate 62500 --vbv-bufsize 78125 --threads auto --filter -1,-1 --no-psnr --no-ssim --stats "C:\DOCUME~1\Family\LOCALS~1\Temp\Gordon Ramsay - Cookalong 101221540625.stats" --progress --fps 25 --output NUL - 624x352
Job 221540625 2009.05.16 - 07:16:28:
x264 [info]: 624x352 @ 25.00 fps
x264 [warning]: VBV bitrate (62500) > level limit (50000)
x264 [warning]: VBV buffer (78125) > level limit (62500)
x264 [info]: using cpu capabilities: MMX2 SSE2 Cache64
x264 [info]: profile Main, level 4.1
[25.0%] 1/4 frames, 0.00 fps, 0.00 kb/s, eta 0:00:00
[50.0%] 2/4 frames, 0.00 fps, 0.00 kb/s, eta 0:00:00
[75.0%] 3/4 frames, 187.50 fps, 0.00 kb/s, eta 0:00:00
[100.0%] 4/4 frames, 250.00 fps, 0.00 kb/s, eta 0:00:00
Job 221540625 2009.05.16 - 07:16:28:
x264 [info]: final ratefactor: 26.70
encoded 4 frames, 85.11 fps, 0.00 kb/s
Job 221540625 2009.05.16 - 07:16:28:
video encoding 2nd pass
Job 221540625 2009.05.16 - 07:16:28:
decoderCL:
mencoder "C:\Documents and Settings\Family\My Documents\Downloads\Gordon Ramsay Cookalong Live - 101.avi" -really-quiet -ovc raw -noskip -lavcopts threads=1 -lavdopts threads=1 -mc 0 -vf unsharp=l7x7:1.1:c7x7:1.1,scale,format=i420 -font "\arial.ttf" -fps 25 -nosound -of rawvideo -o -
Job 221540625 2009.05.16 - 07:16:28:
encoderCL:
x264 --pass 2 --bitrate 513 --level 4.1 --ref 3 --keyint 250 --min-keyint 25 --scenecut 40 --bframes 3 --b-bias 0 --weightb --direct auto --cplxblur 20 --qcomp 0.6 --qblur 0.5 --qpmin 10 --qpmax 51 --qpstep 4 --ipratio 1.4 --pbratio 1.3 --chroma-qp-offset 0 --partitions i4x4,i8x8,p8x8,b8x8 --me hex --merange 16 --subme 6 --mixed-refs --8x8dct --trellis 1 --aq-mode 1 --aq-strength 1 --vbv-maxrate 62500 --vbv-bufsize 78125 --threads auto --filter -1,-1 --no-psnr --no-ssim --stats "C:\DOCUME~1\Family\LOCALS~1\Temp\Gordon Ramsay - Cookalong 101221540625.stats" --progress --fps 25 --output "C:\DOCUME~1\Family\LOCALS~1\Temp\Gordon Ramsay - Cookalong 101_221540625.264" - 624x352
Job 221540625 2009.05.16 - 07:16:28:
x264 [info]: 624x352 @ 25.00 fps
x264 [info]: using cpu capabilities: MMX2 SSE2 Cache64
x264 [error]: empty stats file
x264 [error]: x264_encoder_open failed
Job 221540625 2009.05.16 - 07:16:28:
Video encoder - QProcess::Crashed
Job 221540625 2009.05.16 - 07:16:28:
Videoencoder: exitCode: -1, ExitStatus:
Selur
15th May 2009, 22:27
something seems to go wrong when decoding, please do the following:
1. open a console window
2. browse to the location where you got sx264
3. enter:
mencoder "C:\Documents and Settings\Family\My Documents\Downloads\Gordon Ramsay Cookalong Live - 101.avi" -ovc raw -noskip -lavcopts threads=1 -lavdopts threads=1 -mc 0 -vf unsharp=l7x7:1.1:c7x7:1.1,scale,format=i420 -font "\arial.ttf" -fps 25 -nosound -of rawvideo -o - | x264 --pass 1 --bitrate 513 --level 4.1 --ref 1 --keyint 250 --min-keyint 25 --scenecut 40 --bframes 3 --b-bias 0 --weightb --direct auto --cplxblur 20 --qcomp 0.6 --qblur 0.5 --qpmin 10 --qpmax 51 --qpstep 4 --ipratio 1.4 --pbratio 1.3 --chroma-qp-offset 0 --partitions i4x4,i8x8,p8x8,b8x8 --me dia --subme 2 --mixed-refs --trellis 0 --aq-mode 1 --aq-strength 1 --vbv-maxrate 62500 --vbv-bufsize 78125 --threads auto --filter -1,-1 --no-psnr --no-ssim --stats "C:\DOCUME~1\Family\LOCALS~1\Temp\Gordon Ramsay - Cookalong 101221540625.stats" --progress --fps 25 --output NUL - 624x352
and post the command line output generated by it when you start this line.
My guess is that the problem lies with "\arial.ttf", but we will see. :)
Selur
16th May 2009, 08:09
rev538
*fixed*
- changing extention when standard container was changed while automatic output naming is enabled
- restoring position on open and restore from system tray
*changed*
- font existance recheck before usage
- recheck default folder existance
-> updated downloads in first post
flebber
17th May 2009, 13:30
I do get a font face failed error, but it doesn't state arial.ttf it references subfont face failed.
/.mplayer/subfont.ttf
Selur
17th May 2009, 13:33
I totally don't get where "/.mplayer/subfont.ttf" comes on a windows system,...
What's the command line that gave you the error?
flebber
17th May 2009, 14:04
I used the command line you post previously however I cannot print the mencoder output to file from a windows command prompt.
mencoder "C:\Documents and Settings\Family\My Documents\Downloads\Gordon Ramsay Cookalong Live - 101.avi" -ovc raw -noskip -lavcopts threads=1 -lavdopts threads=1 -mc 0 -vf unsharp=l7x7:1.1:c7x7:1.1,scale,format=i420 -font "\arial.ttf" -fps 25 -nosound -of rawvideo -o - | x264 --pass 1 --bitrate 513 --level 4.1 --ref 1 --keyint 250 --min-keyint 25 --scenecut 40 --bframes 3 --b-bias 0 --weightb --direct auto --cplxblur 20 --qcomp 0.6 --qblur 0.5 --qpmin 10 --qpmax 51 --qpstep 4 --ipratio 1.4 --pbratio 1.3 --chroma-qp-offset 0 --partitions i4x4,i8x8,p8x8,b8x8 --me dia --subme 2 --mixed-refs --trellis 0 --aq-mode 1 --aq-strength 1 --vbv-maxrate 62500 --vbv-bufsize 78125 --threads auto --filter -1,-1 --no-psnr --no-ssim --stats "C:\DOCUME~1\Family\LOCALS~1\Temp\Gordon Ramsay - Cookalong 101221540625.stats" --progress --fps 25 --output NUL - 624x352
Selur
17th May 2009, 14:10
doe sit work with '-font "\arial.ttf"' left out
flebber
17th May 2009, 14:21
I updated it to
mencoder "C:\Documents and Settings\Family\My Documents\Downloads\Gordon Ramsay Cookalong Live - 101.avi" -ovc raw -noskip -lavcopts threads=1 -lavdopts threads=1 -mc 0 -vf unsharp=l7x7:1.1:c7x7:1.1,scale,format=i420 -fps 25 -nosound -of rawvideo -o - | x264 --pass 1 --bitrate 513 --level 4.1 --ref 1 --keyint 250 --min-keyint 25 --scenecut 40 --bframes 3 --b-bias 0 --weightb --direct auto --cplxblur 20 --qcomp 0.6 --qblur 0.5 --qpmin 10 --qpmax 51 --qpstep 4 --ipratio 1.4 --pbratio 1.3 --chroma-qp-offset 0 --partitions i4x4,i8x8,p8x8,b8x8 --me dia --subme 2 --mixed-refs --trellis 0 --aq-mode 1 --aq-strength 1 --vbv-maxrate 62500 --vbv-bufsize 78125 --threads auto --filter -1,-1 --no-psnr --no-ssim --stats "C:\DOCUME~1\Family\LOCALS~1\Temp\Gordon Ramsay - Cookalong 101221540625.stats" --progress --fps 25 --output NUL - 624x352
The subfont.ttf error is still there, but encoding continues .
Selur
17th May 2009, 14:24
btw. if you put " > output.txt" at the end of the line you will get a textfile with the output
did you try with rev538 ?
flebber
17th May 2009, 14:43
I have a current encode happening with rev538 it is on 2nd pass but will be some time yet, plus 2 other jobs in queue.
flebber
18th May 2009, 00:02
I checked it this morning and it has crashed. Here is the log.
Job 221717953 2009.05.17 - 22:19:40:
Audioencoder: extractingCL:
mencoder -lavdopts threads=1 -mc 0 -noskip -aid 1 -ovc frameno -oac copy "C:\Documents and Settings\Family\My Documents\Downloads\Gordon Ramsay Cookalong Live - 102.avi" -of rawaudio -o "C:\DOCUME~1\Family\LOCALS~1\Temp\Gordon Ramsay Cookalong Live - 102_221717953.mp3"
Job 221717953 2009.05.17 - 22:20:19:
Audioencoder: audio passthrough enabled - nothing to do
Job 221717953 2009.05.17 - 22:20:19:
decoderCL:
mencoder "C:\Documents and Settings\Family\My Documents\Downloads\Gordon Ramsay Cookalong Live - 102.avi" -really-quiet -ovc raw -noskip -lavcopts threads=1 -lavdopts threads=1 -mc 0 -vf unsharp=l7x7:1.1:c7x7:1.1,scale,format=i420 -font "\arial.ttf" -fps 25 -nosound -of rawvideo -o -
Job 221717953 2009.05.17 - 22:20:20:
encoderCL:
x264 --pass 1 --bitrate 518 --level 4.1 --ref 1 --keyint 250 --min-keyint 25 --scenecut 40 --bframes 3 --b-bias 0 --weightb --direct auto --cplxblur 20 --qcomp 0.6 --qblur 0.5 --qpmin 10 --qpmax 51 --qpstep 4 --ipratio 1.4 --pbratio 1.3 --chroma-qp-offset 0 --partitions i4x4,i8x8,p8x8,b8x8 --me dia --subme 2 --mixed-refs --trellis 0 --aq-mode 1 --aq-strength 1 --vbv-maxrate 50000 --vbv-bufsize 50000 --threads auto --filter -1,-1 --no-psnr --no-ssim --stats "C:\DOCUME~1\Family\LOCALS~1\Temp\Gordon Ramsay - Cookalong 102221717953.stats" --progress --fps 25 --output NUL - 624x352
Job 221717953 2009.05.17 - 23:33:44:
x264 [info]: slice I:1263 Avg QP:29.32 size: 14223
x264 [info]: slice P:38666 Avg QP:32.82 size: 3863
x264 [info]: slice B:34525 Avg QP:36.01 size: 765
x264 [info]: consecutive B-frames: 8.3% 84.8% 5.3% 1.7%
x264 [info]: mb I I16..4: 40.6% 0.0% 59.4%
x264 [info]: mb P I16..4: 12.0% 0.0% 6.5% P16..4: 38.0% 11.7% 3.6% 0.0% 0.0% skip:28.2%
x264 [info]: mb B I16..4: 0.8% 0.0% 0.0% B16..8: 18.5% 0.7% 0.5% direct: 3.4% skip:76.0% L0:24.3% L1:46.9% BI:28.7%
x264 [info]: final ratefactor: 27.92
x264 [info]: direct mvs spatial:73.5% temporal:26.5%
x264 [info]: coded y,uvDC,uvAC intra:45.5% 63.9% 23.3% inter:9.3% 8.7% 0.7%
x264 [info]: kb/s:520.5
encoded 74454 frames, 16.92 fps, 520.64 kb/s
Job 221717953 2009.05.17 - 23:33:44:
video encoding 2nd pass
Job 221717953 2009.05.17 - 23:33:44:
decoderCL:
mencoder "C:\Documents and Settings\Family\My Documents\Downloads\Gordon Ramsay Cookalong Live - 102.avi" -really-quiet -ovc raw -noskip -lavcopts threads=1 -lavdopts threads=1 -mc 0 -vf unsharp=l7x7:1.1:c7x7:1.1,scale,format=i420 -font "\arial.ttf" -fps 25 -nosound -of rawvideo -o -
Job 221717953 2009.05.17 - 23:33:44:
encoderCL:
x264 --pass 2 --bitrate 518 --level 4.1 --ref 3 --keyint 250 --min-keyint 25 --scenecut 40 --bframes 3 --b-bias 0 --weightb --direct auto --cplxblur 20 --qcomp 0.6 --qblur 0.5 --qpmin 10 --qpmax 51 --qpstep 4 --ipratio 1.4 --pbratio 1.3 --chroma-qp-offset 0 --partitions i4x4,i8x8,p8x8,b8x8 --me hex --merange 16 --subme 6 --mixed-refs --8x8dct --trellis 1 --aq-mode 1 --aq-strength 1 --vbv-maxrate 50000 --vbv-bufsize 50000 --threads auto --filter -1,-1 --no-psnr --no-ssim --stats "C:\DOCUME~1\Family\LOCALS~1\Temp\Gordon Ramsay - Cookalong 102221717953.stats" --progress --fps 25 --output "C:\DOCUME~1\Family\LOCALS~1\Temp\Gordon Ramsay - Cookalong 102_221717953.264" - 624x352
Job 221717953 2009.05.18 - 01:03:13:
x264 [info]: slice I:1263 Avg QP:29.66 size: 14153
x264 [info]: slice P:38666 Avg QP:33.63 size: 3829
x264 [info]: slice B:34525 Avg QP:36.28 size: 779
x264 [info]: consecutive B-frames: 8.3% 84.8% 5.3% 1.7%
x264 [info]: mb I I16..4: 17.9% 79.7% 2.4%
x264 [info]: mb P I16..4: 2.8% 8.7% 0.3% P16..4: 45.4% 7.6% 8.1% 0.0% 0.0% skip:27.1%
x264 [info]: mb B I16..4: 0.9% 0.0% 0.0% B16..8: 17.6% 0.6% 0.4% direct: 2.0% skip:78.4% L0:27.8% L1:45.4% BI:26.8%
x264 [info]: 8x8 transform intra:71.2% inter:75.8%
x264 [info]: direct mvs spatial:60.6% temporal:39.4%
x264 [info]: coded y,uvDC,uvAC intra:56.1% 71.4% 24.6% inter:12.7% 12.7% 1.2%
x264 [info]: ref P L0 88.8% 7.1% 4.0%
x264 [info]: ref B L0 92.0% 8.0%
x264 [info]: kb/s:518.0
encoded 74454 frames, 13.90 fps, 518.11 kb/s
Job 221717953 2009.05.18 - 01:03:13:
video encoding finished
Job 221717953 2009.05.18 - 01:03:13:
muxing video and audio
Job 221717953 2009.05.18 - 01:03:13:
muxerCL:
mkvmerge -o "C:\Rip\Produced\Gordon Ramsay - Cookalong 102.mkv" --default-duration 0:25fps --aspect-ratio-factor 0:1/1 --fourcc 0:MP4V --track-name 0:"Gordon Ramsay Cookalong 102" --language 0:en "C:\DOCUME~1\Family\LOCALS~1\Temp\Gordon Ramsay - Cookalong 102_221717953.264" "C:\DOCUME~1\Family\LOCALS~1\Temp\Gordon Ramsay Cookalong Live - 102_221717953.mp3" --global-tags "C:\DOCUME~1\Family\LOCALS~1\Temp\mkvTags.xml"
Job 221717953 2009.05.18 - 01:04:17:
muxing finished
Job 221914734 2009.05.18 - 01:04:17:
Audioencoder: extractingCL:
mencoder -lavdopts threads=1 -mc 0 -noskip -aid 1 -ovc frameno -oac copy "C:\Documents and Settings\Family\My Documents\Downloads\Gordon Ramsay Cookalong Live - 103.avi" -of rawaudio -o "C:\DOCUME~1\Family\LOCALS~1\Temp\Gordon Ramsay Cookalong Live - 103_221914734.mp3"
Job 221914734 2009.05.18 - 01:04:45:
Audioencoder: audio passthrough enabled - nothing to do
Job 221914734 2009.05.18 - 01:04:45:
decoderCL:
mencoder "C:\Documents and Settings\Family\My Documents\Downloads\Gordon Ramsay Cookalong Live - 103.avi" -really-quiet -ovc raw -noskip -lavcopts threads=1 -lavdopts threads=1 -mc 0 -vf crop=624:336:0:10,unsharp=l7x7:1.1:c7x7:1.1,scale,format=i420 -font "\arial.ttf" -fps 25 -nosound -of rawvideo -o -
Job 221914734 2009.05.18 - 01:04:45:
encoderCL:
x264 --pass 1 --bitrate 529 --level 4.1 --ref 1 --keyint 250 --min-keyint 25 --scenecut 40 --bframes 3 --b-bias 0 --weightb --direct auto --cplxblur 20 --qcomp 0.6 --qblur 0.5 --qpmin 10 --qpmax 51 --qpstep 4 --ipratio 1.4 --pbratio 1.3 --chroma-qp-offset 0 --partitions i4x4,i8x8,p8x8,b8x8 --me dia --subme 2 --mixed-refs --trellis 0 --aq-mode 1 --aq-strength 1 --vbv-maxrate 62500 --vbv-bufsize 78125 --threads auto --filter -1,-1 --no-psnr --no-ssim --stats "C:\DOCUME~1\Family\LOCALS~1\Temp\Gordon Ramsay - Cookalong 103221914734.stats" --progress --fps 25 --output NUL - 624x336
Job 221914734 2009.05.18 - 01:04:46:
x264 [info]: 624x336 @ 25.00 fps
x264 [warning]: VBV bitrate (62500) > level limit (50000)
x264 [warning]: VBV buffer (78125) > level limit (62500)
x264 [info]: using cpu capabilities: MMX2 SSE2 Cache64
x264 [info]: profile Main, level 4.1
[50.0%] 1/2 frames, 0.00 fps, 0.00 kb/s, eta 0:00:00
[100.0%] 2/2 frames, 133.33 fps, 0.00 kb/s, eta 0:00:00
Job 221914734 2009.05.18 - 01:04:46:
x264 [info]: final ratefactor: 26.07
encoded 2 frames, 64.52 fps, 0.00 kb/s
Job 221914734 2009.05.18 - 01:04:46:
video encoding 2nd pass
Job 221914734 2009.05.18 - 01:04:46:
decoderCL:
mencoder "C:\Documents and Settings\Family\My Documents\Downloads\Gordon Ramsay Cookalong Live - 103.avi" -really-quiet -ovc raw -noskip -lavcopts threads=1 -lavdopts threads=1 -mc 0 -vf crop=624:336:0:10,unsharp=l7x7:1.1:c7x7:1.1,scale,format=i420 -font "\arial.ttf" -fps 25 -nosound -of rawvideo -o -
Job 221914734 2009.05.18 - 01:04:46:
encoderCL:
x264 --pass 2 --bitrate 529 --level 4.1 --ref 3 --keyint 250 --min-keyint 25 --scenecut 40 --bframes 3 --b-bias 0 --weightb --direct auto --cplxblur 20 --qcomp 0.6 --qblur 0.5 --qpmin 10 --qpmax 51 --qpstep 4 --ipratio 1.4 --pbratio 1.3 --chroma-qp-offset 0 --partitions i4x4,i8x8,p8x8,b8x8 --me hex --merange 16 --subme 6 --mixed-refs --8x8dct --trellis 1 --aq-mode 1 --aq-strength 1 --vbv-maxrate 62500 --vbv-bufsize 78125 --threads auto --filter -1,-1 --no-psnr --no-ssim --stats "C:\DOCUME~1\Family\LOCALS~1\Temp\Gordon Ramsay - Cookalong 103221914734.stats" --progress --fps 25 --output "C:\DOCUME~1\Family\LOCALS~1\Temp\Gordon Ramsay - Cookalong 103_221914734.264" - 624x336
Job 221914734 2009.05.18 - 01:04:46:
x264 [info]: 624x336 @ 25.00 fps
x264 [info]: using cpu capabilities: MMX2 SSE2 Cache64
x264 [error]: empty stats file
x264 [error]: x264_encoder_open failed
Job 221914734 2009.05.18 - 01:04:46:
Video encoder - QProcess::Crashed
Job 221914734 2009.05.18 - 01:04:46:
Videoencoder: exitCode: -1, ExitStatus:
Selur
18th May 2009, 04:58
What I need is some debug output -> enable debug output and try newest version I now send you via PM.
Also better try to use a smaller file for testing,....
flebber
18th May 2009, 15:13
What I need is some debug output -> enable debug output and try newest version I now send you via PM.
Also better try to use a smaller file for testing,....
I have used new version and it works :D. I cannot re-create the error.
Selur
18th May 2009, 15:16
Would be nice if you could send me a debug file (pm/email), since this would provide some additional informations, to know if there's a bigger problem lurking around the corner. ;)
flebber
18th May 2009, 15:17
done, email sent
updated, sent another email this time with crash error in debug.
microchip8
19th May 2009, 00:23
Added sx264 to my repository. Packages for SUSE 10.3/11.0/11.1 will be shortly up when the server syncs
http://download.opensuse.org/repositories/home:/microchip8/
microchip8
19th May 2009, 01:16
btw, just a suggestion. You may want to include a LICENSE file in your source package. Will make it easier for packagers like me. You only state in your first post that it's open source and under the GPL, but which specific GPL version is omitted (v2, v2+, v3, v3+ ?)
microchip8
19th May 2009, 19:23
I noticed a small problem on Linux. sx264 works fine, however one cannot quit it as the the quit button is grayed out/disabled so the only way for me to quit sx264 is to kill it. I'm using QT 4.5.1 here
screenies:
http://www.imagebam.com/image/b037fe36263570
http://www.imagebam.com/image/67b29136263776
Selur
19th May 2009, 20:25
have to check which gpl version is required by qt,..
No clue about the close button, afaik it worked fine with 4.5.0 :(
@flebber: tried to reproduce the problem, but it's not crashing but I'll keep it in mind :)
rev541
*fixed*
- autocrop overcropping
- chapter clearing problem
- cropping crash
-> updated downloads in first post
flebber
19th May 2009, 23:58
Changed my x264 to a shorter path C:/Rip/Produced/sx264 and redownloaded and installed package and rev 540. Received this exit(I do have the debug if it helps).
Analysing audio&video with MediaInfoAnalyser
Collected the following video infos:
> Format: MPEG-4 Visual
> Bitrate: 949 kBit/s
> Frame rate: 29.97
> Width: 640
> Height: 480
> Interlace mode: PRO
> PAR: 1
> Frame count: 40295
> Duration: 00:22:24.511
Collected the following audio infos:
> ID: 1
> Format: mp3
> Bitrate: 128 kBit/s
> Channels: 2
> Sample rate: 48000 Hz
> Stream count: 1
> A/V delay: 0 ms
Analysing audio&video with MediaInfoAnalyser
Collected the following video infos:
> Format: MPEG-4 Visual
> Bitrate: 943 kBit/s
> Frame rate: 29.97
> Width: 512
> Height: 384
> Interlace mode: PRO
> PAR: 1
> Frame count: 40414
> Duration: 00:22:28.482
Collected the following audio infos:
> ID: 1
> Format: mp3
> Bitrate: 128 kBit/s
> Channels: 2
> Sample rate: 44100 Hz
> Stream count: 1
> A/V delay: 0 ms
AutoCrop: cropWidth: 512
AutoCrop: cropHeight: 384
AutoCrop: cropXpos: 0
AutoCrop: cropYpos: 0
Analysing audio&video with MediaInfoAnalyser
Collected the following video infos:
> Format: MPEG-4 Visual
> Bitrate: 1 039 kBit/s
> Frame rate: 25.000
> Width: 608
> Height: 352
> Interlace mode: PRO
> PAR: 1
> Frame count: 39290
> Duration: 00:26:11.600
Collected the following audio infos:
> ID: 1
> Format: ac3
> Bitrate: 192 kBit/s
> Channels: 2
> Sample rate: 48000 Hz
> Stream count: 1
> A/V delay: 0 ms
Analysing audio&video with MediaInfoAnalyser
Collected the following video infos:
> Format: MPEG-4 Visual
> Bitrate: 1 300 kBit/s
> Frame rate: 25.000
> Width: 720
> Height: 528
> Interlace mode: PRO
> PAR: 1
> Frame count: 74428
> Duration: 00:49:37.120
Collected the following audio infos:
> ID: 1
> Format: mp3
> Bitrate: 128 kBit/s
> Channels: 2
> Sample rate: 48000 Hz
> Stream count: 1
> A/V delay: 0 ms
AutoCrop: cropWidth: 704
AutoCrop: cropHeight: 512
AutoCrop: cropXpos: 8
AutoCrop: cropYpos: 10
Job 085304656 2009.05.20 - 08:53:07:
Audioencoder: extractingCL:
mencoder -lavdopts threads=1 -mc 0 -noskip -aid 1 -ovc frameno -oac copy "C:\Documents and Settings\Family\My Documents\Downloads\Grand Designs\Grand Designs Series 1\S01E02.divx" -of rawaudio -o "C:\DOCUME~1\Family\LOCALS~1\Temp\S01E02_085304656.mp3"
Job 085304656 2009.05.20 - 08:53:41:
Audioencoder: audio passthrough enabled - nothing to do
Job 085304656 2009.05.20 - 08:53:41:
decoderCL:
mencoder "C:\Documents and Settings\Family\My Documents\Downloads\Grand Designs\Grand Designs Series 1\S01E02.divx" -really-quiet -ovc raw -noskip -of rawvideo -o -
Job 085304656 2009.05.20 - 08:53:41:
encoderCL:
x264 --pass 1 --bitrate 515 --level 4.1 --ref 1 --keyint 250 --min-keyint 25 --scenecut 40 --bframes 3 --b-bias 0 --weightb --direct auto --cplxblur 20 --qcomp 0.6 --qblur 0.5 --qpmin 10 --qpmax 51 --qpstep 4 --ipratio 1.4 --pbratio 1.3 --chroma-qp-offset 0 --partitions i4x4,p8x8,b8x8 --me dia --subme 2 --mixed-refs --trellis 0 --aq-mode 1 --aq-strength 1 --vbv-maxrate 62500 --vbv-bufsize 78125 --threads auto --filter -1,-1 --no-psnr --no-ssim --stats "C:\DOCUME~1\Family\LOCALS~1\Temp\Grand Designs - Season 1 - Episode 2 v 2085304656.stats" --progress --fps 25 --output NUL - 640x480
Job 085304656 2009.05.20 - 08:53:44:
x264 [info]: 640x480 @ 25.00 fps
x264 [warning]: VBV bitrate (62500) > level limit (50000)
x264 [warning]: VBV buffer (78125) > level limit (62500)
x264 [info]: using cpu capabilities: MMX2 SSE2 Cache64
x264 [info]: profile Main, level 4.1
x264 [info]: final ratefactor: 29.27
Job 085304656 2009.05.20 - 08:53:44:
video encoding 2nd pass
Job 085304656 2009.05.20 - 08:53:44:
decoderCL:
mencoder "C:\Documents and Settings\Family\My Documents\Downloads\Grand Designs\Grand Designs Series 1\S01E02.divx" -really-quiet -ovc raw -noskip -of rawvideo -o -
Job 085304656 2009.05.20 - 08:53:44:
encoderCL:
x264 --pass 2 --bitrate 515 --level 4.1 --ref 3 --keyint 250 --min-keyint 25 --scenecut 40 --bframes 3 --b-bias 0 --weightb --direct auto --cplxblur 20 --qcomp 0.6 --qblur 0.5 --qpmin 10 --qpmax 51 --qpstep 4 --ipratio 1.4 --pbratio 1.3 --chroma-qp-offset 0 --partitions i4x4,p8x8,b8x8 --me umh --merange 16 --subme 6 --mixed-refs --8x8dct --trellis 1 --aq-mode 1 --aq-strength 1 --vbv-maxrate 62500 --vbv-bufsize 78125 --threads auto --filter -1,-1 --no-psnr --no-ssim --stats "C:\DOCUME~1\Family\LOCALS~1\Temp\Grand Designs - Season 1 - Episode 2 v 2085304656.stats" --progress --fps 25 --output "C:\DOCUME~1\Family\LOCALS~1\Temp\Grand Designs - Season 1 - Episode 2 v 2_085304656.264" - 640x480
Job 085304656 2009.05.20 - 08:53:44:
x264 [info]: 640x480 @ 25.00 fps
x264 [info]: using cpu capabilities: MMX2 SSE2 Cache64
x264 [error]: empty stats file
x264 [error]: x264_encoder_open failed
Job 085304656 2009.05.20 - 08:53:44:
Video encoder - QProcess::Crashed
Job 085304656 2009.05.20 - 08:53:44:
Videoencoder: exitCode: -1, ExitStatus:
Selur
20th May 2009, 00:02
I updated to 541 ;)
not sure what's causing your problems, may be deleting all old configs&Co helps,..
C:\Documents and Settings \"user name"\Local Settings\Application Data\sx264
flebber
20th May 2009, 01:29
I think the crashing may be caused by libsndfile-1.dll, not 100% but looking into it.
Edit
I tried to encode file that is crashing sx264 in Megui. Megui complained about the libsndfile-1.dll being missing. I located a copy of the file from Buzzqw's application HDC Converter folder and copied it into the megui program files folder. The error disappeared and the encode worked.
Thought this could be the solution so I popped it into the sx264 folder but still crashed.
Hi Selur!
I noticed you added "2pass crf encoding method". Could you give a quick description on this, I assume its better than one pass but Im just wondering why.
Thanks
Selur
20th May 2009, 09:42
There's a tool tip describing what it does, in short it's a normal 2pass Encoding but uses a 1pass crf encode instead of a 1pass abr pass as 2pass 1st pass. Datarate in 2nd pass will be adjusted to the bitrate archived in 1st pass. :)
So mainly it's a way to archive a bit better vbv compliance and still aim for a crf. (see: http://forum.doom9.org/showthread.php?t=146189)
Since the windows version of sx264 is compiled statically it should not need dlls aside from the c++ runtime enviroment,...
Thanks, that makes alot of sense except Im just not sure if I need a better vbv compliance. What benefit does that yield?
Also I was reading through the x264 docs that LoRd_MuldeR wrote for avidemux (great docs btw) and there are a settings I was trying to translate into sx264 and couldnt find the option.
DCT Decimate: If this setting is checked, then DCT Decimation will be used. This feature allows x264 to discard
"unnecessary" DCT blocks.
Selur
20th May 2009, 14:56
- DCT Decimate <> Analysing->Marcoblock Settings-> Fast DCT calculation :)
- vbv normally should only be needed if you encode for a specifc hardware device or you need to abide to specific vbv restrictions since you want to stream the content with a streaming server that requires specifc vbv values. :) 2pass crf is mainly ment for people you like to specify a rate factor rather than a target size as goal for 2pass encoding and those that want/need to be sure some vbv restrictions are enforced. :)
C Selur
Thanks, I should have guessed it was that checkbox :p hahah
The problem Im having with the VBV option is I have no idea what to put in there. When I drag a video in it seems to audio fill those boxes and I just leave those default settings.
I also compress to a download format so I guess in that case I wouldnt need 2nd pass because it will be played locally via software. Sounds like the 2 pass may be beneficial for a streaming server, but it does take much longer to compress, I wonder if its even worth it.
Selur
20th May 2009, 15:05
personally i'm fine with normal 2pass when I aim for a specific file size and crf when I aim for a specific rate factor, about vbv: if you are not sure if you need it just leave the defaults. ;)
Yeah your probably right :p
As for 2pass, I was referring to CRF 2 pass, it seems I should only use this for the streaming server compressions because I never care about hardware being that everything is played with software players. Would you agree with that?
In other words, CRF 2nd pass takes much longer to compress and if it has any benefit at all, it would be on a streaming server.
Selur
20th May 2009, 15:12
"Would you agree with that? "
yup
CRF 2nd pass takes much longer to compress and if it has any benefit at all, it would be on a streaming server.
and encoding for specific hardware like bluray&co
I experience some problems with encoding audio stream from original avi (divx(xvid)/lame) file to mp4 x264/aac one
video is encoded quite good, but audio encoding falls every time...
Analysing audio&video with MediaInfoAnalyser
Collected the following video infos:
> Format: MPEG-4 Visual
> Bitrate: 1 744 kBit/s
> Frame rate: 25.000
> Width: 512
> Height: 288
> Interlace mode: PRO
> PAR: 1
> Frame count: 17909
> Duration: 00:11:56.360
Collected the following audio infos:
> ID: 1
> Format: mp3
> Bitrate: 128 kBit/s
> Channels: 2
> Sample rate: 44100 Hz
> Stream count: 1
> A/V delay: 0 ms
Job 072000628 2009.05.21 - 07:20:00:
decoderCL:
ffmpeg -r 25 -i "/media/disk1part6/goal_of_the_month_april_2009_raw.avi" -v 0 -vcodec rawvideo -vsync 0 -an -r 25 -pix_fmt yuv420p -f rawvideo -
Job 072000628 2009.05.21 - 07:20:00:
encoderCL:
x264 --crf 18 --level 4.1 --ref 1 --keyint 250 --min-keyint 25 --scenecut 40 --cplxblur 20 --qcomp 0.6 --qblur 0.5 --qpmin 1 --qpmax 51 --qpstep 4 --ipratio 1.4 --pbratio 1.3 --chroma-qp-offset 0 --partitions i4x4,p8x8,b8x8 --me hex --merange 16 --subme 5 --no-fast-pskip --aq-mode 0 --deadzone-inter 11 --vbv-maxrate 50000 --vbv-bufsize 62500 --threads auto --no-cabac --filter 0,0 --no-psnr --no-ssim --progress --fps 25 --output "/home/dima/tmp/raw_072000628.264" - 512x288
Job 072000628 2009.05.21 - 07:20:00:
x264 [info]: 512x288 @ 25.00 fps
Job 072000628 2009.05.21 - 07:20:00:
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 Cache64
Job 072000628 2009.05.21 - 07:20:00:
x264 [info]: profile Baseline, level 4.1
Job 072000628 2009.05.21 - 07:32:50:
x264 [info]: slice I:119 Avg QP:17.29 size: 23053
x264 [info]: slice P:17790 Avg QP:19.07 size: 8679
x264 [info]: mb I I16..4: 22.3% 0.0% 77.7%
x264 [info]:
Job 072000628 2009.05.21 - 07:32:50:
mb P I16..4: 9.1% 0.0% 8.7% P16..4: 40.4% 16.2% 10.1% 0.0% 0.0% skip:15.5%
x264 [info]: coded y,uvDC,uvAC intra:48.9% 58.9% 22.4% inter:39.8% 33.1% 4.3%
x264 [info]: kb/s:1754.9
encoded 17909 frames, 23.28 fps, 1754.96 kb/s
Job 072000628 2009.05.21 - 07:32:50:
Audioencoder: encoderCL(1):
mplayer "/media/disk1part6/goal_of_the_month_april_2009_raw.avi" -ao pcm:waveheader:file="/home/dima/tmp/raw_audio_072000628.fifo" -channels 2 -vc null -vo null - | neroAacEnc -if "/home/dima/tmp/raw_audio_072000628.fifo" -br 128000 -ignorelength -of "/home/dima/tmp/raw_072000628.aac"
Job 072000628 2009.05.21 - 07:32:50:
Error vom Audio-Prozess erhalten: QProcess::FailedToStart
Selur
21st May 2009, 07:19
the problem it might be the '-' at the end (will fix that), but to make sure could you please try the following:
0. open two console windows
1. [window 1] create a pipe mkfifo -m 777 /home/dima/tmp/raw_audio_072000628.fifo
2. [window 1] start mplayer: mplayer "/media/disk1part6/goal_of_the_month_april_2009_raw.avi" -ao pcm:waveheader:file="/home/dima/tmp/raw_audio_072000628.fifo" -channels 2 -vc null -vo null
2. [window 2] start neroaacenc neroAacEnc -if "/home/dima/tmp/raw_audio_072000628.fifo" -br 128000 -ignorelength -of "/home/dima/tmp/raw_072000628.aac"
and post if any errors occur. :)
Do you use a binary or compile the code yourself. (want to know so that I can provide a test version withot the '-' to you. ;))
Cu Selur
flebber
21st May 2009, 13:49
I went through deleting all profiles in application data and downloaded for full pack and rev541. Still however I couldn't get sx264 to work for me.
But then I replaced the mplayer /mencoder builds in your package with the full p4 sherpya package from here http://sourceforge.net/project/showfiles.php?group_id=205275&package_id=248631 and now its all working fine. :-)
Selur
21st May 2009, 13:50
okay, thanks for the info,..
Is there any advantage to using the Sharktooth x264 build with sx264, or should we just use the basic build.
Selur
21st May 2009, 14:29
Doesn't really matter which build you use as long as it supports the features you activate in sx264. :) (yes, on 64bit systems you can use 64bit builds)
The builds I build normally contain the hrd_pulldown and the win_zone_parse_fix patch and no other patches.
As long as builds used include the hrd_pulldown patch sx264 functionality shouldn't be compromised.
Cu Selur
ahh great. Ill try out the sharktooth 64bit build then.
Also I went through and manually downloaded all the required apps instead of using the package. Strangely almost every file i got was larger than the one in the package, I guess its good to keep things up to date :)
Selur
21st May 2009, 14:39
The files are larger since I upx them. ;) (http://upx.sourceforge.net/)
And yes, I don't have the time to update the windows package every time a new version of tools x comes out. Normally I only update after I checked the version a bit, especially mediaInfo is a candidate, which changes it's cli parameters now and then, so be cautious when switching the backend. :)
Cu Selur
upx sounds very interesting. Thanks for the heads up!
Im getting a strange error with the latest build while using CRF 2-pass
No videoTemp set! -> Aborting (muxerCL)
any ideas?
Selur
21st May 2009, 19:33
without a debug output or at least a log file: No :)
Selur
22nd May 2009, 13:20
rev542
*fixed*
- bitrate adjustment on source change
- unneeded '-' in mplayer cl when piping to neroAacEnc under Linux
*changed*
- vbv settings removed from x264 cl when using unrestricted
- removing 'unrestricted' when hardware/medium compatibility is enabled
*added*
- reading language of audio streams inside a mkv file
-> updated downloads in first post
flebber
24th May 2009, 13:36
Selur I have a question about using sx264 with DVD mode.
I ripped DVD with Dvd decrypter initially in File mode I then checked the DVD input check box in sx264 and loaded dvd folder. I set my Bitrate to 1000 and it gave me a projected file size of 1.4mb.
Since I don't rip DVD much I looked at this guide http://www.doom9.org/index.html?/dvddec.htm So I then used DVD Decrypter in I IFO mode. Now when I check the box for DVD input and select folder sx264 errors saying am I sure there is No videodata found at all.
Is there a best method for DVD ripping with sx264? Should IFO mode work for sx264?
Selur
24th May 2009, 13:46
You have to be aware of the fact that sx264 will select the first title present on the dvd, this title could be empty or contain no video/audio data. (especially if the ripper used to copy the dvd to hdd changed the dvd structure)
Which title will be selected on dvd input can be changed: Misc->Input, Interface and Log->Input Settings->DVD title selection method. (tool tip should explain how the title is chosen depending on the method selected)
In general I would recommend to copy the dvd 1:1 to the hdd. sx264 takes the ifo files as basis and parses the content accordingly, if you feed sx264 with a dvd structure that does not fit the actual content present to sx264 it will not work properly.
Cu Selur
flebber
7th June 2009, 14:50
Selur, your tag editing feature in sx264 seems fairly unique. How did you do it. Would there be a way to use it on films but not actually re-encode them.
I have several films I have already encoded some time ago but would love to fix the tags up.
Selur
7th June 2009, 14:56
I'm using mp4box/mkvmerge/tsmuxer depending on the target container.
fastest way to fix the tags would probably just to use mp4box(Yamb)/mkvmerge, don't think that I'll integrate is as a feature in sx264 any time soon ;)
downloaded latest binary and got this one while trying to launch it
xxxx@dell6400:~$ sh ./sx264
./sx264: 1: Syntax error: "&" unexpected (expecting ")")
OS ubuntu 9.04 / previous binary at least launched / removing .sx264 presets folder doesn't help
compiling sx264 from source removed this problem ...
Selur
12th June 2009, 23:06
will look at it tomorrow,.. :) (32bit or 64bit build?)
(will also make upload a new release with some small bug fixes)
it was 32-bit build...
(The other issue is calculation of final size without considering audio track size (or maybe I'm wrong??? final size is always specified in mb's for 2 pass encoding, but when I change audio setting it seems to me video bitrate doesn't change) ===> played with that one - works, it was rather small file to encode so bitrate changed like for video for -14 kbps and I've changed audio from 48 to 64 which is far more than 14 :-) the final file size is same as specified on the front page
Everything else is working fine ... I'm sure I miss ogg encoding for mkv ... maybe that one is for the future?
Selur
13th June 2009, 11:22
rev543
*fixed*
- a bunch of small thinks, lost my changelog (due to a hdd crash :/)
*updated*
- windows package
-> updated downloads in first post
rev 543 works fine on ZenWalk 6.0 ...
I've successfully converted some xvid and divx files converted to x264-base profile vids
in case of any problems I'll get you know...
hyfans
16th June 2009, 21:03
hi selur, this tool is really what i want on linux.
but strangely sx264 can't process any video files (avi,mp4,all the same) here,when i press start it always said video decoder crashed. i use sx264's default values, never change them.:confused:
i can play all the test files normally in mplayer:eek: also i can use mencoder to do encoding in commandline without any errors (the same test file).
this is one of the test file i used.
http://rapidshare.com/files/245306997/t5.tar.bz2.html
OS: debian sid x86-32
sx264 rev543-linux 32bit version(today's version?)
sx264's log:
Analysing audio&video with MediaInfoAnalyser
Collected the following video infos:
> Format: MPEG-4 Visual
> Bitrate: 4 883 kBit/s
> Frame rate: 30.000
> Width: 640
> Height: 480
> Interlace mode: PRO
> PAR: 1
> Frame count: 893
> Duration: 00:00:29.779
Collected the following audio infos:
> ID: 1
> Format: mp3
> Bitrate: 192 kBit/s
> Channels: 2
> Sample rate: 44100 Hz
> Stream count: 1
> A/V delay: 0 ms
Job 034131632 2009.06.17 - 03:41:31:
decoderCL:
ffmpeg -r 30 -i "/tmp/t5.avi" -v 0 -vcodec rawvideo -vsync 0 -an -r 30 -pix_fmt yuv420p -f rawvideo -
Job 034131632 2009.06.17 - 03:41:31:
Video encoder - QProcess::FailedToStart
Job 034131632 2009.06.17 - 03:41:31:
Video decoder - QProcess::Crashed
Mplayer and Mencoder: MPlayer dev-SVN-r29347 (C) 2000-2007 MPlayer TeamNo file given
FFmpeg version SVN-r19166, Copyright (c) 2000-2009 Fabrice Bellard, et al.
configuration: --prefix=/usr --extra-cflags='-Wall -g ' --cc='ccache cc' --libdir=${prefix}/lib --shlibdir=${prefix}/lib --bindir=${prefix}/bin --incdir=${prefix}/include/ffmpeg --enable-shared --enable-libmp3lame --enable-gpl --enable-libfaad --mandir=${prefix}/share/man --enable-libvorbis --enable-pthreads --enable-libfaac --enable-libxvid --enable-postproc --enable-libamr-nb --enable-libamr-wb --enable-x11grab --enable-libgsm --enable-libx264 --enable-libtheora --enable-libdc1394 --enable-libspeex --enable-nonfree --disable-stripping --enable-avfilter --enable-libdirac --disable-decoder=libdirac --enable-libschroedinger --disable-encoder=libschroedinger --enable-avfilter-lavf --enable-libopenjpeg --disable-altivec --disable-armv5te --disable-armv6 --disable-vis
libavutil 50. 3. 0 / 50. 3. 0
libavcodec 52.30. 2 / 52.30. 2
libavformat 52.34. 0 / 52.34. 0
libavdevice 52. 2. 0 / 52. 2. 0
libavfilter 0. 5. 0 / 0. 5. 0
libswscale 0. 7. 1 / 0. 7. 1
libpostproc 51. 2. 0 / 51. 2. 0
built on Jun 12 2009 16:44:00, gcc: 4.3.3
Selur
16th June 2009, 21:19
you did install ffmpeg and x264 on your system did you?
hyfans
16th June 2009, 21:39
you did install ffmpeg and x264 on your system did you?
:p
stupid as me, i thought mencoder+x264 library is enough
works great now after apt a standalone x264.
thx your help,Selur. :thanks::thanks:
Selur
17th June 2009, 10:20
rev544
*fixed*
- .stats file naming bug when sing m2ts
-> updated downloads in first post
flebber
17th June 2009, 14:56
Have you considered putting a compression test in your gui to determine and set optimum bitrate or file size?
Selur
17th June 2009, 14:58
Nope. Don't believe in compression tests. :)
Selur
18th June 2009, 09:36
Could need some feedback regarding NeroAACEnc in sx264. :)
When encoding with NeroAACEnc, the output is piped to it and the channel order was rearranged to match the ac3->aac channel change.
But when I just tested it with current versions under Linux/Windows it seemed that the channel mapping was fine without the channel order change.
Could someone verify this? (I'm a bit unsure since I had some audio problems some days ago and this might be related to these problems)
for the windows users here's a console call:
ffmpeg -i "Test-AC3-5.1.avi" -acodec pcm_s16le -ac 6 -ar 48000 -f wav - | sox -t raw -s -2 -c6 -r48000 - -t wav - remix 5 1 6 4 2 3 | neroAacEnc -if - -br 128000 -ignorelength -of "test.mp4" to test if the current mapping change is okay or if I should remove it since ffmpeg/mencoder change the mapping now themself,...
Cu Selur
microchip8
18th June 2009, 10:32
I cannot test for you, Selur, since I don't have a surround system here but there were indeed changes to mencoder regarding channel order. I'm not sure what exactly changed and if everything is "fixed" now... from the rc3 changelog...
* fix multi-channel reordering
Selur
18th June 2009, 12:51
Thanks for the info :)
(verified it through Neros Waveeditor ;))
rev545
*fixed*
- removed multichannel audio mapping adjustments, since mplayer/mencoder/ffmpeg take care of it themself now
(-> windows version doesn't need sox anymore)
-> updated downloads in first post
Maksval
18th June 2009, 19:54
I am sorry for question:)
But how can i handle more then one audio to mux?:)
Selur
18th June 2009, 19:55
sx264 can't handle more than one audio/video/subtitle stream atm.
hm, there is one thing I find good and annoying same way: adding tags to mp4 files, as well as adding tags in common.
But when I try to edit name or comment to file, once I made a change or type something, cursor actually moves to end of line which is quite annoying, if you need completely rewrite tag, other issue is that tag actually remains the same, after processing the file if new file is added.
I tried also to do dvd-rip, but failed in muxing subtitles as it was constantly asking about font dir in linux, and even after setting to /usr/share/fonts/ it still didn't proceed to muxing, as "specify a font path" error continued...
OS Ubuntu 9.04/32 bit/ rev545 binary from here
Selur
21st June 2009, 21:19
strange normally sx264 should find the font's under linux, will have a look at it in the next days (got a flu atm :()
Selur
22nd June 2009, 10:06
@TRF: try: http://www.selur.info/sx264.zip about the "specify a font path" error (best delete sx264Config in the .sx264 folder in your homeDir)
hyfans
22nd June 2009, 12:46
@TRF: try: http://www.selur.info/sx264.zip about the "specify a font path" error (best delete sx264Config in the .sx264 folder in your homeDir)
i delete sx264Config and try this version, still complain the same error.
also sx264 only recognized some of my ttf fonts, not all of them.:helpful:
btw, this version seems delay some seconds before the gui popup.
Selur
22nd June 2009, 12:54
also sx264 only recognized some of my ttf fonts, not all of them
then probably not all of them are mentioned in /etc/fonts/fonts.conf, when no specific path it specified with ttf files in it sx264 looks for the fonts.conf.
Also questions:
1. when does sx264 complain?
2. what is the exact error message?
btw, this version seems delay some seconds before the gui popup.
on start up or when? (please be more specific :)) It's probably since it's checking a lot of subdirectories now.
Got an idea where the problem is but this might have to wait until I'm fit again.
-> updated: http://www.selur.info/sx264.zip
ihomer
23rd June 2009, 00:57
Hi Selur, I like the neat layout of your SX264 very much, as well as its various settings and friendly prompts. So I couldn't help waiting for these five days (as required by doom9 for a newbie) to make this post.
I'm using rev545 for win32, but want to use Mencoder as core to support 1) lanczos resize method; 2) subtitle to be rendered to picture frame, so I disable the checkbox "Prefer FFMpeg as decoder" and select Mencoder as the decoder. My system is Windows 2003.
1. [Feature request] Can SX264 remember the file open path in "Input File" slot?
2. [Feature request] Can SX264 support Mencoder to decode flv and mkv?
Every time I drag a flv or mkv to the slot, it will be forced to use FFMpeg. I think a prompt rather than "forcing use" should be better, even if FFMpeg is recommended (such as for better A/V synchronization).
Actually when I changed a flv's (VP6 video + mp3 audio) suffix into "avi", Mencoder becomes selectable, and this flv can be previewed too. But it's queer that this trick doesn't apply to mkv: when I changed a mkv's (H264 video + AAC audio) suffix into "avi", the textbox "Select Decoder" is still locked on FFmpeg (grey) !!
3. [Feature request] Can SX264 support Mencoder to decode rmvb and wmv?
Actually, I downloaded and put a codec directory (from Mplayer-WW compilation "mplayer_lite_r29308.7z" at http://sourceforge.net/project/showfiles.php?group_id=210480&package_id=281375) into the SX264's directory, and found then Mencoder (Sherpya's compilation) becomes able to decode most of rmvb and wmv.
However, when I try to preview (on the Tab "Crop/Resize") a wmv encoded with Windows Media Audio 9.1, there is NO SOUND (yet it's normal when being played back with the said Mplayer-WW). You can download this wmv here: http://cid-91e08bb4005d31a3.skydrive.live.com/self.aspx/Public/Leah%20Dizon%205%20%7C5Windows%20Media%20Audio%209.1%7C6%20no%20sound%20in%20SX264.wmv
So if rmvb and wmv can be perfectly supported by importing codec (I found FFMpeg can use such additional codec too: whether I select FFMpeg or Mencoder, there is a "Mplayer" mark on the upper-left corner of preview window's title bar), it will be a great highlight of SX264 (we know it doesn't rely on AVIsynth) !
4. [Feature request] Can I make a choice of "LC-AAC", "HE-AAC " or "HE-AAC v2" when recoding audio stream by Nero AAC?
Most of other GUIs provide such option, so I though SX264 just automatically decides the profile according to the bitrate. But I think providing 4 choices (auto, LC, HE & HE V2) would be better, isn't it?
5. [Bug] The error "Choosen Fontpath doesn't exist" keeps popping up, even SX264 successfully detects the font path: C:\windows\fonts.
I tried to create "\usr\share\fonts" in SX264's directory (just take it as a Linux app), and redirect the setting to such path (like TRF does in his post), yet the error still pops up when I press the button "Preview" on the tab "Filters/Subtitle".
Thank you for bring us this neat GUI and hope you come back from the flu early...
microchip8
23rd June 2009, 11:11
It seems MP4 hinting doesn't work here, even though it is enabled. There's no -hint option passed over to MP4Box
Selur
23rd June 2009, 11:21
1. [Feature request] Can SX264 remember the file open path in "Input File" slot?
why not use Misc->Path->Input path and save it as default?
2. [Feature request] Can SX264 support Mencoder to decode flv and mkv?
about the flv: ffmpeg is always used their, since mencoder can't handle flv as good as ffmpeg, if you vo around this by changing the extension some flv workaround will not be trigged which could lead to problems. -> do it on your own risk ;)
about mkv: ffmpeg should not be forced then you select mkv input with (H264 video + AAC audio) if prefer ffmpeg is disabled, if it does provide a sample and I will try to reproduce it and fix it. :)
3. [Feature request] Can SX264 support Mencoder to decode rmvb and wmv?
1st Mplayer is always used for preview (since ffplay tends to crash for me :))
2nd I won't provide a codec collection, since it could cause to much trouble license wise, but yes you can get sx264 to decode more if you use a codec folder (e.g. the one that comes with some smplayer versions)
4. [Feature request] Can I make a choice of "LC-AAC", "HE-AAC " or "HE-AAC v2" when recoding audio stream by Nero AAC?
Atm sx264 let's Nero choose and that probably will not change any time soon, but I'm working on a complete overhaul of sx264 (which will take some month) which will support this and some other nice stuff. ;)
5. [Bug] The error "Choosen Fontpath doesn't exist" keeps popping up, even SX264 successfully detects the font path: C:\windows\fonts.
I'll look into it, when I'm better. :)
It seems MP4 hinting doesn't work here, even though it is enabled. There's no -hint option passed over to MP4Box
I will look into it :) (you wan't see it in the normal mp4box call since it is done after that to handle it when sx264 creates the file, but there should be a console output: '"hinting mp4 file ..."')
-> works fine here (but I'll add an additional output which will show the additional mp4 call ;))
Cu Selur
Selur
8th July 2009, 12:21
rev547
*added*
- additional subtitle embedding options
*updated*
- to handle recent changes in x264s CL interface (defaults, profile,...)
- windows package
-> updated downloads in first post
Selur
8th July 2009, 14:53
rev548
*fixed*
- 2pass encoding bug
-> updated links in 1st post
Selur
8th July 2009, 14:54
rev548
*fixed*
- 2pass encoding bug
-> updated links in 1st post
ok I tried new version of sx264 / rev548 (compiled from source) on Zenwalk 6.0
and I've got x264: unrecognized option `--profile' Error with recommendations to "Contact SELUR" :)
I had never experienced --profile error before so here is x264 info as well as log
zpm -q x264 gives me x264 20090130-i486-60.1
x264 --help gives me x264 core:66 r0+1096 4c171c3
log:
Job 191410295 2009.07.14 - 19:14:10:
Audioencoder: extractingCL:
mplayer -msglevel statusline=5:all=0 -mc 0 -vc dummy -aid 1 "/tmp/0910_glen_johnson_interview_130709_raw.avi" -vo null -ao pcm:fast:file=""/tmp/0910_glen_johnson_interview_130709_raw_191410295.wav""
Job 191410295 2009.07.14 - 19:14:10:
Audioencoder: calling audioCL for job:191410295
x264Model: RAW_AUDIO/AUDIO_ONLY/AVS_AUDIO_INPUT FILE DETECTED forcing ffmpeg as audio encoder
Job 191410295 2009.07.14 - 19:14:10:
Audioencoder: encoderCL(2):
ffmpeg -y -i "/tmp/0910_glen_johnson_interview_130709_raw_191410295.wav" -ab 48000 -ac 2 -ar 48000 "/tmp/0910_glen_johnson_interview_130709_sx264_191410295.aac"
Job 191410295 2009.07.14 - 19:14:19:
audio encoding finished
Job 191410295 2009.07.14 - 19:14:19:
decoderCL:
ffmpeg -r 25 -i "/tmp/0910_glen_johnson_interview_130709_raw.avi" -v 0 -vsync 0 -an -r 25 -pix_fmt yuv420p -f rawvideo -
Job 191410295 2009.07.14 - 19:14:19:
encoderCL:
x264 --profile baseline --crf 18 --pass 1 --slow-firstpass --level 4.1 --ref 1 --keyint 250 --min-keyint 25 --scenecut 40 --cplxblur 20 --qcomp 0.6 --qblur 0.5 --qpmin 1 --qpmax 51 --qpstep 4 --ipratio 1.4 --pbratio 1.3 --chroma-qp-offset 0 --partitions i4x4,p8x8,b8x8 --me hex --merange 16 --subme 5 --no-mixed-refs --no-8x8dct --no-fast-pskip --aq-mode 0 --deadzone-inter 11 --threads auto --no-cabac --filter 0,0 --stats "/tmp/0910_glen_johnson_interview_130709_sx264_191410295.stats" --fps 25 --output /dev/null - 640x384
Job 191410295 2009.07.14 - 19:14:19:
Video decoder - QProcess::Crashed
Job 191410295 2009.07.14 - 19:15:08:
x264: unrecognized option `--profile'
microchip8
14th July 2009, 17:25
@ TRF
update your x264 to a recent revision. Presets and such were added and some options changed ;)
Selur
14th July 2009, 17:31
yup needs to be version 1179 or later :)
I've manually compiled latest x264 build from vlc.org
and
I've got no error when I'm doing one pass / two pass encoding of mpegs(mpeg-1), ts's(works great) and xvid-lame vids, but when it comes to so called yuv420p "raw" videos from avidemux Huffyuv (lavc) / lame setting I still got an error on 2 pass encoding (VIDEO ENCODING CRASHED) and I've got no error while doing "1 pass constant qant."
NOTE I'm always working in BaseLine x264 mode... and those raw videos are usually encoded well by sx264 in HIGH Profile...
any thought?
Selur
23rd July 2009, 08:48
Are you using Windows or Linux?
What is the x264 command line that causes the crash?
(What did you configure in avidemux to create the file, so that I can create on for testing. ;))
What are your sx264 settings?
Cu Selur
linux, sidux-i686, in fact it is almost pure Debian Sid
here is file info, I'm using same file for this test
sx264 - rev - 548 - binary - .sx264 folder was deleted before launch
Analysing audio&video with MediaInfoAnalyser
Collected the following video infos:
> Format: MPEG-4 Visual
> Bitrate: 2 120 kBit/s
> Frame rate: 25.000
> Width: 640
> Height: 368
> Interlace mode: PRO
> PAR: 1
> Frame count: 1581
> Duration: 00:01:03.240
Collected the following audio infos:
> ID: 1
> Format: mp3
> Bitrate: 64 kBit/s
> Channels: 2
> Sample rate: 44100 Hz
> Stream count: 1
> A/V delay: 0 ms
I'm using default sx264 setting, just mkv, not mp4
and baseline profile checked
aac 48
1st file - 1.mkv
constant quantization 1 pass (18)
182803472 2009.07.23 - 18:28:03:
decoderCL:
ffmpeg -r 25 -i "/media/disk1part6/0910_tnft_away_fr_0-1_babel_xvid-lame.avi" -v 0 -vsync 0 -an -r 25 -pix_fmt yuv420p -f rawvideo -
Job 182803472 2009.07.23 - 18:28:03:
encoderCL:
x264 --profile baseline --qp 18 --level 4.1 --ref 3 --keyint 250 --min-keyint 25 --scenecut 40 --ipratio 1.4 --pbratio 1.3 --chroma-qp-offset 0 --partitions i4x4,p8x8,b8x8 --me hex --merange 16 --subme 7 --no-8x8dct --psy-rd 0.8:0 --no-fast-pskip --aq-mode 0 --threads auto --no-cabac --filter 0,0 --fps 25 --output "/tmp/1_182803472.264" - 640x368
Job 182803472 2009.07.23 - 18:28:03:
x264 [info]: 640x368 @ 25.00 fps
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 Cache64
x264 [info]: profile Baseline, level 4.1
Job 182803472 2009.07.23 - 18:29:40:
Job 182803472 2009.07.23 - 18:29:40:
x264 [info]:
Job 182803472 2009.07.23 - 18:29:40:
slice I:11 Avg QP:15.00 size: 36375
Job 182803472 2009.07.23 - 18:29:40:
x264 [info]:
Job 182803472 2009.07.23 - 18:29:40:
slice P:1570 Avg QP:18.00 size: 17797
Job 182803472 2009.07.23 - 18:29:40:
x264 [info]:
Job 182803472 2009.07.23 - 18:29:40:
mb I I16..4: 24.1% 0.0% 75.9%
Job 182803472 2009.07.23 - 18:29:40:
x264 [info]:
Job 182803472 2009.07.23 - 18:29:40:
mb P I16..4: 4.0% 0.0% 13.9% P16..4: 41.8% 17.1% 7.8% 0.0% 0.0% skip:15.4%
Job 182803472 2009.07.23 - 18:29:40:
x264 [info]:
Job 182803472 2009.07.23 - 18:29:40:
coded y,uvDC,uvAC intra:75.0% 75.4% 50.0% inter:37.0% 39.9% 9.6%
Job 182803472 2009.07.23 - 18:29:40:
x264 [info]:
Job 182803472 2009.07.23 - 18:29:40:
ref P L0 73.2% 16.2% 10.6%
Job 182803472 2009.07.23 - 18:29:40:
x264 [info]:
Job 182803472 2009.07.23 - 18:29:40:
kb/s:3585.3
Job 182803472 2009.07.23 - 18:29:40:
Job 182803472 2009.07.23 - 18:29:40:
encoded 1581 frames, 16.33 fps, 3585.37 kb/s
Job 182803472 2009.07.23 - 18:29:40:
encoding with: mencoder -lavdopts threads=1 -lavcopts threads=1 -mc 0 -noskip -aid 1 "/media/disk1part6/0910_tnft_away_fr_0-1_babel_xvid-lame.avi" -ovc frameno -oac faac -faacopts br=48:tns:mpeg=4:object=2 -channels 2 -srate 48000 -of rawaudio -o "/tmp/1_182803472.aac"
Job 182803472 2009.07.23 - 18:29:48:
audio encoding finished
Job 182803472 2009.07.23 - 18:29:48:
Audioencoder: muxerCL(3):
mkvmerge -o "/media/disk1part6/1.mkv" --default-duration 0:25fps --aspect-ratio-factor 0:1/1 --fourcc 0:MP4V "/tmp/1_182803472.264" --novideo -a 0 "/tmp/1_182803472.aac"
Job 182803472 2009.07.23 - 18:29:50:
audio encoding finished
2nd file - 2.mkv
constant rate factor 1 pass (18)
Job 183131037 2009.07.23 - 18:31:31:
decoderCL:
ffmpeg -r 25 -i "/media/disk1part6/0910_tnft_away_fr_0-1_babel_xvid-lame.avi" -v 0 -vsync 0 -an -r 25 -pix_fmt yuv420p -f rawvideo -
Job 183131037 2009.07.23 - 18:31:31:
encoderCL:
x264 --profile baseline --crf 18 --level 4.1 --ref 3 --keyint 250 --min-keyint 25 --scenecut 40 --cplxblur 20 --qcomp 0.6 --qblur 0.5 --qpmin 1 --qpmax 51 --qpstep 4 --ipratio 1.4 --pbratio 1.3 --chroma-qp-offset 0 --partitions i4x4,p8x8,b8x8 --me hex --merange 16 --subme 7 --no-8x8dct --psy-rd 0.8:0 --no-fast-pskip --aq-mode 0 --vbv-maxrate 50000 --vbv-bufsize 62500 --threads auto --no-cabac --filter 0,0 --fps 25 --output "/tmp/2_183131037.264" - 640x368
Job 183131037 2009.07.23 - 18:31:31:
x264 [info]: 640x368 @ 25.00 fps
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 Cache64
x264 [info]: profile Baseline, level 4.1
Job 183131037 2009.07.23 - 18:34:58:
x264 [info]: slice I:11 Avg QP:18.36 size: 29875
x264 [info]: slice P:1570 Avg QP:20.65 size: 12011
x264 [info]: mb I I16..4: 28.5% 0.0% 71.5%
x264 [info]:
Job 183131037 2009.07.23 - 18:34:58:
mb P I16..4: 4.4% 0.0% 11.0% P16..4: 44.3% 16.3% 6.7% 0.0% 0.0% skip:17.4%
x264 [info]: coded y,uvDC,uvAC intra:67.8% 70.1% 35.8% inter:32.9% 27.6% 6.2%
x264 [info]: ref P L0 75.4% 14.5% 10.1%
x264 [info]: kb/s:2427.1
Job 183131037 2009.07.23 - 18:34:58:
encoded 1581 frames, 7.62 fps, 2427.25 kb/s
Job 183131037 2009.07.23 - 18:34:58:
encoding with: mencoder -lavdopts threads=1 -lavcopts threads=1 -mc 0 -noskip -aid 1 "/media/disk1part6/0910_tnft_away_fr_0-1_babel_xvid-lame.avi" -ovc frameno -oac faac -faacopts br=48:tns:mpeg=4:object=2 -channels 2 -srate 48000 -of rawaudio -o "/tmp/2_183131037.aac"
Job 183131037 2009.07.23 - 18:35:11:
audio encoding finished
Job 183131037 2009.07.23 - 18:35:11:
Audioencoder: muxerCL(3):
mkvmerge -o "/media/disk1part6/2.mkv" --default-duration 0:25fps --aspect-ratio-factor 0:1/1 --fourcc 0:MP4V "/tmp/2_183131037.264" --novideo -a 0 "/tmp/2_183131037.aac"
Job 183131037 2009.07.23 - 18:35:13:
audio encoding finished
3rd file - 3.mkv
specific filesize/bitrate (2-pass) nothing touched here
11.3 mb / 1445 kbt/s
Job 183701937 2009.07.23 - 18:37:01:
Audioencoder: calling audioCL for job:183701937
Job 183701937 2009.07.23 - 18:37:01:
Audioencoder: encoderCL(2):
mencoder -lavdopts threads=1 -lavcopts threads=1 -mc 0 -noskip -aid 1 "/media/disk1part6/0910_tnft_away_fr_0-1_babel_xvid-lame.avi" -ovc frameno -oac faac -faacopts br=48:tns:mpeg=4:object=2 -channels 2 -srate 48000 -of rawaudio -o "/tmp/3_183701937.aac"
Job 183701937 2009.07.23 - 18:37:09:
audio encoding finished
Job 183701937 2009.07.23 - 18:37:09:
decoderCL:
ffmpeg -r 25 -i "/media/disk1part6/0910_tnft_away_fr_0-1_babel_xvid-lame.avi" -v 0 -vsync 0 -an -r 25 -pix_fmt yuv420p -f rawvideo -
Job 183701937 2009.07.23 - 18:37:09:
Video encoder - QProcess::FailedToStart
Job 183701937 2009.07.23 - 18:37:09:
Video decoder - QProcess::Crashed
4-th file
constant rate factor (2 pass) - 18
Job 183902540 2009.07.23 - 18:39:02:
Audioencoder: calling audioCL for job:183902540
Job 183902540 2009.07.23 - 18:39:02:
Audioencoder: encoderCL(2):
mencoder -lavdopts threads=1 -lavcopts threads=1 -mc 0 -noskip -aid 1 "/media/disk1part6/0910_tnft_away_fr_0-1_babel_xvid-lame.avi" -ovc frameno -oac faac -faacopts br=48:tns:mpeg=4:object=2 -channels 2 -srate 48000 -of rawaudio -o "/tmp/3_183902540.aac"
Job 183902540 2009.07.23 - 18:39:10:
audio encoding finished
Job 183902540 2009.07.23 - 18:39:10:
decoderCL:
ffmpeg -r 25 -i "/media/disk1part6/0910_tnft_away_fr_0-1_babel_xvid-lame.avi" -v 0 -vsync 0 -an -r 25 -pix_fmt yuv420p -f rawvideo -
Job 183902540 2009.07.23 - 18:39:10:
encoderCL:
x264 --profile baseline --crf 18 --pass 1 --slow-firstpass --level 4.1 --ref 3 --keyint 250 --min-keyint 25 --scenecut 40 --cplxblur 20 --qcomp 0.6 --qblur 0.5 --qpmin 1 --qpmax 51 --qpstep 4 --ipratio 1.4 --pbratio 1.3 --chroma-qp-offset 0 --partitions i4x4,p8x8,b8x8 --me hex --merange 16 --subme 7 --no-8x8dct --psy-rd 0.8:0 --no-fast-pskip --aq-mode 0 --threads auto --no-cabac --filter 0,0 --stats "/tmp/3_183902540.stats" --fps 25 --output /dev/null - 640x368
Job 183902540 2009.07.23 - 18:39:10:
x264 [info]: 640x368 @ 25.00 fps
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 Cache64
x264 [info]: profile Baseline, level 4.1
Job 183902540 2009.07.23 - 18:40:22:
x264 [info]: slice I:11 Avg QP:18.27 size: 28650
x264 [info]: slice P:1570 Avg QP:20.66 size: 12004
x264 [info]: mb I I16..4: 28.8% 0.0% 71.2%
x264 [info]: mb P I16..4: 4.3% 0.0% 11.0% P16..4: 44.3% 16.3% 6.7% 0.0% 0.0% skip:17.5%
x264 [info]: coded y,uvDC,uvAC intra:67.9% 70.2% 35.9% inter:32.9% 27.5% 6.2%
x264 [info]:
Job 183902540 2009.07.23 - 18:40:22:
ref P L0 75.4% 14.5% 10.1%
x264 [info]: kb/s:2424.0
Job 183902540 2009.07.23 - 18:40:22:
encoded 1581 frames, 21.72 fps, 2424.13 kb/s
Job 183902540 2009.07.23 - 18:40:22:
video encoding 2nd pass
Job 183902540 2009.07.23 - 18:40:22:
decoderCL:
ffmpeg -r 25 -i "/media/disk1part6/0910_tnft_away_fr_0-1_babel_xvid-lame.avi" -v 0 -vsync 0 -an -r 25 -pix_fmt yuv420p -f rawvideo -
Job 183902540 2009.07.23 - 18:40:22:
encoderCL:
x264 --profile baseline --pass 2 --bitrate 2424 --level 4.1 --ref 3 --keyint 250 --min-keyint 25 --scenecut 40 --cplxblur 20 --qcomp 0.6 --qblur 0.5 --qpmin 1 --qpmax 51 --qpstep 4 --ipratio 1.4 --pbratio 1.3 --chroma-qp-offset 0 --partitions i4x4,p8x8,b8x8 --me hex --merange 16 --subme 7 --no-8x8dct --psy-rd 0.8:0 --no-fast-pskip --aq-mode 0 --vbv-maxrate 50000 --vbv-bufsize 62500 --threads auto --no-cabac --filter 0,0 --stats "/tmp/3_183902540.stats" --fps 25 --output "/tmp/3_183902540.264" - 640x368
Job 183902540 2009.07.23 - 18:40:23:
x264 [info]: 640x368 @ 25.00 fps
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 Cache64
Job 183902540 2009.07.23 - 18:40:23:
x264 [info]:
Job 183902540 2009.07.23 - 18:40:23:
profile Baseline, level 4.1
Job 183902540 2009.07.23 - 18:41:44:
x264 [info]: slice I:11 Avg QP:18.73 size: 27073
x264 [info]: slice P:1570 Avg QP:20.75 size: 12004
x264 [info]: mb I I16..4: 29.2% 0.0% 70.8%
Job 183902540 2009.07.23 - 18:41:44:
x264 [info]: mb P I16..4: 4.3% 0.0% 11.1% P16..4: 43.9% 16.2% 6.6% 0.0% 0.0% skip:17.9%
x264 [info]: coded y,uvDC,uvAC intra:68.2% 70.1% 36.4% inter:32.7% 26.6% 6.0%
x264 [info]: ref P L0 75.1% 14.7% 10.2%
x264 [info]: kb/s:2421.7
Job 183902540 2009.07.23 - 18:41:44:
encoded 1581 frames, 19.51 fps, 2421.87 kb/s
Job 183902540 2009.07.23 - 18:41:44:
video encoding finished
Job 183902540 2009.07.23 - 18:41:44:
muxing video and audio
Job 183902540 2009.07.23 - 18:41:44:
muxerCL:
mkvmerge -o "/media/disk1part6/3.mkv" --default-duration 0:25fps --aspect-ratio-factor 0:1/1 --fourcc 0:MP4V "/tmp/3_183902540.264" --novideo -a 0 "/tmp/3_183902540.aac"
Job 183902540 2009.07.23 - 18:41:45:
muxing finished
Selur
23rd July 2009, 16:53
How does the x264 commandlLine look like for '3rd file - 3.mkv' ?
Also please enable debug output and send me the debug file via pm. thanks.
Cu Selur
How does the x264 commandlLine look like for '3rd file - 3.mkv' ?
Also please enable debug output and send me the debug file via pm. thanks.
Cu Selur
debug file ... same settings as for 3-rd one ... just another test file used
sx264Debug.txt - 0.06MB (http://www.zshare.net/download/6308940221bf26ce/)
Selur
24th July 2009, 08:58
thanks, downloaded the debug output and will try to reproduce and fix it later (bussy atm), I'll send you a PM with a fixed version if I find the problem. :)
Cu Selur
well, it does work ...
and I think with same settings for bitrate/size mode I have both 1-st and 2-nd pass are working faster then those for constant rate factor (2 pass mode)... it is like 90 fps vs 11 fps for 1st pass ... and 24 fps vs 21 fps for second pass...
Selur
24th July 2009, 12:29
Nice that it works. 2pass bitrate should be faster in 1st pass since sx264 doesn't allow fast1st pass atm. for 2pass crf, will probably working later today. Difference in speed on 2nd pass is probably settings related (CABAC beeing slower on higher bitrates).
Selur
24th July 2009, 13:22
rev549
*fixed*
- 2pass 1st pass encoding bug
*added*
- 2pass crf supporting fast 1st pass
-> updated links in 1st post
microchip8
24th July 2009, 14:04
You've broken the sx264.pro file. It fails to build on my local machines and it fails to build on all openSUSE buildservice machines too. Commenting out QMAKE_CXXFLAGS_RELEASE += -MP at the top of sx264.pro fixes the problem. Else, it fails on all 64bit distros I package for
Selur
24th July 2009, 15:33
thought added it as:
!linux-g++ {
QMAKE_CXXFLAGS_RELEASE += -MP
}
which should skip it on linux systems,...
seems like, may be I should use:
win32 {
QMAKE_CXXFLAGS_RELEASE += -MP
}
or somethign went wrong with the upload,..
Will check, thanks for the info. :)
-> hmm,.. both variants compile fine on my kubuntu 32bit and 64bit systems, could you check if the second one compiles on your system?
Cu Selur
rev549 works nice so far ... can I do a proposal for future ... can you do an option so it may be possible to copy multiply audio tracks to new file.
just like "Enable audio handling" / just "copy audio streams"
I'm re-encoding some mkv's with multiple audio tracks, and all I need is to encode from x264 high to x264 baseline profile for my cowon-O2, and keep audio tracks the same... of course mkv-toolnix-gui helps a lot after sx264 to add additional tracks ... it would be nice if this option would be possible...
Selur
25th July 2009, 23:03
multi-audio/subtitle handling and some additional stuff is planned for a future version, which is in the making, but since it needs a complete model rebuild to work 'properly' (the way I want it to work ;)) it will quite take some time before the project I'm working on atm is ready for a 'public' release, atm it's mainly internal communication&model designs. ;)
m0nkie
27th July 2009, 18:59
i have 2 questions about your gui:
1. does it support ass subtitles? (i want to burn them in the frame)
2. cyrillic letter dont display properly after burning srt subtitles in the movie (i tried ansi,utf-8,unicode file encodings. didnt help). why?
keep on working on sx264. glad it is not dotnet, but qt based.
Selur
27th July 2009, 19:08
to 1.: just tried with a single sample file and it worked fine, but can't garanty anything since I personally don't use subtitles. ;)
to 2.: you probably need to select another subcode and a specific font, since the subtitles have to be decoded right and one needs a font that supports the symbols so embed it properly. -> Select one and use the preview to check. ;)
Cu Selur
Selur
27th July 2009, 20:07
rev550
*fixed*
- subcode selection not showing up
*added*
- subme 10 and adaptive Quantization mode 2 support
*changed*
- stopped compiling x264 myself
-> updated links in 1st post
microchip8
27th July 2009, 20:29
Building locally and on SUSE's buildservice fails yet again (wtf are you doing? :p )
> qmake
WARNING: Failure to find: ressource.qrc
/usr/bin/rcc: File does not exist 'ressource.qrc'
....
builds halfway through
....
make: *** No rule to make target `ressource.qrc', needed by `qrc_ressource.cpp'. Stop.
It compiled fine when commenting out RESOURCES at the bottom of sx264.pro
Selur
27th July 2009, 21:11
Strange, didn't touch ressource.qrc for ages,... (and it's building fine on Kubuntu 32&64bit)
I'll put the ressource part in a win32-clause, but Suse seems to be a bit weird and picky. ;)
microchip8
27th July 2009, 21:16
There's nothing weird about SUSE. The buildservice uses a build farm with on some machines SUSE and on some Fedora installed (on others Debian and Mandriva but I don't package for them). It fails to build on both SUSE and Fedora (all versions). Also, SUSE is very LSB compliant in case you didn't know so nothing really weird or picky ;)
Selur
27th July 2009, 21:22
*gig* ;) at least it's not complaining about a vital part (atm I only use the ressource file to integrate the icon on windows ;))
Cu Selur
microchip8
27th July 2009, 21:25
*gig* ;) at least it's not complaining about a vital part (atm I only use the ressource file to integrate the icon on windows ;))
Cu Selur
eh, I just tried building it for Mandriva too. Fails also. So three distros completely fail - SUSE, Fedora and Mandriva. I'd say Kubuntu is doing something wrong then, even if it completes the build process
So if you only use the ressource file for Windows, then place it inside the win32 function. It has nothing to do outside of it atm ;)
Selur
27th July 2009, 21:28
gentoo works, but i but it inside a win32 function for the future ;)
microchip8
27th July 2009, 21:31
gentoo works, but i but it inside a win32 function for the future ;)
no worries, just thought you should know. I usually work around some of your mistakes when I encounter them so I can package your prog. ;)
btw, I use standard QT 4.5.2 libs and tools so I doubt it's SUSE at fault here
Selur
27th July 2009, 21:32
maybe a qt 4.5.2 thing, runnind qt 4.5.1&4.5.0 on my systems.
microchip8
27th July 2009, 21:37
maybe a qt 4.5.2 thing, runnind qt 4.5.1&4.5.0 on my systems.
Doubtful. On my system I use QT 4.5.2 but the buildservice uses the default distro QT version available at the time the distro version was released, which is 4.4.x for SUSE and Fedora
Selur
27th July 2009, 21:40
btw. does anyone know a 64 bit .exe/.dll packer (like mpress) that can handle mediainfo.dll/.exe ? (tinkering around at a win64bit package atm ;))
CpT
15th August 2009, 11:57
Is there any way to use this app without mediainfo???
Selur
15th August 2009, 12:00
To be frank I'm not 100% sure I didn't include any hardcoded fallbacks to mediainfo, but in general it should be possible to select mencoder/ffmpeg as decoder instead of mediainfo in the misc section. :)
CpT
15th August 2009, 12:11
Thanks for the quick reply.
I actually just found your packaged version link. It works much better than grabbing all the required goodies to run it.
The latest version of media info comes up as a trojan to my virus software. I believe its just related to the open candy.
Your packaged version does not have the same issues. Just the latest mediainfo via sourceforge.
Anyway I'm gonna go do some test encodes. But I really like the interface and automatic AR calculations. Looks very promising.:thanks:
Selur
15th August 2009, 12:13
will upload an update dring the next days (probably monday) which fixes some small bugs ;)
CpT
15th August 2009, 12:52
WOW This app is great!
It stores my resize info automatically and imported my megui video and audio/nero presets perfectly.
I updated the sx264.exe and added neroAacEnc.exe and its working great.
You have no idea how long I've been looking for an encoding app like this.
Surprisingly very few store your resizing information and auto adjust the height per file/auto when using mov or other non dvd input types.
Very Very cool!!!:thanks:
Selur
15th August 2009, 13:19
little waring about the megui import: Haven't checked it in a while, but since the profiles probably changed due to x264 changes in the last month there might be some clitches. If you stumble over one please report. :)
Happy that you like the app. :)
CpT
15th August 2009, 13:32
Yea there was a -no-mbtree or something similar in the xml, I removed it and all went perfectly. I also updated the x264.exe to the latest. Thus far no issues at all.
I'm running it on winxp 32bit-fully updated/sp3 ect. On a core 2 @ 3.6ghz. Not the best chip for encoding but it works ;)
Currently testing lower res outputs for faster encodes. 720x"mod16 auto height" Used both crf and 2 pass. Turbo and slow 1st past both work perfectly. So far 0 bugs.
Selur
17th August 2009, 15:21
rev551
*added*
- mbtree support (unlike in x264s defaults this is disabled by default in sx264)
*fixed*
- small bug related to --subme 10 and it's requirements
- audio handling bug on non-dvd sources
- aspectratio mix-up
Remember to delete you sx264Config file
-> updated links in 1st post
Selur
20th August 2009, 14:28
rev552
*fixed*
- (linux) multiaudio source + using nero
*added*
- ability to set nero mode/profile (auto/lc/he/hev2)
- BD 25 and BD 50 as possible target sizes
*changed*
- mbtree and subme 10 now both trigger aqmode 2
- rc-lookahead configuration independent of mbtree
Remember to delete you sx264Config file
-> updated links in 1st post
buzzqw
20th August 2009, 14:35
dumb question : where is stored the config file ? (also.. add this info in first post)
BHH
Selur
20th August 2009, 14:41
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.
Cu Selur
buzzqw
20th August 2009, 14:57
what about adding an option on gui for "reset/delete/overwrite" this file ?
BHH
Riki
20th August 2009, 17:34
Great job with 522, thanks Selur!
CpT
20th August 2009, 18:53
Thanks for adding the new Nero options Selur! :thanks:
Selur
20th August 2009, 18:56
@buzzqw: I'll add one for the next Release, I#ll put it some where under Misc. :)
Riki
21st August 2009, 17:03
I just wanted to report a couple small bugs, not really worth delaying the never version of sx264 for, unless they are easy fixes :)
Anyway, when you drag a new video in it resets the resizing to the dimensions of that video. So I have the resize set to 720 for the width and when I drag a new movie in it resets every time to 1280.
Another extremely small thing is there are times where I drag in 10 videos or so to encode, then Ill change my mind and drag just 1 in, when I hit add job it will start encoding all those original 10, plus the 1, instead of just the 1.
Thanks for the hard work man!
Selur
21st August 2009, 17:10
Anyway, when you drag a new video in it resets the resizing to the dimensions of that video. So I have the resize set to 720 for the width and when I drag a new movie in it resets every time to 1280.
That's not a bug it's ment to be this way, unless you activate Crop/Resize->'Picture Resize'->'Keep for new source'. :)
Another extremely small thing is there are times where I drag in 10 videos or so to encode, then Ill change my mind and drag just 1 in, when I hit add job it will start encoding all those original 10, plus the 1, instead of just the 1.
that's a bug, will try to reproduce it :)
Cu Selur
Riki
21st August 2009, 17:12
wow, didn't even see that checkbox right in front my face. Nice feature!
Selur
21st August 2009, 17:13
I can reproduce the bug -> now I have to check why it's happening :)
Riki
21st August 2009, 17:44
Thanks!
I was just doing some tests with the new Audio Encoding options and having the option to use LC is amazing. The quality for really low bitrate audio is much much better. I did some tests and confirmed it is working well! :)
CpT
21st August 2009, 18:02
Yea I usually set the nero options too Quality factor 20 using HEv2. It's amazing how good it sounds for 44-51ish Kbps.
And the "'Keep for new source" option is a life saver. I've looked for a gui with a resizing option "that actually works" for ages. Very happy I stumbled on this gui.
:thanks:
Selur
21st August 2009, 18:04
Happy you like it, the drag&drop bug will probably have to wait till monday, since it's family weekend this weekend and I not sure why sx264 behaves like it does ;)
-> correction: found the problem will upload a new build tomorrow evening
Selur
23rd August 2009, 11:43
rev553
*added*
- Button to reset defaults
- Warnings under Misc->Paths, Warnings->Warnings which will be checked when trying to add a job
*fixed*
- not deleting old drag&drop sources when new drag&drop comes
- subtitle selection bug in dvd selector
*cosmetics*
- a bunch of some small changes
Reset the Defaults using the new 'Reset Defaults' button
-> updated links in 1st post
TRF
24th August 2009, 06:39
can't get it ...
>ping www.selur.info
>ping: unknown host www.selur.info
some web-host problems ...
Selur
24th August 2009, 06:41
Works from here without a problem,...
C:\Users\Selur>ping www.selur.info
Pinging www.selur.info [85.13.138.251] with 32 bytes of data:
Reply from 85.13.138.251: bytes=32 time=30ms TTL=57
Reply from 85.13.138.251: bytes=32 time=30ms TTL=57
Reply from 85.13.138.251: bytes=32 time=31ms TTL=57
Reply from 85.13.138.251: bytes=32 time=31ms TTL=57
Ping statistics for 85.13.138.251:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 30ms, Maximum = 31ms, Average = 30ms
(also just checked, no space or bandwidth problem and downloads, ftp access,.. all work fine too)
tried: http://www.tracert.com/ping_exe.html
-> no problem from 'Greece, Athens, TEI - TECHNOLOGICAL EDUCATION INSTITUTE - Helios' and
'USA, MD, Rockville, Heller Information Services via MCI-CAIS'
Any one else got problems downloading?
TRF
24th August 2009, 14:39
it works now, but I start to test 553 rev in Ubuntu amd64 Jaunty and have some problems with test mpeg file (that I've extracted from dvd-anime film for testing purposes)
debug report = http://www.sendspace.com/file/n1a7gr
note: I had to compile x264 from daily snapshot, as it showed some preate familiar error "--prefix" is not supported option...
x264-snapshot-20090823_2245 ...
and avi files, I use for testing work work just fine :), so I do have problems only with this mpeg file, that requires automatic deinterlacing ... (there is some cute warning - that good) and preview works fine
Selur
24th August 2009, 14:52
Could you upload the test file somewhere? (Mpeg files + ivtc work fine)
TRF
24th August 2009, 15:50
I could ... but I think I've resolved this problem ... it could be mencoder problem ... because I've rebuild mencoder from source and it works now fine /// (finger crossed) /// now
Selur
24th August 2009, 15:52
okay if it turn out to be a sx264 problem send me a pm with a sample an I'll try to reproduce it :)
Selur
26th August 2009, 15:23
rev554
*added*
- ability to select folder when extracting subtitles
- some warnings regarding dvd subtitle handling
- basic .ass subtitle support
*changed*
- not ignoring dvd subtitles without a language anymore
- psy trellis&rd spinbox ste changed to 0.01 from 0.1
*fixed*
- subtitle selection bug in dvd selector when subtitle ids didn't start at 0
- meRange gui initialization value
- subme 10, forgot to put trellis 2 in the command line
*removed*
- Subtitle language warning option (doesn't make any sense)
*updated*
- windows package
-> updated links in 1st post
Selur
26th August 2009, 20:35
rev555
*changed*
- Video out to direct3d on windows systems
*fixed*
- temp was adjusted to input path
- subtitles were ignored when not embedded and audio was disabled
*updated*
- windows package, since mplayer/mencoder/ffmpeg versions were buggy
-> updated links in 1st post
CpT
27th August 2009, 02:28
:thanks: it's working Great!
Selur
29th August 2009, 14:27
rev556
*fixed*
- decoderCL for avisynth input
*cosmetics*
- some adjustments under misc
-> updated links in 1st post
flebber
29th August 2009, 15:11
With the new version x264 encoder crashed.
Analysing audio&video with MplayerAnalyser
Collected the following audio infos:
> ID: 128
> Language: unknown
> Format: ac3
> Bitrate: 192 kBit/s
> Channels: 2
> Sample rate: 48000 Hz
> Stream count: 1
Collected the following video infos:
> Format: mpeg-2
> Bitrate: 7500 kBit/s
> Frame rate: 25.000
> Width: 720
> Height: 576
> PAR: 1.06664
> Frame count: 26883
> Duration: 1075.36
> A/V delay: -80 ms
AutoCrop: cropWidth: 688
AutoCrop: cropHeight: 560
AutoCrop: cropXpos: 16
AutoCrop: cropYpos: 10
AutoCrop: cropWidth: 688
AutoCrop: cropHeight: 560
AutoCrop: cropXpos: 16
AutoCrop: cropYpos: 10
Job 000742234 2009.08.30 - 00:07:42:
Audioencoder: extractingCL:
mencoder -lavdopts threads=1 -mc 0 -noskip -aid 128 dvd://1 -dvd-device "C:\Rip\Source Video\QOTSA\FullDisc\QOTSA_PAL\VIDEO_TS" -ovc frameno -oac copy -of rawaudio -o "C:\DOCUME~1\Family\LOCALS~1\Temp\audioTemp DELAY -80ms_000742234.ac3"
Job 000742234 2009.08.30 - 00:08:49:
Audioencoder: audio passthrough enabled - nothing to do
Job 000742234 2009.08.30 - 00:08:49:
decoderCL:
mencoder dvd://1 -dvd-device "C:\Rip\Source Video\QOTSA\FullDisc\QOTSA_PAL\VIDEO_TS" -really-quiet -ovc raw -noskip -lavcopts threads=1 -lavdopts threads=1 -mc 0 -vc mpeg12 -field-dominance -1 -vf yadif=0,crop=688:560:16:10,hqdn3d=2:1:3:1,unsharp=l3x3:1.1:c3x3:1.1,scale,format=i420 -fps 25 -nosound -of rawvideo -o -
Job 000742234 2009.08.30 - 00:08:49:
encoderCL:
x264 --profile high --crf 21 --pass 1 --level 4.1 --ref 1 --keyint 250 --min-keyint 25 --scenecut 40 --bframes 3 --b-bias 0 --b-pyramid --direct auto --cplxblur 20 --qcomp 0.6 --no-mbtree --rc-lookahead 40 --qblur 0.5 --qpmin 1 --qpmax 51 --qpstep 4 --ipratio 1.4 --pbratio 1.3 --chroma-qp-offset 0 --partitions none --no-8x8dct --me dia --subme 2 --trellis 0 --aq-mode 2 --aq-strength 1 --deadzone-inter 11 --threads auto --sar 1067:1000 --filter -1,-1 --stats "C:\DOCUME~1\Family\LOCALS~1\Temp\QOTSA_000742234.stats" --fps 25 --output NUL - 688x560
Job 000742234 2009.08.30 - 00:09:03:
Video encoder - QProcess::Crashed
Job 000742234 2009.08.30 - 00:09:03:
Videoencoder: exitCode: -1073741795, ExitStatus:
No name for the logfile, so nothing to save.
Selur
29th August 2009, 15:15
strange,..
could you check if you get any additional infos when you call:
mencoder dvd://1 -dvd-device "C:\Rip\Source Video\QOTSA\FullDisc\QOTSA_PAL\VIDEO_TS" -ovc raw -noskip -lavcopts threads=1 -lavdopts threads=1 -mc 0 -vc mpeg12 -field-dominance -1 -vf yadif=0,crop=688:560:16:10,hqdn3d=2:1:3:1,unsharp=l3x3:1.1:c3x3:1.1,scale,format=i420 -fps 25 -nosound -of rawvideo -o - | x264 --profile high --crf 21 --pass 1 --level 4.1 --ref 1 --keyint 250 --min-keyint 25 --scenecut 40 --bframes 3 --b-bias 0 --b-pyramid --direct auto --cplxblur 20 --qcomp 0.6 --no-mbtree --rc-lookahead 40 --qblur 0.5 --qpmin 1 --qpmax 51 --qpstep 4 --ipratio 1.4 --pbratio 1.3 --chroma-qp-offset 0 --partitions none --no-8x8dct --me dia --subme 2 --trellis 0 --aq-mode 2 --aq-strength 1 --deadzone-inter 11 --threads auto --sar 1067:1000 --filter -1,-1 --stats "C:\DOCUME~1\Family\LOCALS~1\Temp\QOTSA_000742234.stats" --fps 25 --output NUL - 688x560
in the command line and also:
mencoder dvd://1 -dvd-device "C:\Rip\Source Video\QOTSA\FullDisc\QOTSA_PAL\VIDEO_TS" -ovc raw -noskip -lavcopts threads=1 -lavdopts threads=1 -mc 0 -vc mpeg12 -field-dominance -1 -vf scale,format=i420,yadif=0,crop=688:560:16:10,hqdn3d=2:1:3:1,unsharp=l3x3:1.1:c3x3:1.1,scale,format=i420 -fps 25 -nosound -of rawvideo -o - | x264 --profile high --crf 21 --pass 1 --level 4.1 --ref 1 --keyint 250 --min-keyint 25 --scenecut 40 --bframes 3 --b-bias 0 --b-pyramid --direct auto --cplxblur 20 --qcomp 0.6 --no-mbtree --rc-lookahead 40 --qblur 0.5 --qpmin 1 --qpmax 51 --qpstep 4 --ipratio 1.4 --pbratio 1.3 --chroma-qp-offset 0 --partitions none --no-8x8dct --me dia --subme 2 --trellis 0 --aq-mode 2 --aq-strength 1 --deadzone-inter 11 --threads auto --sar 1067:1000 --filter -1,-1 --stats "C:\DOCUME~1\Family\LOCALS~1\Temp\QOTSA_000742234.stats" --fps 25 --output NUL - 688x560
Thanks :)
(I know where the problem is if the second one works ;))
flebber
29th August 2009, 15:20
strange,..
could you check if you get any additional infos when you call:
mencoder dvd://1 -dvd-device "C:\Rip\Source Video\QOTSA\FullDisc\QOTSA_PAL\VIDEO_TS" -ovc raw -noskip -lavcopts threads=1 -lavdopts threads=1 -mc 0 -vc mpeg12 -field-dominance -1 -vf yadif=0,crop=688:560:16:10,hqdn3d=2:1:3:1,unsharp=l3x3:1.1:c3x3:1.1,scale,format=i420 -fps 25 -nosound -of rawvideo -o - | x264 --profile high --crf 21 --pass 1 --level 4.1 --ref 1 --keyint 250 --min-keyint 25 --scenecut 40 --bframes 3 --b-bias 0 --b-pyramid --direct auto --cplxblur 20 --qcomp 0.6 --no-mbtree --rc-lookahead 40 --qblur 0.5 --qpmin 1 --qpmax 51 --qpstep 4 --ipratio 1.4 --pbratio 1.3 --chroma-qp-offset 0 --partitions none --no-8x8dct --me dia --subme 2 --trellis 0 --aq-mode 2 --aq-strength 1 --deadzone-inter 11 --threads auto --sar 1067:1000 --filter -1,-1 --stats "C:\DOCUME~1\Family\LOCALS~1\Temp\QOTSA_000742234.stats" --fps 25 --output NUL - 688x560
in the command line and also:
mencoder dvd://1 -dvd-device "C:\Rip\Source Video\QOTSA\FullDisc\QOTSA_PAL\VIDEO_TS" -ovc raw -noskip -lavcopts threads=1 -lavdopts threads=1 -mc 0 -vc mpeg12 -field-dominance -1 -vf scale,format=i420,yadif=0,crop=688:560:16:10,hqdn3d=2:1:3:1,unsharp=l3x3:1.1:c3x3:1.1,scale,format=i420 -fps 25 -nosound -of rawvideo -o - | x264 --profile high --crf 21 --pass 1 --level 4.1 --ref 1 --keyint 250 --min-keyint 25 --scenecut 40 --bframes 3 --b-bias 0 --b-pyramid --direct auto --cplxblur 20 --qcomp 0.6 --no-mbtree --rc-lookahead 40 --qblur 0.5 --qpmin 1 --qpmax 51 --qpstep 4 --ipratio 1.4 --pbratio 1.3 --chroma-qp-offset 0 --partitions none --no-8x8dct --me dia --subme 2 --trellis 0 --aq-mode 2 --aq-strength 1 --deadzone-inter 11 --threads auto --sar 1067:1000 --filter -1,-1 --stats "C:\DOCUME~1\Family\LOCALS~1\Temp\QOTSA_000742234.stats" --fps 25 --output NUL - 688x560
Thanks :)
(I know where the problem is if the second one works ;))
For the first one this is the error
libdvdread: Using libdvdcss version 1.2.10 for DVD access
libdvdread: Couldn't find device name.
[swscaler @ 0x1cbf9e0]using unscaled yuv420p -> yuv420p special converter
New_Face failed. Maybe the font path is wrong.
Please supply the text font file (~/.mplayer/subfont.ttf).
subtitle font: load_sub_face failed.
New_Face failed. Maybe the font path is wrong.
Please supply the text font file (~/.mplayer/subfont.ttf).
subtitle font: load_sub_face failed.
2nd
00742234.stats" --fps 25 --output NUL - 688x560
libdvdread: Using libdvdcss version 1.2.10 for DVD access
libdvdread: Couldn't find device name.
[swscaler @ 0x1c189c0]using unscaled yuv420p -> yuv420p special converter
New_Face failed. Maybe the font path is wrong.
Please supply the text font file (~/.mplayer/subfont.ttf).
subtitle font: load_sub_face failed.
New_Face failed. Maybe the font path is wrong.
Please supply the text font file (~/.mplayer/subfont.ttf).
subtitle font: load_sub_face failed.
Selur
29th August 2009, 15:24
strange,..
the font stuff shouldn't cause any problem since you are not embedding subtitles,..
hoped mencoder would output something useful,..
-> will try to reproduce the problem here. ;)
Selur
29th August 2009, 15:40
I just tested with:
mencoder dvd://1 -dvd-device "D:\ElephantsDream\VIDEO_TS" -really-quiet -ovc raw -noskip -lavcopts threads=1 -lavdopts threads=1 -mc 0 -vc mpeg12 -field-dominance -1 -vf yadif=0,crop=688:560:16:10,hqdn3d=2:1:3:1,unsharp=l3x3:1.1:c3x3:1.1,scale,format=i420 -fps 25 -nosound -of rawvideo -o - | x264 --profile high --crf 21 --pass 1 --level 4.1 --ref 1 --keyint 250 --min-keyint 25 --scenecut 40 --bframes 3 --b-bias 0 --b-pyramid --direct auto --cplxblur 20 --qcomp 0.6 --no-mbtree --rc-lookahead 40 --qblur 0.5 --qpmin 1 --qpmax 51 --qpstep 4 --ipratio 1.4 --pbratio 1.3 --chroma-qp-offset 0 --partitions none --no-8x8dct --me dia --subme 2 --trellis 0 --aq-mode 2 --aq-strength 1 --deadzone-inter 11 --threads auto --sar 1067:1000 --filter -1,-1 --stats "c:\tmp\QOTSA_000742234.stats" --fps 25 --output NUL - 688x560 which is your command line with ElephantsDream as source and it worked fine,...
Hmm,.... did you change the x264 Version? (I used the one from the windows package,...)
you could try if it helps to use one of the x264 builds from jeeb:
http://forum.doom9.org/showthread.php?p=1319504#post1319504
(just realized that the one in the windows package seems to be compiled for core2 cpus and jeebs are generic compiled )
flebber
29th August 2009, 15:54
I will try jeebs build, I was using x264 you had in windows package.
Selur
29th August 2009, 15:55
if it helps tell me so and I'll update the windows package :D
flebber
29th August 2009, 15:59
Definitely seems to have helped its currently encoding now..
Selur
29th August 2009, 16:03
okay, will update the windows package then later ;)
Selur
29th August 2009, 16:47
*updated*
- windows package (sx264 rev556 and generic x264 binary)
-> updated link in 1st post
microchip8
1st September 2009, 00:39
Selur,
Any thoughts on adding the possibility to minimize to tray?
Selur
1st September 2009, 00:41
works on windows, might work under Linux, you just have to enable it under misc ;)
microchip8
1st September 2009, 00:46
it's enabled but doesn't seem to work. Also, the "close" button is always disabled here so if I want to exit, the only possibility for me is to kill it. It's been like that for quite some time and I bet it's something QT related (using 4.5.2 here)
Selur
1st September 2009, 00:47
probably got some time this week my be I'll find a way to get it working under linux :)
Pitti
1st September 2009, 05:46
It works fine here under Ubuntu and QT 4.5.1.
microchip8
1st September 2009, 10:14
It works fine here under Ubuntu and QT 4.5.1.
Doesn't work here as I cannot minimize it due to the close button always being disabled on qt 4.5.2. As I said, it's been like that for a while. I can close every other single QT application but it's only sx264 that has its close button disabled
Selur
1st September 2009, 10:31
No clue why the close button is disabled, it isn't here. (just compiled it with 4.5.3 and run it, no problem,... )
-> downloading a opensuse 64bit livecd to try to replicate the problem
does openSUSE 11.1 (KDE4) use qt4.5.1/2//3 natively or do I have to install it manually somehow (it's really long time since I last used a suse system; I'm more the gentoo-4-server and (k)ubuntu-4-desktop guy :))
Cu Selur
microchip8
1st September 2009, 10:51
I've no idea what 11.1 uses for its KDE4 as I never used it. They offer version 4.1 of KDE which is pretty lame and not ready for usage. You may want to grab the KDE4.3 LiveCDs from Beineri from here http://home.kde.org/~binner/kde-four-live/
for up to date QT, you have to add the build service QT repo: http://download.opensuse.org/repositories/KDE:/Qt/openSUSE_11.1/
Selur
1st September 2009, 10:55
will download the mentioned livecd and test :)
Selur
1st September 2009, 12:50
grabbed something to eat, downloaded the livecd, searched 1/2 hour for a cd-r, burned the .iso, booted into the live system (64bit), checked qmake version (-> 4.5.0), added the mentioned repository, activated it and the other repositories, updated the system, installed make, checked qmake version (-> 4.5.2) build sx264 from source (-> qmake sx264.pro, followed by make) and
started it.
-> close and minimze button (right top corner) were present and worked fine.
Minimize to tray worked fine to, aside from the missing icon, but that's a known minor problem.
=> can't preproduce the problem and I really tried
Cu Selur
microchip8
1st September 2009, 12:53
hmm, so it must be something on my side then. Will have to dig deeper here. Thanks for reporting though :)
Selur
1st September 2009, 13:09
hmm, so it must be something on my side then.
Seems that way, zipped and uploaded the version I compiled to: http://www.megaupload.com/?d=51FZBKR1
Cu Selur
microchip8
1st September 2009, 13:10
Alright, I recompiled sx264 locally (QT4.5.2) and the close button is no longer disabled. Previously, I've always compiled on the openSUSE build service where the distros use default distro QT versions and not like me updated ones and then installed the RPMs from there. So the problem occurs when one compiles sx264 with older QT and then runs it on a system which uses newer QT version
Selur
1st September 2009, 13:17
If you go below qt 4.4, I can't guarantee that sx264 will work at all, since I normally just check to be 4.4+ compatible. ;)
Cu Selur
microchip8
1st September 2009, 13:19
Yeah, I think 11.0 and lower use QT 4.4 or so. Not sure though. Anyways, I found why such things happen so I'm good to go for the future :p
Selur
1st September 2009, 20:47
rev557
*added*
- slice coding support
*fixed*
- lookahead limitation
*cosmetics*
- some adjustments under misc
*updated*
- windows package
Reset Defaults on first start and this build requires x264 rev 1243 or newer
-> updated links in 1st post
Riki
1st September 2009, 23:40
What is slice coding support?
I think I found a bug with 556, Ill try it with 557 also. Basically I drag in a bunch of videos and hit encode and it only encodes the first one.
Riki
1st September 2009, 23:42
also a problem in 557, Im using the windows 64bit build.
Selur
1st September 2009, 23:44
will have a look at it tomorrow (just on my way to bed ;))
What is slice coding support?
http://git.videolan.org/?p=x264.git;a=commit;h=4d553edf178bf0ae01547731a48e1fb08c5cc1f4
Riki
1st September 2009, 23:49
ahh yes, its late over there. :)
Selur
2nd September 2009, 07:26
okay, I can reproduce the problem, will know test which the version was were I broke it ;)
-> works when using 2pass encoding on some versions, seems to be broken, when one isn't using 2pass in a batch,..
Selur
2nd September 2009, 10:29
think I found and fixed the problem, what OS were you using again ? (so I can build you a test version, to be sure it's not jst fixed over here :))
Cu Selur
Riki
2nd September 2009, 15:45
Im on Vista64, and I mainly use CRF 1 -pass. 2-Pass talkes way too long and bloats the filesize, also it doesnt seem to benefit me any on the streaming server :/. So 1-Pass is amazing stuff :D
Selur
2nd September 2009, 15:48
since there's a new option for x264, I directly made a new revision ;)
-----
rev558
*added*
- sync-lookahead support (Misc->Encoding, Compatibility and Output->Input lookahead)
*cosmetics*
- around slice coding support
*fixed*
- multi input encoding only encoding 1st file
Reset Defaults on first start and this build requires x264 rev 1246 or newer, when sync-lookahead != 0
-> updated links in 1st post
Cu Selur
Betsy25
2nd September 2009, 18:42
Hi Selur,
Is it possible to add to the top post the things sx264 CAN do, instead of everything it can't ? :o
Selur
2nd September 2009, 18:49
yes it's possible and I should probably also update the screenshots, but to be frank I'm to lazy for it atm. :)
(but if someone makes a list I can put it in the first post)
:)
Cu Selur
ps.: just fixed a 'bug' which set the min max values allowed for sync-lookahead (not really a problem, so I'll not do an update right now :))
-> did a silent update of rev558
Riki
2nd September 2009, 20:07
drag and drop = fixed :)
Selur
10th September 2009, 11:16
rev559
*cosmetics*
- en-/disable checkbox for sync-lookahead
- en-/disable checkbox for rc-lookahead
*fixed*
- restricting
- sync lookahead to [bframes+threads,250]
- rc lookahead [0 - MAX( keyint, MAX( vbv-maxrate, bitrate ) / vbv-bufsize * fps )]
- autocrop not working after chapter selection
*updated*
- windows package (mediainfo and x264 version)
-> updated links in 1st post
microchip8
10th September 2009, 11:20
where's the source for r559 ? :)
Selur
10th September 2009, 11:23
oh, forgot to adjust the download links -> fixed
microchip8
10th September 2009, 11:26
ty ;) building for Fedora & SUSE
cybersharky
20th September 2009, 11:34
Where can I get avsInfo.exe? Is it included in sx264.exe?
CpT
20th September 2009, 16:14
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.megaupload.com/?d=4PXJQ9VX
Quoted 'Selur' from first page.
Thats pretty much the full windows package. Just need neroAac ect..
Selur
20th September 2009, 18:52
it's also under http://www.selur.info/sx264/avsInfo.zip :)
cybersharky
20th September 2009, 19:55
Quoted 'Selur' from first page.
Thats pretty much the full windows package. Just need neroAac ect..
Thanks, don't know how I missed that :o
Riki
24th September 2009, 17:29
I was thinking today how useful it would be to just have 1 profile option. Seems like a lot of clicks to save or load a profile when some of them only have a few optoins. Would it be a good feature to have an "All Profile" option?
Selur
24th September 2009, 18:06
And this would differ from saving a general profile how? (assuming saving a general Profile is not broken, this should save all the settings in a single file,...)
Riki
24th September 2009, 18:12
oh wow. For some reason I was under the impression it just saved the front tab settings. Ok I just tested it and it works pefect. Somehow I knew you would say its already there, hahah.
Thanks again Selur!
Riki
29th September 2009, 20:13
Hi Selur, Would you have any idea why the last 1-2 seconds would be cut off on the video? On my videos a lot of them get trimmed and I have no idea why, its noticeable with the audio. What would you need from me in order to track this down?
Sometimes its bad enough where I just encode the audio with AME and mux it into the mp4 that sx264 created.
Selur
29th September 2009, 20:20
A small sample clip where the problem occures + the video&audio profile you use might help.
First thing that comes into mind is that the source is kind of broken and mencoder/ffmpeg skips before the end.
Are the input length, frame count, frame rate that sx264 detected okay?
Riki
29th September 2009, 20:33
Thanks, Ill send you a pm. :)
cybersharky
30th September 2009, 14:59
I'm getting this error and it doesn't go away when it appears, I'm using megui x264 profiles.
Some how it's losing the video info.
http://img40.imageshack.us/img40/9290/sx264error.gif
Selur
30th September 2009, 15:05
it might help to select a higher OutputSize before loading the source,..
Will check if I find the reason why the popup doesn't go away, some additional infos about the source and your sx264 settings etc. might help there,...
cybersharky
30th September 2009, 15:54
it might help to select a higher OutputSize before loading the source,..
Will check if I find the reason why the popup doesn't go away, some additional infos about the source and your sx264 settings etc. might help there,...
It appears it's subtitle related. They were ripped with vsrip.
The dvd is Babylon 5 season 1 disc 1, ripped to individual episodes with dvdfab
Selur
30th September 2009, 15:57
Might be a problem with the file size calculation related to the subtitles -> create a debug output and upload it somewhere. :)
Cu Selur
cybersharky
30th September 2009, 16:51
http://garyonline.net/test/sx264Debug.txt
Selur
30th September 2009, 17:18
Did you try the version I send you via PM ? What about your sx264 settings?
Since the Debug output starts just when you pressed the start button for some queued jobs it doesn't hold any helpful infos.
-> delete the old debug file, delete all queued jobs, reset to defaults, restart sx264, enabled debug output, write down what you do, reproduce the bug and post the new debugfile + you notes, atm it's just guessing and since subtitleSize: 4067328 <> 3.87891 MiB seems to be fine this could be caused by some small bug that's not traceble with just guessing. ;)
Cu Selur
cybersharky
30th September 2009, 18:14
Did you try the version I send you via PM ? What about your sx264 settings?
Since the Debug output starts just when you pressed the start button for some queued jobs it doesn't hold any helpful infos.
-> delete the old debug file, delete all queued jobs, reset to defaults, restart sx264, enabled debug output, write down what you do, reproduce the bug and post the new debugfile + you notes, atm it's just guessing and since subtitleSize: 4067328 <> 3.87891 MiB seems to be fine this could be caused by some small bug that's not traceble with just guessing. ;)
Cu Selur
Yes, I did try the version you sent via pm.
Ok, reset settings to default.
Selected dvd input, selected & browsed for video_TS folder, source was analysed and found to be interlaced yadif was enabled. selected output file.
Enabled filters/subtitles. Enabled cropping, clicked autocrop. Enabled resizing, selected height mod 16, resized width to 640
Enabled denoising selected hqdn3d, selected light.
Enabled zones\chapters, clicked dvd import.
browsed and selected subtitle file.
Changed encoding mode to CRF - 1 Pass, value 17, changed level to unrestricted.
(at this point I was using megui x264 profile: x264_dp_ Unrestricted 2pass HQ)
Encoding ran fine, so I aborted and tried that mequi profile and got that error again.
I've updated the url:
http://garyonline.net/test/sx264Debug.txt
Selur
30th September 2009, 19:00
Quote:
Originally Posted by Selur View Post
Did you try the version I send you via PM ? What about your sx264 settings?
Since the Debug output starts just when you pressed the start button for some queued jobs it doesn't hold any helpful infos.
-> delete the old debug file, delete all queued jobs, reset to defaults, restart sx264, enabled debug output, write down what you do, reproduce the bug and post the new debugfile + you notes, atm it's just guessing and since subtitleSize: 4067328 <> 3.87891 MiB seems to be fine this could be caused by some small bug that's not traceble with just guessing.
Cu Selur
Yes, I did try the version you sent via pm.
Ok, reset settings to default.
Selected dvd input, selected & browsed for video_TS folder, source was analysed and found to be interlaced yadif was enabled. selected output file.
Enabled filters/subtitles. Enabled cropping, clicked autocrop. Enabled resizing, selected height mod 16, resized width to 640
Enabled denoising selected hqdn3d, selected light.
Enabled zones\chapters, clicked dvd import.
browsed and selected subtitle file.
Changed encoding mode to CRF - 1 Pass, value 17, changed level to unrestricted.
(at this point I was using megui x264 profile: x264_dp_ Unrestricted 2pass HQ)
Encoding ran fine, so I aborted and tried that mequi profile and got that error again.
Now I'm bit confused: was x264_dp_ Unrestricted 2pass HQ' the profile that caused a problem or was it another one, if so which one?
( does anyone know if http://mirror05.x264.nl/Sharktooth/force.php?file=./MeGUI/profiles/MeGUI-x264_generic_profiles_v85.zip still contains the current megui profiles? If not would be nice if someone could post a current megui profile.)
Also try to 1st import the profile and then load the source etc.
Cu Selur
Ps.: found newer Profiles over at http://kurtnoise.free.fr/MeGUI/ now I'll check if I can find what changed. ;)
Selur
30th September 2009, 19:24
Okay, after looking at the current MeGui profiles I can say:
1. sx264 doesn't support current profiles atm and it will take some time to adjust sx264, since sx264 does not use presets&tune options and I'm not sure if MeGui keeps the rest of it's settings consistent with the preset selection
2. Thanks for the ste-by-step notes, I can reproduce the problem now -> trying to fix it. :)
Selur
30th September 2009, 20:12
Think I found the problem used a - where a + should have been in the bitrate calculator when subtitle size was calculated -> will send you a new test version :)
(will have some time next week when I'll fix the megui profile import and release a new version)
Alex_080
1st October 2009, 08:48
Thanks Selur for this software..it is very nice soft now i m encoding many files using it but i need some help on profiles because i can't understand how to use Profile Manager means there is only one video profile custom so please help me.
one thing can you tell me how to update it?
thanks
:):):)
Selur
1st October 2009, 08:50
Since sx264 is still alpha, it does not come with any profiles, so yo will only find the profiles that you yourself created there. ;)
For Updating, a simple overwriting of the files should do the trick.
Cu Selur
Alex_080
1st October 2009, 08:53
can i overwrite new x264 with old one?
Selur
1st October 2009, 08:57
yup, shouldn't be a problem, as long as you don't use options that only a new one supports,..
cybersharky
1st October 2009, 14:45
Thanks Selur, sx264 is working well now, I'm using the newer megui x264 profiles.
Alex_080
2nd October 2009, 07:55
thanks Selur ...sx264 working very fast (than megui) and it is working perfectly..can you tell me when come the beta or full version of sx264??
Selur
2nd October 2009, 08:00
Nope, no time plan, but to be frank it's probably never going to hit beta in it's current state, in my free time I work on a updated (more rewritten) version, that will support audio/video passthrough, multiple audio and some other stuff, but since my free time for programming is limited atm this will quite take some time. (girlfriend and the rest of real life are demanding + I got an email from Amazon that Risen (http://www.worldofrisen.de) is on it's way :))
Cu Selur
Alex_080
3rd October 2009, 00:38
can you tell me when your next update package will come??
Selur
3rd October 2009, 00:50
Next sx264 update will probably come next week when I get at it to update the MeGui Profile import routines (+ no-psy switch, since I just yesterday realized that one totally slipped by me :)) , a new package will probably come when the nal hrd patch seems to be a bit more stable again. (reading in the current patches thread it seems a bit 'buggy' atm)
Are you missing something specific ? (I mean x264 can be swapped by hand normally as long as no major cli changes appear and I didn't see any major changes in mplayer and the other backend tools which would demand a package update,..)
Cu Selur
Ps.: got 'Risen' today :)
Alex_080
3rd October 2009, 14:36
No nothing missing i only wait for next update:)
Selur can you adjust the CPU usage of sx264 because when when sx264 starts encoding is CPU usage almost 100% so that all other program work slow....
Selur
3rd October 2009, 14:47
On Windows sx264 should set the audio&video encoder processes to lowest priority, so if the other programs run too slow it seems more like a Operations System problem since it's responsible to assign which application should get how much power. ;)
(+ I don't know if it is even possible to limit the cpu usage a process is allowed to create,..)
On linux I don't adjust any priorities because I never ran in any unexpected problems where other programs run to slow. :)
Cu Selur
Alex_080
3rd October 2009, 17:00
On Windows sx264 should set the audio&video encoder processes to lowest priority, so if the other programs run too slow it seems more like a Operations System problem since it's responsible to assign which application should get how much power. ;)
(+ I don't know if it is even possible to limit the cpu usage a process is allowed to create,..)
On linux I don't adjust any priorities because I never ran in any unexpected problems where other programs run to slow. :)
Cu Selur
thanks for advice:)
Pitti
4th October 2009, 05:22
x264farm uses for Windows a tool named nice.exe to set the priority.
If you want to set your encoding to a lower priority, set <nice> to a larger number.
0 means normal priority, 20 means idle. If you are running Windows, you need to
have the "nice" program installed, either in the directory you run the agent from,
or somewhere on the path.
Unix-ish operating systems already have this program.
Selur
4th October 2009, 09:17
on Windows I use SetPriority (http://gilchrist.ca/jeff/SetPriority/index.html)
-> @LinuxUsers: Should I use 'nice' on linux? On my machines linux itself scales the cpu usage without a problem so I didn't change the priority and thought if this wouldn't be the case for someone, he would post. :)
Alex_080
9th October 2009, 00:58
Hi Selur Please can you tell me what value i set for deblocking for normal movies and Anime Video by which i can get good quality video encoding...
And can you tell what happen if i set B-frame value max 16??
Thanks
Selur
9th October 2009, 01:04
for normal movies I would recommend 0:0 and if you use high datarates / how quantizers (< 18) I would go for -1:-1
for cartoon like animes I wold go for 1:1
If you set B-Frames to 16 x264 will use up to 16 b-frames in a row. Normally 3-4 for normal movies and 5-6 for cartoons is kind of a sweet spot, anything on top of it doesn't really help.
Cu Selur
Ps.: for those who can/want to help my test avi can be found at: http://www.selur.info/test/Test-AC3-5.1.avi
Riki
9th October 2009, 02:25
Setting BFrames in the positive numbers will soften it right? I thought setting it to -1:-1 will make it sharper.
flebber
9th October 2009, 08:20
Setting BFrames in the positive numbers will soften it right? I thought setting it to -1:-1 will make it sharper.
Bframes don't have anything to do with sharpen or soften but overall image quality as perceived by you I never really exceed 6 Bframes and mostly use 3.
The -1:-1 you refer to is the deblocking parameters its actually a bit more complex see here for a good brief guide http://forum.doom9.org/showthread.php?t=109747 but yes minus is effectively sharp and positive soft :)
Selur
9th October 2009, 09:28
Little warning about the mentioned thread, it's quite old and with the introduction of adaptive quantization and psychovisual enhancements I prefer the settings mentioned above. Only for grain retention I would lower the deblock settings additionally. :)
But there's no really good recommendation for specific settings since it always also depends on the source. ;)
Riki
9th October 2009, 13:45
what about a screen-captured video. The source would have 0 grain, so then would it be best to use -1:-1?
Selur
9th October 2009, 13:51
Depends on the content of the screen in general screen captures got lots of unicolored areas so it would be like a cartoon (1:1), for mixed contend, e.g. if a good part of the screen is quite complex I would stay with the default (0:0) and if it's mainly complex content and the data rates are high enough I would choose -1:-1. In the end yo probably would have to test, if yo are unclear stay with the default (0:0). :)
Cu Selur
Riki
9th October 2009, 14:17
yeah that makes sense. I will post results after some tests hopefully
Alex_080
17th October 2009, 09:43
waiting for your next update Selur!
Selur
17th October 2009, 09:47
Atm I'm a bit reluctant to make a new sx264 windowsPackage release since I'm not sure which sx264 Version to include, since x264 causes a lot of problems the last weeks,... (e.g. nal-hrd, vbv 2pass,...)
Will do an sx264 update later today since I fixed a bunch of small bugs. :)
Riki
17th October 2009, 11:41
Which versions of x264 are having problems, Id rather avoid them! :)
Selur
17th October 2009, 11:44
Which versions of x264 are having problems, Id rather avoid them
see the posts in the x264 development thread of the last weeks,..
running into another problem with neroAACEnc atm.:
ffmpeg -i "Test-AC3-5.1.avi" -acodec pcm_s16le -ac 6 -ar 48000 -f wav - | neroAacEnc -if - -br 128000 -ignorelength -he -of "test.aac" works, but:
ffmpeg -i "Test-AC3-5.1.avi" -acodec pcm_s16le -ac 6 -ar 48000 -f wav - | neroAacEnc -if - -br 128000 -ignorelength -hev2 -of "test.aac
doesn't and gives:
Output #0, wav, to 'pipe:':
ERROR: Unsupported encoding configuration
Stream #0.0: Audio: pcm_s16le, 48000 Hz, 5.1, s16, 4608 kb/s
Stream mapping:
Stream #0.1 -> #0.0
Press [q] to stop encoding
av_interleaved_write_frame(): Error while opening file
Now my problem is: "Where's the problem and how to fix it?"
"What input is needed for neroAACEnc to work?"
(problem is probably around since supporting anything -he/-hev2)
Cu Selur
microchip8
17th October 2009, 12:29
@ Selur, simply use mplayer to dump to WAV files. It has never failed here and Nero has always accepted its input, no matter which AAC profile one uses in Nero
Selur
17th October 2009, 12:31
Will mplayer fix the channel order like ffmpeg does?
Will mplayer dump to stdOut?
microchip8
17th October 2009, 12:33
I thought mplayer has channel reordering, no? I don't do much 2+ channels encoding so I'm not sure. For stdout, I don't think so, use a named pipe :p
Selur
17th October 2009, 12:35
haven't found a way go get named pipes working in windows ;)
microchip8
17th October 2009, 12:43
Have you looked at this? http://msdn.microsoft.com/en-us/library/aa365590%28VS.85%29.aspx
it may give you info on how to do it on Win
Selur
17th October 2009, 12:45
yup, but couldn't get it working so I dumped the idea of named pipes in windows. ;)
microchip8
17th October 2009, 12:53
Then I guess you'll have to find out why ffmpeg/nero behaves like that. Is it only with hev2 or is lc also affected?
Selur
17th October 2009, 13:01
it's only with hev2, all other modes give no problem with the command line, even something like:
ffmpeg -i "Test-AC3-5.1.avi" -acodec pcm_s16le -ac 6 -ar 48000 -f wav - | neroAacEnc -if - -q 0.1 -ignorelength -of "test.aac"
which should create a hev2 stream afaik
Kurtnoise
17th October 2009, 13:03
Hint : hev2 = Parametric Stereo...
Selur
17th October 2009, 13:22
DOH,..!!!!! YOU ARE SO RIGHT!!!
Thanks ! ;)
microchip8
17th October 2009, 13:56
Yep, I completely missed the part too where you forced channels to 6 and then trying to encode to HEv2 :S
I'll also have to update h264enc to catch this thing ;)
Selur
17th October 2009, 15:00
rev560
*fixed*
- some small bugs
- size calculation looping
-> updated links in 1st post
Riki
18th October 2009, 01:48
Its been a while so I thought i would throw in another feature request, haha. This one is minor but I usually have a huge list of videos and sometimes 4+ encoding at the same time. Its hard to see them all and it would be great to have an option to toggle the output off or a way to drag just the jobs window bigger which will make the output smaller, etc. Like I said, this is minor so no biggie, I have a high resolution monitor so I just usually make the window huge.
Also in the status column the text seems to be centered and when a video is finished it pushes the other text out of range usually, it would be nice if the text was set to left instead of center.
Cheers!
Selur
18th October 2009, 08:36
Changing Layout settings without a restart of the GUI is a really pain ... but assuming I'm the only one that really looks at the console output I minimized the console output. (since it's also possible to see the console output in a separate window this should be okay for most people ;))
What OS are you using? (so I can send you a test version)
Cu Selur
Ps.: May be I should make a list what OS each user is using since I can't remember it and I always have to ask. ;)
Riki
18th October 2009, 14:45
haha, Ill always be on 64-bit Windows. :)
microchip8
18th October 2009, 14:50
haha, Ill always be on 64-bit Windows. :)
Too bad, so sad :P
Riki
18th October 2009, 14:55
haha, I have no choice! I use alot of graphic apps that are windows only (like 3ds Max, Unreal Editor 3, etc). Im actually on a Mac Pro but I never really go into osx.
edit: I would use fusion or parallels or something but until they can use the full power of the mac for windows apps, its pointless for me.
Riki
20th October 2009, 17:50
Thanks Selur, works perfect!
Riki
20th October 2009, 17:51
I have a couple questions, hopefully I could get some insight.
#1 Would you happen to know how to set a keyframe interval with sx264?
Below is some support response Im getting from the wowza streaming server guys.
Another issue might be the key frame interval. What key frame interval did you use when you encoded the video? If it is high(key frames are not very often) then when it reloads the buffer it will go back in time to get the previous key frame to its current location. If there are not a lot of key frames then it will keep jumping back in the video and replay the same segment.
#2 I currently use CRF for everything. Forgive me for a noob question but does this give the mp4 file a crazy variable bitrate throughout the video? For a web streaming server, would it be better to use specific bitrate rather than CRF?
Selur
20th October 2009, 17:56
#1 Would you happen to know how to set a keyframe interval with sx264?
Encoding->GOP size min/max -> min = minimal keyframe interval, max = maximal keyframe interval
#2 I currently use CRF for everything. Forgive me for a noob question but does this give the mp4 file a crazy variable bitrate throughout the video? For a web streaming server, would it be better to use specific bitrate rather than CRF?
Nope, should be fine assuming you set the VBV values accordingly. ;)
For streaming, set bufsize equal to (maxrate) * (number of seconds the player is set to buffer).
see: http://forum.doom9.org/showthread.php?t=147153
Cu Selur
Riki
20th October 2009, 18:00
Thanks!
Nope, should be fine assuming you set the VBV values accordingly.
Yeah about that, I havent been using 2-pass but it sounds like I need to. I just hate that it takes so much longer to encode. So if I use 2-pass it will automatically set these values for me?
Selur
20th October 2009, 18:17
1st all mode except 1pass constant quantizer should support vbv nowadays. (crf and 2pass should both work fine <- there have been a lot of optimizations for this in the last months in x264)
2nd if you need/want other values than defined by the profile you selected, you always have to set them manually. ( (s)x264 can't know the 'number of seconds the player is set to buffer' ;))
3rd yes, for streaming it's probably the best to use 2pass encoding since you normally want a specific bit rate; '1pass average bit rate' might also be fine, but to be frank I'm not sure how bad quality will be hit when using 1pass cbr with vbv (best ask Dark Shikari, he probably can answer this in a sentence or two without breaking a sweat)
-> best use 2pass and set vbv values manually
Cu Selur
Riki
20th October 2009, 18:33
Thanks for the detailed answer. I have a feeling you are anticipating my next question, but I have a feeling I will need to research it well to get an understanding.
How do I find out what values I need to manually put for vbv? :)
Riki
20th October 2009, 18:38
Dont answer that, I found the perfect thread. :D
http://forum.doom9.org/showthread.php?t=147153
Selur
20th October 2009, 18:44
I would suspect that:
VBV Max Bitrate should be set to the average bit rate you are aiming for
and
VBV Buffersize should be set to e.g. 2*max Bitrate. (probably depends on what you are streaming and what the player supports; last project I worked on in this department I choose 5 as factor)
But, I'm really no expert in streaming so better ask Dark Shikari and check out the thread I linked to above. (there might also be some other threads related to streaming :))
Dont answer that, I found the perfect thread.
too late ;) btw. that's the thread I linked to ;)
Cu Selur
Riki
20th October 2009, 18:56
Doh, you beat me to it, haha.
I went ahead and asked a vbv specific question there. It all makes sense now but I just need to figure out what to put for the buffer size. Im using a dual buffer on the streaming client so i wonder if I go with the maximum buffer or not, I also wonder what the harm in setting this value to being too large. Since my large buffer is 10, maybe I can just go *10
Selur
20th October 2009, 19:01
don't know if this is only a server-sided question or if it might be a good idea to investigate if the used flash player has any internal defaults ;)
Riki
20th October 2009, 19:03
Here is one thing that seems odd to me. If I am setting the max bitrate, what does that do to the CRF? So for example if I set a CRF of 18 and a max bitrate of 500, will it conflict with the quality? Sounds like its almost the same as specifying a bitrate.
Selur
20th October 2009, 19:17
http://handbrake.dynaflashtech.net/cgi-bin/vbv_calculator.cgi might be interesting other than that I would have to test too, not sure what will have a higher priority the crf or the vbv values. ;)
Riki
20th October 2009, 19:32
thanks, this is a paradigm shift for me in many ways. I always figured smaller filesize was all that was needed to make a fast stream, but thats just not true with streaming, its a whole different transmission.
I did at test at max 500 and it did a great job!
Selur
20th October 2009, 19:34
Nice :)
Riki
20th October 2009, 19:34
in sx264 when I drag in multiple videos it resets the VBV, is there any way to type in a value there and have it remember like with other settings?
Selur
20th October 2009, 19:43
not atm. ;) iirc sx264 will reset the values to the maximum allowed by the level, but I'll try to make a quick fix to disable this behavior and send you a test version
Riki
20th October 2009, 19:48
Yeah, I was thinking something like you have with the resizing "Keep for new source"
Thanks man!
Selur
20th October 2009, 19:53
Isn't that easy since vbv values are adjusted for all kinds of reasons (level change, encoding type change, compatibility settings) will add an option that will disable this updating partially, which means it should disable setting a new value unless the value comes in conflict with the allowed maximum.
---
btw. just saw:
--b-pyramid <string> Keep some B-frames as references [none]
- none: Disabled
- strict: Strictly heirarchical pyramid
- normal: Non-strict (not Blu-ray compatible)
-> will update sx264 tomorrow
Cu Selur
Selur
21st October 2009, 10:42
rev561
*added*
- support for new bPyramid syntax:
--b-pyramid <string> Keep some B-frames as references [none]
- none: Disabled
- strict: Strictly heirarchical pyramid
- normal: Non-strict (not Blu-ray compatible)
- keep vbv values option under misc->encoding settings which is needed when vbv values should not be
resettet on source change (e.g. during batch encodes); If value conflicts with max/min values, they will
still be changed.
*cosmetics*
- minimized size of Console Output inside Job Manager
*fixed*
- mp4 multiplexing
- x264 command line updates
Important:
- Requires x264 rev 1301+
- Reset Defaults
-> updated links in 1st post
Cu Selur
Ps.: *silent update*
- fixed small typo
- removed lower refs for b-pyramid option; better use "strict"
Alex_080
22nd October 2009, 01:27
Hi Selur can you give link for x264 rev 1301+ which is comfortable with sx264 because i downloaded one but it shows error
Pitti
22nd October 2009, 05:34
http://x264.nl
Selur
22nd October 2009, 08:56
x264.nl's build are non-modified builds and normally I compile x264 myself of use the builds of JEEB (last one is here: http://forum.doom9.org/showthread.php?p=1336131#post1336131) since sx264 wants the option provided through the x264_hrd_pd_interlace patch. :)
Cu Selur
Riki
22nd October 2009, 14:13
Good to know, Ive been using the x264.nl builds.
If you arent doing interlacing, perhaps the builds of JEEB arent needed? Are there any other benefits to using this, or the sharktooth builds?
Selur
22nd October 2009, 14:55
Depends on the patches applied, since the nal-hrd patch is the only one that seemed interesting to me, since it is needed for blu-ray compatibility, it's the only one directly supported via sx264, any additional new options have to be used via custom command line additions. :) Personally I prefer to stick as closely as possible to the unpatched sources to limit the trouble with compatibility issues caused through the patches. (can't wait till the hrd patch will be a permanent part of x264 ;))
Riki
26th October 2009, 02:58
So Ive done some tests and as promised Ill just post something I found out. To achieve a lower bitrate you need to use both vbv and the CRF quality together.
For example I had a quality of 26 and a vbv of 100/1000 and I tried taking the vbv lower but it wouldnt seem to do anything if I went lower, it was as if the CRF was forcing it to stay at a certain level. If I changed CRF to 30 and left VBV alone, the bitrate would go down, so my conclusion is these work together somehow.
After my testing and many posts here I learned a lot and now Im much more confident with encoding for streaming :)
Selur
26th October 2009, 08:48
I tried taking the vbv lower but it wouldnt seem to do anything if I went lower, it was as if the CRF was forcing it to stay at a certain level.
good to know :)
Never tried it but, changing: 'Max quantizer difference' and 'Quantizer max' also have something to do with it. ;)
For those wondering what this is about: The question was how vbv limits and crf interact. :)
Selur
28th October 2009, 14:11
Since I'm working on the sx264 successor, from time to time, I compiled a small preview for the windows users. (handling in general is similar to sx264) ;)
The preview allows extracting, job creation, etc. the main thing that's not working is job handling (working of the created jobs, since I'm thinking about how to design it and I'm out of free time atm. -> so no encoding is not possible with this version).
So for the interested windows users: http://www.megaupload.com/?d=L9WBM7UD (contains a 32bit and 64bit windows binary, mediaInfo, mkvextract, mp4box, avsInfo and mplayer to allow preview, analysis and some extractions)
For those who actually check it out, would be nice if you see a bug or if you see a missing feature: mention it here.
Cu Selur
CpT
28th October 2009, 17:29
I like the gui ;)
I also dig the Target Mode option and how it saves the setting for the next encode. That was the only thing I had to change per encode.
The audio tab is a little hard to find. But I'm guessing your planning on adding labels next to x264 and the audio drop down on the Main tab.
I've done simple test with windows 7 32 and 64 bit and the gui loads up and saves/remembers all my settings on re-open for both versions.
Can't wait for a working alpha ;) :thanks:
Selur
29th October 2009, 00:14
Thanks for the feedback. :)
The audio tab is a little hard to find. But I'm guessing your planning on adding labels next to x264 and the audio drop down on the Main tab.
Maybe, not totally sure about this and some other small GUI related things, which is one of the reasons I published this preview -> there's always things one misses and if you design the frontend you know it to well to see some things. ;)
Cu Selur
microchip8
29th October 2009, 00:48
so are you phasing out sx264 and "replacing" it by this new one, or are you going to simultaneously develop both at same time? will the new one be available for linux too?
Selur
29th October 2009, 01:05
Yes, Hybrid will be available on Linux too. :)
I will fix bugs in sx264 and mainly develop Hybrid (<- better code, since it contains everything I learned with sx264 ;)). sx264 will be discontinued, when Hybrid is as stable as sx264 atm and Hybrid covers all features sx264 does.
Hybrid is mainly a rewrite of sx264, which was needed to support multiaudio/video, audio/video passthrough and some other stuff. sx264's code really is 'ugly' since it's mainly a 'testing platform'. One thing I'm thinking about atm. is how to design the job handling system, to support encoding on different systems. (One 'server' which mainly handles the queue and multiple workers which each get X jobs (and the corresponding sub-jobs), the idea is to be able to add/remove workers/pcs while a job-Queue is processed.)
But before really thinking about job handling I wanted to check if I missed a feature, screwed up the general handling, etc.
Cu Selur
Ps.: Before I start to implement the job handling I also have to buy a new keyboard, since current keyboard sometimes misses a keypress, if the key wasn't pressed hard enough,.. (which is probably my fault since this happens after I dis- and reassembled it for cleaning ;)) (going to by a Microsoft Ergonomic Keyboard 4000 again since I got used to it and my current one did perform well until I cleaned it :) *aaaargh*)
Alex_080
29th October 2009, 08:46
Hi Selur
when i m encoding any *.mkv file the encoding process done successfully but the audio and video don't match in output file ..help!
Selur
30th October 2009, 14:58
can reproduce this with input files which have an a/v delay since the muxing call got a bug, but since you said this happens with any file and I can't reproduce this with input files that have no a/v input delay it might be helpful if you could check if all your file you got a problem with do have an input a/v delay.
Cu Selur
microchip8
30th October 2009, 15:03
Selur, thx for the info on the new Hybrid... any info or ETA when first "public" release of Hybrid is due?
Selur
30th October 2009, 15:05
Nope, will wait for some input regarding current layout&Co, then update my Linux systems and after that start implementint the jobHandling part. ;) (looking at my free time plans I aim to release at the end of this year :))
Selur
30th October 2009, 16:23
rev562
*fixed*
- mkv multiplexing with a/v delay
-> updated links in 1st post
Alex_080
31st October 2009, 08:33
Hi Selur
i still face audio-video synchronization problem in *.mkv file.
For e.g when i am encoding a .mkv file which has 3235ms delay , the encoding done perfectly but the output file is not perfect.
Selur
31st October 2009, 08:48
If you upload a small sample video where this happens on reencoding I can look into it.
Riki
2nd November 2009, 16:41
Hybrid looks amazing, but it crashes everytime for me with both the 64bit and 32bit versions , Im on windows 7 pro 64bit
Edit* It crashes when I hit start/add
CpT
2nd November 2009, 17:25
-> so no encoding is not possible with this version).
Cu Selur
It's not finished.
Riki
2nd November 2009, 17:26
Oh I see, I thought it would do something because he made a full package with all the encoding stuff. So far its great!!
CpT
2nd November 2009, 17:36
Yea its really slick for sure.
@Selur:
I think I just found a bug btw.
When turning on enable resizing -> setting target resolution @ 720 width for example -> then choose auto adjust height @ mod 16 and keep for new source -> hitting save defaults @ Misc page -> then restart hybrid.
On restart it wont save those settings. It defaults back to 1280x720 @ mod 2. Save for new source seems broke.
Selur
2nd November 2009, 18:13
@CpT: Yup, there's a bug somewhere, will fix it. Thanks for the input. :)
@Riki: Found the problem, will fix it. Thanks for the input. :)
Riki
2nd November 2009, 18:21
Thanks.
btw, is there any way to do a specific filesize/bitrate (1-pass)? Ive been testing for a way to get something more of a CBR. I was reading a long thread about it and they were mentioning just doing 1 pass instead of 2.
Selur
2nd November 2009, 18:26
Best way to archive something similiar to cbr would be:
1. adjust vbv values, see: http://forum.doom9.org/showthread.php?t=102893
2. set qcomp to 0
Riki
2nd November 2009, 18:36
thanks Ill try that, Took me a while to see that its called Curve Compression in sx264 :)
Selur
2nd November 2009, 18:38
He,he happy you found it :)
Riki
2nd November 2009, 18:51
Ive noticed a few changes in sx264, now Macroblock Tree has a lookahead (frames) cap of 100 (I think it used to be 250. Also under Misc there is an Input lookahead value there that goes up to 250. What is different about the Input lookahead under Misc?
Selur
2nd November 2009, 18:56
Input Lookahead <> --sync-lookahead <integer> Number of buffer frames for threaded lookahead
--sync-lookahead is limited to [threads+bframes, 250]
Lookahead under RateControl <> --rc-lookahead <integer> Number of frames for frametype lookahead [40]
rc-lookahead is limited to [1, min(keyint,250)]
see thread: http://forum.doom9.org/showthread.php?p=1321220
Cu Selur
Riki
2nd November 2009, 19:10
thanks, the sync-lookahead is new to me. Since I have a fast computer I will set these both to as high as possible :p
Selur
2nd November 2009, 19:12
keep an eye on the RAM usage these settings will cause x264 to hock a huge amount of RAM and x264 will crash/stop when it runs out of RAM. ;)
Riki
2nd November 2009, 19:13
Ok Ill keep an eye on it, right now I have 16GB which is a lot but Im surprised to see some 64bit apps just eat it like candy :p
Selur
3rd November 2009, 21:21
btw. fixed the Hybrid bugs -> http://www.selur.info/test/HybridTest.zip cotnains fixed .exe files. :)
Riki
3rd November 2009, 21:25
Thats great news, I cant wait to test it!
CpT
3rd November 2009, 22:53
So does this one actually encode? Or another gui test?
Selur
3rd November 2009, 22:54
gui test, encoding is one of the last things to be added :)
Riki
3rd November 2009, 22:59
oh, you had my hopes up :P
Selur
3rd November 2009, 23:01
like I said: "looking at my free time plans I aim to release at the end of this year"
CpT
3rd November 2009, 23:02
Ok cool.
I'll try on win 7 in a few Thanks!
Riki
3rd November 2009, 23:05
I know, I know. I was thinking for complete version. ;)
Riki
4th November 2009, 17:36
I spend a lot of time with sx264 and the more I use it, the more I love it. Although my uses for it may be more specialized, I do have a few more small ideas.
In the Job Control, it would be nice to be able to select multiple videos and when you hit remove it will remove only the selected ones.
In the Job Control, if you Clear Finished on a lot of videos it freezes up sx264 for quite a bit while it clears it one by one. Im not sure if its possible, but maybe there is a way to remove videos faster. I usually encode 100s of videos at one time, I doubt that most people do that :p
Riki
4th November 2009, 17:43
I also noticed this in the task manager, maybe thats why its slow.
http://img177.imageshack.us/img177/3701/snag0012.jpg
Should sx264 need so much memory?
Selur
4th November 2009, 17:46
Nope it should not. :)
Probably a memory leak somewhere,... btw. (562 is the current Version)
-> will do some tests to find the problem. ;)
Riki
4th November 2009, 17:47
thanks, ive been encoding for a few days with the que so I havent updated, the que should be finished today I hope :)
Selur
5th November 2009, 08:15
would be nice if you could do some tests to see what interaction is triggering the memory usage. (got a bunch of ideas but will not have time for it until this evening - it's morning here atm :))
Riki
5th November 2009, 12:27
Ill try and see, the encoder was working for many days so it may be hard to reproduce. It never crashed though, just a bit slow when removing finished files.
Selur
5th November 2009, 14:38
hunting it down, found some minor memory leaks, but the memory usage is not a leak but a case of allocation and not releasing when possible -> crawling through the code (to be frank I didn't care much about memory usage during implementation since sx264 is mainly a 'playground' and my max-queue-size I normally use is 10 ;))
Cu Selur
Riki
5th November 2009, 14:45
I agree, the memory usage wasnt a problem. Mainly it would be nice to update the remove button to also check selected. Sometimes I will add 10 videos to a que of 100 and realize I had the wrong settings, so to remove all 10 from the que is painful :p
Selur
5th November 2009, 17:27
will look into that after I find the memory problem,... even for e.g. 400 files memory usage shouldn't be near 1GB,..
Selur
6th November 2009, 10:12
rev563
*fixed*
- avchd muxing
- (minor) memory leaks
*changed*
- deleting unneeded avchd folders after creation with tsMuxeR
- internal queue partially to lower memory usage and job queue handling speeds
Comment:
I don't understand memory usage under Windows, on Linx using valgind&Co I monitored memory usage and sx264 does spike on model creations and queue handling (basically xml handling) but it goes down do arround 11MB on Windows machines according to taskmanager memory usage doesn't go down :/, but I'm suspecting this is a windows not 'taking back' available
memory.
-> updated links in 1st post
Cu Selur
Ps.: yes, selecting multiple files and pressing the remove button should now also remove all of them.
Riki
6th November 2009, 14:12
Thanks Selur!!!!!
Alex_080
8th November 2009, 12:30
Hi Selur this version rev563 shows error with some file (means some*.DAT and *.mvk files) which are perfectly done with previous version rev562.
Can You give me the previous version sx264 rev563
Selur
8th November 2009, 12:34
it would help if you could be a bit more specific about the error, what you did,... <- otherwise this won't change
rev562 should be still available at:
sx264 Win32: http://www.selur.info/sx264/sx264_Alpha_rev562.zip
sx264 Win64: http://www.selur.info/sx264/sx264_Alpha_64bit_rev562.zip
sx264 Source: http://www.selur.info/sx264/sx264_AlphaSource_rev562.zip
sx264 Linux32bit binary: http://www.selur.info/sx264/sx264_alpha_rev562_binary.zip
sx264 Linux64bit binary: http://www.selur.info/sx264/sx264_alpha_rev562_64bit_binary.zip
Alex_080
8th November 2009, 12:41
in some file audio encoding done perfectly but when pass 1 start following error show
video encoder crashed----
Selur
8th November 2009, 12:47
Reset Defaults (under Misc), Restart sx264, enable debug output (Misc-> Input, Interface and Log -> Log Settings -> Create debug file), do the steps that cause the crash, send me the created debug file via PM or upload it somewhere so I can download it.
Hopefully I can than reproduce the problem, if you got a small sample file with which you can reproduce the problem it would also help if you cold pload it somewhere so I can download it.
Cu Selur
Alex_080
8th November 2009, 12:56
Hi Selur i send you debug report via PM
Selur
8th November 2009, 16:43
You send me the report not the debug info,...
x264 --profile high --pass 1 --bitrate 349 --level 4.1 --ref 1 --keyint 250 --min-keyint 25 --scenecut 40 --bframes 3 --b-bias 0 --b-pyramid strict --direct auto --cplxblur 20 --qcomp 0.5 --no-mbtree --rc-lookahead 40 --qblur 0.5 --sync-lookahead 6 --qpmin 1 --qpmax 51 --qpstep 4 --ipratio 1.4 --pbratio 1.3 --chroma-qp-offset 0 --partitions none --no-8x8dct --me dia --subme 2 --trellis 0 --aq-mode 0 --threads auto --filter 1,1 --stats "C:\DOCUME~1\Santosh\LOCALS~1\Temp\INPUT_170623015.stats" --fps 29.97 --output NUL - 720x400
Job 170623015 2009.11.08 - 17:23:16:
x264 [info]: 0x0 @ 29.97 fps
x264 [error]: Rawyuv input requires a resolution.
No clue why x264 doesn't find the resolution, x264 call looks fine to me (and does contain the resolution). :/
-> if you can make a small sample (< 10MB) I can test with your sample.
Cu Selur
Alex_080
9th November 2009, 00:23
Hi Selur Problem Solved .
i replace the old x264 with newest one (JEEB's x264 r1318 32bit) then encoding of same file done perfectly.
One thing more... when i encode a file with 5 frames but in mediainfo it shows 4 frames why ??
Alex_080
12th November 2009, 01:14
Hi Selur
I have noticed that those file which have 100ms+ delay , sx264 unable to convert perfectly (Audio-Video Synchronous Problem)
Selur
12th November 2009, 08:03
One thing more... when i encode a file with 5 frames but in mediainfo it shows 4 frames why ??
No clue, probably something is wrong with the file. ;)
I have noticed that those file which have 100ms+ delay , sx264 unable to convert perfectly (Audio-Video Synchronous Problem)
send me a sample + a short description of what you did and I'll look into it
Cu Selur
Alex_080
12th November 2009, 12:54
Here is Sample Which have delay 32s 585ms (Duration: 3mn 47s)and can not perfectly convert by sx264.
The file is ok because i check with other converter and they convert perfectly.
http://rapidshare.com/files/165614295/Jee_Karda_-_UpScaled__1280x528__-_AC3__-_TUHIN_SHAKIL.mkv
And Here is Debug Report of that file
http://rapidshare.com/files/305920146/sx264Debug.txt
And Please check with mediainfo when you convert with sx264 to see about frame problem.
--->First i put input file then go to advanced confi. and in encoding tab i set general frabe setting to 5
--->Then i go to audio tab and set reencode audio stream and set Nero ACC with bitrate 64kbit/s( here tik mark present in the Grab delay from file name)
--->Then i go to Misc tab and set output container to .mkv
--->Then go to Main tab and set output location and start encoding.
Other Setting Same As Default
Thanks..:)
Selur
12th November 2009, 13:38
Will look into the delay problem later tonight. :)
Selur
12th November 2009, 15:11
had a fast look at it and think I know that the problem is :)
mkvmerge -o "....\My Documents\asa.mkv" --default-duration 0:23.976fps --aspect-ratio-factor 0:1/1 --fourcc 0:MP4V "....\LOCALS~1\Temp\asa_133320234.264" --sync 1:32585 "....\LOCALS~1\Temp\asa DELAY 32585ms_133320234.aac"
instead of '--sync 1:32585' it should be '--sync 0:32585', since it's stream number 0 in "....\LOCALS~1\Temp\asa DELAY 32585ms_133320234.aac" will test this once I get back home and send you a link to a test version via pm.
-> fixed that, but it didn't fix the asynch (completly) of the output which might be related to:
Warning: 'C:\Users\Selur\Desktop\Jee_Karda_-_UpScaled__1280x528__-_AC3__-_TUHIN_SHAKIL.mkv' track 2: This AC3 track contains 1792 bytes of non-AC3 data which were skipped. The audio/video synchronization may have been lost.
which happens when I try to remux the file with mkvmerge
Cu Selur
Selur
12th November 2009, 19:34
rev564
*fixed*
- '--sync' parameter of mkvmerge call (now: --sync 0:..)
*added*
- support for
--weightp Weighted prediction for P-frames [2]
- 0: Disabled
- 1: Blind offset
- 2: Smart analysis
*cosmetics*
- set sx264s weightedP default to disabled
*updated*
- windows package
Needs up-to-date mediainfo and x264 version
-> updated links in 1st post
microchip8
12th November 2009, 19:42
Can't download source. Got this from the server
"The document name you requested (/sx264/sx264_AlphaSource_rev564.zip) could not be found on this server. However, we found documents with names similar to the one you requested."
Selur
12th November 2009, 19:53
should be okay now :)
CpT
12th November 2009, 21:24
Latest 32 bit version reads sx264 Alpha - rev563 in the title for the app.
sx264 Win32: http://www.selur.info/sx264/sx264_Alpha_rev564.zip
Is it a typo or is the download link wonko?
Selur
12th November 2009, 21:29
packed the wrong file,.. (damn need more sleep)
-> will fix it (windows package too contains the wrong file)
CpT
12th November 2009, 21:31
Ok thanks for the heads up ;)
Selur
12th November 2009, 21:38
Ha, found the problem, moved my svn repository from a remote site to my home server (due to some server trouble) and forgot to update the pathes on my win32 system. ;)
-> compiling now (takes ages on my mac mini :))
-> fixed http://www.selur.info/sx264/sx264_Alpha_rev564.zip, uploading windows package atm. will update link in 1st post when finished.
-> fixed,...
CpT
12th November 2009, 21:54
Sweet!
Thanks Selur!
Selur
13th November 2009, 11:38
rev565
*fixed*
- "weightedP" not changing properly, due to index mixup
*added*
- support for:
"--constrained-intra Enable constrained intra prediction."
Which is afaik only is needed when doing SVC (http://en.wikipedia.org/wiki/Scalable_Video_Coding),...
Reset Defaults on first start
-> updated links in 1st post
flebber
13th November 2009, 12:23
With your last version I was specifying my video options and specs, I didn't have a file loaded as I was creating profiles. I opened the Profile Manager and chose save as for the general profile option. I then received a visual studio error, stating that the 'Just in Time Debugger was not enabled and that I could enabl the debugger from the Tools Options Menu.
After pressing okay to the message x264 crashed.
Selur
13th November 2009, 12:24
last version beeing 565 ?
flebber
13th November 2009, 12:33
yes indeed
Selur
13th November 2009, 12:34
ok, will check&fix :)
-> redownload sx264 should be fixed now (made a 'silent update')
flebber
16th November 2009, 02:35
I like the layout of Hybrid. Its a lot cleaner and logical. The only thing I couldn't see was audio encoding tab or choices.
Pitti
16th November 2009, 06:39
look at the picture ;)
Selur
16th November 2009, 07:28
Under the VideoHandling-ComboBox (where x264 is selected) is the AudioHandling-ComobBox. ;)
Current version looks like this:
http://img410.imageshack.us/img410/3927/maintab.png
flebber
16th November 2009, 08:01
http://farm3.static.flickr.com/2570/4108691896_802cfae0f8.jpg
Selur
16th November 2009, 08:03
You are in the MainMenu of the Video-SubMenu (x264) not in the MainMenu and since audio handling is set to 'ignored' in the MainMenu it's tab is removed. ;)
TRF
19th November 2009, 16:52
link for linux 64 on first page for binary is not a binary ;)
Selur
19th November 2009, 16:56
thanks for the info, should be fixed now :)
TRF
22nd November 2009, 09:35
Hello Selur, may I made a proposal for 1st post ... Since latest versions of sx264 require latest versions of x264 ( ;) ) may I point a good faq for any distro (writen on ubuntu forums though) ... http://ubuntuforums.org/showthread.php?t=786095 <==> as far as I'm swithching between Debain Lenny/Testing it realy helps me ...
Selur
22nd November 2009, 09:37
will but it in the 1st post
Alex_080
5th December 2009, 08:23
Hi Selur can you add mkvmerge v2.9.9 in you package please
Selur
5th December 2009, 08:25
yup will do, planning a new release for one of the next days :)
Selur
5th December 2009, 18:28
sx264 rev566
*fixed*
- automatic tempPath<-outputPath adjustment
- added '-forcedsubsonly' to make sure embedded subtitles from mkv aren't imported through mencoder automatically
- general profile saving
*updated*
- windows package (added mkvextract for those who want to test Hybrid)
----------
Hybrid vers.091205
- job list isn't saved atm. so don't wonder if you close it and lose the job list
- there is no source code available for the public atm.
- if you tested a previos version reset the defaults (under Misc)
- might have a lot of bugs :)
-> updated links in 1st post (fixed downloads, accidentally I created a subfolder, which I removed now ;))
Selur
6th December 2009, 20:59
Hybrid vers.091206
*fixed*
- small typos
- tag&audio handling
*cosmetics*
- adjusted defaultTemp/Output/...Path to native system view
Downloads:
Hybird Win32: http://www.selur.info/sx264/Hybrid_091206.zip
Hybird Win64: http://www.selur.info/sx264/Hybrid_091206_64bit.zip
Hybrid Linux32bit binary: http://www.selur.info/sx264/Hybrid_091206_binary.zip
Hybrid Linux64bit binary: http://www.selur.info/sx264/Hybrid_091206_64bit_binary.zip
CpT
6th December 2009, 21:02
Does the new hybrid encode? Or is it still just for gui testing?
Selur
6th December 2009, 21:06
Nope, it should be able to encode/passthrough/ignore a stream, now.
Probably still got a bunch of small bugs, so I'm happy of any report of such a bug. :)
CpT
6th December 2009, 21:08
Great! I'll run a few vids though it. TY!
Selur
6th December 2009, 21:11
That would be great since I ran a bunch of test that worked fine, but the very amount of combinations of features is too much to test for me. :)
-> every glitch&co you find I welcomed :)
Hybrid vers.091207
*fixed*
- save audio settings in defaults
- mediainfo framerate detection
- ffmpeg audio extraction
- typo 'preset very fast' -> 'preset veryfast'
Hybrid vers.091207_2
*fixed*
- connected 'clearAudioOnAVInputChanged'-Button
- mp4 muxing&tagging fixed
Hybrid vers.091207_3
*fixed*
- subtitle Handling
- default pass handling
- bunch of small typos
- tag handling
Cu Selur
Selur
8th December 2009, 22:56
Hybrid vers.091208
*fixed*
- a bunch of decoding related bugs that caused crashes
- aspect ratio
Reset Defaults on first start
Cu Selur
Ps.: Thanks for the feedback so far. :)
CpT
8th December 2009, 23:14
Nice, Audio is now working ;) I'll run more tests.
Betsy25
8th December 2009, 23:30
Hi Selur, sorry if I sound like a retard, but could you explain the meaning of a Hybrid version ?
Is that some kind of stable version, or quite the contrary ?:stupid:
Selur
9th December 2009, 08:28
more the contrary ;) Hybrid is the follow up project to sx264 with multi audio/video handling, better chapter&subtitle support and which will get some nice features later (e.g. other codecs)when it's more stable.
It's mainly a rethought-sx264 which still is full of typos and small bugs, so it's more instable than sx264 but I'm happy to get feedback about bugs and glitches.
Cu Selur
Selur
10th December 2009, 12:20
sx264 rev567
*added*
- '--sliced-threads' support -> option requires x264 r1369+
(will upload a new windows package, once there's a 1369+ revision that doesn't seem to be broken, see 'x264 development'-thread)
Reset Defaults in Misc-register on first start
-> updated links in 1st post
----------
Hybrid vers.091210
*fixed*
- "--preset very fast" -> "--preset veryfast"
*added*
- '--sliced-threads' support -> option requires x264 r1369+
*cosmetics*
- '--weightp X' to preset definitions of minimize command line routines
Reset Defaults in Misc-register on first start
Selur
11th December 2009, 13:17
Hybrid vers.091211
*fixed*
- not deleted files
- tagging und chapter hangling regarding mp4
- dvd handling
CpT
11th December 2009, 15:50
Nice!
I'll grab and test a lil bit later + report results.
buzzqw
11th December 2009, 17:25
http://www.selur.info/sx264/Hybrid_091211.zip link broken
BHH
Selur
11th December 2009, 20:28
thanks, fixed :)
Selur
13th December 2009, 13:21
*updated*
- windows package
- new x264 version (techhouse 1373M)
- new ffmpeg version (r20817) from http://ffmpeg.arrozcru.org/autobuilds/
- new mp4box build (0.4.6-DEV)
- new mkvmerge/extract (3.0)
- older tsMuxeR build (1.10.1b)
Alex_080
14th December 2009, 02:43
Thanks Selur for the new package :)
CorruptNova
17th December 2009, 22:42
It seems that you can't change the --fps param from its default which is --fps 25 in either version of sx264. Its not a huge problem, but it just gets a little annoying.
CpT
17th December 2009, 23:09
It seems that you can't change the --fps param from its default which is --fps 25 in either version of sx264. Its not a huge problem, but it just gets a little annoying.
You can in sx264 in the ->command line addition area. otherwise it uses the source video fps.
Hybrid still tossed 25 in there.
MySchizoBuddy
18th December 2009, 23:29
you should atleast provide one complete package with all dependencies, after that only provide updates to sx264 only
xdaft
19th December 2009, 08:14
you should atleast provide one complete package with all dependencies, after that only provide updates to sx264 only
http://85.230.118.136/showpost.php?p=1222240&postcount=1
There is a mediafire link with a pack :) All you need to do is download NeroAAC files seperately.
Selur
19th December 2009, 23:26
It seems that you can't change the --fps param from its default which is --fps 25 in either version of sx264.
sx2164 should set the frame rate according to the frame rate it detected for the input. (If this does not work for your clip please post a sample since it works fine for me.
If you want to change the output frame rate, look under Filters/Subtitle.
You can in sx264 in the ->command line addition area. otherwise it uses the source video fps.
Hybrid still tossed 25 in there.
both sx264 and Hybrid should always take the detected frame rate for --fps unless one uses a filter which changes the frame rate.
Selur
20th December 2009, 10:25
Hybrid vers.091220
*fixed*
- keep resize values after restart
- forcing b-frame pyramid strict only for Blu-ray/AVCHD
- job creation call
*changed*
- compiling with QT 4.6 on Windows
CpT
20th December 2009, 18:25
The crop and resize save now after restart wewt!
Bugs:
Audio track is off even when setting the delay ms @ 0
Tagging options won't stay after restart.
Its shaping up nicely though. Lots of things fixed, can't wait till its done!
Selur
21st December 2009, 00:07
Tagging options won't stay after restart.
Wanted to add an option for that but didn't find the time,.. :) (but it will come)
Audio track is off even when setting the delay ms @ 0
could you send me a small sample where this happens, so I can reproduce it? (works fine on my sample clips)
CpT
21st December 2009, 06:54
I pm'd u a link.:cool:
Selur
21st December 2009, 15:56
Thanks!
Send you a link to a hopefully fixed version. :)
Cu Selur
xdaft
21st December 2009, 19:15
When converting from DVD as a result I got 3 streams (1 video and 2 audio) which have different length :( . See photo pls :( http://img412.imageshack.us/img412/9982/snag0283.jpg
Selur
21st December 2009, 19:31
only thing I see is:
98 <> 117
which looks like
25 <> 29.976
don't see the connection to sx264/Hybrid
=> if this has anything to to with sx264/Hybrid and you are looking for help it might be a good idea to post some additional infos and some sentences that explain a bit more detailed what's the problem. (are you even sure these times are correct?)
xdaft
21st December 2009, 19:58
Sorry I gave no info :( Yes done it with Hybrid (rev 091220) . Yes the times are correct (checked via starting the file and mediainfo and vlc info). I forgot to check the make log file so I'll have to post some photos of the queue. Again I appologize for ,y kinda stupid post. I can upload a sample later if you want ?
http://img687.imageshack.us/img687/3091/16606000.png
Again I appologize for my stupid post.
p.s.: MediaInfo :
General
Complete name : E:\King Crimson - Eyes Wide Opened DVD1.mp4
Format : MPEG-4
Format profile : Base Media
Codec ID : isom
File size : 2.08 GiB
Duration : 1h 57mn
Overall bit rate : 2 531 Kbps
Encoded date : UTC 2009-12-20 17:24:10
Tagged date : UTC 2009-12-20 17:24:10
Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L4.1
Format settings, CABAC : Yes
Format settings, ReFrames : 3 frames
Codec ID : avc1
Codec ID/Info : Advanced Video Coding
Duration : 1h 57mn
Bit rate mode : Variable
Bit rate : 2 000 Kbps
Maximum bit rate : 10.8 Mbps
Width : 720 pixels
Height : 480 pixels
Display aspect ratio : 1.685
Original display aspect ratio : 1.688
Frame rate mode : Constant
Frame rate : 25.000 fps
Standard : NTSC
Resolution : 8 bits
Colorimetry : 4:2:0
Scan type : Progressive
Bits/(Pixel*Frame) : 0.231
Stream size : 1.64 GiB (79%)
Title : King Crimson - Live
Writing library : x264 core 80 r1373M 4322f63
Encoding settings : cabac=1 / ref=3 / deblock=1:-1:-1 / analyse=0x3:0x113 / me=hex / subme=7 / psy=1 / psy_rd=1.0:0.0 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=3 / sliced_threads=0 / nr=0 / decimate=1 / mbaff=0 / constrained_intra=0 / bframes=3 / b_pyramid=0 / b_adapt=1 / b_bias=0 / direct=1 / wpredb=1 / wpredp=2 / keyint=250 / keyint_min=25 / scenecut=40 / rc_lookahead=40 / rc=cbr / mbtree=1 / bitrate=2000 / ratetol=2.0 / qcomp=0.60 / qpmin=10 / qpmax=51 / qpstep=4 / vbv_maxrate=2000 / vbv_bufsize=78125 / ip_ratio=1.40 / aq=1:1.00
Encoded date : UTC 2009-12-20 17:24:10
Tagged date : UTC 2009-12-20 17:28:24
Audio #1
ID : 2
Format : AC-3
Format/Info : Audio Coding 3
Codec ID : ac-3
Duration : 1h 38mn
Bit rate mode : Constant
Bit rate : 256 Kbps
Channel(s) : 2 channels
Channel positions : L R
Sampling rate : 48.0 KHz
Resolution : 16 bits
Stream size : 180 MiB (8%)
Encoded date : UTC 2009-12-20 17:27:16
Tagged date : UTC 2009-12-20 17:28:24
Audio #2
ID : 3
Format : AC-3
Format/Info : Audio Coding 3
Codec ID : ac-3
Duration : 1h 38mn
Bit rate mode : Constant
Bit rate : 384 Kbps
Channel(s) : 5 channels
Channel positions : Front: L C R, Surround: L R
Sampling rate : 48.0 KHz
Resolution : 16 bits
Stream size : 269 MiB (13%)
Encoded date : UTC 2009-12-20 17:27:49
Tagged date : UTC 2009-12-20 17:28:24
Selur
21st December 2009, 20:05
Seems like there's something wrong with the frame rate. Input is detected as 29.976 but x264 command line shows --fps 25. :(
Will try to reproduce this,...
MySchizoBuddy
21st December 2009, 20:38
An option to batch trim files before encoding. or to only encode within a specific time so as to not encode the opening or closing credits
Selur
21st December 2009, 20:40
Does not exist and is not planned for the near future.
xdaft
21st December 2009, 21:55
I tried updating MediaInfo/Mencoder/Mplayer/FFMpeg and etc. With various versions :( No luck. Reverted to the mediafire package from your first post. Same fps 25 :( . I do not understand much of video converting and etc. so this is the only thing I could do. Maybe a custom command --fps 29.97 ? But it does not override fps 25 ? Right now I have no time to do this (and dunno when I'll have again) so I'm just giving a report of what I have done.
p.s.: checked with sx264 rev567 :
x264 --profile high --pass 1 --bitrate 539 --level 3 --ref 1 --keyint 250 --min-keyint 25 --scenecut 40 --bframes 3 --b-bias 0 --b-pyramid strict --direct auto --cplxblur 20 --qcomp 0.5 --no-mbtree --rc-lookahead 40 --qblur 0.5 --sync-lookahead 6 --qpmin 1 --qpmax 51 --qpstep 4 --ipratio 1.4 --pbratio 1.3 --chroma-qp-offset 0 --partitions none --no-8x8dct --me dia --subme 2 --trellis 0 --weightp 2 --aq-mode 0 --threads auto --sar 1000:888 --filter 0,0 --stats "PATH TO THE .stats FILE" --fps 23.976
x264 --profile high --pass 2 --bitrate 539 --level 3 --ref 3 --keyint 250 --min-keyint 25 --scenecut 40 --bframes 3 --b-bias 0 --b-pyramid strict --direct auto --cplxblur 20 --qcomp 0.5 --no-mbtree --rc-lookahead 40 --qblur 0.5 --sync-lookahead 6 --qpmin 1 --qpmax 51 --qpstep 4 --ipratio 1.4 --pbratio 1.3 --chroma-qp-offset 0 --partitions i4x4,p8x8,b8x8 --me hex --merange 16 --subme 7 --trellis 1 --psy-rd 0.8:0 --no-fast-pskip --weightp 2 --aq-mode 0 --vbv-maxrate 12500 --vbv-bufsize 12500 --threads auto --sar 1000:888 --filter 0,0 --stats "PATH TO THE .stats FILE" --fps 23.976
http://img215.imageshack.us/i/snag0294.png/
(default settings copied the command line from the program (misc/ input... / show command line)
Selur
21st December 2009, 21:57
It's a bug in Hybrid, that I'm fixing atm..
Selur
21st December 2009, 23:54
found it fixed it, will release a new version tomorrow,...
Selur
22nd December 2009, 21:28
Hybrid vers.091222
*fixed*
- frame rate handling if input frame rate != 25fps
- alac (apple lossless audio codec) now always decoded to wav (even on passthrough)
Reset Defaults in Misc-register on first start
Downloads:
Hybird Win32: http://www.selur.info/hybrid/Hybrid_091222.zip
Hybird Win64: http://www.selur.info/hybrid/Hybrid_091222_64bit.zip
Hybrid Linux32bit binary: http://www.selur.info/hybrid/Hybrid_091222_binary.zip
Hybrid Linux64bit binary: http://www.selur.info/hybrid/Hybrid_091222_64bit_binary.zip
xdaft
22nd December 2009, 21:47
I get these errors at startup and on dvd scan (dvd input option turned on):
http://img406.imageshack.us/img406/2345/39575526.png
Latest Hybrid (sorry for the crappy photo :( )
But it does em to recognize the DVD as it should be :)
Selur
22nd December 2009, 21:48
-> Reset Defaults should fix this :)
xdaft
22nd December 2009, 21:52
Thank you ! It worked ! :)
BTW finally managed to make some time to make a rip today from a PAL DVD (25 fps I guess? ) . Worked like charm! Great quality and audio is perfect and even chapters were imported ! The DVD was a concert so there were no subtitles :( .
p.s.: is there a way to change chapter names after the conversion ? Kinda messed things up with their names (left them default chapter 1, chapter 2 and etc. )and do not wanna make another encode.
Selur
22nd December 2009, 22:39
25 fps I guess?
Yup, PAL = 25fps :)
With Hybrid you could:
1. load the encoded file as source
2. set audio&video handling to 'passthrough'
3. switch to the Chapter-register and press 'Import form video input' (this should import the existing chapters)
4. repeat to: "select a chapter, press Edit, change the name and press Add" until you renamed them all
5. switch to the Main-register, enter a new output name for the file and then add the job
6. switch to the Job-register and start the job
This should remux the file and change the chapter infos according to your changes.
Whole thing should be relatively fast, since it's mainly extracting and multiplexing the streams.
Cu Selur
Riki
29th December 2009, 00:04
Im loving Hybrid, and here is a wishlist.
1. Keep VBV Values (similar to sx264). *An idea for this is to be able to specify a custom "Medium Limit".*
2. Global Profiles (Save a profile that has all x264, Crop/Resize, Filtering, Audio, and Path settings)
3. Remove the necessity to click "Add" in the audio section in order to encode audio. This makes it impossible to encode multiple videos when dragging them into the input file. I really liked sx264 where you can just have your audio settings and it would simply encode the audio. I dont know if its a bug or not, but if I dont hit "Add" it will not encode the audio.
Bugs (Windows 7 64bit using Hybrid 64bit v091222)
1. Remove finished doesnt work
2. Change Parallel jobs number and get instant crash.
Selur
29th December 2009, 08:45
I'll fix the bugs and will try to find a way to implement the features from the wishlist :)
->send you a test version via PM which should address the bugs and all points from the wishlist aside from point 1. since I'm not sure what you want there ;)
MySchizoBuddy
31st December 2009, 21:46
any plans for a mac version?
Selur
1st January 2010, 00:38
Plans yes, hybrid&sx264 both compile fine under mac but I have no clue how to set an environment where I can call mencoder&co via command line. :)
btwe. HAPPY NEW YEAR
Selur
1st January 2010, 10:57
-> if someone has a step-to-step guide how I can get tsmuxer, mencoder, mplayer, x264, mediainfo, mkvmerge, mkvextract running on (my mac mini) OS X compiling hybrid/sx264 for OS X wouldn't be a problem. :)
Selur
2nd January 2010, 10:59
Hybrid ver. 100102
*fixed*
- changing parallel job count crash
- 'Remove finished from queue'
- adjust output to source path
- adjust temp to output path
- load profile
*added*
- option to save/load/delete global profiles
- keep tag infos for defaults/global profiles option (default = deactivated)
- new 'audio handling'-option: "custom add" and "custom add all" which apply current settings
to first or all audio streams
- keep vbv values (on source change) option under x264->Misc->Adjustments
*cosmetics*
- limited the unnecessary expantion of some registers and Hybrid itself
- removed unused 'Custom-Profile' space holders
Reset Defaults in Misc-register on first start
Selur
4th January 2010, 12:23
Hybrid ver. 100104
*fixed*
- a bunch of bugs around tsmuxer extraction (->added new job type: rename)
- mkv audio delay on muxing handling
*changed*
- lowered sync-lookahead default value; default was 250 before, which is a bit high for most purposes and caused crashes ;)
- default: lavThreads -> enabled (and set to detected cpuCount)
Reset Defaults in Misc-register on first start
Selur
5th January 2010, 15:54
btw. for adding raw "avc stream as input"-support to Hybrid I wrote a small app to count the number of frames in a raw avc stream.
mainly parsing the file and counting all byte sequences
00 00 00 01 01 xx
00 00 00 01 21 xx
00 00 00 01 25 xx
00 00 00 01 41 xx
00 00 00 01 45 xx
00 00 00 01 65 xx
with xx != 00, xx = {25, 45, 65} should be IDR Picture NAL Units and xx = {01, 21, 41, 61} Non-IDR Picture NAL Units.
Seems to work so far. For those interested here (http://stashbox.org/759838/BinaryAnalyser.zip)'s the (ugly) source code and a win32 and win64 binary.
Cu Selur
Selur
5th January 2010, 18:47
Hybrid ver. 100105
*fixed/added*
- handling of avc raw video and raw audio input
*fixed*
- Adjust temp path to output path"+SourceChange bug
Reset Defaults in Misc-register on first start
Selur
6th January 2010, 14:23
Small 'gimmick'-information for those using sx264/Hybrid and other QT based apps:
Normally these apps come with some internal default styles:
"windows"
"motif"
"cde"
"plastique"
"cleanlooks"
and dependand on the OS there's also:
"windowsxp"
"windowsvista"
and
"macintosh"
=> Start your QT application and specify the style you want using -styles STYLENAME, e.g. [i]Hybrid -styles plastique[/i,] and see how the style changes the look of the application. :)
Cu Selur
Ps.: It's nothing really new or exciting, but since I thought about creating a style and read about the default styles I thought it might be interesting for those not to used to qt applications.
Selur
7th January 2010, 19:19
sx264 rev568
*fixed*
- premature shutdown bug
- dvd subtitles not shown in preview (in DVDSelector even with show subtitles enabled)
-> updated links in 1st post
Selur
9th January 2010, 08:40
Hybrid ver. 100109
*fixed*
- missing space when cropping and using ffmpeg as decoder
- skipping one subjob number when reencoding with neroaacenc
*fixed/added*
- handling of vc-1 raw video and raw audio input
*changed*
- audio: Add clicked -> don't activate 'custom add'-routines
*cosmetics*
- enable 'audio title selection' only for 'custom' or 'custom add'
- some code clean up
Reset Defaults in Misc-register on first start
Selur
10th January 2010, 23:15
Hybrid ver. 100110
*added*
- "maximize resolution on source change"
- Minimize job command line option (hides/shows decoder calls and content of meta/chapter files,...)
*fixed*
- auto deinterlacing; for clarification Hybrid will deinterlace when
a. Filter 'Enable deinterlacing' is active
or
b. 'Auto deinterlacing' is active, the 'Input scan type' is not 'progressive' and the output is not set to be encoded interlaced.
- bug in bitrate calculator connections
Reset Defaults in Misc-register on first start
Selur
11th January 2010, 19:59
Hybrid ver. 100111
*fixed*
- setAudioID to mkvID when audio source ends with .mka/.mkv and (audio->passthrough OR (audio->reencode with NeroAacEnc))
- auto resize on source change bug
- subtitle shownIndex <> id mapping
Reset Defaults in Misc-register on first start
Selur
14th January 2010, 18:26
Hybrid ver. 100114
*added*
- downMix audio option
*fixed*
- progress indicator
- mkv audio muxing
- x264 resttime calculation
- not showing audio lang (in audio tab)
Reset Defaults in Misc-register on first start
Hybrid ver. 100115
*fixed*
- sox decoder calls
Reset Defaults in Misc-register on first start
sx264 rev569
*fixed*
- mkv audio muxing bug
-> updated links in 1st post
last windows package is missing cyggomp-1 and cygwin1 which are needed for down sampling (used a dynamic linked and not a static sox binary in the last windows package)
http://www.mediafire.com/?znyyymjekdi
flebber
15th January 2010, 21:13
Looks like you have been busy. I downloaded latest hybrid build and attempted to start from within 2x264 package. I get a message box error before Hybrid opens to say value.progressin not valid.
http://farm5.static.flickr.com/4047/4276631629_c5e92b6e03.jpg
844 x 629 image http://www.flickr.com/photos/46087571@N04/4276631629/sizes/o/
Selur
15th January 2010, 21:16
there might come a few of those, but after resetting the Hybrid defaults (or manually deleting them) this should go away :)
Hybrid defaults are analog to sx264 defaults saved in it's own folder:
win7: C:\Users\USERNAME\AppData\Roaming\hybrid
winxp: C:\Documents and Settings\USERNAME\Application Data\hybrid
linux: /home/USERNAME/.hybrid/
cybersharky
20th January 2010, 16:42
I see sx264 encodes in x264 at level 4.1 when the source is Dvd. Any chance of getting sx264 to change the x264 level based on the source?
Selur
20th January 2010, 16:44
enabling "Misc->Encoding, Comatibility and Output->Encoding Settings->Minimize AVC Level" should do what you want :)
Selur
22nd January 2010, 12:04
Hybrid ver. 100122
*fixed*
- mencoder audio encode call
- wma/asf audio reencoding/extracting done with ffmpeg or mencoder+'demuxer 35'
- mkvmerge progress parser: force english console output in mkvmerge with " --ui-language en"
- mkvextract progress indicator
- tagging&mkv bug
- 2pass bitrate adjustments
- x264 preset changes
Reset Defaults in Misc-register on first start
flebber
22nd January 2010, 14:33
Definitely Hybrid is going great guns. Top work
Selur
22nd January 2010, 17:59
sx264 rev570
*fixed*
- crash on abort and abort->reset->restart
- rencoding audio in wmv/asf container with ffmpeg
- fixed progress indication
- too fast deletion of audio temp in some cases
- mkvmerge progress on non englisch systems
*changed*
- only create chapters if chapter count > 1 to counter a mplayer dvd parsing but
*cosmetics*
- changed some label-texts
-> updated links in 1st post
Selur
23rd January 2010, 21:38
*updated windows package*
- new x264 version rack04 x264_x86_r1400M)
- new ffmpeg version (r21390) from http://ffmpeg.arrozcru.org/autobuilds/
- new mkvmerge/extract (3.1)
- new mplayer/mencoder (Sherpya-SVN-r30369-4.2.5) from http://sourceforge.net/projects/mplayer-win32/files/
- 32bit Hybrid_100123 and 32bit sx264 rev571
-> updated link in 1st post
sx264 rev571
*cosmetics*
- changed some label-texts, reaaranged some stuff
-> updated links in 1st post
Hybrid ver. 100123
*fixed*
- dvd analysis: reduce "CHAPTERS: 00:00:00,00:00:00,00:00:00," to a single chapter
- tagging aac audio in mkv
- extracting multiple subtitle
- just tagging 1st audio stream
- create report
- split output disabled
*changed*
- extended infos in report
- each job creates a separate reportfile
*added*
- audio lang passthrough
Reset Defaults in Misc-register on first start
Hybrid ver. 100123_2
*fixed*
- audio lang passthrough for mp4 output
Reset Defaults in Misc-register on first start
TRF
24th January 2010, 11:03
Hi Selur, I've changed my system to Sidux (i386) and 've installed sx264 again
and I've got some issues while encoding my test file with latest sx264 build (*/ I didn't test previous builds /*) (link to file is here ==>> http://www.multiupload.com/CC7RS8YBIP) previously it worked ... detected mpeg interlacing settings etc
I've also noticed that latest Hybrid link for Linux 32bit binary is a binary for MS Windows ;)
Selur
24th January 2010, 11:13
I've also noticed that latest Hybrid link for Linux 32bit binary is a binary for MS Windows
-> hups, should be fixed now
I've got some issues while encoding my test file with latest sx264 build
DebugLog + some Infos about what you do might help,... since reencoding the file works on Windows...
TRF
24th January 2010, 11:20
debug file >>> http://www.multiupload.com/T6AXNTV8L5
x264 [error]: could not open input file `/tmp/test_121758032.fifo' via any method!
I've tried git and debian-multimedia's version of x264
Selur
24th January 2010, 11:22
okay, mkfifo is only used on linux systems, will have to check ...
Selur
24th January 2010, 11:46
just checked on one of my linux systems works, fine here. Since sx264 complains about a fifo file you might want to check that mkfifo is present on your system,...
Alex_080
25th January 2010, 06:57
hi Selur Package link not working !!!
Selur
25th January 2010, 11:00
updated the link. :)
Alex_080
25th January 2010, 14:19
Hi Selur
I face one problem..when ever i encoding any video with any no. of reference frames, the output video have one frame lees than i set in sx264 during encoding..mean if i set ReFrames 5 before encoding, after encoding it shows 4 ReFrames.( I m using MediaInfo v0.7.17).
Can i change Display aspect ratio of video during encoding in sx264 mean i want to set 4:3 to 16:9 if not can u add this feature in sx1264 if possible.
Thanks :)
Selur
25th January 2010, 14:32
I face one problem..when ever i encoding any video with any no. of reference frames, the output video have one frame lees than i set in sx264 during encoding..mean if i set ReFrames 5 before encoding, after encoding it shows 4 ReFrames.( I m using MediaInfo v0.7.17).
Please check the encoderCL int the Log-Window, is the call okay? (if the call is wrong I will try to reproduce it otherwise it might be x264 bug)
Can i change Display aspect ratio of video during encoding in sx264 mean i want to set 4:3 to 16:9 if not can u add this feature in sx1264 if possible.
depending on what you want you can:
a. Change the Input Pixel width/height (under Crop/Resize->Pixel Aspect Ratio(PAR))
b. Enable "Convert the Input to PAR" and select the apropriate Output (under Crop/Resize->Pixel Aspect Ratio(PAR))
c. Crop the source and enable "Crop and resize to match input resolution and display aspext Ratio (DAR)"
Cu Selur
Ps.: also instead of "MediaInfo v0.7.17" better use "MediaInfo v0.7.27 ;)
Selur
25th January 2010, 18:17
Hybrid ver. 100125
*added*
- requirement check (check if all required tool are present, doesn't do a version check atm)
- link mkv files if splitted
*fixed*
- save audio files in output dir when "keep intermediate"
- TagTab not showing all available audio streams at once
- on reset job reset progress to 0%
- mkv audio muxing id
- on dvd load title selection
*cosmetics*
- rearranged misc-register
Reset Defaults in Misc-register on first start
Alex_080
26th January 2010, 01:58
In the encoderCL int the Log-Window, is the call okay but i try with other builds of x264 like oldest one and newest one ..i see the same problem.
One question can i encode DUAL AUDIO file ...means i want both audio to encode with video
Selur
26th January 2010, 10:06
i set ReFrames 5 before encoding, after encoding it shows 4 ReFrames.
Using newest MediaInfo I got it like I suspected it, when using b-pyramid Mediainfo + X ref frames, MediaInfo reports ref = x+1, when using just ref = 5 and no b-pyramid MediaInfo reports ref=X.
Old sx264 Versions had an additional option 'lower ref count on b-pyramid', but the feature was dropped since it was unnecessary since x264 got the whole b-pyramid thing blu-ray conform and so lowering the ref count wasn't needed anymore.
As a side note: when you switch between sx264 Version remember to reset the defaults. :)
One question can i encode DUAL AUDIO file ...means i want both audio to encode with video
in sx264: no
in hybrid: yes
Hybrid ver. 100126
*changed*
- m2ts overhead calculations
(will port this to sx264 when I get some feedback if it works :))
Cu Selur
Alex_080
27th January 2010, 01:37
Hi Selur
i encode a anime video file (same one) with sx264 and Hybrid.In sx264 i set video Nominal bit rate 380kbps and the ouput file shows Overall bit rate 400+ and size is 73 MB but in Hybrid with same video Nominal bit rate 380kbps, the output file shows Overall bit rate only 255kbps and size is 36MB why???? In Hybrid the Display aspect ratio is automatically changed.
Selur
27th January 2010, 01:41
What settings did you use? (mediainfo should be able to show you the x264 settings used) Are the command lines sx264&hybrid used the same? DebugLog? Can't really help without at least some basic infos,... (if the input file isn't too large you could also upload it somewhere and write a small step-by-step 'guide' of what you did so I could easily reproduce it :))
Selur
28th January 2010, 10:40
Hybrid ver. 100128
*fixed*
- problem with win32 build (b0rked build environment)
*added*
- revision into debugInfos
- subtitle, set as forced for mkv output option
Hybrid ver. 100128_2
*fixed*
- on Queue finished, eventHandling
- minimize to systemTray
*changed*
- linux: searching /usr/bin for tools even if it's not present in the system variable Path
Reset Defaults in Misc-register on first start
Selur
29th January 2010, 20:29
Hybrid ver. 100129
*fixed*
- Linux: typo MediaInfo->mediainfo when checking tools
- mkv chapter import
*added*
- 'delete subtitle after muxing'-option
- option to select whether or not the CL addition should be added more at the start or the end of the command line
*changed*
- automatically close on 'Reset Defaults'
Reset Defaults in Misc-register on first start
Selur
2nd February 2010, 13:35
Hybrid ver. 100202
*added*
- x264->misc 'use internal decoder if possible' causes hybrid to use x264s internal LAVF/FFMS decoder support if possible.
(disable if your x264 version does not have LAVF/FFMS support)
LAVF/FFMS will be used more often when more than decoding is possible, see: http://x264dev.multimedia.cx/?p=270#more-270.
*fixed*
- tsMuxer progress
*cosmetics*
- some rearrangements and renaming
Reset Defaults in Misc-register on first start
MKVCrazy
5th February 2010, 19:16
Is there an easier way to install this on Ubuntu? Those compiling stuff look hard :( any tutorial?
Selur
5th February 2010, 22:25
HenrikX (http://forum.doom9.org/member.php?u=82358) wrote a small tutorial a while a ago, best ask him. :) (it's quite easy, but I really got no time to write a tutorial atm. ;))
Cu Selur
Selur
6th February 2010, 22:09
Hybrid ver. 100206
*added*
- maximize letterbox
*cosmetics*
- removed 'dvd title selection method' from Main register
- a bunch of rearrangements and small renaming
*fixed*
- shutdown
- insert chapters every X min
- accidently deactivated letterbox, even when needed
- deleting directories
- progress indication
- 'should be there' check
- outputDir not set properly
- maximize resolution
- initialize tempPath in MainTab
- analysing audio Infos in m2ts with tsmuxer since mplayer reports dts-hd sometimes as true-hd
- activate recalc even when audio set to passthrough
*changed*
- auto import chapters on feature activation if queue is empty
*cleanUp*
- removed some elements from configFile
Reset Defaults in Misc-register on first start
Selur
10th February 2010, 13:08
Hybrid ver. 100210
*fixed*
- maximize resolution/letterbox
- output fps
Reset Defaults in Misc-register on first start
Downloads:
Hybird Win32: http://www.selur.info/hybrid/Hybrid_100210.zip
Hybird Win64: http://www.selur.info/hybrid/Hybrid_100210_64bit.zip
Hybrid Linux32bit binary: http://www.selur.info/hybrid/Hybrid_100210_binary.zip
Hybrid Linux64bit binary: http://www.selur.info/hybrid/Hybrid_100210_64bit_binary.zip
flebber
10th February 2010, 13:50
I have downloaded the latest version and it is encoding well as we speak :)
It got me to thinking about one thing though because you have nearly every x264 option available in hybrid, there are no standard presets available for a novice user, so they wouldn't have to navigate the x264 configuration unless they wanted to. Or for hybrid users to post x264 profiles for devices etc.
I have friends that are good with computers but know little of x264 or codecs at all but wouldn't want to backup some dvd's or convert some flv's. This is the only area where something like handbrake is clearer for the casual converter.
Selur
10th February 2010, 14:01
[quot]there are no standard presets available for a novice user,[/quote]
Since Hybrid is ment to incorporate other encoders than x264 (at a later point) switching to the x264 configuration is a must. (and there you can select the x264 preset&tune options)
Hybrid and sx264 both were never ment as one-click-tools, they both allow a bunch of automations but that's it. Sorry.
Cu Selur
Ps.: Next think on my todo list (when I find the time) is to write a small tool to calculate the MLP-Data of a specific dts-hd audiostream (inside a m2ts container) since ffmpeg, mplayer and mediainfo all don't report the actual audio size when analysing a file with dts-hd in it, which kind of becomes a problem for the bit rate calculator 'size-preview'. If the dts core is reported as e.g. 1536kbit/s but the actual stream can be up to 24mbit/s. ;)
flebber
11th February 2010, 02:21
[quot]there are no standard presets available for a novice user,
Since Hybrid is ment to incorporate other encoders than x264 (at a later point) switching to the x264 configuration is a must. (and there you can select the x264 preset&tune options)
Hybrid and sx264 both were never ment as one-click-tools, they both allow a bunch of automations but that's it. Sorry.
Cu Selur
Ps.: Next think on my todo list (when I find the time) is to write a small tool to calculate the MLP-Data of a specific dts-hd audiostream (inside a m2ts container) since ffmpeg, mplayer and mediainfo all don't report the actual audio size when analysing a file with dts-hd in it, which kind of becomes a problem for the bit rate calculator 'size-preview'. If the dts core is reported as e.g. 1536kbit/s but the actual stream can be up to 24mbit/s. ;)[/QUOTE]
I didn't expect ever a one click tool, sort of thought though that if your users were allowed to export profiles/presets for devices then those who use your encoder could contribute to it becoming better.
Alex_080
11th February 2010, 02:55
Hi Selur
i tested Hybrid version and it works great but some problem that i face....when i re-encode any video file with a delay in audio Hybrid version can encode perfectly but in output there is little bit synchronization problem..
Selur
11th February 2010, 20:33
What do you convert to what?
Do the command lines look okay? (you can check them if you disable "minimize job command lines" in the job register)
Will check myself tomorrow morning, to groggy atm. :)
Alex_080
15th February 2010, 09:06
Hi Selur
sorry for late replay i re-encoding a dual audio .mkv file with 4sec delay to .mkv ..encoding done perfectly but audio just slightly does not match with video.
Need Some Info:
if i convert a audio file of 48 kHz to 32 kHz ..the audio quality same as source or changed??
Converting HE-AAC to LC-AAC is good or LC-AAC to HE-AAC?
Selur
15th February 2010, 09:21
Can't reproduce your audio problem,.. if you can reproduce it with a small sample, please upload it somewhere together with a small step-by-step guide of what you did so I can try to reproduce it here.
if i convert a audio file of 48 kHz to 32 kHz ..the audio quality same as source or changed??
Aside form the fact that he-aac&lc-aac are both lossy compressions, so you always loose, lowering the sample rate below 44.1kHz really might hurt,.. 44.1kHz~22.05kHz (folding/nynquist frequency) and since the normal human ear can perceive around 22kHz going lower could hurt,.. (see: http://en.wikipedia.org/wiki/Nyquist%E2%80%93Shannon_sampling_theorem for the frequency theory),...
Converting HE-AAC to LC-AAC is good or LC-AAC to HE-AAC?
Personally, I would try to avoid recompressing at all, other than that assuming your bitrate is high enough, I would prefer LC-AAC, but you better ask those questions in the audio encoding forum. (audio compression isn't really my thing) ;)
Cu Selur
Alex_080
15th February 2010, 16:03
thanks for your info Selur
Selur
16th February 2010, 21:20
Hybrid ver. 100216
*fixed*
- pulldown handling
- forgot to set slice-settings in 'x264 command line generator'
*updated windows package*
http://www.multiupload.com/QMEUND4GN1
sx264 rev572
*fixed*
- wrong output framerate
-> updated links in 1st post
netcasthd
17th February 2010, 22:24
See attached screen capture. I can set the bitrate manually to 1500 but it will always display this error. I am running Windows 7.
Selur
18th February 2010, 00:11
attached pictures need a moderator for approval, best thing to do is:
0. reset defaults (enabled main->misc; reset defaults)
1. restart Hybrid
2. enabled main->misc; enabled misc->misc settings->general->create debug output
3. write a small step by step 'guide' what you did to get the error message
4. send me the debug output and the 'guide' via pm (upload it somewhere and send me a link)
Cu Selur
Ps.: using windows 7 64bit pro as main development platform, so I doubt it's a windows 7 problem, but might be good to know if you use 32/64 bit so I can send you a test version when the problem is due to a bug. :)
Selur
18th February 2010, 17:06
Hybrid ver. 100218
*fixed*
- x264 progress indication
- mencoder audio encoding
sx264 rev573
*fixed*
- instead of calling '--nal-hrd' calling '--nal-hrd vbr' (changed in newer nal-hrd patch)
For gerneral information:
I'll only update sx264 to fix bugs and to stay compatible with x264.
-> New features will only go into Hybrid. <-
-> updated links in 1st post
Selur
23rd February 2010, 21:59
Hybrid ver. 100223
*added*
- LogTab
- limit dts-hd extension size analyse for dts-hd inside m2ts containers
*cosmetics*
- moved a bunch of things
*fixed*
- bug when audio&video passthrough were enabled at the same time (e.g. when just remuxing&tagging a file)
- checking that 'cbrHD' output is not supported when aiming for an .mp4 file
- not using 30000/1001 etc. for mp4box calls but decimals since mp4box otherwise creates files with a 30000fps info in the header.
Selur
26th February 2010, 19:56
Hybrid ver. 100226
*fixed*
- Avisynth input (remember: on 64bit Systems make sure that you can decode the Avisynth skript with e.g. Virtual Dub)
*added*
- option to manually set path of helper tools
- support for '--pic-struct' option
*compatibility*
- x264 'use internal decoder' disabled as default (only enable it if your x264 build comes with the necessary support)
- use absolute paths in calls
*cosmetics*
- moved a bunch of things
(you need to enable Misc in the Main-Tab to enable the Misc-Tab)
Reset Defaults in Misc-Tab on first start
Downloads:
Hybrid Win32: http://www.selur.info/hybrid/Hybrid_100226.zip
Hybrid Win64: http://www.selur.info/hybrid/Hybrid_100226_64bit.zip
Hybrid Linux32bit binary: http://www.selur.info/hybrid/Hybrid_100226_binary.zip
Hybrid Linux64bit binary: http://www.selur.info/hybrid/Hybrid_100226_64bit_binary.zip
Package: Hybrid32bitPackage_100226 (http://www.multiupload.com/5M6F1JR5TK)
moved Hybrid to a 'new home': http://forum.doom9.org/showthread.php?t=153035
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.