VideoHelp Forum
+ Reply to Thread
Results 1 to 1 of 1
Thread
  1. 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
    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
    Code:
    foreach($file in Get-ChildItem $(pwd)) { .\ffmpeg -i $file -f mp4 -vcodec copy -acodec copy $(echo $file | %{$_ -replace ".mkv",".mp4"}) }
    This will make a remux of every MKV file into a MP4 in the same folder.
    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)
    Code:
    foreach($file in Get-ChildItem $(pwd)) { .\ffmpeg -i $file -f mp4 -vcodec copy -acodec copy G:/$(echo $file | %{$_ -replace ".mkv",".mp4"}) }
    Enjoy
    Last edited by [ss]vegeta; 7th Mar 2021 at 13:02.
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!