<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[SmoothVideo Project — SVP 4 Mac audio-video desync issue]]></title>
		<link>https://www.svp-team.com/forum/viewtopic.php?id=3754</link>
		<atom:link href="https://www.svp-team.com/forum/extern.php?action=feed&amp;tid=3754&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in SVP 4 Mac audio-video desync issue.]]></description>
		<lastBuildDate>Mon, 06 Feb 2017 10:12:11 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: SVP 4 Mac audio-video desync issue]]></title>
			<link>https://www.svp-team.com/forum/viewtopic.php?pid=63845#p63845</link>
			<description><![CDATA[<div class="quotebox"><cite>Faitheorg wrote:</cite><blockquote><p>I think you might as well use some kind of third-class video and audio converter.</p></blockquote></div><p>You don&#039;t even need to convert anything. In case of the wrong-FPS problem we are really just talking about a different number somewhere in the video&#039;s metadata. As metadata editors for various video containers are scarce, simply remuxing it will solve the problem as well (and is as fast as simply copying the file).</p>]]></description>
			<author><![CDATA[null@example.com (myfakeacc)]]></author>
			<pubDate>Mon, 06 Feb 2017 10:12:11 +0000</pubDate>
			<guid>https://www.svp-team.com/forum/viewtopic.php?pid=63845#p63845</guid>
		</item>
		<item>
			<title><![CDATA[Re: SVP 4 Mac audio-video desync issue]]></title>
			<link>https://www.svp-team.com/forum/viewtopic.php?pid=63829#p63829</link>
			<description><![CDATA[<p>As for the&nbsp; audio-video desync issue. I think you might as well use some kind of third-class video and audio converter. I also met similar problems months ago and <a href="https://format-factory.en.softonic.com/">format factory</a> did help me a lot.</p>]]></description>
			<author><![CDATA[null@example.com (Faitheorg)]]></author>
			<pubDate>Mon, 06 Feb 2017 01:07:35 +0000</pubDate>
			<guid>https://www.svp-team.com/forum/viewtopic.php?pid=63829#p63829</guid>
		</item>
		<item>
			<title><![CDATA[Re: SVP 4 Mac audio-video desync issue]]></title>
			<link>https://www.svp-team.com/forum/viewtopic.php?pid=63430#p63430</link>
			<description><![CDATA[<p>Gosh darn, now another issue popped up. mpv seems to be perfectly fine when playing videos in windowed mode but as soon as I switch to full screen, massive frame drops, stuttering and instant A-V desync happens after a second or two. If I had to guess the cause, it would be this: when I toggle the Stats Lua script to see the Display FPS, in windowed mode both the specified and estimated values are really close to 60 FPS. However, as soon as I go to full screen mode, the estimated value drops to 38-46 FPS while the specified still remains at 59.940. Could this be an issue? If so, how would I go about fixing it?</p><p>When looked at mpv manual, I see few interesting mentions. For example, “estimated-display-fps: Only available if display-sync mode (as selected by --video-sync) is active.” and “display-fps: On multi-monitor systems, there is a chance that the detected value is from the wrong monitor.”. Overriding display-fps in config file didn&#039;t help unfortunately and what&#039;s worse, turning video-sync off didn&#039;t help either. Tried to focus my search on the forums in this particular direction but didn&#039;t find anything relevant unfortunately.</p><p>Edit: aaand solved as well. Apparently something on my system doesn&#039;t play well with mpv-Change-OSD-Media-Title Lua script. The old “remove everything and start from scratch” method helped me this time <img src="https://www.svp-team.com/forum/img/smilies/smile.png" width="15" height="15" alt="smile" /></p>]]></description>
			<author><![CDATA[null@example.com (Cellane)]]></author>
			<pubDate>Sat, 14 Jan 2017 18:00:07 +0000</pubDate>
			<guid>https://www.svp-team.com/forum/viewtopic.php?pid=63430#p63430</guid>
		</item>
		<item>
			<title><![CDATA[Re: SVP 4 Mac audio-video desync issue]]></title>
			<link>https://www.svp-team.com/forum/viewtopic.php?pid=63418#p63418</link>
			<description><![CDATA[<p>Aha! Thank you so much, I actually didn&#039;t hardcore the FPS into my MVTools script either, but then again the same script had the same issue on this particular video as well. Meaning I probably didn&#039;t have to purchase SVP at all, haha <img src="https://www.svp-team.com/forum/img/smilies/tongue.png" width="15" height="15" alt="tongue" /> Ah well, I&#039;ll keep my SVP license as I plan to sell my iMac in the near future and while my MVTools script has no chance of ever working on my MacBook Air, maybe SVP will yield better results.</p><p>Anyhow, the automatic fix from <a href="http://www.svp-team.com/forum/viewtopic.php?pid=63044#p63044">this</a> particular post worked well for me. Thanks again! I didn&#039;t think it would be an issue with the media file, I just assumed my installation and configuration was wrong.</p>]]></description>
			<author><![CDATA[null@example.com (Cellane)]]></author>
			<pubDate>Sat, 14 Jan 2017 13:03:04 +0000</pubDate>
			<guid>https://www.svp-team.com/forum/viewtopic.php?pid=63418#p63418</guid>
		</item>
		<item>
			<title><![CDATA[Re: SVP 4 Mac audio-video desync issue]]></title>
			<link>https://www.svp-team.com/forum/viewtopic.php?pid=63413#p63413</link>
			<description><![CDATA[<p><a href="http://www.svp-team.com/forum/viewtopic.php?pid=62884#p62884">http://www.svp-team.com/forum/viewtopic … 884#p62884</a><br /><a href="http://www.svp-team.com/forum/viewtopic.php?pid=63006#p63006">http://www.svp-team.com/forum/viewtopic … 006#p63006</a></p><p>Your MVTools script most probably worked because you hardcoded the FPS. You could do this here as well.</p>]]></description>
			<author><![CDATA[null@example.com (myfakeacc)]]></author>
			<pubDate>Sat, 14 Jan 2017 11:19:44 +0000</pubDate>
			<guid>https://www.svp-team.com/forum/viewtopic.php?pid=63413#p63413</guid>
		</item>
		<item>
			<title><![CDATA[SVP 4 Mac audio-video desync issue]]></title>
			<link>https://www.svp-team.com/forum/viewtopic.php?pid=63411#p63411</link>
			<description><![CDATA[<p>I purchased SVP 4 Mac few days ago and been trying to make it work for me but I&#039;m having issues with audio-video desync in mpv. Anytime I seek forwards or backwards in the video, the A/V is synced perfectly but over time gets desynchronized no matter the options I tried.</p><p>The only configuration I changed in SVP 4 Control Panel is following:</p><ul><li><p>Frame rate conversion fixed to 60 FPS</p></li><li><p>Quality slider moved all the way to the right towards quality, but tried lower quality as well with same results</p></li><li><p>Optimized for animation</p></li><li><p>Low artifacts masking</p></li></ul><p>When it comes to hardware and software, I&#039;m running SVP on this machine:</p><ul><li><p>iMac (27-inch, Late 2012)</p></li><li><p>3,4 GHz Intel Core i7</p></li><li><p>8 GB 1600 MHz DDR3</p></li><li><p>NVIDIA GeForce GTX 680MX 2048 MB</p></li><li><p>macOS 10.12.2</p></li><li><p>/usr/local/Cellar/mpv/0.23.0_2 (61 files, 33.5M) * Built from source on 2017-01-10 at 23:22:21 with: --with-bundle --with-vapoursynth</p></li><li><p>/usr/local/Cellar/vapoursynth/35_1 (22 files, 2.8M) * Poured from bottle on 2017-01-10 at 22:19:31</p></li><li><p>/usr/local/Cellar/mvtools/HEAD-a2f5607_1 (4 files, 659.3K) * Built from source on 2017-01-10 at 22:19:30</p></li></ul><p>So a fairly beefy machine that should be able to handle SVP – I mean, before purchasing SVP I was running custom Vapoursynth script without any issues and that one didn&#039;t use GPU acceleration (obviously). I should mention that this issue occurs not only with 1080p videos but also with 720p (neither of them are Hi10P). I obviously shouldn&#039;t link the video that was giving me hard time but let&#039;s say it was 720p rip of eighth episode of Kono Subarashii Sekai ni Shukufuku wo! and for some reason the filename also contained string “HorribleSubs”. Wink wink.</p><p>Finally, when it comes to mpv.conf, I started with minimalistic config file found on Wiki (input-ipc-server=/tmp/mpvsocket hwdec-codecs=all hwdec=auto-copy) all the way to this monstrosity:</p><div class="codebox"><pre><code>input-ipc-server=/tmp/mpvsocket
hwdec-codecs=all
hwdec=auto-copy
vo=opengl
opengl-pbo
dscale=mitchell
correct-downscaling
sigmoid-upscaling
icc-profile-auto
icc-contrast=1000
tscale=catmull_rom
dither-depth=auto
blend-subtitles=yes
video-sync=display-resample
video-sync-max-video-change=10
autosync=30
border=no
osd-font=&#039;Helvetica Neue&#039;
idle=yes
keep-open=always
ytdl-format=128+bestaudio/266+bestaudio/264+bestaudio/299+bestaudio/137+bestaudio/298+bestaudio/22/135+bestaudio/18/best
sub-codepage=cp1250
slang=enUS,en,eng,csCZ,cs
alang=jp,jpn,enUS,en,eng,csCZ,cs</code></pre></div><p>At the end (starting with border=no) is my old configuration file, everything above that is something I found here on the forums and decided to try but to no avail. Tried different values for video-sync, nada.</p><p>Oh, one more thing: <a href="https://imgur.com/a/fiwop">this is how the performance monitor looked like</a> during playback and this is the last line in mpv&#039;s console after 3.5 minutes of playback: “(Paused) AV: 00:03:25 / 00:23:40 (14%) A-V: -0.000 DS: 1.000/0”. If I understand things correctly (not sure!), based on the A-V value mpv things audio and video are perfectly in sync when in reality, audio is delayed by roughly two seconds at this point!</p><p>If I can provide you with any other data necessary for debugging and solving this, please let me know. I really want to have this issue resolved, can&#039;t live without my 60 FPS videos anymore <img src="https://www.svp-team.com/forum/img/smilies/smile.png" width="15" height="15" alt="smile" /></p>]]></description>
			<author><![CDATA[null@example.com (Cellane)]]></author>
			<pubDate>Sat, 14 Jan 2017 06:58:01 +0000</pubDate>
			<guid>https://www.svp-team.com/forum/viewtopic.php?pid=63411#p63411</guid>
		</item>
	</channel>
</rss>
