Jump to content

For LiveTV viewing, i need some luck


SPowe

Recommended Posts

Hi,

i am using an exip 418 fw 1.0.9 from kathrein with the below m3u list (https://www.satip.info/resources/channel-lists/).

If i want to playback a tv channel i get the following error:

image.png.31dc14957ed3fefd444ce8deb26aa58c.png

I disabled transcoding, as my server with the emby jail has not much computing power.

I get following error in the  log:

2022-12-04 23:17:28.376 Error MediaSourceManager: Error probing live tv stream
	*** Error Report ***
	Version: 4.7.10.0
	Command line: /usr/local/lib/emby-server/system/EmbyServer.dll -os freebsd -ffdetect /usr/local/lib/emby-server/bin/ffdetect -ffmpeg /usr/local/lib/emby-server/bin/ffmpeg -ffprobe /usr/local/lib/emby-server/bin/ffprobe -programdata /var/db/emby-server
	Operating system: FreeBSD 13.1-RELEASE-p2 FreeBSD 13.1-RELEASE-p2 n245412-484f039b1d0 TRUENAS
	Framework: .NET 6.0.5
	OS/Process: x64/x64
	Runtime: usr/local/lib/emby-server/system/System.Private.CoreLib.dll
	Processor count: 8
	Data path: /var/db/emby-server
	Application path: /usr/local/lib/emby-server/system
	System.Exception: System.Exception: ffprobe failed for "rtsp://192.168.8.70/?src=1&freq=12188&pol=h&ro=0.35&msys=dvbs&mtype=qpsk&plts=off&sr=27500&fec=34&pids=0,17,18,166,128,46,68" - streams and format are both null: 
	{
	
	}
	
	
	ffprobe version 5.0.0-emby_2022_05_07-spc Copyright (c) 2007-2022 the FFmpeg developers and softworkz for Emby LLC
	  built with FreeBSD clang version 13.0.0 (git@github.com:llvm/llvm-project.git llvmorg-13.0.0-0-gd7b669b3a303)
	[rtsp @ 0x8084b3000] method DESCRIBE failed: 404 Not Found
	rtsp://192.168.8.70/?src=1&freq=12188&pol=h&ro=0.35&msys=dvbs&mtype=qpsk&plts=off&sr=27500&fec=34&pids=0,17,18,166,128,46,68: Server returned 404 Not Found
	
	
	   at Emby.Server.MediaEncoding.Probing.MediaProbeManager.GetMediaInfoInternal(String inputPath, String primaryPath, MediaProtocol protocol, String userAgent, Boolean extractChapters, String probeSizeArgument, Boolean isAudio, Boolean forceEnableLogging, CancellationToken cancellationToken)
	   at Emby.Server.Implementations.Library.MediaSourceManager.AddMediaInfoWithProbe(MediaSourceInfo mediaSource, Boolean isAudio, ReadOnlyMemory`1 cacheKey, Boolean addProbeDelay, CancellationToken cancellationToken)
	   at Emby.Server.Implementations.Library.MediaSourceManager.OpenLiveStreamInternal(LiveStreamRequest request, CancellationToken cancellationToken)
	Source: Emby.Server.MediaEncoding
	TargetSite: Void MoveNext()

 

But if i am opening the link where emby says its an 404 err "rtsp://192.168.8.70/?src=1&freq=12188&pol=h&ro=0.35&msys=dvbs&mtype=qpsk&plts=off&sr=27500&fec=34&pids=0,17,18,166,128,46,68" in vlc, the stream plays asap without any problems. You`ve gaot any ideas how to solve this ?

 

Cheers,

Sascha

 

embyserver.txt ASTRA_19_2E.m3u

Link to comment
Share on other sites

and the same gui error happens with enabled transcoding with another log entry:

2022-12-04 23:51:33.370 Info App: ProcessRun 'StreamTranscode 4fb6e2' Execute: /usr/local/lib/emby-server/bin/ffmpeg -loglevel +timing -y -print_graphs_file "/var/db/emby-server/logs/ffmpeg-transcode-4fb6e27c-a20b-4c05-8490-3dc4e13f4638_1graph.txt" -copyts -start_at_zero -analyzeduration 3000000 -stream_loop -1 -i "rtsp://192.168.8.70/?src=1&freq=11362&pol=h&ro=0.35&msys=dvbs2&mtype=8psk&plts=on&sr=22000&fec=23&pids=0,17,18,6100,6110,6120,6130" -filter_complex "[v:0]yadif@f1=mode=send_frame:parity=auto:deint=all,format@f2=pix_fmts=yuv420p[f2_out0]" -map [f2_out0] -map a:0 -sn -c:v:0 libx264 -maxrate:v:0 10000000 -bufsize:v:0 20000000 -pix_fmt:v:0 yuv420p -force_key_frames:v:0 "expr:if(isnan(prev_forced_t),eq(t,t),gte(t,prev_forced_t+3))" -preset:v:0 veryfast -profile:v:0 high -level:v:0 3.1 -x264opts:v:0 "subme=0:me_range=4:rc_lookahead=10:partitions=none" -crf:v:0 23 -c:a:0 libmp3lame -ab:a:0 192000 -ac:a:0 2 -disposition:a:0 default -max_delay 5000000 -avoid_negative_ts disabled -f segment -map_metadata -1 -map_chapters -1 -segment_format mpegts -segment_list "/var/db/emby-server/transcoding-temp/411F91/411F91.m3u8" -segment_list_type m3u8 -segment_time 00:00:03.000 -segment_list_entry_prefix hls/411F91/ -segment_start_number 0 -individual_header_trailer 0 -write_header_trailer 0 -segment_write_temp 1 "/var/db/emby-server/transcoding-temp/411F91/411F91_%d.ts"
2022-12-04 23:51:33.385 Info App: AppendExtraLogData - Read graph file: /var/db/emby-server/logs/ffmpeg-transcode-4fb6e27c-a20b-4c05-8490-3dc4e13f4638_1graph.txt
2022-12-04 23:51:33.385 Info App: AppendExtraLogData - Deserialized GraphData fileStream: 314.000 bytes Graph Count: 1
2022-12-04 23:51:33.385 Info App: AppendExtraLogData - File Deleted
2022-12-04 23:51:33.386 Info App: ProcessRun 'StreamTranscode 4fb6e2' Process exited with code 1 - Failed
2022-12-04 23:51:33.424 Error Server: Error processing request
	*** Error Report ***
	Version: 4.7.10.0
	Command line: /usr/local/lib/emby-server/system/EmbyServer.dll -os freebsd -ffdetect /usr/local/lib/emby-server/bin/ffdetect -ffmpeg /usr/local/lib/emby-server/bin/ffmpeg -ffprobe /usr/local/lib/emby-server/bin/ffprobe -programdata /var/db/emby-server
	Operating system: FreeBSD 13.1-RELEASE-p2 FreeBSD 13.1-RELEASE-p2 n245412-484f039b1d0 TRUENAS
	Framework: .NET 6.0.5
	OS/Process: x64/x64
	Runtime: usr/local/lib/emby-server/system/System.Private.CoreLib.dll
	Processor count: 8
	Data path: /var/db/emby-server
	Application path: /usr/local/lib/emby-server/system
	System.Exception: System.Exception: Error starting ffmpeg
	   at Emby.Server.MediaEncoding.Api.BaseStreamingService.StartFfMpeg(StreamState state, String outputPath, CancellationToken cancellationToken, Boolean acquireResources)
	   at Emby.Server.MediaEncoding.Api.Hls.BaseHlsService.ProcessRequest(StreamRequest request)
	   at Emby.Server.Implementations.Services.ServiceController.GetTaskResult(Task task)
	   at Emby.Server.Implementations.Services.ServiceHandler.ProcessRequestAsync(HttpListenerHost appHost, IRequest httpReq, IResponse httpRes, RestPath restPath, String responseContentType, CancellationToken cancellationToken)
	   at Emby.Server.Implementations.HttpServer.HttpListenerHost.RequestHandler(IRequest httpReq, ReadOnlyMemory`1 urlString, ReadOnlyMemory`1 localPath, CancellationToken cancellationToken)
	Source: Emby.Server.MediaEncoding
	TargetSite: Void MoveNext()

 

embyserver.txt

Link to comment
Share on other sites

Any help is appreciated. I am using the stable container. Does a switch to unstable emby on truenas help?

Edited by SPowe
Link to comment
Share on other sites

Hi, 

i am trying to get LiveTV with an EXIP 418 from Kathrein working with emby. I tried alot, nothing really helped. But out of knowhere i got it one time working.

I attached the emby log and 2 ffmpeg logs (no transcoding). As you can see, my lucky punch was logged in ffmpeg-transcode-c235984d-9d8a-4e6c-b8ad-65638820a5ae_1: the LiveTV Stream played ONCE in my Chrome Browser. And it took at least 30 seconds until it started - but it started.

I tried it once again (switch to another channel an back) and i get the usual behaviour again (2nd ffmpeg logfile), which happens 99% of the time:  stream cannot be played:

image.png.b11ca0561ff85bf6b6edcdf6de9a607a.png

 

Please give me some hints, how to make LiveTV viewing possible, reliable and switching faster. VLC needs 2 seconds to start the stream (url copied from ffmpeg logs).

Kind Regards

Sascha

 

ffmpeg-transcode-a18ac3fc-ab59-4352-9b19-c853fe957ad0_1.txt ffmpeg-transcode-c235984d-9d8a-4e6c-b8ad-65638820a5ae_1.txt embyserver.txt

Link to comment
Share on other sites

samsung2100

Try the channels I sent you with the guide data as well and let me know if it plays fine for you, please do not post that list in main forum thanks.

  • Thanks 1
Link to comment
Share on other sites

16 hours ago, Luke said:

Hi, does the exip only support rtsp output or does it have options for other protocols?

Hi Luke,

i asked the vendor - waiting for an qualified answer.

The portscan on the device revealed port 80, 111 (rpcbind) and 554 (rtsp) are open.

The webfrontend lets me setup only lnb and major network parameters - nothing ts stream specific.

Cheers

Sascha 

Link to comment
Share on other sites

On 12/10/2022 at 6:49 AM, SPowe said:

Hi Luke,

i asked the vendor - waiting for an qualified answer.

The portscan on the device revealed port 80, 111 (rpcbind) and 554 (rtsp) are open.

The webfrontend lets me setup only lnb and major network parameters - nothing ts stream specific.

Cheers

Sascha 

That would be great, let us know what you find. Thanks.

Link to comment
Share on other sites

Good Day,

I had a similar problem a few months back and it was because my VPN was set to a US area. I then changed it to a non-US area, and it is still working fine. Don't know if that is your issue as well but I just thought I would put it out there. Cheers!!!

  • Thanks 1
Link to comment
Share on other sites

  • 3 months later...

So i started again trying to get it work on a truenas scale emby container (the "official" version, not truecharts).

Now i got an Octopus NET SL SX8, which exports a not "so well formed"-m3u. But i managed to get a testchannel recognized by emby. And again, it failed streaming.

 

I tested around and found one strange behaviour, which should give a hint:

I can ping the octopusnet from the docker-container`s shell. 

I try to use ffprobe from the command line in the docker container. And i get a timeout/error after >30 seconds - thats the same duration like emby to get an error msg:

/ # ffprobe "rtsp://octopusnet:554/?src=1&freq=11347&pol=v&msys=dvbs2&sr=22000&pids=0,16,17,18,20,6500,6510,6520,6521,6522,6523,6531,6530"
ffprobe version 5.0.0-emby_2022_05_27-u1 Copyright (c) 2007-2022 the FFmpeg developers and softworkz for Emby LLC
  built with gcc 8.3.0 (crosstool-NG 1.24.0)
Server returned 4XX Client Error, but not one of 40{0,1,3,4}

  If i am using this on my windows host i get a fast answer:

ffprobe.exe "rtsp://octopusnet:554/?src=1&freq=11347&pol=v&msys=dvbs2&sr=22000&pids=0,16,17,18,20,6500,6510,6520,6521,6522,6523,6531,6530"
ffprobe version 2022-01-06-git-2b541b8c1d-full_build-www.gyan.dev Copyright (c) 2007-2022 the FFmpeg developers
  built with gcc 11.2.0 (Rev5, Built by MSYS2 project)
  configuration: --enable-gpl --enable-version3 --enable-static --disable-w32threads --disable-autodetect --enable-fontconfig --enable-iconv --enable-gnutls --enable-libxml2 --enable-gmp --enable-bzlib --enable-lzma --enable-libsnappy --enable-zlib --enable-librist --enable-libsrt --enable-libssh --enable-libzmq --enable-avisynth --enable-libbluray --enable-libcaca --enable-sdl2 --enable-libdav1d --enable-libdavs2 --enable-libuavs3d --enable-libzvbi --enable-librav1e --enable-libsvtav1 --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs2 --enable-libxvid --enable-libaom --enable-libopenjpeg --enable-libvpx --enable-mediafoundation --enable-libass --enable-frei0r --enable-libfreetype --enable-libfribidi --enable-libvidstab --enable-libvmaf --enable-libzimg --enable-amf --enable-cuda-llvm --enable-cuvid --enable-ffnvcodec --enable-nvdec --enable-nvenc --enable-d3d11va --enable-dxva2 --enable-libmfx --enable-libshaderc --enable-vulkan --enable-libplacebo --enable-opencl --enable-libcdio --enable-libgme --enable-libmodplug --enable-libopenmpt --enable-libopencore-amrwb --enable-libmp3lame --enable-libshine --enable-libtheora --enable-libtwolame --enable-libvo-amrwbenc --enable-libilbc --enable-libgsm --enable-libopencore-amrnb --enable-libopus --enable-libspeex --enable-libvorbis --enable-ladspa --enable-libbs2b --enable-libflite --enable-libmysofa --enable-librubberband --enable-libsoxr --enable-chromaprint
  libavutil      57. 18.100 / 57. 18.100
  libavcodec     59. 20.100 / 59. 20.100
  libavformat    59. 17.100 / 59. 17.100
  libavdevice    59.  5.100 / 59.  5.100
  libavfilter     8. 25.100 /  8. 25.100
  libswscale      6.  5.100 /  6.  5.100
  libswresample   4.  4.100 /  4.  4.100
  libpostproc    56.  4.100 / 56.  4.100
[rtsp @ 000001f71d63f700] Packet corrupt (stream = 0, dts = 3420603558).
[NULL @ 000001f71d690e00] non-existing SPS 0 referenced in buffering period

[.....]

[h264 @ 000001f71d690e00] no frame!
[h264 @ 000001f71d690e00] Increasing reorder buffer to 2
[rtsp @ 000001f71d63f700] Could not find codec parameters for stream 8 (Unknown: none ([5][0][0][0] / 0x0005)): unknown codec
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options
Input #0, rtsp, from 'rtsp://octopusnet:554/?src=1&freq=11347&pol=v&msys=dvbs2&sr=22000&pids=0,16,17,18,20,6500,6510,6520,6521,6522,6523,6531,6530':
  Metadata:
    title           : MPEG TS
  Duration: N/A, start: 38006.306200, bitrate: N/A
  Program 11150
    Metadata:
      service_name    : 3sat HD
      service_provider: ZDFvision
  Stream #0:0: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p(tv, bt709, progressive), 1280x720 [SAR 1:1 DAR 16:9], 50 fps, 50 tbr, 90k tbn
  Stream #0:3(deu): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, s16p, 256 kb/s
  Stream #0:4(deu): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, s16p, 192 kb/s (visual impaired) (descriptions)
  Stream #0:5(deu): Audio: ac3 ([6][0][0][0] / 0x0006), 48000 Hz, stereo, fltp, 448 kb/s
  Stream #0:6(mul): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, s16p, 192 kb/s (hearing impaired)
  Stream #0:1(deu): Subtitle: dvb_teletext ([6][0][0][0] / 0x0006), 492x250
  Stream #0:7(deu): Subtitle: dvb_subtitle ([6][0][0][0] / 0x0006) (hearing impaired)
  Stream #0:8: Unknown: none ([5][0][0][0] / 0x0005)
  Program 11160
    Metadata:
      service_name    : KiKA HD
      service_provider: ZDFvision
  Program 11170
    Metadata:
      service_name    : ZDFinfo HD
      service_provider: ZDFvision
  No Program
  Stream #0:2: Data: epg
Unsupported codec with id 98306 for input stream 2
Unsupported codec with id 0 for input stream 8

 

So - my question: are there some ports automatically blocked on TrueNas Scale running official emby container ? Do i have to enabel port 554 anywhere ? ICMP and http/https seems open at default... 

 

@ErikaJ: i am using a Sat>IP converter in my local LAN with a local dish - so the are nor area limitations for me which i would solve with a vpn. thx for feedback anyways.  

Link to comment
Share on other sites

  • 3 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...