#Unable to playback within plex, here is my log attached, any help is very appreciated. Thank you!
1 messages · Page 1 of 1 (latest)
can anybody help?
Another quick note: my source files are mostly h264 and mkvs however ffmpeg should be converting to mpeg-ts
@untold sinew
Automoderator:
directly mentioning devs is not allowed - please open a #1006572433039433830 thread to receive help
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
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!
could kill the process id? i run it in macos so i have a toolbar icon that lets me clean exit from there
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
i think segmenter is a format that plex doesn't like
oh ok
the streaming format is ignored when using the hdhomerun emulator, since plex only supports mpeg-ts it will force that mode
in Settings - HLS Direct Output Format -> MPEG-TS is what I use
yeah I tried all that, and restarted Ersatz TV, still no luck with playback in Plex 😦
will keep trying
did the log helped?
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.
i'm playing in plex as we speak
music videos in mp4/mkv currently, so similar to what you're feeding in
are you local or using your plex library?
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.
local, my plex library is really big and ersatz doesn't love dealing with it
whats the network setup between your plex and your etv? the logs show etv is remote
ha yeah jef, that's definitely a familiar feeling!
when you test with vlc, is it on the same machine that has plex, or a different machine?
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
whats the network setup between your plex and your etv?
are they on the same machine or different machines
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
are they in docker?
mmm no
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
I se
localhost:8409
just write localhost or the actual address? sorry for my inexperience
remove the dvr and re-add it to plex, but replace whatever.seedhost.eu with localhost
the rest the same
yes it opens the same Tuner
for some reason plex recognizes the tuner automatically
even if I remove the dvr
just make sure it gets added with localhost address
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?
just enter the address manually
what does the log show now
what do etv logs show
I am not sure how to pull them, let me see
etv config folder/logs subfolder. on linux it would be ~/.local/share/ersatztv/logs
for some reason I can't find that folder on my linux
which user are you running as? ~ is the user's home dir
and again the stream from m3u through vlc plays fine (when I setup the channel to Segmenter), they issue is just plex playback
please set streaming log level to debug, request log level to debug in etv settings and try streaming from plex again
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.
Right, the log settings will cause etv to log more info, which I would like to see
what does the etv home page look like? there are health checks at the bottom
click the logo
i bet the problem is ffmpeg
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
ffmpeg has been updated to 6.1 and same issue
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
wher do I turn that off?
same place you turned it on? etv's settings page
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?
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
ok ffmpeg reports folder in local is empty
Turn on the reports in settings
Then, start a stream from Plex
Then check the folder
save troubleshooting reports?
Then send the files
I turned it on
Stop the channel and start a stream after you turned on the setting
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
should i delete the channel completely?
all I did I deleted the playout
I tried everything, reports aren't saved
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
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?
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 -
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
the same command?
i edited it
ffmpeg -loglevel verbose -i 'http://localhost:8409/iptv/hdhr/channel/2.ts' -t 00:00:05 -f null -
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}...
please show that you are entering the command correctly
i dont know, a screenshot i guess so i can see
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
that's incorrect, there is a space between null and -
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)
i think something is still wrong with your ffmpeg, it should not segfault like that
it was installed by the admin of the server
yesterday
is there a commando uninstall and reinstall?
I will ask to uninstall and reinstall
your choices are to get ffmpeg working (a prerequisite for etv outside of docker), or get etv docker running
where do I get the ETV docker?
ETV is running already, is there something I need to download?
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
well my server is on a linux machine
and all my content is on a linux machine
windows version of eTV?
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
You can fetch a working binary from https://github.com/BtbN/FFmpeg-Builds/releases
But I still strongly recommend you do Docker
@past rose oh I see so once installed Docker I can use the ETV on that, just trying to understand here
Yes, you can run a lot of apps as docker containers
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
if you have windows available, just use the windows version of etv. it can stream from remote plex servers
my skills are lacking ? lol
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
I am not a programmer, I am a user
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
and I assume this program is or will be for users at some point
What makes you think it's not?
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
oh really? not on plex
And there's no "programming" required
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
You can run Etv everywhere it's supported, being Windows, Linux or Docker
Jason already told you what your actual issue is.
ffmpeg
And I already suggested 2 fixes
works on windows, m3u is fine, plex still having issues adding the channels
what does still having issues mean? is etv on the same network with plex? or is it remote now?
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
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...
your experience is not the typical experience. plex is probably the most used client with etv, even though it's one of the worst
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
localhost means the same machine, its no longer the same machine
I also tried the ip address seedhost.eu, same results
also tried all the IP addresses for my Windows machine
please answer the questions i ask. will ask again. is etv on the same network with plex? or is it remote now?
windows is hosting ETV, plex is hosted on the linux remote server
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
yes my admin added the ffmpeg from the page you guys suggested
does it still segfault when you do the command i gave?
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
Yes, you might need to chmod +x the executable
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):
so it works from plex now with the updated ffmpeg?
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!
ok
if these notices should be disregarded then all good
other than that it's working fine
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
ok thank you