Can't encode using ZarxGUI

User avatar
Qyot27
Surreptitious fluffy bunny
Joined: Fri Aug 30, 2002 12:08 pm
Status: Creepin' between the bullfrogs
Location: St. Pete, FL
Contact:
Org Profile

Re: Can't encode using ZarxGUI

Post by Qyot27 » Sun Oct 14, 2012 7:07 pm

Well, using the x264.exe provided by Zarx264gui 2.0 and the lossless file posted on dropbox, I can't replicate this. It encodes the video and audio, and the output file is fine. I also tested with my own build and it doesn't have problems with it either. I tried using --demuxer avs like Zarx sets up, I tried just letting the internal FFMS2 handle it, no input problems at all.

What decoder is being used for PCM? Windows' native one, ffdshow, LAV Filters, etc.? Then again, I'm using XP. Maybe there's some issue that's underlying this on newer versions of Windows.
My profile on MyAnimeList | Quasistatic Regret: yeah, yeah, I finally got a blog

User avatar
Kain-x-spirits
Joined: Tue Jul 31, 2007 9:29 am
Status: Hahahaha~
Location: Lyon, France
Contact:
Org Profile

Re: Can't encode using ZarxGUI

Post by Kain-x-spirits » Mon Oct 15, 2012 6:16 am

Same problem as aimo since i've re-installed my codecs (with itunes and new quicktime too).
It shows a ffms error on zarxgui ("couldn't create the video source"). But it works when i chose mkv as container.
And it seems like my directshowsource doesn't work either on avisynth script (i dunno if it's related to the problem).

Everything worked fine before the new install tho

User avatar
Kain-x-spirits
Joined: Tue Jul 31, 2007 9:29 am
Status: Hahahaha~
Location: Lyon, France
Contact:
Org Profile

Re: Can't encode using ZarxGUI

Post by Kain-x-spirits » Mon Oct 15, 2012 6:19 am

Ha yeah, and it only occurs when i try to encode a lagarith, huffyuv or UTvideo. Uncompressed files works fine. <_<

User avatar
Qyot27
Surreptitious fluffy bunny
Joined: Fri Aug 30, 2002 12:08 pm
Status: Creepin' between the bullfrogs
Location: St. Pete, FL
Contact:
Org Profile

Re: Can't encode using ZarxGUI

Post by Qyot27 » Mon Oct 15, 2012 10:55 am

Well, it definitely shouldn't be interfering with FFMS2 (by that I mean the internal one in x264, not the AviSynth or VapourSynth plugin). And the reason I keep saying this is that the only part of Quicktime that's relevant to these builds of x264 is the audio encoding functionality - and that relies on the exact same SDK as qtaacenc and qaac, so if they work, I can't really see how it would make x264 stop working, since it doesn't rely on anything else that Quicktime should be touching (problems like what I guess below notwithstanding; but that would only affect AviSynth input, not x264's internal copies of LAVF or FFMS2). And the SDK has remained the same for the past few years - if something stops working with it, it'd actually be Quicktime, but it wouldn't impact anything else.

I'm starting to think that what Quicktime/iTunes might have done is somehow mess with Media Foundation, and that's impacting being able to use DirectShow and VFW codecs - the solution to which is probably to either reinstall said DS and VFW codecs, or to use the Filter Priority thing that I know Vista/Win7 users needed at one time. It would also seem to explain why it doesn't seem to be doing anything here (even granted that I'm still on iTunes 10.5 - but I am using Quicktime 7.7.2, which is the latest version of Quicktime)...XP doesn't have Media Foundation.
My profile on MyAnimeList | Quasistatic Regret: yeah, yeah, I finally got a blog

User avatar
Qyot27
Surreptitious fluffy bunny
Joined: Fri Aug 30, 2002 12:08 pm
Status: Creepin' between the bullfrogs
Location: St. Pete, FL
Contact:
Org Profile

Re: Can't encode using ZarxGUI

Post by Qyot27 » Mon Oct 15, 2012 11:24 am

Okay, an idea.

Copy and paste the following into Notepad and save the file with a .bat extension:

Code: Select all

x264 --preset veryslow --tune animation --crf 18 -o "%~n1.mp4" %1
pause
If you want a quick-and-dirty test, just change the preset from 'veryslow' to 'ultrafast'.


Now put the .bat file and the file you're trying to convert in the same folder as x264 (you could also just add x264's folder to the system PATH or copy x264.exe to C:\Windows and then run the .bat from wherever the original video file is, but I'm trying not to get complicated here). Drag and drop the .avi onto the .bat. The Command Prompt will pop up and x264 will encode the video. When it's finished, right click on the Command Prompt's title bar, choose Select All from the Edit menu, and when everything's selected, press Enter. Paste this log info into your reply so we can see what it's doing.

Also, I'd recommend trying to play the output file with mplayer. Download the latest one from here (the ones marked i686 are 32-bit, the x86_64 ones are 64-bit):
http://mplayer2.srsfckn.biz/

Just drag and drop the output video file onto mplayer2.exe and see if it plays.
My profile on MyAnimeList | Quasistatic Regret: yeah, yeah, I finally got a blog

User avatar
Qyot27
Surreptitious fluffy bunny
Joined: Fri Aug 30, 2002 12:08 pm
Status: Creepin' between the bullfrogs
Location: St. Pete, FL
Contact:
Org Profile

Re: Can't encode using ZarxGUI

Post by Qyot27 » Mon Oct 15, 2012 11:36 am

Gah, triple-post. I didn't realize something about that .bat I gave above. If you run that as-is, it'll try to write the output .mp4 to your User/Name folder rather than the current one. This should fix that:

Code: Select all

set cwd=%~dp0
x264 --preset veryslow --tune animation --crf 18 -o "%cwd%\%~n1.mp4" %1
pause
My profile on MyAnimeList | Quasistatic Regret: yeah, yeah, I finally got a blog

User avatar
Kain-x-spirits
Joined: Tue Jul 31, 2007 9:29 am
Status: Hahahaha~
Location: Lyon, France
Contact:
Org Profile

Re: Can't encode using ZarxGUI

Post by Kain-x-spirits » Mon Oct 15, 2012 12:47 pm

That didn't work this way either.

Here's the log info
Spoiler :
C:\Users\KXS\Zarx264gui2>set cwd=C:\Users\KXS\Zarx264gui2\

C:\Users\KXS\Zarx264gui2>x264 --preset veryslow --tune animation --crf 18 -o "C:
\Users\KXS\Zarx264gui2\\Lossless - Aimo - Track 14.mp4" "C:\Users\KXS\Zarx264gui
2\Lossless - Aimo - Track 14.avi"
ffms [info]: 1280x720p 0:1 @ 24000/1001 fps (vfr)
ffms [info]: color matrix: undef
audio [info]: opened qtaac encoder (AAC-LC VBR: 63, quality: medium, samplerate:
48000hz)
resize [warning]: converting from bgra to yuv420p
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2 AVX
x264 [info]: profile High, level 5.0
x264 [info]: frame I:3 Avg QP:18.79 size: 58149
x264 [info]: frame P:109 Avg QP:21.99 size: 27830
x264 [info]: frame B:133 Avg QP:25.05 size: 8161
x264 [info]: consecutive B-frames: 26.5% 10.6% 15.9% 16.3% 4.1% 7.3% 8.6% 6.
5% 0.0% 4.1% 0.0%
x264 [info]: mb I I16..4: 58.3% 20.1% 21.6%
x264 [info]: mb P I16..4: 8.6% 7.0% 6.6% P16..4: 17.4% 5.0% 6.5% 1.3% 1
.3% skip:46.3%
x264 [info]: mb B I16..4: 1.5% 0.4% 0.3% B16..8: 22.9% 5.1% 4.3% direct:
1.9% skip:63.5% L0:50.7% L1:43.5% BI: 5.8%
x264 [info]: 8x8 transform intra:29.2% inter:29.3%
x264 [info]: direct mvs spatial:95.5% temporal:4.5%
x264 [info]: coded y,uvDC,uvAC intra: 25.9% 46.6% 38.8% inter: 5.3% 11.4% 9.1%
x264 [info]: i16 v,h,dc,p: 80% 13% 4% 3%
x264 [info]: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 17% 8% 37% 8% 15% 4% 5% 2% 4%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 18% 9% 22% 10% 21% 5% 4% 4% 7%
x264 [info]: i8c dc,h,v,p: 63% 17% 17% 4%
x264 [info]: Weighted P-Frames: Y:0.9% UV:0.0%
x264 [info]: ref P L0: 55.6% 5.6% 12.9% 6.5% 4.3% 3.4% 2.6% 1.4% 1.2% 1.
2% 1.6% 1.0% 0.9% 0.7% 0.6% 0.4%
x264 [info]: ref B L0: 72.1% 9.8% 5.8% 2.4% 3.0% 2.4% 1.6% 0.9% 0.5% 0.
3% 0.3% 0.2% 0.3% 0.2% 0.1%
x264 [info]: ref B L1: 91.5% 8.5%
x264 [info]: kb/s:3361.27

lavf [info]: end of file reached

C:\Users\KXS\Zarx264gui2>pause
Appuyez sur une touche pour continuer...

User avatar
Qyot27
Surreptitious fluffy bunny
Joined: Fri Aug 30, 2002 12:08 pm
Status: Creepin' between the bullfrogs
Location: St. Pete, FL
Contact:
Org Profile

Re: Can't encode using ZarxGUI

Post by Qyot27 » Mon Oct 15, 2012 7:56 pm

I really don't like the idea of distributing non-free binaries, but to test this issue it seems to be necessary, so I'm only going to leave this up for about a day.
x264_r2216+729.7z
Test the x264.exe (or even x264-10bit.exe) with the above .bat and see if it works. Since the log hints that it might be a problem in lavf, I made sure that component was up-to-date as of less than an hour ago. L-SMASH is only in the same state as the last sync with the main repo, which means a month ago.
My profile on MyAnimeList | Quasistatic Regret: yeah, yeah, I finally got a blog

User avatar
Kain-x-spirits
Joined: Tue Jul 31, 2007 9:29 am
Status: Hahahaha~
Location: Lyon, France
Contact:
Org Profile

Re: Can't encode using ZarxGUI

Post by Kain-x-spirits » Tue Oct 16, 2012 7:22 am

Still doesn't work. :(
Spoiler :
C:\Users\KXS\Zarx264gui2>set cwd=C:\Users\KXS\Zarx264gui2\

C:\Users\KXS\Zarx264gui2>x264 --preset veryslow --tune animation --crf 18 -o "C:
\Users\KXS\Zarx264gui2\\Lossless - Aimo - Track 14.mp4" "C:\Users\KXS\Zarx264gui
2\Lossless - Aimo - Track 14.avi"
ffms [info]:
Codec : lagarith
PixFmt : bgra
Timebase : 1001/0
Duration : 24000:00:00
ffms [info]: 1280x720p 0:1 @ 24000/1001 fps (vfr)
ffms [info]: color matrix: undef
audio [info]: opened qtaac encoder (AAC-LC VBR: 63, quality: medium, samplerate:
48000hz, 2112 priming samples)
resize [warning]: converting from bgra to yuv420p
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2 AVX
x264 [info]: profile High, level 5.0
x264 [info]: started at Tue Oct 16 14:12:34 2012
[0.4%] 1/245 frames, 0.251 fps, 181.45 kb/s, 0.92 KB, eta 0:16:14, est.size 226.
[2.4%] 6/245 frames, 1.405 fps, 1640.0 kb/s, 50.10 KB, eta 0:02:50, est.size 2.0
[5.3%] 13/245 frames, 2.853 fps, 896.05 kb/s, 59.31 KB, eta 0:01:21, est.size 1.
[6.5%] 16/245 frames, 3.328 fps, 1249.0 kb/s, 101.75 KB, eta 0:01:08, est.size 1
[7.8%] 19/245 frames, 3.456 fps, 1953.4 kb/s, 188.96 KB, eta 0:01:05, est.size 2
[8.6%] 21/245 frames, 3.536 fps, 2513.3 kb/s, 268.72 KB, eta 0:01:03, est.size 3
[10.6%] 26/245 frames, 4.177 fps, 2369.8 kb/s, 313.70 KB, eta 0:00:52, est.size
[12.2%] 30/245 frames, 4.593 fps, 2218.6 kb/s, 338.87 KB, eta 0:00:46, est.size
[13.5%] 33/245 frames, 4.808 fps, 2151.8 kb/s, 361.53 KB, eta 0:00:44, est.size
[14.3%] 35/245 frames, 4.807 fps, 2120.8 kb/s, 377.92 KB, eta 0:00:43, est.size
[15.1%] 37/245 frames, 4.854 fps, 2116.7 kb/s, 398.75 KB, eta 0:00:42, est.size
[16.3%] 40/245 frames, 5.058 fps, 2246.8 kb/s, 457.57 KB, eta 0:00:40, est.size
[17.1%] 42/245 frames, 5.136 fps, 2427.8 kb/s, 519.15 KB, eta 0:00:39, est.size
[18.8%] 46/245 frames, 5.431 fps, 2535.9 kb/s, 593.92 KB, eta 0:00:36, est.size
[20.0%] 49/245 frames, 5.395 fps, 2684.1 kb/s, 669.62 KB, eta 0:00:36, est.size
[20.8%] 51/245 frames, 5.092 fps, 2934.5 kb/s, 761.97 KB, eta 0:00:38, est.size
[21.2%] 52/245 frames, 5.028 fps, 3145.4 kb/s, 832.75 KB, eta 0:00:38, est.size
[22.9%] 56/245 frames, 5.284 fps, 3350.4 kb/s, 955.26 KB, eta 0:00:35, est.size
[24.5%] 60/245 frames, 5.506 fps, 3498.6 kb/s, 1.04 MB, eta 0:00:33, est.size 4.
[26.1%] 64/245 frames, 5.734 fps, 3403.7 kb/s, 1.08 MB, eta 0:00:31, est.size 4.
[27.8%] 68/245 frames, 5.896 fps, 3318.2 kb/s, 1.12 MB, eta 0:00:30, est.size 4.
[28.6%] 70/245 frames, 5.498 fps, 3539.0 kb/s, 1.23 MB, eta 0:00:31, est.size 4.
[29.0%] 71/245 frames, 5.462 fps, 3727.7 kb/s, 1.32 MB, eta 0:00:31, est.size 4.
[30.2%] 74/245 frames, 5.542 fps, 3947.6 kb/s, 1.45 MB, eta 0:00:30, est.size 4.
[31.4%] 77/245 frames, 5.638 fps, 4168.4 kb/s, 1.60 MB, eta 0:00:29, est.size 5.
[33.1%] 81/245 frames, 5.822 fps, 4022.1 kb/s, 1.62 MB, eta 0:00:28, est.size 4.
[34.7%] 85/245 frames, 5.988 fps, 3881.7 kb/s, 1.64 MB, eta 0:00:26, est.size 4.
[36.3%] 89/245 frames, 6.149 fps, 3786.4 kb/s, 1.68 MB, eta 0:00:25, est.size 4.
[38.4%] 94/245 frames, 6.371 fps, 3632.5 kb/s, 1.70 MB, eta 0:00:23, est.size 4.
[39.6%] 97/245 frames, 6.132 fps, 3752.4 kb/s, 1.81 MB, eta 0:00:24, est.size 4.
[40.8%] 100/245 frames, 6.198 fps, 3859.2 kb/s, 1.92 MB, eta 0:00:23, est.size 4
[42.0%] 103/245 frames, 6.274 fps, 4004.7 kb/s, 2.05 MB, eta 0:00:22, est.size 4
[44.5%] 109/245 frames, 6.422 fps, 3926.8 kb/s, 2.13 MB, eta 0:00:21, est.size 4
[46.1%] 113/245 frames, 6.548 fps, 3856.6 kb/s, 2.17 MB, eta 0:00:20, est.size 4
[46.5%] 114/245 frames, 6.387 fps, 3893.1 kb/s, 2.21 MB, eta 0:00:20, est.size 4
[48.2%] 118/245 frames, 6.516 fps, 3814.6 kb/s, 2.24 MB, eta 0:00:19, est.size 4
[50.2%] 123/245 frames, 6.620 fps, 3772.2 kb/s, 2.31 MB, eta 0:00:18, est.size 4
[51.4%] 126/245 frames, 6.684 fps, 3707.1 kb/s, 2.32 MB, eta 0:00:17, est.size 4
[52.2%] 128/245 frames, 6.556 fps, 3688.9 kb/s, 2.35 MB, eta 0:00:17, est.size 4
[53.9%] 132/245 frames, 6.659 fps, 3615.3 kb/s, 2.37 MB, eta 0:00:16, est.size 4
[55.5%] 136/245 frames, 6.763 fps, 3563.8 kb/s, 2.41 MB, eta 0:00:16, est.size 4
[57.1%] 140/245 frames, 6.857 fps, 3509.6 kb/s, 2.44 MB, eta 0:00:15, est.size 4
[58.0%] 142/245 frames, 6.866 fps, 3474.6 kb/s, 2.45 MB, eta 0:00:15, est.size 4
[60.0%] 147/245 frames, 6.520 fps, 3603.8 kb/s, 2.63 MB, eta 0:00:15, est.size 4
[60.4%] 148/245 frames, 6.472 fps, 3811.9 kb/s, 2.80 MB, eta 0:00:14, est.size 4
[62.4%] 153/245 frames, 6.614 fps, 3885.3 kb/s, 2.96 MB, eta 0:00:13, est.size 4
[64.1%] 157/245 frames, 6.713 fps, 4096.2 kb/s, 3.20 MB, eta 0:00:13, est.size 4
[66.1%] 162/245 frames, 6.846 fps, 4134.7 kb/s, 3.33 MB, eta 0:00:12, est.size 5
[67.3%] 165/245 frames, 6.760 fps, 4221.3 kb/s, 3.46 MB, eta 0:00:11, est.size 5
[72.7%] 178/245 frames, 7.026 fps, 4113.1 kb/s, 3.64 MB, eta 0:00:09, est.size 5
[74.7%] 183/245 frames, 7.050 fps, 4125.3 kb/s, 3.75 MB, eta 0:00:08, est.size 5
[78.0%] 191/245 frames, 7.256 fps, 4042.4 kb/s, 3.84 MB, eta 0:00:07, est.size 4
[80.8%] 198/245 frames, 7.367 fps, 3934.0 kb/s, 3.87 MB, eta 0:00:06, est.size 4
[83.7%] 205/245 frames, 7.536 fps, 3826.7 kb/s, 3.90 MB, eta 0:00:05, est.size 4
[86.9%] 213/245 frames, 7.701 fps, 3710.5 kb/s, 3.93 MB, eta 0:00:04, est.size 4
[90.6%] 222/245 frames, 7.900 fps, 3590.4 kb/s, 3.96 MB, eta 0:00:02, est.size 4
[97.6%] 239/245 frames, 8.328 fps, 3375.9 kb/s, 4.01 MB, eta 0:00:00, est.size 4

x264 [info]: frame I:2 Avg QP:20.46 size: 43209
x264 [info]: frame P:112 Avg QP:22.30 size: 27555
x264 [info]: frame B:131 Avg QP:24.90 size: 7891
x264 [info]: consecutive B-frames: 29.0% 9.8% 11.0% 13.1% 8.2% 9.8% 8.6% 6.
5% 0.0% 4.1% 0.0%
x264 [info]: mb I I16..4: 62.5% 18.6% 18.9%
x264 [info]: mb P I16..4: 10.6% 5.7% 6.4% P16..4: 18.3% 5.2% 7.0% 1.2% 1
.1% skip:44.4%
x264 [info]: mb B I16..4: 1.4% 0.5% 0.3% B16..8: 22.3% 4.8% 4.2% direct:
2.1% skip:64.4% L0:48.6% L1:45.3% BI: 6.2%
x264 [info]: 8x8 transform intra:24.6% inter:31.4%
x264 [info]: direct mvs spatial:94.7% temporal:5.3%
x264 [info]: coded y,uvDC,uvAC intra: 24.7% 44.2% 36.3% inter: 5.5% 11.7% 9.2%
x264 [info]: i16 v,h,dc,p: 82% 12% 4% 2%
x264 [info]: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 12% 9% 36% 9% 17% 4% 6% 3% 4%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 17% 9% 23% 10% 22% 5% 4% 4% 6%
x264 [info]: i8c dc,h,v,p: 63% 16% 16% 4%
x264 [info]: Weighted P-Frames: Y:0.9% UV:0.9%
x264 [info]: ref P L0: 55.9% 5.7% 13.3% 5.9% 4.6% 3.3% 2.0% 1.8% 1.1% 1.
2% 1.4% 1.2% 0.6% 0.8% 0.6% 0.6%
x264 [info]: ref B L0: 73.1% 9.7% 5.5% 2.1% 3.1% 2.1% 1.5% 0.9% 0.5% 0.
3% 0.4% 0.1% 0.2% 0.1% 0.3%
x264 [info]: ref B L1: 91.9% 8.1%
x264 [info]: kb/s:3293.10

lavf [info]: end of file reached

C:\Users\KXS\Zarx264gui2>pause
Appuyez sur une touche pour continuer...

User avatar
Kain-x-spirits
Joined: Tue Jul 31, 2007 9:29 am
Status: Hahahaha~
Location: Lyon, France
Contact:
Org Profile

Re: Can't encode using ZarxGUI

Post by Kain-x-spirits » Tue Oct 16, 2012 7:50 am

Double-post : I've uninstalled every apple software, and install quicktime and avisynth again and now everything works well o_o

Locked

Return to “Video & Audio Help”