Is it possible to get LiveTV working on a managed profile? I have one setup for my kids and wanted to create channels for them.
reset back to default, set buffer to 5000k. maybe bump threads to 6 if you have a powerful cpu.
iāve had no issues. just a bit of buffering at the beginning.
Tried 10k/5k bitrate/buffer with default settings for ffmpeg just now on 0.0.5. I timed a few of them and it happens at almost exactly every 7 minutes (6:50 on the front end of the freeze and 7:20 on the back end). One thing when it āfreezesā it will seem to continue playing the file in the background, so if itās stuck for 30 seconds, the video resumes 30 seconds later. The higher the bitrate the longer the āfreezeā is. Buffer or thread changes donāt seem to really affect anything.
JR, Agreed on all those ⦠one thing I am frightened of for this one though is that it will end up like a couple of the others and get into trying to be too many things. The one from Lunatxz that worked for Kodi was slick but tries to incorporate so much when all I want is my library as a guide. I have always found (just like you said) that bare bones and simple seem to be the best, at least to start. All I have wanted for the last 5 years is a guide for my library (music videos included) so I can avoid the 45 minutes of trying to find something to watch when I all I need is a few minutes of whats currently on to get interested. This could be it⦠(fingers crossed)
edge06
reset back to default, set buffer to 5000k. maybe bump threads to 6 if you have a powerful cpu.
iāve had no issues. just a bit of buffering at the beginning.
Thanks for the suggestion. I hadnāt tried going that high.
So I seem to have solved the freezing problem on my end by simply enabling the āLog FFMPEGā checkbox and increasing the buffer size. For some reason having the log enabled stops the stuttering:
For now it seems having the Log enabled with a 5000k buffer has fixed it. Whenever I disable the log, the problem starts again. Remember to apply the amount of threads per your CPU Capabilities, search Google if youāre not entirely sure.
This is on Windows 10 by the way.
Itād be great if they can eventually get this to use Plexās native scaler and not require ffmpeg. Streams would start almost instantly.
This actually worked for me as well. I havenāt been able to test it beyond 30 minutes or so, but it definitely didnāt freeze after 7 min.
This is amazing. I got it working and the only thing that I keep running into is the buffering.
Also, subtitles seem to mess things up. If we could just disable them all together it would help a lot.
Once the buffering issue is fixed this thing will be incredible.
I made a fork which passes the file directly to plex muxed as a mpegts. So no transcoding from the pseudotv end. The plex end would transcode the stream if needed, which I believe would accomplish what you want. Also made it so pseudotv hits the file directly instead of bitstreaming the file from plex -> pseudoplex -> back to plex. This makes streams start faster.
In my fork itās direct play only, when I figure out some issues Iām going to make them toggleable options. The main issue I have right now is 7.1 AAC audio will not play. Iāve only tested the plex android app but it will freeze on the first frame of video. TVheadend will play the video but does not receive the audio stream. VLC will play it fine. This issue is not present with 5.1 or stereo audio. One workaround is to transcode only the audio to 2 channel (or 5.1 i suppose). This works for plex but in tvheadend this caused the audio to go out of sync
There a link for that?
Very interested in messing around with your fork if we can get a link.
Please share! Can you elaborate more on how you pass it to plex to transcode?
Might also be worth sharing that with Defendore so he can incorporate that into his main code.
Basically you pass Plex a mpegts stream like how the OP is doing it, but instead of transcoding it you just mux it into that container format. In my case I was testing with primarily x265/aac files. This is how all iptv/hdhomerun/live camera feeds work I believe. Plex receives this then either passes it to the client by either direct play or transcodes
Here you go. As set up it will use the real file path instead of going through Plex. So make sure your pseudotv server can access that. I mount it in the docker container read only. I found that I had to start from scratch (aside from the Plex login file, you can keep that) to get the file paths, modifying your existing install will still use the Plex file path, not local. But yeah this works pretty well, the aac 7.1 audio causing issues is frustrating. Iām about to give in and transcode the audio since I canāt find a reason the clients are failing to play this
Also in the fork itāll currently only work for files without subtitles. Locally I changed it so all files donāt transcode, but I just havenāt updated it the fork yet. You can see the lines in ffmpeg.js I commented out, easy to modify yourself⦠I was playing around with it earlier and was unsuccessful getting subtitles to pass through. So if a side affect of direct steaming is no sub titles thatās worth it imo
Lastly in video.js I commented out the automatic starting the next episode because in tvheadend it was causing audio sync issues. I found it easier to let the stream end and let the client reconnect. You lose the first 5ish seconds of the episode but I found this easier then restarting the channel manually for the audio to sync. Plex live tv may not have this issue
Is there any advantage to changing the framerate to fixed 30fps rather than whatever format the file is in?
Setting the buffer size to 5000 and turning on āLog FFMPEG to consoleā fixed my stuttering! This is working flawlessly now!
Iād probably drop the change of frame rate and keep the original if youāre transcoding. If youāre just muxing I donāt know if that setting makes a difference
Soā¦Iām not sure how easy it would be to accomplish this. BUT, here is my dilemma with this so far.
I actually use a real HDHR Prime with a Cable Card in it for LiveTV and DVR already. Ideally, I think it would be nice to keep the built-in EPG that Plex grabs. Would it be impossible to āmergeā the device channel guides from Plex and pseudotv?
For Example
Channels 0 -125 and 900-950 are all from my cable provider through the HDHR Prime
Cannels 1000 - 1020 are all from pseudotv.
I mean, would there be a way to modify the EPG that Plex grabs to āinsertā the information from pseudotv to make it work like that? I have quite a bit of PoSH skill and some scripting, but Iāve never done anything with Plex so iām not sure how/where everything works or is stored at.
You might be able to but I doubt it would be easy. The best thing you can do now is create two separate instances of āLive TV and DVRā. One for the cable tuner and one for pseudotv.
