Log in

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


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

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 ;)

TRF
12th June 2009, 21:39
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)

TRF
13th June 2009, 05:54
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

TRF
14th June 2009, 16:45
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.

TRF
21st June 2009, 21:16
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

TRF
14th July 2009, 17:20
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 :)

TRF
23rd July 2009, 03:29
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

TRF
23rd July 2009, 16:46
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

TRF
24th July 2009, 08: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
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

TRF
24th July 2009, 12:16
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

TRF
25th July 2009, 19:38
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. ;)