#Unable to playback within plex, here is my log attached, any help is very appreciated. Thank you!

1 messages · Page 1 of 1 (latest)

untold sinew
untold sinew
#

can anybody help?

untold sinew
#

Another quick note: my source files are mostly h264 and mkvs however ffmpeg should be converting to mpeg-ts

silent burrowBOT
#

@untold sinew
Automoderator:
directly mentioning devs is not allowed - please open a #1006572433039433830 thread to receive help

vestal harbor
#

Personal experience with Plex is it can be a bit funny, but I didn't really change any of the ffmpeg stuff when setting mine up. It's worth restarting both Plex and Ersatz as that sometimes will be a fix, and also an oddity I keep meaning to get to the bottom of - sometimes selecting the channel and hitting watch won't work but moving across and hitting the currently airing show and hitting play will work.

#

that antenna error is a pain though

untold sinew
#

oh I see, that must be a common issue, sorry I am a newbie, do you know how to restart Ersatz TV on Linux?

#

thanks for the info!

vestal harbor
#

could kill the process id? i run it in macos so i have a toolbar icon that lets me clean exit from there

untold sinew
#

got it I can do that yes

#

for some reason the only encoding that works for me is Segmenter

#

that I can play with vlc

vestal harbor
#

i think segmenter is a format that plex doesn't like

untold sinew
#

oh ok

thorny badge
#

the streaming format is ignored when using the hdhomerun emulator, since plex only supports mpeg-ts it will force that mode

vestal harbor
#

in Settings - HLS Direct Output Format -> MPEG-TS is what I use

untold sinew
#

yeah I tried all that, and restarted Ersatz TV, still no luck with playback in Plex 😦

#

will keep trying

#

did the log helped?

regal zealot
# untold sinew will keep trying

Like Muskehound said, I've found Plex to be extraordinarily finicky when using it in tandem with ETV. I still do it, but primarily as a backup. Jellyfin seems to be much more ETV friendly, in my experience.

untold sinew
#

I see

#

I wonder if anybody here successfully played in Plex

vestal harbor
#

i'm playing in plex as we speak

untold sinew
#

wow

#

what's your source format?

vestal harbor
#

music videos in mp4/mkv currently, so similar to what you're feeding in

untold sinew
#

are you local or using your plex library?

regal zealot
#

My plex setup will often play for fairly long stretches without an issue. Then Plex will update or something weird happens and it's hiccupping for a while, but it usually works itself out.

vestal harbor
#

local, my plex library is really big and ersatz doesn't love dealing with it

thorny badge
#

whats the network setup between your plex and your etv? the logs show etv is remote

vestal harbor
#

ha yeah jef, that's definitely a familiar feeling!

thorny badge
#

when you test with vlc, is it on the same machine that has plex, or a different machine?

untold sinew
#

yes vlc both works on my remote machine as well as on my laptop

#

except on my remote machine I play with the mpv command

#

and that opens a window

thorny badge
#

whats the network setup between your plex and your etv?

#

are they on the same machine or different machines

untold sinew
#

etv is setup on the same machine as my main plex server (which is a remote seedbox)

#

however I also have my ETV app open on my laptop as well

#

not sure if it's conflicting

thorny badge
#

are they in docker?

untold sinew
#

mmm no

thorny badge
#

you probably cant use the remote host url and expect it to go out and back in

#

try localhost for the hdhr (dvr) ip in plex

untold sinew
#

I se

thorny badge
#

localhost:8409

untold sinew
#

just write localhost or the actual address? sorry for my inexperience

thorny badge
#

remove the dvr and re-add it to plex, but replace whatever.seedhost.eu with localhost

#

the rest the same

untold sinew
#

yes it opens the same Tuner

#

for some reason plex recognizes the tuner automatically

#

even if I remove the dvr

thorny badge
#

just make sure it gets added with localhost address

untold sinew
#

not working, plex is already detecting Ersatz TV as soon as I click on add DVR and whatever I add is connecting to Ersatz TV, however once I add the XML, programming shows the correct titles but when I click on play it gives me a playback error

#

is there any way to remove completely the tuner? how is plex detecting a tuner without me adding one?

#

should I re install Ersatz TV?

thorny badge
#

just enter the address manually

untold sinew
#

I did it

#

nothing changes

thorny badge
#

what does the log show now

untold sinew
thorny badge
#

what do etv logs show

untold sinew
#

I am not sure how to pull them, let me see

thorny badge
#

etv config folder/logs subfolder. on linux it would be ~/.local/share/ersatztv/logs

untold sinew
#

for some reason I can't find that folder on my linux

thorny badge
#

which user are you running as? ~ is the user's home dir

untold sinew
#

msaradin

#

msaradini

#

is my user

#

I don't see a local folder

thorny badge
#

it's dot local, .local

#

a hidden folder

untold sinew
#

is there a command to reveal hidden folders?

#

found the two logs

#

let me know

untold sinew
#

and again the stream from m3u through vlc plays fine (when I setup the channel to Segmenter), they issue is just plex playback

thorny badge
#

please set streaming log level to debug, request log level to debug in etv settings and try streaming from plex again

untold sinew
#

is it a setting within the UI?

#

changed settings, same issue

#

now also the guide is incorrect

#

there are a few settings I tried to setup all of them as debug, then only the two mentioned. I tried different combination but no playback yet.

thorny badge
#

Right, the log settings will cause etv to log more info, which I would like to see

untold sinew
#

ok let me pull the new logs

thorny badge
#

what does the etv home page look like? there are health checks at the bottom

#

click the logo

#

i bet the problem is ffmpeg

untold sinew
#

it says ffmpeg is static

#

is there an easy way to update?

untold sinew
#

since it's a managed machine I am being told that ffpmeg cannot be installed because it's not in the official ubuntu repo

#

if you have any resource on how to upgrade what I have as ffmpeg let me know

untold sinew
thorny badge
#

turn on ffmpeg troubleshooting reports in etv settings, try streaming from plex, then check etv's config / ffmpeg-reports subfolder for files to post here

untold sinew
#

wher do I turn that off?

thorny badge
#

same place you turned it on? etv's settings page

untold sinew
#

is this correct?

#

same deal

#

playback error

#

no luck yes

#

yet*

#

I am not sure where the ffmpeg reports can be found

#

are those the same logs I sent earlier?

#

do you know why is taking so much RAM?

thorny badge
#

turn on ffmpeg troubleshooting reports in etv settings, try streaming from plex, then check etv's config / ffmpeg-reports subfolder for files to post here

untold sinew
#

ok ffmpeg reports folder in local is empty

thorny badge
#

Turn on the reports in settings

#

Then, start a stream from Plex

#

Then check the folder

untold sinew
#

save troubleshooting reports?

thorny badge
#

Then send the files

untold sinew
#

I turned it on

thorny badge
#

Stop the channel and start a stream after you turned on the setting

untold sinew
#

o

#

ok

#

folder is still empty I followed all the instructions

#

restarted the channel

#

re added the channel to plex

#

no playback, no ffmpeg reports

untold sinew
#

should i delete the channel completely?

#

all I did I deleted the playout

#

I tried everything, reports aren't saved

thorny badge
#

this also points to something wrong with ffmpeg. can you run ffmpeg in the terminal and paste the output

#

if you can run docker, it may be easier since ffmpeg is bundled

untold sinew
#

fmpeg version 6.1-static https://johnvansickle.com/ffmpeg/ Copyright (c) 2000-2023 the FFmpeg developers
built with gcc 8 (Debian 8.3.0-6)
configuration: --enable-gpl --enable-version3 --enable-static --disable-debug --disable-ffplay --disable-indev=sndio --disable-outdev=sndio --cc=gcc --enable-fontconfig --enable-frei0r --enable-gnutls --enable-gmp --enable-libgme --enable-gray --enable-libaom --enable-libfribidi --enable-libass --enable-libvmaf --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-librubberband --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libvorbis --enable-libopus --enable-libtheora --enable-libvidstab --enable-libvo-amrwbenc --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libdav1d --enable-libxvid --enable-libzvbi --enable-libzimg
libavutil 58. 29.100 / 58. 29.100
libavcodec 60. 31.102 / 60. 31.102
libavformat 60. 16.100 / 60. 16.100
libavdevice 60. 3.100 / 60. 3.100
libavfilter 9. 12.100 / 9. 12.100
libswscale 7. 5.100 / 7. 5.100
libswresample 4. 12.100 / 4. 12.100
libpostproc 57. 3.100 / 57. 3.100
Hyper fast Audio and Video encoder
usage: ffmpeg [options] [[infile options] -i infile]... {[outfile options] outfile}...

#

not sure how to run a docker

#

any suggestion?

thorny badge
#

try something like this to debug (from a terminal on the remote machine) - ffmpeg -loglevel verbose -i 'http://localhost:8409/iptv/hdhr/channel/2.ts' -t 00:00:05 -f null -

untold sinew
#

Etv doesn't even load anymore

#

after pasting that command

#

correction, ETV reconnected but still the same issue in Plex

#

fmpeg version 6.1-static https://johnvansickle.com/ffmpeg/ Copyright (c) 2000-2023 the FFmpeg developers-static https://johnvansickle.com/ffmpeg/ Copyright (c) 2000-202 built with gcc 8 built built with gcc 8 (Debian 8.3.0-6)ht (c) 20 built with gcc 8 (Debi configuration: --enable-g configurat c configuration: --enable-gpl --enable-version3 --enable-static --disable-debug --disable-ffplay --disable-indev=sndio --disable-outdev=sndio --cc=gcc --enable-fontconfig --enable-frei0r --enable-gnutls --enable-gmp --enable-libgme --enable-gray --enable-libaom --enable-libfribidi --enable-libass --enable-libvmaf --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-librubberband --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libvorbis --enable-libopus --enable-libtheora --enable-libvidstab --enable-libvo-amrwbenc --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libdav1d --enable-libxvid --enable-libzvbi --enable-libzimg58. libavuti libavutil 58. 29.100 / 58. 29.100enab libavu l libavutil 58. 29.100 / 58. 29.100 29. libavcode libavcodec 60. 31.102 / 60. 31.102
libavformat 60. 16.100 / 60. 16.100
libavdevice 60. 3.100 / 60. 3.100
libavfilter 9. 12.100 / 9. 12.100
libswscale 7. 5.100 / 7. 5.100
libswresample 4. 12.100 / 4. 12.100
libpostproc 57. 3.100 / 57. 3.100
Hyper fast Audio and Video encoder 3.100
usage: ffmpeg [options] [[infile options] -i infile]... {[outfile options] outfile}...

#

this is the result of the debug

thorny badge
#

i missed a quote, fixed now

#

please copy and paste the command again

untold sinew
#

the same command?

thorny badge
#

i edited it

#

ffmpeg -loglevel verbose -i 'http://localhost:8409/iptv/hdhr/channel/2.ts' -t 00:00:05 -f null -

untold sinew
#

fmpeg version 6.1-static https://johnvansickle.com/ffmpeg/ Copyright (c) 2000-2023 the FFmpeg developers-static https://johnvansickle.com/ffmpeg/ Copyright (c) 2000-202 built with gcc 8 built built with gcc 8 (Debian 8.3.0-6)ht (c) 20 built with gcc 8 (Debi configuration: --enable-g configurat c configuration: --enable-gpl --enable-version3 --enable-static --disable-debug --disable-ffplay --disable-indev=sndio --disable-outdev=sndio --cc=gcc --enable-fontconfig --enable-frei0r --enable-gnutls --enable-gmp --enable-libgme --enable-gray --enable-libaom --enable-libfribidi --enable-libass --enable-libvmaf --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-librubberband --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libvorbis --enable-libopus --enable-libtheora --enable-libvidstab --enable-libvo-amrwbenc --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libdav1d --enable-libxvid --enable-libzvbi --enable-libzimg58. libavuti libavutil 58. 29.100 / 58. 29.100enab libavu l libavutil 58. 29.100 / 58. 29.100 29. libavcode libavcodec 60. 31.102 / 60. 31.102
libavformat 60. 16.100 / 60. 16.100
libavdevice 60. 3.100 / 60. 3.100
libavfilter 9. 12.100 / 9. 12.100
libswscale 7. 5.100 / 7. 5.100
libswresample 4. 12.100 / 4. 12.100
libpostproc 57. 3.100 / 57. 3.100
Hyper fast Audio and Video encoder 3.100
usage: ffmpeg [options] [[infile options] -i infile]... {[outfile options] outfile}...

thorny badge
#

please show that you are entering the command correctly

untold sinew
#

how do you mean?

#

I am copying and pasting your command directly into terminal

thorny badge
#

i dont know, a screenshot i guess so i can see

untold sinew
#

it's giving me a warning before pasting

#

I am going to try it manually

#

ffmpeg -loglevel verbose -i 'http://localhost:8409/iptv/hdhr/channel/2.ts' -t 00:00:05 -f null-
ffmpeg version 6.1-static https://johnvansickle.com/ffmpeg/ Copyright (c) 2000-2023 the FFmpeg developers
built with gcc 8 (Debian 8.3.0-6)
configuration: --enable-gpl --enable-version3 --enable-static --disable-debug --disable-ffplay --disable-indev=sndio --disable-outdev=sndio --cc=gcc --enable-fontconfig --enable-frei0r --enable-gnutls --enable-gmp --enable-libgme --enable-gray --enable-libaom --enable-libfribidi --enable-libass --enable-libvmaf --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-librubberband --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libvorbis --enable-libopus --enable-libtheora --enable-libvidstab --enable-libvo-amrwbenc --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libdav1d --enable-libxvid --enable-libzvbi --enable-libzimg
libavutil 58. 29.100 / 58. 29.100
libavcodec 60. 31.102 / 60. 31.102
libavformat 60. 16.100 / 60. 16.100
libavdevice 60. 3.100 / 60. 3.100
libavfilter 9. 12.100 / 9. 12.100
libswscale 7. 5.100 / 7. 5.100
libswresample 4. 12.100 / 4. 12.100
libpostproc 57. 3.100 / 57. 3.100
Trailing option(s) found in the command: may be ignored.
Segmentation fault (core dumped)

#

that's the result

thorny badge
#

that's incorrect, there is a space between null and -

untold sinew
#

ok I am re doing it

#

ffmpeg -loglevel verbose -i 'http://localhost:8409/iptv/hdhr/channel/2.ts' -t 00:00:05 -f null -
ffmpeg version 6.1-static https://johnvansickle.com/ffmpeg/ Copyright (c) 2000-2023 the FFmpeg developers
built with gcc 8 (Debian 8.3.0-6)
configuration: --enable-gpl --enable-version3 --enable-static --disable-debug --disable-ffplay --disable-indev=sndio --disable-outdev=sndio --cc=gcc --enable-fontconfig --enable-frei0r --enable-gnutls --enable-gmp --enable-libgme --enable-gray --enable-libaom --enable-libfribidi --enable-libass --enable-libvmaf --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-librubberband --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libvorbis --enable-libopus --enable-libtheora --enable-libvidstab --enable-libvo-amrwbenc --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libdav1d --enable-libxvid --enable-libzvbi --enable-libzimg
libavutil 58. 29.100 / 58. 29.100
libavcodec 60. 31.102 / 60. 31.102
libavformat 60. 16.100 / 60. 16.100
libavdevice 60. 3.100 / 60. 3.100
libavfilter 9. 12.100 / 9. 12.100
libswscale 7. 5.100 / 7. 5.100
libswresample 4. 12.100 / 4. 12.100
libpostproc 57. 3.100 / 57. 3.100
Segmentation fault (core dumped)

thorny badge
#

i think something is still wrong with your ffmpeg, it should not segfault like that

untold sinew
#

it was installed by the admin of the server

#

yesterday

#

is there a commando uninstall and reinstall?

#

I will ask to uninstall and reinstall

thorny badge
#

your choices are to get ffmpeg working (a prerequisite for etv outside of docker), or get etv docker running

untold sinew
#

where do I get the ETV docker?

#

ETV is running already, is there something I need to download?

thorny badge
#

im not spending any more time on this

#

you need to get ffmpeg working

untold sinew
#

wow dude

#

I spent a couple of days trying to get it to work

thorny badge
#

i didn't write ffmpeg. it is a dependency of etv. whatever server you are using does not have a working ffmpeg

#

therefore etv will not work correctly

#

you would probably have better luck with the windows version, where the proper ffmpeg is also included

untold sinew
#

well my server is on a linux machine

#

and all my content is on a linux machine

#

windows version of eTV?

past rose
#

Just use the DOCKER version of ETV

#

Docker is a container system, where you can run packaged apps with all their dependencies (for the lack of a simpler explanation)

#

If you have a "linux server" and you don't know how to run Docker, I suggest you learn modern practices

#

Otherwise, do as the kind developer says, get a working ffmpeg there

#

You can either compile one from source (which is complicated and error-prone for begginers), or you can download a working binary

#

But I still strongly recommend you do Docker

untold sinew
#

@past rose oh I see so once installed Docker I can use the ETV on that, just trying to understand here

past rose
#

Yes, you can run a lot of apps as docker containers

untold sinew
#

based on your experience can I run a docker on a windows machine and still connect to my linux server to stream or does the ETV or docker needs to be on the same machine where my content is

#

@past rose

past rose
#

The possibilities are endless

#

but your skills are lacking

thorny badge
#

if you have windows available, just use the windows version of etv. it can stream from remote plex servers

untold sinew
#

my skills are lacking ? lol

past rose
#

If you had the knowledge, you wouldn't have asked the question. You'd have known what to do already.

#

You can run whatever, wherever, as long as you have a way to connect your Etv instance to whatever hosts your content

untold sinew
#

I am not a programmer, I am a user

past rose
#

That can be anything from Plex, Jellyfin, Emby, or just remote mappings of storage... or local mappings of storage

#

Yes, and you're messing with software that requires a bit of know-how on how stuff works

untold sinew
#

and I assume this program is or will be for users at some point

past rose
#

What makes you think it's not?

untold sinew
#

it's been taking over two days to get it to work, and I am definitely a knowledgeable person, not an engineer or programmer. I can imagine a regular guy trying to figure this out

past rose
#

Yeah, let's agree to disagree

#

Takes like 5 minutes to get it up and running

untold sinew
#

oh really? not on plex

past rose
#

And there's no "programming" required

untold sinew
#

I did what the website says

#

step by step

#

do I need to run ETV on my server or it can be tossed?

#

if I am using windows

#

in order to run a docker I don't think it's so easy, most mortals don't know what that is

past rose
#

You can run Etv everywhere it's supported, being Windows, Linux or Docker

#

Jason already told you what your actual issue is.

untold sinew
#

ffmpeg

past rose
#

And I already suggested 2 fixes

untold sinew
#

works on windows, m3u is fine, plex still having issues adding the channels

thorny badge
#

what does still having issues mean? is etv on the same network with plex? or is it remote now?

untold sinew
#

I think it's Plex, for some reason the same old tuner I first added is there and cannot be removed

#

so the reason why is playing is that the old tuner I added is always there and there jis no way to be removed

#

nothing to do with Ersatz I think

#

I am looking for a way to remove the old Tuner from my plex

untold sinew
#

tried again all that it says on the thread, removing cache and such, now server cannot be added to Plex at all

#

I think overall it needs better integration with Plex or maybe Plex is not the right application for this, as I said it works great as m3u in vlc but can't integrate it into Plex which was my original intention, or maybe it can be integrated but it needs a lot of workaround. Not blaming anyone for this, but it's just the way it is now...

thorny badge
#

your experience is not the typical experience. plex is probably the most used client with etv, even though it's one of the worst

untold sinew
#

understood, maybe a video with a step by step explanation could help or expanded instructions and workarounds, or a list of known issues

#

right now when I try to add a dvr on plex it says that there was a problem adding the device localhost:8409

#

ETV just running on windows

thorny badge
#

localhost means the same machine, its no longer the same machine

untold sinew
#

also tried all the IP addresses for my Windows machine

thorny badge
#

please answer the questions i ask. will ask again. is etv on the same network with plex? or is it remote now?

untold sinew
#

windows is hosting ETV, plex is hosted on the linux remote server

thorny badge
#

ok, if you want to use etv as a tuner in plex it needs to be able to access etv, which means you need to open the firewall and/or port forward depending on your network config, which brings its own complications. did you try the linked ffmpeg build on linux? you shouldn't need anyone to install it - you can point etv to ffmpeg anywhere on the filesystem

untold sinew
#

yes my admin added the ffmpeg from the page you guys suggested

thorny badge
#

does it still segfault when you do the command i gave?

untold sinew
#

I have to test that now

#

when I try to run ErsatzTV on Linux is telling me permission denied

#

redownloaded the package, just to make sure I am using ErsatzTV-v0.8.6-beta-linux-x64

thorny badge
#

Yes, you might need to chmod +x the executable

untold sinew
#

updated

#

I think it worked

#

Thank you!

#

unrelated but I noticed this on the health check: The following channels use ffmpeg profiles that are not configured for hardware acceleration (Nvenc, Vaapi, Qsv):

thorny badge
#

so it works from plex now with the updated ffmpeg?

untold sinew
#

yes it does

#

but I am getting that notice I sent you on the health check and the following

#

ffmpeg version N-114826-g65c1c83ca4-20240413 is unexpected and may have problems; please install 6.1!

thorny badge
#

that version is fine, you can ignore that

#

what can i clarify about the message?

untold sinew
#

ok

#

if these notices should be disregarded then all good

#

other than that it's working fine

thorny badge
#

if the performance is fine, then no need to do anything. if its not what you want, and you have a gpu then you should look to enable hardware acceleration. if you don't have a gpu you can ignore

untold sinew
#

ok thank you

past rose
#

it's fine

#

erm, I was scrolled