I'm getting this error trying to encode in x264, it seems like something to do with the audio, and its my first time doing this so I'm completely baffled by the error, thanks for any help!
Export the video uncompressed from your editing program WITHOUT the music attached, and then compress that. After it's been compressed you can use MeGUI to mux the MP3 to the video.