jasonmcroy 315 Posted December 8, 2017 Share Posted December 8, 2017 I have tried to search the forums for the past hour and I did search Google for how to do what I want but I am now confused. I currently have MCEBuddy set up to remux my recordings to MKV and rename them and place them in my TV Shows folder for Emby to pick up. However, I am now having an issue with MCEBuddy since the latest update and I am looking for an easier solution. Here is what I want to do: Go back to using Emby's DVR to record my shows. Set up ffmpeg to remux the recorded file to MKV in the same folder that it's put in after the recording stops by using the post processing script option in the Live TV section in Emby. I would also like the script to delete the original recording so that I am not left with two recordings in that folder. Is there some tutorial here on the forums about doing this? I have performed several searches with different terms but I am not finding anything. I can't use the option to transcode to MKV while it's recording as that uses too much of my CPU. Link to comment Share on other sites More sharing options...
Luke 36997 Posted December 9, 2017 Share Posted December 9, 2017 All you really need to do in Emby is configure your post processing script. Is that what you need help with? Or is it your conversion script? Link to comment Share on other sites More sharing options...
jasonmcroy 315 Posted December 9, 2017 Author Share Posted December 9, 2017 I think I just need help with creating the script itself. In my research it looks like I can download ffmpeg and then put it in a folder somewhere and then on the command line in the Live TV settings point to it? Or do I need to configure something in the command line arguments line too? Link to comment Share on other sites More sharing options...
jasonmcroy 315 Posted December 9, 2017 Author Share Posted December 9, 2017 Ok, so I downloaded ffmpeg and placed it in a folder C:/ffmpeg. I then did what thought I should put into the fields in the Live TV settings. It fires but doesn't actually seem to do anything to the file. I am not sure what I am doing wrong. Here is the server log: server-63648374400.txt Here is a screen shot of my settings in Live TV: I attached the log but here is the copied section of where I see the test recording stop and the script fire: 2017-12-09 00:31:00.062 Info App: Recording stopped: D:\Test Conversion files\American Dad\Season 12\American Dad S12E07 Ninety North, Zero West.ts2017-12-09 00:31:00.062 Info App: Live stream 7130a95962f64878ac648614d224426b_native_92d66927260f45eebfc47f319a9583b3_6335a5c16feb7552b88d7c91d97b8b3c consumer count is now 02017-12-09 00:31:00.062 Info App: Closing live stream 7130a95962f64878ac648614d224426b_native_92d66927260f45eebfc47f319a9583b3_6335a5c16feb7552b88d7c91d97b8b3c2017-12-09 00:31:00.062 Info App: Closing SharedHttpStream2017-12-09 00:31:00.062 Info App: Live stream 7130a95962f64878ac648614d224426b_native_92d66927260f45eebfc47f319a9583b3_6335a5c16feb7552b88d7c91d97b8b3c closed successfully2017-12-09 00:31:00.062 Info App: Triggering refresh on D:\Test Conversion files\American Dad\Season 12\American Dad S12E07 Ninety North, Zero West.ts2017-12-09 00:31:00.063 Info App: Refreshing recording parent D:\Test Conversion files\American Dad\Season 122017-12-09 00:31:00.068 Info App: Deleting temp file C:\Users\mcroy\AppData\Roaming\Emby-Server\programdata\transcoding-temp\ff076cac9af04d0f91f388abe7178f20.ts2017-12-09 00:31:00.074 Info App: Running recording post processor C:\ffmpeg\bin\ffmpeg.exe "{D:\Test Conversion files}" -i input.ts -c:av copy output.mkv2017-12-09 00:31:00.289 Info App: Recording post-processing script completed with exit code 1 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