Fratopolis 62 Posted November 22, 2018 Share Posted November 22, 2018 (edited) UPDATE Link to updated version https://emby.media/community/index.php?/topic/66318-post-processing-emby-crash-concat-filesextract-closed-captionsremux-mkv/ UPDATE For those who hate .ts containers here you go: (Will remux into mkv container for better direct stream upport, and extract Closed Captions as srt) This will also delete the original file only after successful conversion. 1: create convert.bat file in C:\ and paste these next lines in it exactly %~d1 CD "%~dp1" for /r %%F in (*.ts) do ( %%~dF CD "%%~dpF" %APPDATA%\Emby-Server\ffmpeg\20170308\ffmpeg.exe -f lavfi -i "movie='%%~nxF'[out0+subcc]" -map s "%%~nF.eng.srt" %APPDATA%\Emby-Server\ffmpeg\20170308\ffmpeg.exe -i "%%F" -c:v copy -c:a copy "%%~nF.mkv" if not errorlevel 1 if exist "%%~dpnF.mkv" del /q "%%F" ) 2: Now in the DVR "Post-processing application:" space put in C:\convert.bat Edited December 9, 2018 by Fratopolis Link to comment Share on other sites More sharing options...
Luke 37291 Posted November 22, 2018 Share Posted November 22, 2018 Our media conversion feature can also help with this. Link to comment Share on other sites More sharing options...
Fratopolis 62 Posted November 22, 2018 Author Share Posted November 22, 2018 (edited) Luke, The only issue I had with the media conversion is I cannot find a place to see what settings I have for each show. Is there a place that shows this? Or how to turn off conversion for a show. Edited November 22, 2018 by Fratopolis Link to comment Share on other sites More sharing options...
Luke 37291 Posted November 22, 2018 Share Posted November 22, 2018 Once you create conversion jobs, you can manage them in the Download & Sync section of the server dashboard. Link to comment Share on other sites More sharing options...
Fratopolis 62 Posted November 22, 2018 Author Share Posted November 22, 2018 Well dang. Never thought to look in download and sync. Lol the title download and sync in my mind has nothing to do with convert. Nice to know. Thanks Luke!!! Link to comment Share on other sites More sharing options...
Luke 37291 Posted November 22, 2018 Share Posted November 22, 2018 Yea that part of it needs to be revamped. Thanks. Link to comment Share on other sites More sharing options...
CBers 6806 Posted November 22, 2018 Share Posted November 22, 2018 @@Fratopolis Just as an FYI, there is another post similar to this by @@PenkethBoy, but using PowerShell. https://emby.media/community/index.php?/topic/62567-post-processing-script-working-example-powershell 1 Link to comment Share on other sites More sharing options...
Fratopolis 62 Posted December 9, 2018 Author Share Posted December 9, 2018 (edited) UPDATE Link to updated version which now merges failed recordings https://emby.media/community/index.php?/topic/66318-post-processing-emby-crash-concat-filesextract-closed-captionsremux-mkv/ UPDATE Edited December 10, 2018 by Fratopolis Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now