mailto: blog -at- heyrick -dot- eu
Fixing SMPlayer losing audio sync
I was watching an animé on the P4 box using SMPlayer, however it kept losing sync - the video was very stuttery. Now, while this is a 720p HD video, it was running on a 2.8GHz Pentium 4 machine. It should have coped without undue issues. How do I know this? Easy - VLC. Played the same files without problems.
I tried the usual tweaks:
I did all of that, and nothing changed.
- Set the process priority to High to devote more time to video playback.
(don't be tempted to go a step further and choose "realtime" as this will devote more or less ALL time to video playback, at the expense of Windows itself - you might be able to watch the video but you'll have a hell of a job interacting with the user interface...)
- Allowing frame drop will let SMPlayer throw away some frames if necessary to "catch up" on slower systems.
(the difference between this and hard frame drop is that these discarded frames shouldn't make too much difference to the video, however those tossed by hard frame drop may be key frames, meaning the playback could descend into gibberish if too many frames are discarded)
- Setting the number of decoding threads to the number of "cores" that the processor has, makes a big difference with HD video
- Disabling the loop filter. If you can, you should keep the loop filter on, however on slower systems it can have quite an impact on HD video - that's why there is an option to disable it only for HD video. The effect of turning the filter off is a rougher looking output. It may not be noticed on live action video as it shows up most with flat areas of similar colour, such as sky...or a lot of animé.
My settings were 'simpler' than those used by my 1.6GHz Atom machine with its treacle slow graphics chipset, yet it still struggled to play an HD animé. How was this possible?
I started haphazardly tweaking everything in sight and eventually I found the culprit:
Yup. Applying automatic deinterlacing to HD video makes it run like a lame dog. I'm surprised (S)MPlayer has no option not to try deinterlacing HD videos, but there it is. Turning this option (that is required for some of my SD videos) off made all the lethargy go away.
So I'm telling you as a load of Google searches didn't suggest this...so I will. ☺
Please note that while I check this page every so often, I am not able to control what users write; therefore I disclaim all liability for unpleasant and/or infringing and/or defamatory material. Undesired content will be removed as soon as it is noticed. By leaving a comment, you agree not to post material that is illegal or in bad taste, and you should be aware that the time and your IP address are both recorded, should it be necessary to find out who you are. Oh, and don't bother trying to inline HTML. I'm not that stupid! ☺ ADDING COMMENTS DOES NOT WORK IF READING TRANSLATED VERSIONS.
You can now follow comment additions with the comment RSS feed. This is distinct from the b.log RSS feed, so you can subscribe to one or both as you wish.
(Felicity? Marte? Find out!)
- USB MIDI for RISC OS. (2022/08/09)
- Archie - it's finally over, I went to Craon yesterday, The psychology of fleas, Vacuuming the concrete outside, Repainting the windows. (2022/08/07)
- It's the economy stupid, EDF and consent, Being nannyed by Google, Tidying up, Storms, Heat and bugs, More tidying up, Haircut. (2022/08/05)
- Yet more heat, Shrinkflation, Washing, Swallowtail caterpillar, Rees-Mogg was wrong and the folly of Brexit. (2022/08/03)
- More Paper Girls decoding. (2022/07/25)
List all b.log entries
Return to the site index
PS: Don't try to be clever.
It's a simple substring match.
Last read at 04:39 on 2022/08/11.
© 2016 Rick Murray
This web page is licenced for your personal, private, non-commercial use only. No automated processing by advertising systems is permitted.
RIPA notice: No consent is given for interception of page transmission.