pünktchen 1345 Posted November 23, 2019 Posted November 23, 2019 (edited) @@Luke i think that's some kind of a bug: If i use something like http://127.0.0.1:8096/emby/Videos/212327/stream.ts?videocodec=copy&audiocodec=copy&api_key=123456789in VLC and Emby's ffmpeg job has finished before the VLC connection is closed, then the transcoding file doesn't get deleted after playback in VLC has stoped. Edited November 23, 2019 by pünktchen
pünktchen 1345 Posted November 23, 2019 Author Posted November 23, 2019 Btw. is there any possibility to get the transcoded file names from within a NetCore plugin or how is the filename created, because it's always the same filename for the same library item?
Luke 39667 Posted November 23, 2019 Posted November 23, 2019 because it's always the same filename for the same library item No it's not. It's unique per session. Why do you want the temporary transcoding output?
pünktchen 1345 Posted November 24, 2019 Author Posted November 24, 2019 I do not always want the temporary transcoding files but cannot prevent it for several reasons. So can you please just answer my question. How can i identify the file?
Luke 39667 Posted November 24, 2019 Posted November 24, 2019 Currently you can't. It's random and there's no api to tell you. It would require new development to accommodate.
pünktchen 1345 Posted November 24, 2019 Author Posted November 24, 2019 Oh man... Can i hope for a fix for the orphaned files in one of the next betas? I can imagine something similar also happens for some of the IPTV live tv users. If they watch a so called "on demand channel" then it's not a continous live tv stream but more like a file download. If Emby needs to transcode then ffmpeg pulls the file stream as fast as it can and has finished before the user stops playback.
Luke 39667 Posted November 24, 2019 Posted November 24, 2019 Well for emby apps they are using the playback reports apis which will clean things up on stop.
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