<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[SmoothVideo Project — Transcoding seems broken for split video files after recent update.]]></title>
		<link>https://www.svp-team.com/forum/viewtopic.php?id=7528</link>
		<atom:link href="https://www.svp-team.com/forum/extern.php?action=feed&amp;tid=7528&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Transcoding seems broken for split video files after recent update..]]></description>
		<lastBuildDate>Sun, 09 Mar 2025 09:19:16 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Transcoding seems broken for split video files after recent update.]]></title>
			<link>https://www.svp-team.com/forum/viewtopic.php?pid=86478#p86478</link>
			<description><![CDATA[<p>I&#039;ve transcoded several 4k mkv videos successfully, but I always delete the split segments once the transcoding and merging is done. I still have the segments for the current video, but they&#039;re quite large. The smallest segment that I successfully transcoded is 313MB. Let me know if you need that.</p><p>___________________________________________</p><p>Hey, I just tried something right after typing that. I switched <em>Encoder - Basic</em> to <em>Encoder - Advanced</em>, then I switched from <em>MKV</em> to <em>As source</em>, then I tried transcoding one of the segments that threw an error and...... no errors! It&#039;s currently at 2% now.</p><p>I&#039;ve always used <em>Encoder - Basic</em> for transcoding, and I don&#039;t remember ever switching from <em>MKV</em> to <em>As source</em> or vice versa in Advanced. </p><p>So why is the ffmpeg check not happening for As source? Anyway, I&#039;m happy to have a workaround now. Are there any consequences of using As source instead of MKV? One thing I&#039;ve noticed is that the fps seems to have dropped from the usual 10-ish to 5.5.<br />_________</p><p>Edit: Switching from <em>MKV</em> to <em>As source</em> is not required. Switching from <em>Encoder - Basic</em> to <em>Encoder - Advanced</em> was enough to make it work. And changing from <em>preset=slow</em> to <em>preset=fast</em> increased the fps to 8.1. Anyway, this seems to be a parameters issue, right?<br />Edit: I was able to recreate the issue in Encoder - Advanced using the Default H.265/HEVC / NVENC preset, which is what I use in Basic. But changing <em>preset=slow</em> to <em>preset=fast</em> in this preset did not produce the error.</p>]]></description>
			<author><![CDATA[null@example.com (masterpdon)]]></author>
			<pubDate>Sun, 09 Mar 2025 09:19:16 +0000</pubDate>
			<guid>https://www.svp-team.com/forum/viewtopic.php?pid=86478#p86478</guid>
		</item>
		<item>
			<title><![CDATA[Re: Transcoding seems broken for split video files after recent update.]]></title>
			<link>https://www.svp-team.com/forum/viewtopic.php?pid=86474#p86474</link>
			<description><![CDATA[<p>I&#039;m pretty sure that this ffmpeg&#039;s pts check was always like this...<br />but you can share the file the used to work with some earlier version</p>]]></description>
			<author><![CDATA[null@example.com (Chainik)]]></author>
			<pubDate>Sat, 08 Mar 2025 08:15:12 +0000</pubDate>
			<guid>https://www.svp-team.com/forum/viewtopic.php?pid=86474#p86474</guid>
		</item>
		<item>
			<title><![CDATA[Re: Transcoding seems broken for split video files after recent update.]]></title>
			<link>https://www.svp-team.com/forum/viewtopic.php?pid=86473#p86473</link>
			<description><![CDATA[<p>Yes, the same error again.<br /></p><div class="codebox"><pre><code>01:06:35.376: V: 00:00:00 / 00:09:59 (0%) {1.4min 0.0MB}
01:06:36.119: [ffmpeg] matroska: pts (100) &lt; dts (200) in stream 0
01:06:36.120: [encode] Writing packet failed.
01:06:36.739: Exiting... (Interrupted by error)
01:06:36.839: (!!!) Intermediate file may be broken:......</code></pre></div><p>I dropped the files chainik sent into C:\Program Files (x86)\SVP 4\mpv64.</p><p>Is no one else able to reproduce this? I guess this is not a general problem like I thought.</p>]]></description>
			<author><![CDATA[null@example.com (masterpdon)]]></author>
			<pubDate>Sat, 08 Mar 2025 00:12:07 +0000</pubDate>
			<guid>https://www.svp-team.com/forum/viewtopic.php?pid=86473#p86473</guid>
		</item>
		<item>
			<title><![CDATA[Re: Transcoding seems broken for split video files after recent update.]]></title>
			<link>https://www.svp-team.com/forum/viewtopic.php?pid=86461#p86461</link>
			<description><![CDATA[<div class="codebox"><pre><code>04:38:44.712: [ffmpeg] matroska: pts (50) &lt; dts (67) in stream 0
04:38:44.712: [encode] Writing packet failed.
04:38:46.063: Exiting... (Interrupted by error)</code></pre></div><p>This error again or another one?<br />Write here error message please?</p><div class="codebox"><pre><code>06:39:18.757: Command line: C:\Program Files (x86)\SVP 4\mpv64\mpv.exe</code></pre></div><p>Check you are using the proper mpv from this folder.</p>]]></description>
			<author><![CDATA[null@example.com (MAG79)]]></author>
			<pubDate>Fri, 07 Mar 2025 04:41:21 +0000</pubDate>
			<guid>https://www.svp-team.com/forum/viewtopic.php?pid=86461#p86461</guid>
		</item>
		<item>
			<title><![CDATA[Re: Transcoding seems broken for split video files after recent update.]]></title>
			<link>https://www.svp-team.com/forum/viewtopic.php?pid=86460#p86460</link>
			<description><![CDATA[<div class="quotebox"><cite>Chainik wrote:</cite><blockquote><p>previous mpv build: <a href="https://www.svp-team.com/files/repo/full/opt.mpv64/0.38.0-569mpv64.7z">https://www.svp-team.com/files/repo/ful … 69mpv64.7z</a></p></blockquote></div><p>I&#039;m still getting the error with this.</p>]]></description>
			<author><![CDATA[null@example.com (masterpdon)]]></author>
			<pubDate>Thu, 06 Mar 2025 22:10:44 +0000</pubDate>
			<guid>https://www.svp-team.com/forum/viewtopic.php?pid=86460#p86460</guid>
		</item>
		<item>
			<title><![CDATA[Re: Transcoding seems broken for split video files after recent update.]]></title>
			<link>https://www.svp-team.com/forum/viewtopic.php?pid=86459#p86459</link>
			<description><![CDATA[<div class="quotebox"><cite>Drakko01 wrote:</cite><blockquote><div class="quotebox"><cite>masterpdon wrote:</cite><blockquote><p>In the meantime, I&#039;d like to revert to the previous version but I can&#039;t find anywhere I can do that.</p></blockquote></div><p> I think chainik can help you with that , but for future updates a good advice its copy the entire SVP folder as a backup.</p></blockquote></div><p>Noted.</p>]]></description>
			<author><![CDATA[null@example.com (masterpdon)]]></author>
			<pubDate>Thu, 06 Mar 2025 19:22:38 +0000</pubDate>
			<guid>https://www.svp-team.com/forum/viewtopic.php?pid=86459#p86459</guid>
		</item>
		<item>
			<title><![CDATA[Re: Transcoding seems broken for split video files after recent update.]]></title>
			<link>https://www.svp-team.com/forum/viewtopic.php?pid=86455#p86455</link>
			<description><![CDATA[<p>previous mpv build: <a href="https://www.svp-team.com/files/repo/full/opt.mpv64/0.38.0-569mpv64.7z">https://www.svp-team.com/files/repo/ful … 69mpv64.7z</a></p>]]></description>
			<author><![CDATA[null@example.com (Chainik)]]></author>
			<pubDate>Thu, 06 Mar 2025 08:09:52 +0000</pubDate>
			<guid>https://www.svp-team.com/forum/viewtopic.php?pid=86455#p86455</guid>
		</item>
		<item>
			<title><![CDATA[Re: Transcoding seems broken for split video files after recent update.]]></title>
			<link>https://www.svp-team.com/forum/viewtopic.php?pid=86453#p86453</link>
			<description><![CDATA[<div class="quotebox"><cite>masterpdon wrote:</cite><blockquote><p>In the meantime, I&#039;d like to revert to the previous version but I can&#039;t find anywhere I can do that.</p></blockquote></div><p> I think chainik can help you with that , but for future updates a good advice its copy the entire SVP folder as a backup.</p>]]></description>
			<author><![CDATA[null@example.com (Drakko01)]]></author>
			<pubDate>Thu, 06 Mar 2025 02:08:42 +0000</pubDate>
			<guid>https://www.svp-team.com/forum/viewtopic.php?pid=86453#p86453</guid>
		</item>
		<item>
			<title><![CDATA[Re: Transcoding seems broken for split video files after recent update.]]></title>
			<link>https://www.svp-team.com/forum/viewtopic.php?pid=86452#p86452</link>
			<description><![CDATA[<p>In the meantime, I&#039;d like to revert to the previous version but I can&#039;t find anywhere I can do that.</p>]]></description>
			<author><![CDATA[null@example.com (masterpdon)]]></author>
			<pubDate>Wed, 05 Mar 2025 22:55:59 +0000</pubDate>
			<guid>https://www.svp-team.com/forum/viewtopic.php?pid=86452#p86452</guid>
		</item>
		<item>
			<title><![CDATA[Transcoding seems broken for split video files after recent update.]]></title>
			<link>https://www.svp-team.com/forum/viewtopic.php?pid=86438#p86438</link>
			<description><![CDATA[<p>I often split large videos into 10 minute chunks before transcoding each and merging them back together, because electricity is unstable in my country and I don&#039;t want to start again from 0% after my PC loses power at 87%. This has worked well so far, until the last update.</p><p>It seems transcoding no longer works for split files, particularly the second segment and upwards as it seems to work fine on the first segment.&nbsp; I have 12 segments of videos and before the update, I had the first 10 already transcoded. Today, I tried to transcode the 11th and got the error. Tried with the 10th, and 2nd, and also got the error. But transcoding the 1st works fine.</p><p>I use FFMPEG to split the videos using the params </p><div class="codebox"><pre><code>-c copy -map 0 -segment_time 10:00 -copyts -avoid_negative_ts make_non_negative -f segment -reset_timestamps 1</code></pre></div><p>.</p><p>Below is the logs for one of the segments I already transcoded earlier, throwing the error.<br /></p><div class="codebox"><pre><code>04:38:40.342: ===== Starting mpv ======
04:38:40.342: Command line: C:\Program Files (x86)\SVP 4\mpv64\mpv.exe D:/Mufasa The Lion King (2024) [2160p] [4K] [WEB] [5.1] [YTS.MX]/Mufasa.The.Lion.King.2024_SplitVideos/Mufasa.The.Lion.King.2024010.mkv --o=D:/Mufasa The Lion King (2024) [2160p] [4K] [WEB] [5.1] [YTS.MX]/Mufasa.The.Lion.King.2024_SplitVideos/Mufasa.The.Lion.King.2024010.SVP.temporary.mkv --no-audio --no-sub --no-sub-auto --input-ipc-server=mpvencodepipe --input-media-keys=no --no-msg-color --video-crop=0x0+0+0 --vf=vapoursynth:[C:\Users\Peter Egunjobi\AppData\Roaming\SVP4\scripts\ffff.py]:4:7 --of=matroska --ovc=hevc_nvenc --ovcopts=b=77059334,preset=slow,rc=vbr,maxrate=100177134,bufsize=154118668,time_base=1000/60000,threads=7
04:38:40.389: ● Video --vid=1 (hevc 3840x2080 24 fps) [default]
04:38:40.389: ○ Audio --aid=1 (aac 6ch 48000 Hz) [default]
04:38:40.389: ○ Subs --sid=1 --slang=eng &#039;SDH&#039; (subrip) [default]
04:38:42.755: [autoconvert] Converting yuv420p10 -&gt; p010
04:38:42.905: VO: [lavc] 3840x2080 =&gt; 3855x2080 p010
04:38:42.905: [vo/lavc] Opening encoder: NVIDIA NVENC hevc encoder [hevc_nvenc]
04:38:43.289: [encode] Opening output file: D:/Mufasa The Lion King (2024) [2160p] [4K] [WEB] [5.1] [YTS.MX]/Mufasa.The.Lion.King.2024_SplitVideos/Mufasa.The.Lion.King.2024010.SVP.temporary.mkv
04:38:43.289: [encode] Opening muxer: Matroska [matroska]
04:38:43.403: V: 00:00:00 / 00:10:01 (0%) {1.8min 0.0MB}
04:38:44.712: [ffmpeg] matroska: pts (50) &lt; dts (67) in stream 0
04:38:44.712: [encode] Writing packet failed.
04:38:46.063: Exiting... (Interrupted by error)
04:38:46.187: (!!!) Intermediate file may be broken: D:\Mufasa The Lion King (2024) [2160p] [4K] [WEB] [5.1] [YTS.MX]\Mufasa.The.Lion.King.2024_SplitVideos\Mufasa.The.Lion.King.2024010.SVP.temporary.mkv</code></pre></div><p>And here&#039;s the log for the first segment (which doesn&#039;t throw error) if needed. Note that I didn&#039;t finish the transcoding.<br /></p><div class="codebox"><pre><code>06:39:18.757: ===== Starting mpv ======
06:39:18.757: Command line: C:\Program Files (x86)\SVP 4\mpv64\mpv.exe D:/Mufasa The Lion King (2024) [2160p] [4K] [WEB] [5.1] [YTS.MX]/Mufasa.The.Lion.King.2024_SplitVideos/Mufasa.The.Lion.King.2024000.mkv --o=D:/Mufasa The Lion King (2024) [2160p] [4K] [WEB] [5.1] [YTS.MX]/Mufasa.The.Lion.King.2024_SplitVideos/Mufasa.The.Lion.King.2024000.SVP.temporary.mkv --no-audio --no-sub --no-sub-auto --input-ipc-server=mpvencodepipe --input-media-keys=no --no-msg-color --video-crop=0x0+0+0 --vf=vapoursynth:[C:\Users\Peter Egunjobi\AppData\Roaming\SVP4\scripts\ffff.py]:4:7 --of=matroska --ovc=hevc_nvenc --ovcopts=b=77059334,preset=slow,rc=vbr,maxrate=100177134,bufsize=154118668,time_base=1000/60000,threads=7
06:39:18.815: ● Video --vid=1 (hevc 3840x2080 24 fps) [default]
06:39:18.815: ○ Audio --aid=1 (aac 6ch 48000 Hz) [default]
06:39:18.815: ○ Subs --sid=1 --slang=eng &#039;SDH&#039; (subrip) [default]
06:39:21.111: [autoconvert] Converting yuv420p10 -&gt; p010
06:39:21.175: VO: [lavc] 3840x2080 =&gt; 3855x2080 p010
06:39:21.175: [vo/lavc] Opening encoder: NVIDIA NVENC hevc encoder [hevc_nvenc]
06:39:21.566: [encode] Opening output file: D:/Mufasa The Lion King (2024) [2160p] [4K] [WEB] [5.1] [YTS.MX]/Mufasa.The.Lion.King.2024_SplitVideos/Mufasa.The.Lion.King.2024000.SVP.temporary.mkv
06:39:21.566: [encode] Opening muxer: Matroska [matroska]
06:39:21.754: V: 00:00:00 / 00:10:02 (0%) {6.4min 0.0MB}
06:40:02.846: -- PAUSED --
06:57:11.727: -- RESUMED --
06:57:11.748: V: 00:00:06 / 00:10:02 (1%) {2549.0min 0.4fps 3957.6MB}
06:57:13.675: -- PAUSED --
06:57:32.821: -- RESUMED --
06:58:12.053: V: 00:00:13 / 00:10:02 (2%) {694.5min 0.7fps 4335.1MB}
06:58:19.410: -- PAUSED --</code></pre></div><p>Edit: Seems to only affect mkv files.</p>]]></description>
			<author><![CDATA[null@example.com (masterpdon)]]></author>
			<pubDate>Tue, 04 Mar 2025 15:55:51 +0000</pubDate>
			<guid>https://www.svp-team.com/forum/viewtopic.php?pid=86438#p86438</guid>
		</item>
	</channel>
</rss>
