justinrh 260 Posted September 11, 2022 Posted September 11, 2022 (edited) On the admin site, Live TV > Advanced > Recording Post Processing section, there are three variables: {path} = path to file, e.g., c:\media\myMovie\myMovie.ts, I presume ${channelname} ${channelnumber} What's the "$" about? Used for only 2 of the 3 vars? I don't even know how I'd use these since the recordings don't embed that info. We need a var for the filename base so we can set the output, right? If I'm using FFmpeg, I'd want to do something like: ffmpeg.exe -i {path} {base}_full.mp4 Am I missing something here? Here is a potential usage of this Emby functionality, for reference: Edited September 13, 2022 by justinrh clarification of usage
TMCsw 249 Posted September 11, 2022 Posted September 11, 2022 I think you need to give us a little more, what is your server is it the Shield? Is your server on windows or Linux? Where does Quote {base}_full.mp4 come from?
Luke 42078 Posted September 12, 2022 Posted September 12, 2022 Quote What's the "$" about? You need to put {path} into the command line somewhere and the server will replace it with the real value.
justinrh 260 Posted September 12, 2022 Author Posted September 12, 2022 (edited) Fellas, please try to keep in mind the context and the examples I provided. I think your questions are already answered. I don't know how the server would make any difference, but I use Windows. I said we need a var for "filename base", so I just created and example, like "{base}_full.mp4". I asked about the $ because only 2 of 3 vars have it. How is {path} special in that it doesn't need a $ but the other 2 do? And how do you use: ${channelname} ${channelnumber} Something like this? (pseudo code!) -in {path} -out ${channelname}-${channelnumber}.mp4 Edited September 12, 2022 by justinrh
TMCsw 249 Posted September 12, 2022 Posted September 12, 2022 The OS matters because what you want do requires a script to be called, so for windows create a batch file lets' call it "c:\users\<yournamehere>\topmp4.bat" put in it with a text editor ffmpeg -i "%~1" "%~dpn1.mp4" then make Post-processing application: "c:\users\<yournamehere>\topmp4.bat" Post-processor command line arguments: "{path}"
justinrh 260 Posted September 13, 2022 Author Posted September 13, 2022 I amended my post to help clarify the issue.
Luke 42078 Posted September 13, 2022 Posted September 13, 2022 None of them need a $. That is an error in the help text. 1
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