Post subject: No audio/video sync in some of the MP4/MKV encodes
Joined: 6/28/2011
Posts: 6
Hi there! I wonder if anyone experienced the same thing with the playback of some of the MP4/MKV encodes on the site, with the audio going a few seconds faster than the video. Is there any recommended player that is to be used to play such clips? Note that I do not have problems with other MP4/MKV clips though.
Lex
Joined: 6/25/2007
Posts: 732
Location: Vancouver, British Columbia, Canada
If you say which encodes have the desyncs, they can probably be investigated further and flagged for re-encoding if they're verified to desync. For watching the current videos, most good players (MPC-HC and VLC at least) have an audio offset feature. You can use that to resync the audio on playback.
sgrunt
He/Him
Emulator Coder, Former player
Joined: 10/28/2007
Posts: 1360
Location: The dark horror in the back of your mind
Also, let us know what media player you are using. Some media players have known issues playing back heavily processed videos in general, particularly on less powerful hardware.
Joined: 6/28/2011
Posts: 6
Actually, all of the MP4/MKV encodes that I had watched so far had the delays, but I can't proclaim it to be true for the ones that I did not watch yet. Nevertheless, I will try to post a list of the ones that I had watched which had delays.
Lex
Joined: 6/25/2007
Posts: 732
Location: Vancouver, British Columbia, Canada
If all the encodes you watched had delays, is it possible your video software's playback settings are the cause?
Joined: 11/4/2007
Posts: 1772
Location: Australia, Victoria
Who encoded these videos?
Tub
Joined: 6/25/2005
Posts: 1377
mplayer is known to have issues with some mp4 videos. Even though the status information printed to the console will cheerfully announce how much A/V-desync there is, it doesn't make any effort to correct it. Seeking through the video will temporarily sync A/V, but it'll soon continue to drift apart again. mplayer -nocorrect-pts x.mp4 can remedy that. Don't set that option as a default, though, because it'll cause some .avis to desync. if you weren't using mplayer.. ignore that ;)
m00
Editor, Player (67)
Joined: 6/22/2005
Posts: 1041
Kiwi: Do you notice the problems when you stream the movies or when you download the official encodes and watch them? I assume it's the latter. If it's the former, however, which streaming site(s) are you using?
Current Projects: TAS: Wizards & Warriors III.
Joined: 6/28/2011
Posts: 6
Lex wrote:
If all the encodes you watched had delays, is it possible your video software's playback settings are the cause?
Flygon wrote:
Who encoded these videos?
Not all encodes I watched had delays, that's why. As for who encoded, I'm not really sure. I mainly downloaded from archive.org.
Tub wrote:
mplayer is known to have issues with some mp4 videos. Even though the status information printed to the console will cheerfully announce how much A/V-desync there is, it doesn't make any effort to correct it. Seeking through the video will temporarily sync A/V, but it'll soon continue to drift apart again. mplayer -nocorrect-pts x.mp4 can remedy that. Don't set that option as a default, though, because it'll cause some .avis to desync. if you weren't using mplayer.. ignore that ;)
Yeah I wasn't using mplayer. :)
Dacicus wrote:
Kiwi: Do you notice the problems when you stream the movies or when you download the official encodes and watch them? I assume it's the latter. If it's the former, however, which streaming site(s) are you using?
I downloaded mainly from archive.org, or using bittorrent. (Mod edit: combined three posts into one.)
Site Admin, Skilled player (1237)
Joined: 4/17/2010
Posts: 11275
Location: RU
Tip: there's an EDIT button.
Warning: When making decisions, I try to collect as much data as possible before actually deciding. I try to abstract away and see the principles behind real world events and people's opinions. I try to generalize them and turn into something clear and reusable. I hate depending on unpredictable and having to make lottery guesses. Any problem can be solved by systems thinking and acting.
Joined: 6/28/2011
Posts: 6
feos wrote:
Tip: there's an EDIT button.
What do u want me to edit?
Site Admin, Skilled player (1237)
Joined: 4/17/2010
Posts: 11275
Location: RU
The first post, instead of adding several new ones (not this time, in future). EDIT: Obviously I wanted a new user not to multipost.
Warning: When making decisions, I try to collect as much data as possible before actually deciding. I try to abstract away and see the principles behind real world events and people's opinions. I try to generalize them and turn into something clear and reusable. I hate depending on unpredictable and having to make lottery guesses. Any problem can be solved by systems thinking and acting.
sgrunt
He/Him
Emulator Coder, Former player
Joined: 10/28/2007
Posts: 1360
Location: The dark horror in the back of your mind
You haven't really provided us with much in the way of new relevant information yet. In particular,
sgrunt wrote:
Also, let us know what media player you are using. Some media players have known issues playing back heavily processed videos in general, particularly on less powerful hardware.
Joined: 7/2/2007
Posts: 3960
I think Feos is saying in a rather roundabout way that he'd rather you consolidate your responses to different people into a single post. I don't personally think it matters much. We do rarely get some users who don't know about editing posts, so if they make a mistake they then make a followup post correcting the mistake. That's a bit silly.
Pyrel - an open-source rewrite of the Angband roguelike game in Python.
Lex
Joined: 6/25/2007
Posts: 732
Location: Vancouver, British Columbia, Canada
Kiwi, you keep referring to "all encodes [you] watched" instead of referring to specific lists of videos. If you know any specific videos which demonstrate your claims, please post their relevant identifying information.
Banned User, Former player
Joined: 3/10/2004
Posts: 7698
Location: Finland
Derakon wrote:
I think Feos is saying in a rather roundabout way that he'd rather you consolidate your responses to different people into a single post.
Actually, responding (with quotes) to several posts in one post is quite laborious and non-obvious in this phpbb interface. There should be an easier way of doing it (or at least a more obvious way).
Joined: 6/28/2011
Posts: 6
Just happened to watch the featured clip a while ago, so I shall start adding the list as I watch more clips (I'm not really a regular watcher, do bear with me if the reports are not regular). http://tasvideos.org/1415M.html Btw, I downloaded the file supermarioworld-tas-ismmister.mp4 from archive.org directly, if that helps in your troubleshooting isolation.
sgrunt
He/Him
Emulator Coder, Former player
Joined: 10/28/2007
Posts: 1360
Location: The dark horror in the back of your mind
I do not see the reported issue with either the encode that's currently present on the movie or the one that was there up until about three months ago, regardless of media player used. I thus ask for the third time what media player(s) you are seeing this issue with and what type of hardware you are running them on.
Joined: 11/22/2004
Posts: 1468
Location: Rotterdam, The Netherlands
Kiwi wrote:
Btw, I downloaded the file supermarioworld-tas-ismmister.mp4 from archive.org directly, if that helps in your troubleshooting isolation.
Worked perfectly on my end as well. Maybe whatever player you're using doesn't support dedupped encodes? You should let us know exactly what you're using, hardware as well. Try using something like to see if that helps.
Joined: 6/28/2011
Posts: 6
Ok sorry guys. I really dun mean anything offensive, certainly not a troll. Anyway my hardware is i5-2400. The codec I tried was Win7codec by Shark007, with Media Player Classic. Anyway, I have tried the clips in VideoLAN player in an attempt to bypass the installed codecs. So far so good. So for now, we can assume that all my experience is due to bad codecs on my computer, and not encoding problem. I will try to review the clips again with VideoLAN to check. Thanks to all of u for your time and patience with me. :)
sgrunt
He/Him
Emulator Coder, Former player
Joined: 10/28/2007
Posts: 1360
Location: The dark horror in the back of your mind
I gather that "Win7codec" is a codec pack. Generally speaking, with those you end up with older versions of codecs than you might find by seeking them out on your own. You might consider getting an up-to-date build of ffdshow from here, for starters.