Zarx264gui Crashing and Stopping Early

If you have questions about compression/encoding/converting look here.
User avatar
Kira_Douji
Joined: Sun Feb 20, 2005 1:38 pm
Org Profile

Zarx264gui Crashing and Stopping Early

Post by Kira_Douji » Thu Apr 26, 2007 7:49 pm

I downloaded v.1.0 with the beta of the EADFAG and it worked fine the first time I encoded something, now about a month ago. However, I went to encode the uncompressed video + compressed audio from my Adobe Premiere export (via avisynth, of course) and it will either crash before finishing the audio encode, with Microsoft .NET framework giving the following error message:

Code: Select all

************** Exception Text **************
System.InvalidOperationException: No process is associated with this object.
   at System.Diagnostics.Process.EnsureState(State state)
   at System.Diagnostics.Process.get_HasExited()
   at Zarx264gui.MainForm.set_priority(Int32 priority_value)
   at Zarx264gui.Progress.timer1_Tick(Object sender, EventArgs e)
   at System.Windows.Forms.Timer.OnTick(EventArgs e)
   at System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.42 (RTM.050727-4200)
    CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
Zarx264gui
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Program%20Files/AMVApp/H264%20Tools/Zarx264gui.exe
----------------------------------------
System.Windows.Forms
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.42 (RTM.050727-4200)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.42 (RTM.050727-4200)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.42 (RTM.050727-4200)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
OR

it will encode about a minute's worth of the file, claim to be finished and when I play it back in VLC, after about the 1 minute mark I get

Code: Select all

 "CAVIStreamSynth: System exception - Access Violation at 0x0, reading from 0x0"
pasted in red over blank (black) video for the remainder of the clip with the sound still playing just fine.


Um.... help?

- Kira
ImageImage

User avatar
BauziOLD
Joined: Tue Oct 17, 2006 5:16 am
Location: Austria (uhm the other country without kangaroos^^)
Contact:
Org Profile

Post by BauziOLD » Fri Apr 27, 2007 2:37 am

I have no idea, but remeber there is still the way to write the scripts for x264 by yourself:
http://aflux.deltaanime.net/Zero1/MP4/x264.html

It isn´t hard to learn.

Good luck anyway.
ImageImageImage
Image

User avatar
Zarxrax
Joined: Sun Apr 01, 2001 6:37 pm
Contact:
Org Profile

Post by Zarxrax » Fri Apr 27, 2007 8:26 am

I think its possible that your input files may be to blame. If you try loading a different video source, does it work? How about if you encode without audio?

User avatar
Kira_Douji
Joined: Sun Feb 20, 2005 1:38 pm
Org Profile

Hmm..

Post by Kira_Douji » Fri Apr 27, 2007 9:25 am

Well, I told it to encode about 2:45 minutes of video from one of my sources. The video didn't have an sound (I'd eliminated it prior) and it encoded fine. So I went back and tagged on the .wav from my amv and .NET threw up on me again D: I'm assuming it's an audio problem then, but... how would I fix it?

- Kira
ImageImage

User avatar
Kira_Douji
Joined: Sun Feb 20, 2005 1:38 pm
Org Profile

Post by Kira_Douji » Fri Apr 27, 2007 9:43 am

Okay, well I went back and killed the audio on my avisynth file for the amv and I still got the .NET error. *sigh* So does that mean that both of my files are screwed up? If so how do I fix them? Could an avisynth filter be causing the issue?

- Kira
ImageImage

User avatar
Kira_Douji
Joined: Sun Feb 20, 2005 1:38 pm
Org Profile

Post by Kira_Douji » Fri Apr 27, 2007 11:06 am

***Update***

Downloaded MeGUI to see if there was any difference. Again, about a third of the way through the video encode (~1 minute in) I get an error. Interestingly, with MeGUI running the generic Microsoft error box pops up saying that x264.exe has made an error and needs to close. I went back, updated to the most recent CLI (end of March release), ran it again, same thing. However the audio encodes perfectly fine. I can also encode the same video/audio via XviD w/ .avi container just fine.

This is getting really confusion. :x
ImageImage

User avatar
Zarxrax
Joined: Sun Apr 01, 2001 6:37 pm
Contact:
Org Profile

Post by Zarxrax » Fri Apr 27, 2007 3:11 pm

Try grabbing this version of zarx264gui: http://zarxrax.kicks-ass.net/Zarx264gui-testfix.zip
It's slightly updated since the one in the amvapp beta and fixes a few problems that might be somewhat related to your issue.

Try exporting out of Premiere again and see if that helps. Is there any specific frame in the video where it always stops encoding? Go to the advanced tab in zarx264gui and use the create .bat feature. Try running this .bat file that it creates. This will encode the file directly in x264 without going through zarx264gui. See if it still crashes in the same place.

User avatar
Kira_Douji
Joined: Sun Feb 20, 2005 1:38 pm
Org Profile

This is making me tear my hair out

Post by Kira_Douji » Fri Apr 27, 2007 8:46 pm

I tried re-exporting and going through the old UI
- .NET error

I tried going through the new UI
- stops around the same frame as before and displays same error message, seems to be about 36% of the way into the video. Can't tell which frame exactly because VDM doesn't like 264, but it sames to be the same spot as before.

I tried making and running the .bat
- stops around the same frame as before and displays same error message, seems to be about 36% of the way into the video. Can't tell which frame exactly because VDM doesn't like 264, but it sames to be the same spot as before.

*slams head on desk* The audio encodes fine, but for SOME REASON the video just doesn't get beyond 36%. It even comes out muxed.

I don't know if this is related, but Adobe Premiere has been tossing out this error on close lately (it showed up just before I started having these issues);


Image

- Kira
ImageImage

User avatar
Zarxrax
Joined: Sun Apr 01, 2001 6:37 pm
Contact:
Org Profile

Post by Zarxrax » Fri Apr 27, 2007 9:19 pm

Ok, if it doesnt encode through the bat file, then zarx264gui is eliminated as the culprit. Either there is a bug in x264, or there is a problem in your avi. I'd lean towards there being a problem with your avi.
Try this: Load the uncompressed avi into virtualdubmod. Set it to fast recompress, and save it under a different name, uncompressed again, of course. If there is a problem in the avi, perhaps vdubmod will fix it for you. After that, try loading the new file into zarx264gui and see what happens.

User avatar
Kira_Douji
Joined: Sun Feb 20, 2005 1:38 pm
Org Profile

Post by Kira_Douji » Fri Apr 27, 2007 10:29 pm

Did what you said. Same error. T_T

- Kira
ImageImage

Locked

Return to “Conversion / Encoding Help”