Hello
So, my 5 year old LG LF5800 TV, lately decided to have intermittent stuttering/lag/frame skipping/audio desync with the newest TV show releases.
I have no idea why this is happening, there's something that the TV's decoder doesn't like, perhaps.
Anyway, the problem apparently only happens if the container of the video is MKV.
Remuxing the MKV into MP4 seems to fix the problem.
Remuxing can be done with a lot of tools, like Avidemux, MeGUI etc but batch remuxing for me was harder to find out how to do.
I managed to find a way how to do this with
- ffmpeg (a recommended build from the official ffmpeg.org, you can download from here - https://www.gyan.dev/ffmpeg/builds/ffmpeg-git-full.7z)
- Windows Powershell (you can probably find it in this folder C:\Windows\System32\WindowsPowerShell\v1.0\)
Now, you need to have the ffmpeg.exe and powershell.exe in the folder where your videos are.
Then, just run powershell.exe and type the following command
This will make a remux of every MKV file into a MP4 in the same folder.Code:foreach($file in Get-ChildItem $(pwd)) { .\ffmpeg -i $file -f mp4 -vcodec copy -acodec copy $(echo $file | %{$_ -replace ".mkv",".mp4"}) }
If you need to have the remuxed videos into another location, type the location before the $(echo
like this
(used example is another drive with letter G connected to my computer)
EnjoyCode:foreach($file in Get-ChildItem $(pwd)) { .\ffmpeg -i $file -f mp4 -vcodec copy -acodec copy G:/$(echo $file | %{$_ -replace ".mkv",".mp4"}) }
Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays! or rip iTunes movies!
+ Reply to Thread
Results 1 to 1 of 1
Thread
-
Last edited by [ss]vegeta; 7th Mar 2021 at 13:02.
Similar Threads
-
Looking for Batch Remux Tool to Combine MP4 with Bluray Subtitle Files
By AndersonJames in forum Video ConversionReplies: 0Last Post: 29th Jun 2020, 08:10 -
Program that will remux MKV, FLV, and AVI to MP4
By 90sTV in forum MacReplies: 5Last Post: 18th Apr 2019, 18:33 -
Encoding mkv from avs, powershell problem
By amonowy in forum Newbie / General discussionsReplies: 8Last Post: 5th Jan 2018, 06:37 -
Batch Convert from MPEG-2 to MP4 (Windows 7) in main and sub-folders
By ohlee2010 in forum Video ConversionReplies: 2Last Post: 18th Oct 2017, 21:02 -
Mux Batch convert MKV to MP4 with subtitles in Linux
By coquex in forum Video ConversionReplies: 7Last Post: 17th Jun 2016, 18:47