AVS SCRIPT wrote:DirectShowSource("Example_Video.avi")
MediaCoder Refuses to Transcode AVS Scripts
MediaCoder Refuses to Transcode AVS Scripts
As soon as I try transcode a video using AVS script (frameserver) as my input, MediaCoder fails to produce an output. Works fine when I preview or play the video. I receive the error message, "The transcoding is not successful. Please check log (in Expert mode) for details." The log file does not state the exact problem. I have the necessary codecs installed to decode the video. Here's my example script.
Yes, I have installed the necessary directshow filters using K-Light Codec pack (Full Edition). Believe me, I've exhausted every method I can think of. As a test, I ran this simple AVS script through another video editing software VirtualDubMod. It was able to read and transcode to my new video format without a problem. The original input video was encoded in XviD with MP3 as it's audio. Usually I have no need to use AVS scrpting but I was doing this as a test run for myself and ran into this problem.
1. Was using AviSynth 2.57, reverting to AviSynth 2.56astanley wrote:Please try these to help finding out the issue:
1.switch to another version of avisynth
2. try plaing the file with video source set to avisynth (this will make mplayer to play with avisynth)
3. transcode with ffmpeg as backend
2. AVISynth was already set as my video source (this was how I was able to preview or play the video through MPlayer)
3. Was using MEncoder, switching to FFMPEG as my video backend
Final results? Same. Doesn't transcode the video. Not sure what's causing the problem.
Load the Console Window (hotkey: F6) and try an encode. If there was any detailed error messages to be had, it will be somewhere in that morass of characters.
For example, when encoding with the x264 backend + avs, x264 will fail and state that it needs the video's resolution to do the job. In that case, just add the resolution in x264's "Extra Options".
For example, when encoding with the x264 backend + avs, x264 will fail and state that it needs the video's resolution to do the job. In that case, just add the resolution in x264's "Extra Options".
I wasn't using x264 as my video backend when I was doing the test. I was using MEncoder backend, then I switched to FFMPEG backend as instructed by stanley. Triggering the console window does not display any error message when transcoding from an AVS script (my original video was encoded in XviD). Where did you come up with the conclusion I was transcoding to an h.264 video?
I didn't. It was just "For example, when encoding ..."Where did you come up with the conclusion I was transcoding to an h.264 video?
If there were no error messages within the text in the Console Window after a failed encode, then there is no way anybody can help debug this problem. We have the input and output, but we don't know what's happening in between. Unless Stanley had diverted the normal error reporting mechanism to write to some log file.
Btw, the Logger tab in advance/expert mode never logs any error messages....
I misread what you wrote. Sorry about that. Usually I refer to the console window to give me some clue as to why some of the videos don't encode. Most of the time I have the problem resolved but this one I can't figure out since it does not display any error message other then the window that pops up after I click the start button.
I know not to rely on the logger tab anymore.
I know not to rely on the logger tab anymore.