Hello
I'm using this script to mux videos
Muxing speed is very low. It takes over 6 min to mux a 2GB mkv file ( it only uses %30 of ram and %5 of cpu )Code:@echo off cls set rootfolder=C:\1\ echo Enumerating all MKVs under %rootfolder% echo. for /r %rootfolder% %%a in (*.mkv) do ( for /f %%b in ('mkvmerge -i "%%a" ^| find /c /i "subtitles"') do ( if [%%b]==[0] ( echo "%%a" has no subtitles ) else ( echo. echo "%%a" has subtitles mkvmerge -q -o "%%~dpna (No Subs)%%~xa" -S "%%a" "%%~dpna.srt" if errorlevel 1 ( echo Warnings/errors generated during remuxing, original file not deleted ) else ( del /f "%%a" echo Successfully remuxed to "%%~dpna (No Subs)%%~xa", original file deleted ) echo. ) ) )
Is there any way to speedup?
system info : 3GB Ram
cpu : 2.70 Ghz ( 2 core )
os : windows 2008 r2 64bit
+ Reply to Thread
Results 1 to 6 of 6
-
-
Muxing speed is essentially only limited by HDD I/O. If you have 2 HDDs you can speed it up by reading the source mkv from HDD A and writing to HDD B.
-
-
Two partitions will still be slow as long as they are still on the same physical HDD.
-
I put some raw AVC video and an AC3 stream on a single 2TB drive and muxed them into a 4.2GB MKV, and writing the output to the same drive took 2 minutes 17 seconds. The same two streams muxed from the single 2TB drive to a RAID-0 volume took 1 minute 50 seconds. Hmmmmm.... I'd hoped it'd be twice as fast......
The single drive's on a different SATA controller that's not running in RAID mode, and I think it's a bit snappier.
Anyway..... that was timed using an old quad core running XP and MKVMergeGUI 7.8.0.
Over 6 minutes to mux a 2GB file does sound kind of sluggish. Unless the drive's especially fragmented, or busy doing other stuff at the same time, or it's a slow RPM laptop drive, or it's connected via USB2. -
Similar Threads
-
MKV merge gives audio only
By loninappleton in forum Video ConversionReplies: 4Last Post: 20th Nov 2015, 00:31 -
Merge+Encode MKV
By MarylinC in forum EditingReplies: 9Last Post: 4th Apr 2014, 03:58 -
Best way to burn DVDs? Is low write speed always better?
By shad0w in forum Authoring (DVD)Replies: 22Last Post: 16th Jan 2013, 16:28 -
How can I merge different mkv files?
By Nick Burns in forum EditingReplies: 6Last Post: 13th Nov 2012, 21:11 -
MKV with MKV Merge Unicode not compatible with LG BluRay Player
By klode in forum Video ConversionReplies: 3Last Post: 8th May 2011, 03:42