New transcoder and tee support

Hi Devs.....

 

Just came across this one:

 

https://ffmpeg.org/ffmpeg-formats.html#tee

 

Above, if I read it correctly, would allow you to do the following:

 

When a user selects a media, that needs to be transcoded, then at the same time as streaming it, it could also be saved to disk, for future use, if the PMS admin and/or the user selected to do so!

 

 

Might be wrong here though, since I'm not that deep into ffmpeg and how Plex utilize it

 

But maybe worth a quick look, for a fast solution to something that has been requested a lot up here.

 

Best regards

 

Tommy

 

 

IIRC, PMS already saves transcodes, but only temporarily.  It would be nice if the transcodes were cached a bit longer ('till PMS restart, or cache is getting full) and reused by other clients requesting the same or similar (compatible) transcode.

IIRC, PMS already saves transcodes, but only temporarily.  It would be nice if the transcodes were cached a bit longer ('till PMS restart, or cache is getting full) and reused by other clients requesting the same or similar (compatible) transcode.

AFAIK, that's not always the case....

If i want's to watch a movie online on my Android, it's a transcoded stream....

If I want's to download it to my Android, then yes....it's transcoded into a file, and then made avail for my phone

/T

If i want's to watch a movie online on my Android, it's a transcoded stream....

just before it is a stream, it does exist as 100's of small .ts files - something could be done with them "longer term cache" wise.

just before it is a stream, it does exist as 100's of small .ts files - something could be done with them "longer term cache" wise.

Agreed, and it's not the whole movie that exists, just a buffer of files

/T

Agreed, and it's not the whole movie that exists, just a buffer of files

/T

If you start the media from the beginning, it will eventually exist in its entireity, how fast it comes into existence depends on your transcode throttle buffer settings.

If you start the media from the beginning, it will eventually exist in its entireity, how fast it comes into existence depends on your transcode throttle buffer settings.

Exactly.

Early 2021 clean-up: duplicate