Jump to content
doffactory

XMLTV playback interruption on change

Recommended Posts

doffactory

Hi All, I have a strange problem since upgrading to Emby 3.5.x.x. The issue is related with the download of EPG via webgrab++, which I did/do regularly every day. It creates a file `guide.xml` which I then load into Emby's TV Guide Data Providers (Emby > LiveTV > XmlTV). This all works fine, and it worked nicely.

 

However, since the upgrade to Emby 3.5.x.x whenever there is a programme change based on EPG (e.g. programme1 | programme 2 | programme 3 | ...), the playback ends at the end of the EPG playback time (i.e. where the | is), resulting the need from the user for restarting the playback. Pre-emby 3.5.x.x this was not the case, the playback just went on, until it has not been stopped (programme1 >>> programme 2 >>> programme 3 >>> etc). 

 

Anybody has similar issues?

Share this post


Link to post
Share on other sites
Luke

Hi, what app are you playing with?

Share this post


Link to post
Share on other sites
doffactory

Hi, what app are you playing with?

 

Hi, I am playing it through the web browser, with transcoding

Edited by doffactory

Share this post


Link to post
Share on other sites
Luke

Hi there, can we look at an example? Please attach the information requested in how to report a problem. thanks !

Share this post


Link to post
Share on other sites
doffactory

Please find attached (I shortened the log)

2018-11-14 00:52:49.882
Application version: 3.5.3.0
http://192.168.0.30:8096/emby/videos/acd9946d905072da6a8c23f2229c19d3/live.m3u8?DeviceId=TW96aWxsYS81LjAgKFgxMTsgVWJ1bnR1OyBMaW51eCB4ODZfNjQ7IHJ2OjYzLjApIEdlY2tvLzIwMTAwMTAxIEZpcmVmb3gvNjMuMHwxNTQxOTIzNjUwODQy&MediaSourceId=054867bc79ff0aed149e77931fcb73d5&VideoCodec=h264&AudioCodec=aac&AudioStreamIndex=-1&VideoBitrate=872000&AudioBitrate=128000&PlaySessionId=62a4c4f973ad439998e0312cb2d6cad0&api_key=2636a5d39e684ff783fcb1298507e45d&LiveStreamId=a17c75760a04e99b68cf766e11316e1c_09efa0d56b934a82adec00a87b837fb0_054867bc79ff0aed149e77931fcb73d5&TranscodingMaxAudioChannels=2&RequireAvc=false&SegmentContainer=ts&MinSegments=1&BreakOnNonKeyFrames=True&h264-profile=high,main,baseline,constrainedbaseline&h264-level=51&TranscodeReasons=ContainerBitrateExceedsLimit
{"Protocol":"Http","Id":"054867bc79ff0aed149e77931fcb73d5","Path":"http://127.0.0.1:8096/LiveTv/LiveStreamFiles/745fdad138644eb8803fe07aa8bc18ea/stream.ts","Type":"Default","Container":"mpegts","IsRemote":false,"ReadAtNativeFramerate":false,"IgnoreDts":true,"IgnoreIndex":false,"GenPtsInput":false,"SupportsTranscoding":true,"SupportsDirectStream":true,"SupportsDirectPlay":false,"IsInfiniteStream":true,"RequiresOpening":true,"RequiresClosing":true,"LiveStreamId":"a17c75760a04e99b68cf766e11316e1c_09efa0d56b934a82adec00a87b837fb0_054867bc79ff0aed149e77931fcb73d5","RequiresLooping":false,"SupportsProbing":true,"MediaStreams":[{"Codec":"mpeg2video","TimeBase":"1/90000","CodecTimeBase":"1/25","VideoRange":"SDR","DisplayTitle":"480IMPEG2VIDEO","IsInterlaced":true,"BitRate":2000000,"RefFrames":1,"IsDefault":false,"IsForced":false,"Height":576,"Width":720,"AverageFrameRate":25,"RealFrameRate":25,"Profile":"Main","Type":"Video","AspectRatio":"4:3","Index":-1,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"PixelFormat":"yuv420p","Level":8,"IsAnamorphic":false},{"Codec":"mp2","TimeBase":"1/90000","CodecTimeBase":"1/48000","DisplayTitle":"MP2 stereo","IsInterlaced":false,"ChannelLayout":"stereo","BitRate":128000,"Channels":2,"SampleRate":48000,"IsDefault":false,"IsForced":false,"Type":"Audio","Index":-1,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Level":0}],"Formats":[],"Bitrate":2128000,"RequiredHttpHeaders":{"User-Agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.85 Safari/537.36"},"AnalyzeDurationMs":3000}
User policy for DOFFactory: EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True
/usr/local/AppCentral/emby-server/bin/ffmpeg -analyzeduration 3000000 -user_agent "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.85 Safari/537.36" -fflags +igndts -hwaccel vaapi -hwaccel_output_format vaapi -vaapi_device /dev/renderD128 -i "http://127.0.0.1:8096/LiveTv/LiveStreamFiles/745fdad138644eb8803fe07aa8bc18ea/stream.ts"-map_metadata -1 -map_chapters -1 -threads 0 -sn -codec:v:0 h264_vaapi  -b:v 872000 -maxrate 872000 -bufsize 1744000 -profile:v 578 -level 41 -force_key_frames "expr:gte(t,n_forced*3)" -vf "format=nv12|vaapi,hwupload,deinterlace_vaapi,scale_vaapi=w=640:h=512" -flags -global_header -vsync cfr -codec:a:0 aac -strict experimental -ac 2 -ab 128000  -f segment -max_delay 5000000 -avoid_negative_ts disabled -start_at_zero -segment_time 3  -individual_header_trailer 0 -segment_format mpegts -segment_list_entry_prefix "hls/0b16562bf72fb6d3016a2778c23c3bbd/" -segment_list_type m3u8 -segment_start_number 0 -segment_list "/home/emby/transcoding-temp/0b16562bf72fb6d3016a2778c23c3bbd.m3u8" -y "/home/emby/transcoding-temp/0b16562bf72fb6d3016a2778c23c3bbd%d.ts"
ffmpeg version 4.0.2-emby_2018_09_13 Copyright (c) 2000-2018 the FFmpeg developers
  built with gcc 6.3.0 (crosstool-NG crosstool-ng-1.23.0)
  configuration: --cc=x86_64-pc-linux-gnu-gcc --arch=x86_64 --prefix=/home/embybuilder/Buildbot/x64/ffmpeg-x64/staging --pkg-config=pkg-config --disable-doc --disable-ffplay --disable-vdpau --disable-xlib --enable-fontconfig --enable-gnutls --enable-gpl --enable-iconv --enable-libass --enable-libfreetype --enable-libfribidi --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libwebp --enable-libx264 --enable-libzvbi --enable-version3 --disable-decoders --disable-encoders --enable-decoder=aac --enable-decoder=aac_fixed --enable-decoder=aac_latm --enable-decoder=ac3 --enable-decoder=ac3_fixed --enable-decoder=alac --enable-decoder=apng --enable-decoder=ass --enable-decoder=ayuv --enable-decoder=bmp --enable-decoder=dca --enable-decoder=dirac --enable-decoder=dvbsub --enable-decoder=dvdsub --enable-decoder=eac3 --enable-decoder=flac --enable-decoder=gif --enable-decoder=h264 --enable-decoder=hevc --enable-decoder=huffyuv --enable-decoder=mjpeg --enable-decoder=mlp --enable-decoder=mov_text --enable-decoder=mp3 --enable-decoder=mp3float --enable-decoder=mpeg4 --enable-decoder=opus --enable-decoder=pcm_alaw --enable-decoder=pcm_bluray --enable-decoder=pcm_dvd --enable-decoder=pcm_f16le --enable-decoder=pcm_f24le --enable-decoder=pcm_f32be --enable-decoder=pcm_f32le --enable-decoder=pcm_f64be --enable-decoder=pcm_f64le --enable-decoder=pcm_lxf --enable-decoder=pcm_mulaw --enable-decoder=pcm_s16be --enable-decoder=pcm_s16be_planar --enable-decoder=pcm_s16le --enable-decoder=pcm_s16le_planar --enable-decoder=pcm_s24be --enable-decoder=pcm_s24daud --enable-decoder=pcm_s24le --enable-decoder=pcm_s24le_planar --enable-decoder=pcm_s32be --enable-decoder=pcm_s32le --enable-decoder=pcm_s32le_planar --enable-decoder=pcm_s64be --enable-decoder=pcm_s64le --enable-decoder=pcm_s8 --enable-decoder=pcm_s8_planar --enable-decoder=pcm_u16be --enable-decoder=pcm_u16le --enable-decoder=pcm_u24be --enable-decoder=pcm_u24le --enable-decoder=pcm_u32be --enable-decoder=pcm_u32le --enable-decoder=pcm_u8 --enable-decoder=pcm_zork --enable-decoder=pgssub --enable-decoder=png --enable-decoder=r210 --enable-decoder=rawvideo --enable-decoder=ssa --enable-decoder=subrip --enable-decoder=srt --enable-decoder=text --enable-decoder=theora --enable-decoder=truehd --enable-decoder=v210 --enable-decoder=v210x --enable-decoder=v308 --enable-decoder=v408 --enable-decoder=v410 --enable-decoder=vorbis --enable-decoder=vp8 --enable-decoder=vp9 --enable-decoder=webp --enable-decoder=webvtt --enable-decoder=wmalossless --enable-decoder=wmapro --enable-decoder=wmav1 --enable-decoder=wmav2 --enable-decoder=wmavoice --enable-decoder=wmv1 --enable-decoder=wmv2 --enable-decoder=wmv3 --enable-decoder=wmv3image --enable-decoder=y41p --enable-decoder=yuv4 --enable-decoder=zero12v --enable-encoder=aac --enable-encoder=ac3 --enable-encoder=ac3_fixed --enable-encoder=ass --enable-encoder=dvbsub --enable-encoder=dvdsub --enable-encoder=flac --enable-encoder=libmp3lame --enable-encoder=libopus --enable-encoder=libtheora --enable-encoder=libvorbis --enable-encoder=libwebp --enable-encoder=libx264 --enable-encoder=mjpeg --enable-encoder=mov_text --enable-encoder=png --enable-encoder=srt --enable-encoder=ssa --enable-encoder=subrip --enable-encoder=text --enable-encoder=webvtt --enable-libsmbclient --enable-decoder=mp1 --enable-decoder=mp2 --enable-decoder=mpegvideo --enable-decoder=mpeg1video --enable-decoder=mpeg2video --enable-decoder=vc1 --enable-cuda --enable-cuvid --enable-nvenc --enable-vaapi --enable-decoder=h264_cuvid --enable-decoder=hevc_cuvid --enable-decoder=mjpeg_cuvid --enable-decoder=mpeg1_cuvid --enable-decoder=mpeg2_cuvid --enable-decoder=mpeg4_cuvid --enable-decoder=vc1_cuvid --enable-decoder=vp8_cuvid --enable-decoder=vp9_cuvid --enable-encoder=h264_nvenc --enable-encoder=h264_vaapi --enable-encoder=hevc_nvenc --enable-encoder=hevc_vaapi --enable-encoder=mjpeg_vaapi --enable-cross-compile --cross-prefix=x86_64-pc-linux-gnu- --extra-libs='-ldl -lexpat -lfreetype -lfribidi -lfontconfig -liconv -lpng -luuid -lz -lvorbis -logg -lnettle -lhogweed -lgmp -laddns-samba4 -lasn1util-samba4 -lauthkrb5-samba4 -lCHARSET3-samba4 -lcliauth-samba4 -lcli-cldap-samba4 -lcli-ldap-common-samba4 -lcli-nbt-samba4 -lcli-smb-common-samba4 -lcom_err -lcommon-auth-samba4 -ldbwrap-samba4 -ldcerpc-binding -ldcerpc-samba-samba4 -lflag-mapping-samba4 -lgenrand-samba4 -lgensec-samba4 -lgse-samba4 -lgssapi_krb5 -llibcli-lsa3-samba4 -llibsmb-samba4 -linterfaces-samba4 -liov-buf-samba4 -lk5crypto -lkrb5 -lkrb5samba-samba4 -lkrb5support -lldb -lldbsamba-samba4 -lmessages-dgm-samba4 -lmessages-util-samba4 -lmsghdr-samba4 -lmsrpc3-samba4 -lndr -lndr-krb5pac -lndr-nbt -lndr-samba-samba4 -lndr-standard -lreplace-samba4 -lsamba-cluster-support-samba4 -lsamba-credentials -lsamba-debug-samba4 -lsamba-errors -lsamba-hostconfig -lsamba-modules-samba4 -lsamba-security-samba4 -lsamba-sockets-samba4 -lsamba-util -lsamba3-util-samba4 -lsamdb -lsamdb-common-samba4 -lsecrets3-samba4 -lserver-id-db-samba4 -lserver-role-samba4 -lsmbconf -lsmbd-shim-samba4 -lsmb-transport-samba4 -lsocket-blocking-samba4 -lsys-rw-samba4 -ltalloc -ltalloc-report-samba4 -ltdb -ltdb-wrap-samba4 -ltevent -ltevent-util -ltime-basic-samba4 -lutil-cmdline-samba4 -lutil-reg-samba4 -lutil-setid-samba4 -lutil-tdb-samba4 -lwbclient -lwinbind-client-samba4 -ldrm' --target-os=linux --enable-shared --disable-static
  libavutil      56. 14.100 / 56. 14.100
  libavcodec     58. 18.100 / 58. 18.100
  libavformat    58. 12.100 / 58. 12.100
  libavdevice    58.  3.100 / 58.  3.100
  libavfilter     7. 16.100 /  7. 16.100
  libswscale      5.  1.100 /  5.  1.100
  libswresample   3.  1.100 /  3.  1.100
  libpostproc    55.  1.100 / 55.  1.100
[mp3float @ 0x1503100] Header missing
[mpeg2video @ 0x1501f00] Invalid frame dimensions 0x0.
    Last message repeated 8 times
Input #0, mpegts, from 'http://127.0.0.1:8096/LiveTv/LiveStreamFiles/745fdad138644eb8803fe07aa8bc18ea/stream.ts':
  Duration: N/A, start: 89427.902367, bitrate: N/A
  Program 30106
    Metadata:
      service_name    : CT1
      service_provider: UPC
    Stream #0:0[0x65]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv420p(tv, top first), 720x576 [SAR 16:15 DAR 4:3], 25 fps, 25 tbr, 90k tbn, 50 tbc
    Stream #0:1[0x69](cze): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, fltp, 128 kb/s
    Stream #0:2[0x7d0](cze): Subtitle: dvb_teletext ([6][0][0][0] / 0x0006)
Stream mapping:
  Stream #0:0 -> #0:0 (mpeg2video (native) -> h264 (h264_vaapi))
  Stream #0:1 -> #0:1 (mp2 (native) -> aac (native))
Press [q] to stop, [?] for help
[mp2 @ 0x15256c0] Header missing
Error while decoding stream #0:1: Invalid data found when processing input
[h264_vaapi @ 0x1545f80] H.264 constrained baseline profile doesn't support encoding with B frames, disabling them.
[segment @ 0x1504fc0] Opening '/home/emby/transcoding-temp/0b16562bf72fb6d3016a2778c23c3bbd0.ts' for writing
Output #0, segment, to '/home/emby/transcoding-temp/0b16562bf72fb6d3016a2778c23c3bbd%d.ts':
  Metadata:
    encoder         : Lavf58.12.100
    Stream #0:0: Video: h264 (h264_vaapi) (Constrained Baseline), vaapi_vld, 640x512 [SAR 16:15 DAR 4:3], q=0-31, 872 kb/s, 25 fps, 90k tbn, 25 tbc
    Metadata:
      encoder         : Lavc58.18.100 h264_vaapi
    Stream #0:1: Audio: aac (LC), 48000 Hz, stereo, fltp, 128 kb/s
    Metadata:
      encoder         : Lavc58.18.100 aac
frame=   60 fps=0.0 q=-0.0 size=N/A time=00:00:02.36 bitrate=N/A dup=23 drop=0 speed=4.67x   
[segment @ 0x1504fc0] Opening '/home/emby/transcoding-temp/0b16562bf72fb6d3016a2778c23c3bbd.m3u8.tmp' for writing
[segment @ 0x1504fc0] Opening '/home/emby/transcoding-temp/0b16562bf72fb6d3016a2778c23c3bbd1.ts' for writing
frame=  117 fps=116 q=-0.0 size=N/A time=00:00:04.64 bitrate=N/A dup=23 drop=0 speed=4.61x   
frame=  161 fps=104 q=-0.0 size=N/A time=00:00:06.40 bitrate=N/A dup=23 drop=0 speed=4.13x   
[segment @ 0x1504fc0] Opening '/home/emby/transcoding-temp/0b16562bf72fb6d3016a2778c23c3bbd.m3u8.tmp' for writing
[segment @ 0x1504fc0] Opening '/home/emby/transcoding-temp/0b16562bf72fb6d3016a2778c23c3bbd2.ts' for writing
frame=  162 fps= 68 q=-0.0 size=N/A time=00:00:06.44 bitrate=N/A dup=23 drop=0 speed=2.68x   
frame=  197 fps= 68 q=-0.0 size=N/A time=00:00:07.84 bitrate=N/A dup=23 drop=0 speed= 2.7x   
frame=  208 fps= 61 q=-0.0 size=N/A time=00:00:08.28 bitrate=N/A dup=23 drop=0 speed=2.43x   
frame=  222 fps= 57 q=-0.0 size=N/A time=00:00:08.84 bitrate=N/A dup=23 drop=0 speed=2.26x   
frame=  234 fps= 53 q=-0.0 size=N/A time=00:00:09.32 bitrate=N/A dup=23 drop=0 speed=2.11x   
[segment @ 0x1504fc0] Opening '/home/emby/transcoding-temp/0b16562bf72fb6d3016a2778c23c3bbd.m3u8.tmp' for writing
...
[segment @ 0x1504fc0] Opening '/home/emby/transcoding-temp/0b16562bf72fb6d3016a2778c23c3bbd687.ts' for writing
frame=51550 fps= 25 q=-0.0 size=N/A time=00:34:21.96 bitrate=N/A dup=23 drop=0 speed=   1x   
frame=51564 fps= 25 q=-0.0 size=N/A time=00:34:22.52 bitrate=N/A dup=23 drop=0 speed=   1x   
frame=51577 fps= 25 q=-0.0 size=N/A time=00:34:23.04 bitrate=N/A dup=23 drop=0 speed=   1x   
frame=51589 fps= 25 q=-0.0 size=N/A time=00:34:23.52 bitrate=N/A dup=23 drop=0 speed=   1x   
frame=51603 fps= 25 q=-0.0 size=N/A time=00:34:24.08 bitrate=N/A dup=23 drop=0 speed=   1x   
frame=51614 fps= 25 q=-0.0 size=N/A time=00:34:24.52 bitrate=N/A dup=23 drop=0 speed=   1x   
[segment @ 0x1504fc0] Opening '/home/emby/transcoding-temp/0b16562bf72fb6d3016a2778c23c3bbd.m3u8.tmp' for writing
[segment @ 0x1504fc0] Opening '/home/emby/transcoding-temp/0b16562bf72fb6d3016a2778c23c3bbd688.ts' for writing
frame=51627 fps= 25 q=-0.0 size=N/A time=00:34:25.04 bitrate=N/A dup=23 drop=0 speed=   1x   
frame=51640 fps= 25 q=-0.0 size=N/A time=00:34:25.56 bitrate=N/A dup=23 drop=0 speed=   1x   
frame=51652 fps= 25 q=-0.0 size=N/A time=00:34:26.04 bitrate=N/A dup=23 drop=0 speed=   1x   
frame=51665 fps= 25 q=-0.0 size=N/A time=00:34:26.56 bitrate=N/A dup=23 drop=0 speed=   1x   
frame=51677 fps= 25 q=-0.0 size=N/A time=00:34:27.04 bitrate=N/A dup=23 drop=0 speed=   1x   
frame=51688 fps= 25 q=-0.0 size=N/A time=00:34:27.48 bitrate=N/A dup=23 drop=0 speed=   1x   
[segment @ 0x1504fc0] Opening '/home/emby/transcoding-temp/0b16562bf72fb6d3016a2778c23c3bbd.m3u8.tmp' for writing
[segment @ 0x1504fc0] Opening '/home/emby/transcoding-temp/0b16562bf72fb6d3016a2778c23c3bbd689.ts' for writing
Impossible to convert between the formats supported by the filter 'Parsed_scale_vaapi_3' and the filter 'auto_scaler_0'

 

Edited by doffactory

Share this post


Link to post
Share on other sites
Luke

Hi there @@doffactory, can you please attach the complete log file, as well as the server log? thanks !

Share this post


Link to post
Share on other sites
doffactory

Hi there @@doffactory, can you please attach the complete log file, as well as the server log? thanks !

 

Hi, I believe I found the culprit (which is still present in the Web player). I have an IPTV stream from my ISP, that broadcasts multicast and I transform it into unicast at my own router through udpxy. Now, the stream sometimes broadcasts programmes in changing screen ratio. Some TV programmes during the stream switch to 4:3 (usually old movies), others are 16:9 (the default broadcasting). Whenever there is a change in the broadcast stream, the playback gets interrupted. The screen goes black, when I move the mouse the controls appear, however, I always have to hit the back button and restart the streaming whenever there is a change in the ratio. I believe it was not a problem in pre-3.5. Would it be possible to fix this? For example, my set-top-box is able to detect the change and automatically adjust. This would be desirable in Emby too...

Share this post


Link to post
Share on other sites
Luke

Do you get an error message, or does it just stay black?

Share this post


Link to post
Share on other sites
doffactory

No error messages, just goes black and remains like it. Actually, if a person would come to the room he/she would not know that the TV is on. 

Share this post


Link to post
Share on other sites
Luke

Ok. There's some difficulty to this but yes we can look at it. Thanks.

Share this post


Link to post
Share on other sites
doffactory

OK, I have further update to the interruptions and screen going black with the need to restarting the playback. The scenario is that I have a separate EPG data from webgrabplus generating an XML. There are 2 reasons when the screen goes black and the playback interrupts:

 

  • change in aspect ratio, e.g. from 16:9 to 4:3 and back (as reported earlier)
  • the change of EPG data, e.g. when there is an end of programme in EPG data and the time is a bit off (earlier or later)

The second issue is quite annoying, as it does not happens always, but often enough to notice that when Emby shows the green progress bar based on EPG data at the end of the programme, the programme is still playing in reality (this lag might be due to the time introduced by receiving the data > transcoding > sending it over). 

 

It would be great if emby would have better handling of restart of playback of some sorts.

Share this post


Link to post
Share on other sites
Luke

Are you using an m3u tuner?

Share this post


Link to post
Share on other sites
doffactory

nope, just loading the m3u directly to Emby via LiveTV, and the xml file separately

Share this post


Link to post
Share on other sites
Luke

So that is an m3u tuner.

Share this post


Link to post
Share on other sites
doffactory

Yes, what I meant is that it is not a plugin

Share this post


Link to post
Share on other sites
Luke

So I sort of reproduced this the other night and it had nothing to do with guide data. In fact, I didn't have any guide data. I was testing a user supplied m3u where the urls in the m3u would generally change on guide refreshes.

 

So during playback the guide refresh ran, this refreshed the channels which caused the stream urls to change, and this caused a problem with an active playback session at the time.

Share this post


Link to post
Share on other sites
doffactory

Hm, but this means that the urls are changing internally within Emby, as my IPTV urls are the same for many years... Is this correct?

Share this post


Link to post
Share on other sites
Luke

No I mean the contents of the user m3u changed.

Share this post


Link to post
Share on other sites
doffactory

Well, this is not the case for me, my m3u is static and did not change.

Share this post


Link to post
Share on other sites
Luke

@@doffactory, I don't think this is related to xml guide data. Would you mind running a test...Remove the guide data from Emby Server altogether and just leave the m3u tuner.

 

Then try to reproduce the issue. The problem still occurs, right? If yes please attach the emby server and ffmpeg log from that test. Thanks !

Share this post


Link to post
Share on other sites
doffactory

@@doffactory, I don't think this is related to xml guide data. Would you mind running a test...Remove the guide data from Emby Server altogether and just leave the m3u tuner.

 

Then try to reproduce the issue. The problem still occurs, right? If yes please attach the emby server and ffmpeg log from that test. Thanks !

Just read this, I will try to reproduce the issue. However, I must stress that the interruption happens once-in-a-while during normal playback, but always when there is a change in the guide.xml file collated by webgrabplus. Whenever the bar is at the end of the programme (the tv programme must not be at its end yet - there is a difference of some seconds), there is an interruption and black screen. Moreover, when this happens and I am not around the TV it is often difficult to know whether the TV is still on. It would be good to know what emby is doing in these cases in the background and see at least some loading bar or something...

Share this post


Link to post
Share on other sites
doffactory

@@doffactory, I don't think this is related to xml guide data. Would you mind running a test...Remove the guide data from Emby Server altogether and just leave the m3u tuner.

 

Then try to reproduce the issue. The problem still occurs, right? If yes please attach the emby server and ffmpeg log from that test. Thanks !

OK, just tested, as requested. I removed the link to the guide.xml. I started a programme that usually exhibits this issue. I can confirm that the interruption occurred again, there is this progress bar of playback at the bottom, it stopped at 00:09 seconds before the end, but it is the end of the bar visually. My intuition is that something is happening with that and it forces the playback to exit. And no, the programme itself was not over yet, it was just the playback bar that was at the end.

Edited by doffactory

Share this post


Link to post
Share on other sites
Luke

How long was the program?

Share this post


Link to post
Share on other sites
doffactory

I have no idea, as I removed the EPG info. However, what I can say is that my emby is running in a docker container, with the transcoding-temp folder on an external volume. Now, whenever a transcoding happens, I can see that the folder is continuously filled up with .ts files. I can see that emby jumps from one .ts file to another during playback. This I can see on the progress bar, as soon as it ends at the end (during initial caching) it then expands again as soon as the next .ts file is loaded. Is it a possibility that somehow the playback interruption is related to these .ts files, how can I check what makes them corrupted? I can only see in the logs the exit code and then the resulting interruption. 

 

My opinion is that there should not be any progress bar at all if one is streaming and running an hls without the EPG info. Am I correct with this? Emby should just play the hls stream as such. I simply don't understand the interruptions.

Share this post


Link to post
Share on other sites
Luke

No that's not correct. You don't need the epg to see progress. This does sound to me like a failure that happens when the program changes, since you're saying it was 9 seconds before.

Share this post


Link to post
Share on other sites

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...