Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Video Encoding > MPEG-4 Encoder GUIs

Reply
 
Thread Tools Search this Thread Display Modes
Old 1st July 2015, 11:28   #4561  |  Link
steve78
Registered User
 
Join Date: Jun 2015
Posts: 3
MeGui - Not able to 2pass-2nd pass

Hey, for the past few weeks I've been experiencing issues with MeGUI. Whenever I choose the option "2pass-2nd pass" for my encodes an error message is displayed automatically. I've tried my best searching around, asking friends but yet still the problem hasn't been fixed.

Error message:

"Standard Stream Error
ratecontrol_init: can't open stats file
x264_encoder_open failed
Error occurred while writing frame 0
process exits with error 0xffffffff (-1)"

Can someone please share some light. I've reinstalled MeGUI yet still it doesn't work, updated any plugins via "Use development update server", reinstalled AVISynth.

Thanks
steve78 is offline   Reply With Quote
Old 1st July 2015, 11:38   #4562  |  Link
LigH
German doom9/Gleitz SuMo
 
LigH's Avatar
 
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 6,753
I hope you ran a "2 pass - 1st pass" before the "2 pass - 2nd pass". In the first pass, the statistics file gets created so that the second pass can read it and calculate the optimal bitrate distribution.

I believe there is also an automated 2-pass option so that MeGUI creates both passes as a sequence.
__________________

New German Gleitz board
MediaFire: x264 | x265 | VPx | AOM | Xvid
LigH is offline   Reply With Quote
Old 1st July 2015, 13:31   #4563  |  Link
hello_hello
Registered User
 
Join Date: Mar 2011
Posts: 4,823
Quote:
Originally Posted by Morku View Post
After Avisynth+ was upgraded to r1825 my encodings wont end because of lack of RAM error message after some hours.
There is nothing special in my script, just some deinterlacing:
Code:
global MeGUI_darx = 93
global MeGUI_dary = 68

AVISource("x.avi")

QTGMC(Denoiser="dfttest", Preset="Placebo", EdiMode="NNEDI3", EdiThreads=8, Sharpness=1.0)
It also happened with DGSource.

Reverting back to r1576 solves the problem for me.
As I initially suggested the Avisynth+ upgrade, I thought I'd give r1825 a test using QTGMC exactly as in the script above. There's also a bit of cropping & resizing in my script but nothing else.

It's been running for 4 hours so far and it's still plodding along steadily. Encoding speed (old PC) crept up to about 3.7fps by the time 5 minutes of video had been encoded, but it has decreased a little. Four hours of encoding later and it's running at 2.88fps, but memory usage hasn't increased much at all as far as I can tell.

I'm going to stop it at this point and run the encode from scratch again with Avisynth 2.6 just to see if encoding speed also decreases by the same amount, but at the moment Avisynth+ r1825 and QTGMC seem to be playing together nicely.

I wonder if there's a particular version of a QTGMC plugin or a particular flavour of the QTGMC script that upsets Avisynth+? I'm using QTGMC 3.33s (mod). There's a recent link to it in the QTGMC thread. I'm also running XP.

Edit: I let the Avisynth 2.6/QTGMC encode run for about an hour and a half again, which was enough to see there's a difference between Avisynth 2.6 and Avisynth+ r1825.
For Avisynth 2.6 encoding speed gradually climbed to 3.91fps and sat there steadily. No sign of a gradual slowdown as with Avisynth+. CPU usage sat at a constant 75%. For the Avisynth+ test it had dropped by about 10% by the time I aborted the encode.
That's the first time I've ever noted Avisynth 2.6 to be faster than Avisynth+, and while there weren't any errors while using Avisynth+ I guess I'll be switching to Avisynth 2.6 for the foreseeable future.

Last edited by hello_hello; 1st July 2015 at 15:03.
hello_hello is offline   Reply With Quote
Old 1st July 2015, 15:28   #4564  |  Link
stax76
Registered User
 
stax76's Avatar
 
Join Date: Jun 2002
Location: On thin ice
Posts: 6,837
Seems you didn't follow AviSynth+ related threads, the frame drop issue with QTGMC is well known, QTGMC and probably other complex scripts are not usable with AviSynth+, with VapourSynth QTGMC runs fine and best entirely x64.
stax76 is offline   Reply With Quote
Old 1st July 2015, 17:36   #4565  |  Link
steve78
Registered User
 
Join Date: Jun 2015
Posts: 3
Quote:
Originally Posted by LigH View Post
I hope you ran a "2 pass - 1st pass" before the "2 pass - 2nd pass". In the first pass, the statistics file gets created so that the second pass can read it and calculate the optimal bitrate distribution.

I believe there is also an automated 2-pass option so that MeGUI creates both passes as a sequence.
Hey LigH thanks for response, I have used the preset "2 pass - 1st pass" but it didn't work same error message displayed.

I also tried "automated 2-pass" yet still same error message...
steve78 is offline   Reply With Quote
Old 1st July 2015, 18:10   #4566  |  Link
Zathor
Registered User
 
Join Date: Nov 2009
Posts: 2,405
Then it is time that you do once again the mentioned things and post your full log file.
Zathor is offline   Reply With Quote
Old 2nd July 2015, 05:36   #4567  |  Link
LouieChuckyMerry
Registered User
 
LouieChuckyMerry's Avatar
 
Join Date: Feb 2014
Posts: 355
Hello, I've a humble feature request: numbers (0-20?) at the bottom of the preview window and corresponding to the vertical marks above and below the slider would be very helpful, so that the percentage of video before and-or after the slider's position could be more easily guestimated. When it comes to programing I'm even more ignorant than when it comes to AviSynth, so if this request is ridiculously involved then please feel free to chuckle, mutter an expletive, then ingnore me . Thanks for your consideration.

Last edited by LouieChuckyMerry; 2nd July 2015 at 05:39.
LouieChuckyMerry is offline   Reply With Quote
Old 2nd July 2015, 10:59   #4568  |  Link
steve78
Registered User
 
Join Date: Jun 2015
Posts: 3
Preliminary log file only. During closing of MeGUI the well formed log file will be written.

-[Information] Versions
--[Information] [02/07/2015 01:38:51] MeGUI: 2525
--[Information] [02/07/2015 01:38:51] Operating System: Windows 7 x64 SP1 (6.1.65536.7601)
--[Information] [02/07/2015 01:38:51] .Net Framework: 2.0.50727.5420
--[Information] [02/07/2015 01:38:51] .Net Framework: 4.0.0.0
-[Information] Update detection
--[Information] [02/07/2015 01:38:51] AviSynth: 2.6.0.6 (31-03-2015)
--[Information] [02/07/2015 01:38:51] Using cached update config and server: http://megui.org/auto/stable/
--[Information] [02/07/2015 01:38:51] AvisynthWrapper: (02-01-2009)
--[Information] [02/07/2015 01:38:51] No package requires an update
--[Information] [02/07/2015 01:38:51] Haali Matroska Splitter: 1.13.138.14 (14-04-2013)
--[Information] [02/07/2015 01:38:51] Haali DSS2: (14-04-2013)
--[Information] [02/07/2015 01:38:51] ICSharpCode.SharpZipLib: 0.85.5.452 (07-08-2008)
--[Information] [02/07/2015 01:38:51] LinqBridge: 1.0.0.0 (28-05-2009)
--[Information] [02/07/2015 01:38:51] MediaInfo: 0.7.72.0 (07-01-2015)
--[Information] [02/07/2015 01:38:51] MediaInfoWrapper: 0.7.61.0 (06-01-2013)
--[Information] [02/07/2015 01:38:51] MessageBoxExLib: 1.0.2218.28317 (19-12-2008)
--[Information] [02/07/2015 01:38:51] SevenZipSharp: 0.64.3890.29348 (02-01-2011)
--[Information] [02/07/2015 01:38:51] 7z: 9.20 (18-11-2010)
-[Information] Log for job1 (video, Test File AVS.avs -> )
--[Information] [02/07/2015 01:39:40] Started handling job
--[Information] [02/07/2015 01:39:40] Preprocessing
-[NoImage] LoadPlugin("H:\Encoder\Encoding\MeGUI_2525_x86\tools\lsmash\LSMASHSource.dll")
-[NoImage] LWLibavVideoSource("E:\Folder\Test File 1080p\F1_T2_Video - DGA.lwi")
-[NoImage] #deinterlace
-[NoImage] crop(0, 132, 0, -130)
-[NoImage] #resize
-[NoImage] #denoise
--[Information] [02/07/2015 01:39:40] Avisynth input script
--[Information] [02/07/2015 01:39:41] resolution: 1920x818
--[Information] [02/07/2015 01:39:41] frame rate: 120/5
--[Information] [02/07/2015 01:39:41] aspect ratio: 960:409 (2.347)
--[Information] [02/07/2015 01:39:41] changing --ref to 5
--[Information] [02/07/2015 01:39:41] Job commandline: "H:\Users\Encoder\Encoding\MeGUI_2525_x86\tools\x264\x264.exe" --level 4.1 --preset veryslow --tune film --pass 1 --bitrate 6500 --stats "L:\Encode\Test File 720p AVS.stats" --keyint 240 --vbv-bufsize 78125 --vbv-maxrate 62500 --sar 1:1 --output NUL "L:\Encode\Test File 720p AVS.avs"
--[Information] [02/07/2015 01:39:41] Process started
--[Information] [02/07/2015 01:39:41] Standard output stream
--[Information] [02/07/2015 01:39:41] Standard error stream
---[Information] [02/07/2015 01:39:44] avs [info]: 1920x818p 1:1 @ 24/1 fps (cfr)
---[Information] [02/07/2015 01:39:44] x264 [info]: using SAR=1/1
---[Warning] [02/07/2015 01:39:44] x264 [warning]: VBV bitrate (62500) > level limit (50000)
---[Warning] [02/07/2015 01:39:44] x264 [warning]: VBV buffer (78125) > level limit (62500)
---[Information] [02/07/2015 01:39:44] x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 AVX2 LZCNT BMI2
---[Information] [02/07/2015 01:39:44] x264 [info]: profile Main, level 4.1
-[Error] Unhandled error
--[Information] [02/07/2015 01:39:45] Exception message: Object reference not set to an instance of an object.
-[NoImage] at MeGUI.ProgressWindow.priority_SelectedIndexChanged(Object sender, EventArgs e)
-[NoImage] at System.Windows.Forms.ComboBox.OnSelectedIndexChanged(EventArgs e)
-[NoImage] at System.Windows.Forms.ComboBox.WmReflectCommand(Message& m)
-[NoImage] at System.Windows.Forms.ComboBox.WndProc(Message& m)
-[NoImage] at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
-[NoImage] at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
-[NoImage] at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
--[Information] [02/07/2015 01:39:45] Stacktrace
--[Information] [02/07/2015 01:39:45] Inner exception: null
--[Information] [02/07/2015 01:40:07] Process exits with error: 0xFFFFFFFF (-1)
-[Information] [02/07/2015 01:40:08] Delete aborted output set: True
--[Information] Deleting aborted output
--[Information] [02/07/2015 01:40:08] Job completed
--[Information] [02/07/2015 01:40:08] Current job was aborted
-[Information] Log for job1 (video, Test File 720p AVS.avs -> )
--[Information] [02/07/2015 01:40:34] Started handling job
--[Information] [02/07/2015 01:40:34] Preprocessing
-[NoImage] LoadPlugin("H:\Users\Encoder\Encoding\MeGUI_2525_x86\tools\lsmash\LSMASHSource.dll")
-[NoImage] LWLibavVideoSource("E:\Seedbox\Test Video1080p NOR Blu-Ray AVC DTS-HD MA 5.1-HDMike - Limited\F1_T2_Video - DGA.lwi")
-[NoImage] #deinterlace
-[NoImage] crop(0, 132, 0, -130)
-[NoImage] #resize
-[NoImage] #denoise
--[Information] [02/07/2015 01:40:34] Avisynth input script
--[Information] [02/07/2015 01:40:35] resolution: 1920x818
--[Information] [02/07/2015 01:40:35] frame rate: 120/5
--[Information] [02/07/2015 01:40:35] aspect ratio: 960:409 (2.347)
--[Information] [02/07/2015 01:40:35] changing --ref to 5
--[Information] [02/07/2015 01:40:35] Job commandline: "H:\Users\Encoder\Encoding\MeGUI_2525_x86\tools\x264\x264.exe" --level 4.1 --preset veryslow --tune film --pass 1 --bitrate 6500 --stats "L:\Encode\Test File 720p AVS.stats" --keyint 240 --vbv-bufsize 78125 --vbv-maxrate 62500 --sar 1:1 --output NUL "L:\Encode\Test File AVS.avs"
--[Information] [02/07/2015 01:40:35] Process started
--[Information] [02/07/2015 01:40:35] Standard output stream
--[Information] [02/07/2015 01:40:35] Standard error stream
---[Information] [02/07/2015 01:40:38] avs [info]: 1920x818p 1:1 @ 24/1 fps (cfr)
---[Information] [02/07/2015 01:40:38] x264 [info]: using SAR=1/1
---[Warning] [02/07/2015 01:40:38] x264 [warning]: VBV bitrate (62500) > level limit (50000)
---[Warning] [02/07/2015 01:40:38] x264 [warning]: VBV buffer (78125) > level limit (62500)
---[Information] [02/07/2015 01:40:38] x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 AVX2 LZCNT BMI2
---[Information] [02/07/2015 01:40:38] x264 [info]: profile Main, level 4.1
---[Information] [02/07/2015 02:36:59] x264 [info]: frame I:1070 Avg QP:13.15 size:170187
---[Information] [02/07/2015 02:36:59] x264 [info]: frame P:39581 Avg QP:17.35 size: 60444
---[Information] [02/07/2015 02:36:59] x264 [info]: frame B:100099 Avg QP:18.67 size: 22132
---[Information] [02/07/2015 02:36:59] x264 [info]: consecutive B-frames: 7.0% 7.1% 16.7% 12.9% 7.7% 45.0% 1.9% 0.6% 1.0%
---[Information] [02/07/2015 02:36:59] x264 [info]: mb I I16..4: 33.7% 0.0% 66.3%
---[Information] [02/07/2015 02:36:59] x264 [info]: mb P I16..4: 40.3% 0.0% 0.0% P16..4: 50.4% 0.0% 0.0% 0.0% 0.0% skip: 9.3%
---[Information] [02/07/2015 02:36:59] x264 [info]: mb B I16..4: 9.6% 0.0% 0.0% B16..8: 33.9% 0.0% 0.0% direct:18.3% skip:38.1% L0:37.2% L1:40.6% BI:22.2%
---[Information] [02/07/2015 02:36:59] x264 [info]: final ratefactor: 17.44
---[Information] [02/07/2015 02:36:59] x264 [info]: direct mvs spatial:99.8% temporal:0.2%
---[Information] [02/07/2015 02:36:59] x264 [info]: coded y,uvDC,uvAC intra: 52.5% 47.2% 21.7% inter: 23.7% 19.6% 1.5%
---[Information] [02/07/2015 02:36:59] x264 [info]: i16 v,h,dc,p: 39% 23% 24% 14%
---[Information] [02/07/2015 02:36:59] x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 27% 21% 12% 6% 7% 7% 7% 6% 7%
---[Information] [02/07/2015 02:36:59] x264 [info]: i8c dc,h,v,p: 56% 18% 22% 4%
---[Information] [02/07/2015 02:36:59] x264 [info]: Weighted P-Frames: Y:3.1% UV:2.0%
---[Information] [02/07/2015 02:36:59] x264 [info]: kb/s:6534.01
---[Information] [02/07/2015 02:36:59] encoded 140750 frames, 41.61 fps, 6534.01 kb/s
--[Information] [02/07/2015 02:36:59] Postprocessing
---[Information] [02/07/2015 02:36:59] Deleting intermediate files
--[Information] [02/07/2015 02:36:59] Job completed
-[Information] Log for job2 (video, Test File 720p AVS.avs -> Test File 720p.264)
--[Information] [02/07/2015 02:36:59] Started handling job
--[Information] [02/07/2015 02:36:59] Preprocessing
-[NoImage] LoadPlugin("H:\Users\Encoder\Encoding\MeGUI_2525_x86\tools\lsmash\LSMASHSource.dll")
-[NoImage] LWLibavVideoSource("E:\Folder\Test File 1080p\F1_T2_Video - DGA.lwi")
-[NoImage] #deinterlace
-[NoImage] crop(0, 132, 0, -130)
-[NoImage] #resize
-[NoImage] #denoise
--[Information] [02/07/2015 02:36:59] Avisynth input script
--[Information] [02/07/2015 02:37:00] resolution: 1920x818
--[Information] [02/07/2015 02:37:00] frame rate: 120/5
--[Information] [02/07/2015 02:37:00] aspect ratio: 960:409 (2.347)
--[Information] [02/07/2015 02:37:00] changing --ref to 5
--[Information] [02/07/2015 02:37:00] Job commandline: "H:\Encider\Encoding\MeGUI_2525_x86\tools\x264\x264.exe" --level 4.1 --preset veryslow --tune film --pass 2 --bitrate 6500 --stats "L:\Encode\Test File 720p AVS.stats" --keyint 240 --vbv-bufsize 78125 --vbv-maxrate 62500 --sar 1:1 --output "L:\Encode\Test File 720p AVS.264" "L:\Encode\Test File 720p AVS.avs"
--[Information] [02/07/2015 02:37:00] Process started
--[Information] [02/07/2015 02:37:00] Standard output stream
--[Information] [02/07/2015 02:37:00] Standard error stream
---[Information] [02/07/2015 02:37:05] avs [info]: 1920x818p 1:1 @ 24/1 fps (cfr)
---[Information] [02/07/2015 02:37:05] x264 [info]: using SAR=1/1
---[Information] [02/07/2015 02:37:05] x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 AVX2 LZCNT BMI2
---[Information] [02/07/2015 02:37:05] x264 [info]: profile High, level 4.1
---[Information] [02/07/2015 06:24:37] x264 [info]: frame I:1013 Avg QP:14.84 size:160677
---[Information] [02/07/2015 06:24:37] x264 [info]: frame P:36694 Avg QP:18.61 size: 57298
---[Information] [02/07/2015 06:24:37] x264 [info]: frame B:92138 Avg QP:20.08 size: 22029
---[Information] [02/07/2015 06:24:37] x264 [info]: consecutive B-frames: 7.3% 7.3% 16.6% 11.2% 7.7% 46.6% 1.9% 0.6% 0.8%
---[Information] [02/07/2015 06:24:37] x264 [info]: mb I I16..4: 14.9% 60.1% 25.0%
---[Information] [02/07/2015 06:24:37] x264 [info]: mb P I16..4: 4.9% 18.2% 2.4% P16..4: 42.1% 15.6% 8.8% 0.5% 0.2% skip: 7.4%
---[Information] [02/07/2015 06:24:37] x264 [info]: mb B I16..4: 0.6% 1.9% 0.3% B16..8: 44.6% 9.5% 1.6% direct: 6.6% skip:34.9% L0:46.3% L1:45.0% BI: 8.6%
---[Information] [02/07/2015 06:24:37] x264 [info]: 8x8 transform intra:70.0% inter:64.6%
---[Information] [02/07/2015 06:24:37] x264 [info]: direct mvs spatial:99.1% temporal:0.9%
---[Information] [02/07/2015 06:24:37] x264 [info]: coded y,uvDC,uvAC intra: 69.1% 59.0% 29.0% inter: 25.2% 18.7% 2.5%
---[Information] [02/07/2015 06:24:37] x264 [info]: i16 v,h,dc,p: 36% 18% 12% 34%
---[Information] [02/07/2015 06:24:37] x264 [info]: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 17% 12% 14% 7% 10% 10% 10% 9% 10%
---[Information] [02/07/2015 06:24:37] x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 21% 13% 9% 7% 11% 10% 11% 8% 10%
---[Information] [02/07/2015 06:24:37] x264 [info]: i8c dc,h,v,p: 40% 26% 23% 11%
---[Information] [02/07/2015 06:24:37] x264 [info]: Weighted P-Frames: Y:3.2% UV:2.0%
---[Information] [02/07/2015 06:24:37] x264 [info]: ref P L0: 55.1% 11.8% 17.7% 7.6% 6.2% 1.5% 0.0%
---[Information] [02/07/2015 06:24:37] x264 [info]: ref B L0: 80.1% 13.6% 5.0% 1.4%
---[Information] [02/07/2015 06:24:37] x264 [info]: ref B L1: 93.6% 6.4%
---[Information] [02/07/2015 06:24:37] x264 [info]: kb/s:6350.94
---[Information] [02/07/2015 06:24:37] aborted at input frame 129864, output frame 129844
---[Information] [02/07/2015 06:24:37] encoded 129844 frames, 9.51 fps, 6350.83 kb/s
--[Error] [02/07/2015 06:24:37] Process exits with error: 0xFFFFFFFF (-1)
--[Information] [02/07/2015 06:24:37] Job completed

Last edited by steve78; 3rd July 2015 at 23:45.
steve78 is offline   Reply With Quote
Old 3rd July 2015, 02:24   #4569  |  Link
AMED
Registered User
 
AMED's Avatar
 
Join Date: Sep 2004
Location: Auckland, New Zealand
Posts: 466
Quote:
Originally Posted by steve78
-[NoImage] LWLibavVideoSource("E:\Seedbox\Game of Death 2010 1080p NOR Blu-Ray AVC DTS-HD MA 5.1-HDMike - Limited\F1_T2_Video - DGA.lwi")
You've got a bit of rule 6 going on there.
__________________
A Man Eating Duck
AMED is offline   Reply With Quote
Old 3rd July 2015, 07:25   #4570  |  Link
LigH
German doom9/Gleitz SuMo
 
LigH's Avatar
 
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 6,753
Apart from that, the error trace looks like progress window control failed somehow.

Code:
 -[Error] Unhandled error
 --[Information] [02/07/2015 01:39:45] Exception message: Object reference not set to an instance of an object.
 -[NoImage] at MeGUI.ProgressWindow.priority_SelectedIndexChanged(Object sender, EventArgs e)
 -[NoImage] at System.Windows.Forms.ComboBox.OnSelectedIndexChanged(EventArgs e)
 -[NoImage] at System.Windows.Forms.ComboBox.WmReflectCommand(Message& m)
 -[NoImage] at System.Windows.Forms.ComboBox.WndProc(Message& m)
 -[NoImage] at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
 -[NoImage] at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
 -[NoImage] at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
__________________

New German Gleitz board
MediaFire: x264 | x265 | VPx | AOM | Xvid
LigH is offline   Reply With Quote
Old 5th July 2015, 06:36   #4571  |  Link
hello_hello
Registered User
 
Join Date: Mar 2011
Posts: 4,823
Quote:
Originally Posted by LigH View Post
So please test a most current build if it applies the forced FourCC correctly. (Somehow I doubt that it would correctly use both lowercase and uppercase in appropriate places, but we'll see when my compile finished.)
The current build seems to be fine.
That's "2015-07-02 git-03b2b40 Static" from here.
It's writing Xvid. I'm not sure about the lowercase/uppercase part.

Codec ID : XVID
Codec ID/Hint : XviD
hello_hello is offline   Reply With Quote
Old 5th July 2015, 07:49   #4572  |  Link
LigH
German doom9/Gleitz SuMo
 
LigH's Avatar
 
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 6,753
I asked a Feature Request in the ffmpeg tracker if they would support distinct FourCC's. They asked back if I know any relevant case; unfortunately, I don't. Players should only care about the second one in the bitmap header, compression field. These are the usually uppercase FourCC's like XVID, DX50. But I cannot exclude the possibility that any editor may refuse a file if the first one (used encoder) is not the lowercase counterpart; yet such a software would have to be found to point at it.
__________________

New German Gleitz board
MediaFire: x264 | x265 | VPx | AOM | Xvid
LigH is offline   Reply With Quote
Old 5th July 2015, 09:40   #4573  |  Link
hello_hello
Registered User
 
Join Date: Mar 2011
Posts: 4,823
Xvid encoding seems to have become a bit messy since the update from 1.2.1. What was the reason for the update? Are newer Xvid versions better in some way?

I don't entirely understand the fourcc thing (it seems) because I checked an AVI created by AutoGK with MediaInfo and it displays the following, as it does when checking an AVI created by MeGUI and muxed with the latest ffmpeg:

Codec ID : XVID
Codec ID/Hint : XviD

However a closer look at the two AVIs with MPEG4Modifier shows this:

AutoGK created AVI:
Packed bitstream: Yes
QPel: No
GMC: No
Interlaced: No
Aspect ratio: Square pixels
Quant type: H.263
FourCC: XVID
User data: DivX503b1393p, XviD0050

MeGUI created AVI:
Packed bitstream: No
QPel: No
GMC: No
Interlaced: No
Aspect ratio: Square pixels
Quant type: H.263
FourCC: XVID
User data: XviD0067

I noticed when I open the AVI created by MeGUI and check the option to resave with a packed bitstream, MPEG4Modifier adds DivX503b1393p to the user data so I assume that has something to do with the packed bitstream only I don't understand what exactly. Any info for learning purposes would be appreciated.

Also, I posted several MeGUI/Xvid encoding questions here if anybody know the answers (with a new question just added regarding the packed bitstream option in the Xvid encoder configuration no longer working).
http://forum.doom9.org/showthread.ph...31#post1728831

Last edited by hello_hello; 5th July 2015 at 09:51.
hello_hello is offline   Reply With Quote
Old 5th July 2015, 11:32   #4574  |  Link
detmek
Registered User
 
Join Date: Aug 2009
Posts: 463
Packed bitstream is workaround/hack introduced in Divx encoder when B frames were introduced because AVI was not designed to store B-frames. So P and B frame are packed together. MPEG4Modifier probably adds DivX503b1393p for compatibility with official Divx codec.
__________________
Intel Pentium G3220, Asus H81M-K, 4GB DDR3@1600MHz (1333MHz working), LG W1934S, Windows 8.1 Pro x64
detmek is offline   Reply With Quote
Old 5th July 2015, 16:59   #4575  |  Link
Zathor
Registered User
 
Join Date: Nov 2009
Posts: 2,405
Quote:
Originally Posted by hello_hello View Post
The current build seems to be fine.
That's "2015-07-02 git-03b2b40 Static" from here.
It's writing Xvid. I'm not sure about the lowercase/uppercase part.

Codec ID : XVID
Codec ID/Hint : XviD
Thanks, uploaded.
Zathor is offline   Reply With Quote
Old 8th July 2015, 15:26   #4576  |  Link
Zathor
Registered User
 
Join Date: Nov 2009
Posts: 2,405
Mainly a small bugfix release:

Code:
2566                        added ~300 additional languages to select based upon ISO 639-2. Feauture requests #551/#553
2565 [XviD Encoder]         changed the default -kboost value to 10 (regression of 2547)
2564 [HD Streams Extractor] improves handling of TrueHD streams including Atmos support. Patch by bowlingbeeg #69
2563 [Job]                  fixed cancelling the warning when using "HIGH" priority. Bug #806
2562 [MP4 Muxer]            switched to ISO 639-2 three letter code for the language (regression of recent MP4box builds)
Zathor is offline   Reply With Quote
Old 8th July 2015, 18:39   #4577  |  Link
detmek
Registered User
 
Join Date: Aug 2009
Posts: 463
Hi Zathor. For some reason I can not encode using Xvid encoder. It always shows error. Here's log:

http://pastebin.com/raw.php?i=DfnxMkBx

It works if I change encoder from Xvid to x264.

I also resetted Xvid settings to default values but same error shows.

Edit:

I uninstalled Avisynth+ and installed Set's MT version, changed settings in MeGUI to use external Avisynth and it works now. So, Xvid does not work with Avisynth+ that comes with MeGUI, at least not for me.
__________________
Intel Pentium G3220, Asus H81M-K, 4GB DDR3@1600MHz (1333MHz working), LG W1934S, Windows 8.1 Pro x64

Last edited by detmek; 8th July 2015 at 18:52.
detmek is offline   Reply With Quote
Old 8th July 2015, 20:56   #4578  |  Link
Zathor
Registered User
 
Join Date: Nov 2009
Posts: 2,405
I just did an Xvid encode myself and had no problem (internal avisynth+ has been used).
Zathor is offline   Reply With Quote
Old 9th July 2015, 04:05   #4579  |  Link
hello_hello
Registered User
 
Join Date: Mar 2011
Posts: 4,823
Quote:
Originally Posted by detmek View Post
Hi Zathor. For some reason I can not encode using Xvid encoder. It always shows error. Here's log:

http://pastebin.com/raw.php?i=DfnxMkBx

It works if I change encoder from Xvid to x264.
Someone else had the same problem at VideoHelp.
http://forum.videohelp.com/threads/3...=1#post2394999

He contacted me via PM and I think he said reinstalling Avisynth and switching to the installed version fixed the problem but his PM's were a bit vague regarding what he'd tried so I wasn't sure what eventually fixed it.
I did suspect that maybe it's Win8.1 related though, and you have that in common. He did update Xvid from 1.3.3 to 1.3.4 at one stage, but I don't know if that was the fix. Which version are you using?
hello_hello is offline   Reply With Quote
Old 9th July 2015, 09:46   #4580  |  Link
hello_hello
Registered User
 
Join Date: Mar 2011
Posts: 4,823
Zathor,
I haven't updated MeGUI yet so I don't know exactly what you changed for the Xvid encoder, but I installed AutoGK and Xvid 1.2.1 along with it to check out the Xvid defaults.

The default encoding mode is CQ 4.0, which to me makes more sense than the current MeGUI default of CBR 700kbps. I'd prefer it if MeGUI defaulted to CQ 2.0.

The default for -kboost is definitely 10 and it's described as I-frame boost (%) and not I-frame boost (10x%).

The three overflow percentages are all 5% by default regardless of whether a profile is selected or not. I don't know if that changed at a later date but I'm not sure why they'd need to.
hello_hello is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 22:09.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.