MKV Videos audio out of sync ONLY WHEN using Avisynth/Mencod
Posted: Mon Jun 11, 2012 8:18 am
Hi there!
First and foremost, I saw that there is another thread about .mkv videos being out of sync, but mine is only out of sync when using the AviSynth/MEncoder engine, but if you, moderators, feel that this should go through the same thread, please let me know and/or move the thread/topic accordingly.
I also want to take this opportunity to say, as well, that I am enjoying the many new aspects of the program. You are doing a great job, especially considering you are starting a whole new project (still keeping in mind you are working off of PMS and it's/your development over the years).
Now, onto my problem....
First, I've seen it really helps if one attaches one's debug.log first and foremost. So I have done that. BUT it seems that it has been neglected to allow anything outside of picture files and .zip files. So, I inputted 2 files. The "debug (rename extension to .log).zip" is actually the debug.log file with the extension renamed. I imagine if you change the extension back to ".log", you will be able to access it. The second file is the "debug.log inside.zip" which is actually the debug.log file zipped within a .zip container; ...for if the renaming the "debug (rename extension to .log).zip" extension does not work.
Now, a description of my problem. It is rather simple to explain. When I use AviSynth/MEncoder engine to transcode a .mkv (and .mkv's only), the audio is out of sync. Specifically, it seems to lag. Any other format (.avi, .mp4, .mpg) does not come up with this problem. One might ask, "well then why keep insisting on using that engine if MEncoder by itself works?" The reason being that I like being able to transcode a video using the FFDShow configurations from CCCP when watching (through wireless) in the bedroom on my "tube" TV. Unfortunately, with most of the "tube" TVs, the whole picture isn't shown. And when watching shows with subtitles, it is an even worse situation as most/many of the subtitles are cut off rendering the video unwatchable. Settings in FFDShow can make it so the whole image shows on the "tube" TV. I am only a novice in computers, and I am sure there is a way to modify/command MEncoder itself/only itself to manage the same thing, but I imagine that is an extensive topic for another discussion as well as it most likely being more complicated than simply setting up/choosing FFDShow when in the bedroom.
The things I have attempted to resolve the issue...
I have tried on both types of connections of wireless and wired. I have tried older versions of Avisynth. I have tried new, beta versions of Avisynth. I have tried the 4 settings in the Avisynth/MEncoder tab with variable/all possible combinations. (most of the cases, it rendered the video a "corrupt file" and unplayable). I also run MEncoder with the options A/V sync alternative method and Force framerate parsed from FFmpeg enabled as well. I have also "tinkered" with the settings within FFDShow with no success. I have tried using rather old and new .mkv's to see if it may be simply the container or codec (old/new) used for the video portion. I have tried enabling/disabling subtitles both within UMS and FFDShow.
For what it's worth, there isn't this issue/problem when playing the video on PMS 1.40.0 (I believe was the last version that had no issues [at least for me] with .mkv's {which is why i always refer back to it when desperate to play .mkv's proper and/or having sync issues}) But, then again, the video is processed by the mencoder_mt.exe and I never understood why there was a _mt.exe and _alternate versions. But I am simply inputting what I may be imagining as pertinent information.
Also, I am using Windows Vista 32-bit. 2.5 Ghz Dual Core. 4GB of RAM. Integrated graphics card
. I am using the current UMS 1.1.0 . I stream to both 1st and 2nd generation PS3s ( 60 GB launch/ 160 GB slim). Also, I am using the latest Java 6 release (Java 7 giving me problems with my firewall and other java programs)
If there is any other pertinent information you need, please inform me and I will respond as completely as I can.
I appreciate you and anyone's help on this matter and thank you in advanced for your consideration.
First and foremost, I saw that there is another thread about .mkv videos being out of sync, but mine is only out of sync when using the AviSynth/MEncoder engine, but if you, moderators, feel that this should go through the same thread, please let me know and/or move the thread/topic accordingly.
I also want to take this opportunity to say, as well, that I am enjoying the many new aspects of the program. You are doing a great job, especially considering you are starting a whole new project (still keeping in mind you are working off of PMS and it's/your development over the years).
Now, onto my problem....
First, I've seen it really helps if one attaches one's debug.log first and foremost. So I have done that. BUT it seems that it has been neglected to allow anything outside of picture files and .zip files. So, I inputted 2 files. The "debug (rename extension to .log).zip" is actually the debug.log file with the extension renamed. I imagine if you change the extension back to ".log", you will be able to access it. The second file is the "debug.log inside.zip" which is actually the debug.log file zipped within a .zip container; ...for if the renaming the "debug (rename extension to .log).zip" extension does not work.
Now, a description of my problem. It is rather simple to explain. When I use AviSynth/MEncoder engine to transcode a .mkv (and .mkv's only), the audio is out of sync. Specifically, it seems to lag. Any other format (.avi, .mp4, .mpg) does not come up with this problem. One might ask, "well then why keep insisting on using that engine if MEncoder by itself works?" The reason being that I like being able to transcode a video using the FFDShow configurations from CCCP when watching (through wireless) in the bedroom on my "tube" TV. Unfortunately, with most of the "tube" TVs, the whole picture isn't shown. And when watching shows with subtitles, it is an even worse situation as most/many of the subtitles are cut off rendering the video unwatchable. Settings in FFDShow can make it so the whole image shows on the "tube" TV. I am only a novice in computers, and I am sure there is a way to modify/command MEncoder itself/only itself to manage the same thing, but I imagine that is an extensive topic for another discussion as well as it most likely being more complicated than simply setting up/choosing FFDShow when in the bedroom.
The things I have attempted to resolve the issue...
I have tried on both types of connections of wireless and wired. I have tried older versions of Avisynth. I have tried new, beta versions of Avisynth. I have tried the 4 settings in the Avisynth/MEncoder tab with variable/all possible combinations. (most of the cases, it rendered the video a "corrupt file" and unplayable). I also run MEncoder with the options A/V sync alternative method and Force framerate parsed from FFmpeg enabled as well. I have also "tinkered" with the settings within FFDShow with no success. I have tried using rather old and new .mkv's to see if it may be simply the container or codec (old/new) used for the video portion. I have tried enabling/disabling subtitles both within UMS and FFDShow.
For what it's worth, there isn't this issue/problem when playing the video on PMS 1.40.0 (I believe was the last version that had no issues [at least for me] with .mkv's {which is why i always refer back to it when desperate to play .mkv's proper and/or having sync issues}) But, then again, the video is processed by the mencoder_mt.exe and I never understood why there was a _mt.exe and _alternate versions. But I am simply inputting what I may be imagining as pertinent information.
Also, I am using Windows Vista 32-bit. 2.5 Ghz Dual Core. 4GB of RAM. Integrated graphics card

If there is any other pertinent information you need, please inform me and I will respond as completely as I can.
I appreciate you and anyone's help on this matter and thank you in advanced for your consideration.