Log in

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


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

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

Riki
20th May 2009, 04:13
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,...

Riki
20th May 2009, 14:50
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

Riki
20th May 2009, 15:02
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. ;)

Riki
20th May 2009, 15:09
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

TRF
21st May 2009, 06:06
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,..

Riki
21st May 2009, 14:23
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

Riki
21st May 2009, 14:33
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

Riki
21st May 2009, 14:43
upx sounds very interesting. Thanks for the heads up!

Riki
21st May 2009, 16:04
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