vexorian / dizquetv

Create live TV channels from your own media. Access the streams using the simulated HDHomerun tuner or the generated M3U URl.
zlib License
1.44k stars 92 forks source link

Only Transcode If Needed (Plex Live TV) #394

Open csm10495 opened 2 years ago

csm10495 commented 2 years ago

Is there a way to stream without transcoding if the player can play the video as is, and Transcode via ffmpeg if needed?

It seems like some of my library only works if ffmpeg transcoding is used, otherwise it fails to play in Plex.

vexorian commented 2 years ago

It's really hard to control Plex Live TV transcoding. It seems to do it on a whim. Specially because it wants to share the stream between multiple clients, so it can't just transcode for just the target player.

The best I could handle was use the "only record HD streams" for some reason Plex Live TV thinks dizqueTV's stream is not HD, so that helps somehow?

csm10495 commented 2 years ago

Hmm... i wonder what that does.

Does dizqueTV up-scale content to the bitrate parameters in the ffmpeg settings tab then send it to Plex... which could then transcode again?

... the thing that was weird was for some reason on my TV (fire stick) certain files wouldn't play via direct play from dizqueTV, but they would play via transcode if i selected the file directly.

Once i told dizqueTV to use ffmpeg, that these files work via Plex Live TV.

Now that I think about it, I would have thought Plex would have transcoded if needed instead of dizqueTV to the client.

jeffbargmann commented 2 years ago

Crazy hack but-- any way to nurf this at the Plex level I wonder? Might play with shimming plex transcoder EXE, see if I can get away with just reporting failure for TV streams that it tries to "record" locally.