How to fix OBS's remuxing issue for MKV file types.

preview_player
Показать описание
There is an issue in OBS only relating to MKV file types. Essentially your videos are being remuxed from CFR to VFR which causes issues in editing. This is a quick tutorial explaining how to fix this issue.

---

FFMPEG Download:

Batch File Source Code:
@echo off
setlocal ENABLEDELAYEDEXPANSION
set fName=%1

for /f "tokens=* delims= " %%F in ('echo %fName%') do (
%ffmpeg% -i "%%~fF" -c copy -map 0 -video_track_timescale 60 "%%~dpnF.mp4"
)

---

Socials:
Twitter:
@ZarephLae

TikTok:
@ZarephLae

Twitch:
@ZarephLae

---

Please subscribe for more videos!
Рекомендации по теме
Комментарии
Автор

Concise and straightforward instructions. Thank you for the tutorial!

TobyTofu
Автор

This saved about 3 hours of recording for me, I cannot thank you enough for sharing this!! I feel like a hacker now lol.

skylore
Автор

HAHAHAHAHA I can't believe this is 2 years ago and they still haven' fixed this issue. But I'm glad I discovered your video 🙏🙏🙏🙏🙏🙏🙏 actual GODSEND

zayanaut
Автор

I don't think people understand just how valuable this is. I have spent HOURS researching this issue and this is the best solution.

Variable frame rate (VFR) is a huge problem for video editors. They rely on constant frame rate (CFR) to have smooth playback. This is especially the case when creating proxies. The proxies created off of VFR footage will entirely freeze up and run worse than the footage without the proxies. You should have a much more faster editing experience if you use his method, then you create proxies, then just delete the proxies after the project is completed.

ZachandRJ
Автор

Not sure why my last comment was deleted, but thank you for this.

I just tried it out earlier and it worked! Hopefully this video can spread awareness about this issue.

UOAPlays
Автор

Changed my ffmpeg version / location and used this video again. Once again, amazing tips!!!

ZachandRJ
Автор

i ca't figure out why this isn't working for me... i saw the box flash up after trying to convert it but there's no new mp4 file....

LunariNox
Автор

Just wanted to comment again to stress THIS IS PURE GOLD! THIS IS THE SOLUTION TO A HUGE PROBLEM that OBS and Adobe need to correct.

OBS could do this by allowing you to choose a CFR FPS at Remux. Adobe could fix this by allowing their Media encoder to change VFR to CFR when creating proxies like what handbrake and Shutter Encoder do...

SMH adobe and OBS. Leading the industry, but not solving basic, fundamental problems for YEARS...

ZachandRJ
Автор

I had an issue where some of my mkv files would not remux on obs. I tried this and they still do not convert, it ends up with an mp4 with a size of 0 bytes. It takes a couple of seconds. whereas the ones that work take about 30seconds. both files are similar sizes. Some are x264, some x265, I cant see any obvious difference between the original mkv files.

I hope you can offer some suggestions as I have about 30gb of files I have to run through other conversion programs which take absolutely ages to do a single file

drb
Автор

for some reason it halves my vids framerate. Any solution to this?

Primeking
Автор

Got a question. I have like hour and two hour long MKV recording, and when I remuxed in OBS the remuxed video was only 9 minutes 30 seconds long for all of the different videos that I remuxed. Will this be solved doing this? Cause I wanted to get the full recording remuxed.

thenukdevendra
Автор

I want to delete a video file, buut it says that it cant because the file is open in obs-ffmpeg-mux. How can I delete it?

non_shlant
Автор

Hey dude! The link in the description takes me to a .tar.xz file download. I didn't have the same files you had after extracting, resulting in no ffmpeg.exe file. Not sure I understood properly, Any help would be appreciated as my Mkv files haven't been remuxing properly!

Noskii
Автор

i cannot find "download executable"

Barbanegraaa
Автор

is there a way to get the batch file to automatically delete the mkv file after it's done remuxing? ty <3

baronzad
Автор

I record in 30 fps and am having this exact same issue.

TravisSickle
Автор

I did everything and when I clicked on mkvtomp4 I got an error saying this app can’t run on your pc. Do you know why? So frustrating I’ve always remixed videos this was my longest one and it’s not letting me

munchiebunchie
Автор

hey friend, I noticed that when I record directly in mp4, I have constant frames, can you tell me if this is in 100% of cases? Is it safe to say that recording directly to mp4 will always bring me a final CFR video file?

rivasrnd
Автор

It didn't worked for me, when I try to convert one to mp4 it creates something with 0 bytes. Do you have any solutions for this?

artheus
Автор

Thanks for the link to pages of incomprehensible code. Its like helping me build a house by throwing a brick at my head.

StickOnHair