Ik gebruik MCEBuddy al een tijdje en het werkt uitstekend. Het verwerkt al mijn Plex-opnames, haalt de ondertitels eruit en remuxt ze naar een MKV-bestand. Dit werkte jarenlang prima. MAAR: de nieuwste versie van Plex ondersteunt nu EIA_608-ondertitels, en die verschijnen als ‘Onbekende’ ondertiteling op al mijn opnames, omdat ik de video NIET opnieuw encodeer, alleen remux. Daardoor zien de EIA-subs er A) belabberd uit en B) zorgt het ervoor dat het srt-bestand niet meer automatisch wordt geselecteerd en afgespeeld zoals vroeger. Omdat er bij ons thuis mensen met een gehoorbeperking zijn, moeten ondertitels altijd automatisch aanstaan.
Laat staan dat de EIA-ondertiteling er ronduit lelijk uitziet vergeleken met de schone srt-ondertitels.
Na even zoeken ontdekte ik dat ffmpeg de EIA_608-stream uit de ts- (of mkv-)file kan verwijderen met dit commando:
ffmpeg -i input.mkv -codec copy -bsf:v “filter_units=remove_types=6” output.mkv
Ik heb het getest en het werkt zoals verwacht. Dus hier is mijn feature-verzoek – of de vraag of het nu al kan:
Geef me de optie om die ffmpeg-opdracht UIT te voeren nadat jullie de ondertitels naar een srt-bestand hebben geëxtraheerd, VERVOLGENS opnieuw te remuxen naar mkv en de ondertitels terug te plaatsen.
Well I answered my own question. With a bit of tinkering, I ended up writing a bat file that does this in post process.
This simply takes the mkv file that MCEbuddy produces, and runs it though ffmpeg again to remove the EIA_608 subs before Plex sees them. Life is good again.
If anyone wants a copy of my script, let me know and I’ll send it along.
It seems like it would be, yes, however in my testing removing
the EIA subtitles from a TS file to mkv conversion didn’t work,
But from mkv to mkv it worked perfectly. Maybe there’s a way to
make it work during the initial conversion, but I knew how to do
this, and didn’t want to mess with that more.
Here’s the relevant code for anyone else that wants to get rid of those annoying EIA_608 subtitles, until Plex and CCextractor get their act togehter with them:
Add this to your profile.conf that you’re using to process files:
and then here’s my script (adjust the paths to meet your requirements) I also remove the .srt file since that’s been merged into my mkv file (per my settings):
@echo off
For %%A in (%1) do (
Set Folder=%%~dpA
Set InputFileName=%%~nA
)
del /q %2
IF %ERRORLEVEL% EQU 0 (
ECHO Delete Of SRT File %2 Successfull
)
C:\Progra~1\MCEBuddy2x\ffmpeg\ffmpeg.exe -i %1 -codec copy -bsf:v "filter_units=remove_types=6" G:\BuddyTemp\working0\NoSubsOutput.mkv
IF %ERRORLEVEL% EQU 0 (GOTO :SUCCESS) ELSE (GOTO :FAIL)
:SUCCESS
ECHO Removal Of EIA_608 Subs From %1 Was Successfull
del /q %1
IF %ERRORLEVEL% EQU 0 (
ECHO Delete Of Original MKV Successfull
)
ECHO %InputFileName%
ren "G:\BuddyTemp\working0\NoSubsOutput.mkv" "%InputFileName%.mkv"
IF %ERRORLEVEL% EQU 0 (
ECHO Rename of New MKV without EIA subs was Successfull
)
EXIT
:FAIL
ECHO Something Went Wrong With Removal Of EIA Subs.
EXIT /B %ERRORLEVEL%