Trekster 10 Posted June 17, 2018 Share Posted June 17, 2018 Hi guys, I'm new to Emby so please forgive me until i'm up-to date on what logs are needed etc! I'm in the progress of migrating my stuff over from Plex, been a long time Plex user however it's time to move on... I'm using LiveTV. Everything is fine and dandy except for one particular channel. When tuning into that the screen will shift to match refresh rate, but then the circle will keep moving until the client asks me if i'd like to transcode, if i answer "Yes" - the channel is played back with transcoding. Every other channel i've tried so far has been ok, however there are 49 so i'm not been through all of them. This particual channel is one we watch the most - so it's a bit annoying it doesnt just work. It can direct play on the dashboard using Windows/Chrome and my Android phone(SGS9+) no issues at all which leads me to believe this to be a AndroidTV issue? My primary driver is a Shield TV, but i've also tested it using my Sony AndroidTV which results in the same. Everything is up-to-date. This is the part where i start the stream there is only one error message, before the server starts to transcode the error is: 2018-06-17 17:13:20.068 Error HttpServer: Error in SharpWebSocket: An exception has occurred while receiving a message.. Exception.Message: The header part of a frame cannot be read from the data source. Full logg of playback: 18-06-17 17:12:55.735 Info App: User policy for Djulbastije. EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True 2018-06-17 17:12:55.735 Info App: Profile: Android-Exo, Path: http://192.168.0.251, isEligibleForDirectPlay: True, isEligibleForDirectStream: True 2018-06-17 17:12:55.736 Info App: Opening channel stream from Emby, external channel Id: hdhr_2 2018-06-17 17:12:55.736 Info App: Streaming Channel hdhr_2 2018-06-17 17:12:55.736 Info App: GetChannelStream: channel id: hdhr_2. stream id: native_bbba5a6de96521ff4b73e891b4afe6e8_8770ca43f6e0ecc4708010db18af5b9a profile: native 2018-06-17 17:12:55.736 Info App: Opening SharedHttpStream Live stream from http://192.168.0.251:5004/auto/v2 2018-06-17 17:12:55.736 Info HttpClient: GET http://192.168.0.251:5004/auto/v2 2018-06-17 17:12:56.068 Info HttpClient: Http response 200 from http://192.168.0.251:5004/auto/v2 after 332ms. HeadersServer=HDHomeRun/1.0, Connection=close, Cache-Control=no-cache, Pragma=no-cache, transferMode.dlna.org=Streaming, Date=Sun, 17 Jun 2018 17:12:55 GMT 2018-06-17 17:12:56.068 Info App: Beginning SharedHttpStream stream to /config/transcoding-temp/7a86d2b8f83640758336068ea752bd67.ts 2018-06-17 17:12:56.068 Info App: Live stream opened after 332.1752ms 2018-06-17 17:12:56.068 Info App: Returning mediasource streamId native_bbba5a6de96521ff4b73e891b4afe6e8_8770ca43f6e0ecc4708010db18af5b9a, mediaSource.Id ea647ad6f3b2412e8f64e48e32d7fea7_native_bbba5a6de96521ff4b73e891b4afe6e8_8770ca43f6e0ecc4708010db18af5b9a, mediaSource.LiveStreamId null 2018-06-17 17:12:56.069 Info LiveTvMediaSourceProvider: Live tv media info probe took 0.0008357 seconds 2018-06-17 17:12:56.069 Info MediaSourceManager: Live stream opened: {"Protocol":"Http","Id":"ea647ad6f3b2412e8f64e48e32d7fea7_native_bbba5a6de96521ff4b73e891b4afe6e8_8770ca43f6e0ecc4708010db18af5b9a","Path":"http://127.0.0.1:8096/LiveTv/LiveStreamFiles/7a86d2b8f83640758336068ea752bd67/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_ea647ad6f3b2412e8f64e48e32d7fea7_native_bbba5a6de96521ff4b73e891b4afe6e8_8770ca43f6e0ecc4708010db18af5b9a","BufferMs":0,"RequiresLooping":false,"SupportsProbing":true,"MediaStreams":[{"Codec":"h264","ColorTransfer":"bt709","ColorPrimaries":"bt709","ColorSpace":"bt709","TimeBase":"1/90000","CodecTimeBase":"1/100","VideoRange":"SDR","DisplayTitle":"720PH264","NalLengthSize":"0","IsInterlaced":false,"BitRate":8000000,"BitDepth":8,"RefFrames":1,"IsDefault":false,"IsForced":false,"Height":720,"Width":1280,"AverageFrameRate":50,"RealFrameRate":50,"Profile":"High","Type":"Video","AspectRatio":"16:9","Index":-1,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"PixelFormat":"yuv420p","Level":40,"IsAnamorphic":false},{"Codec":"mp2","TimeBase":"1/90000","CodecTimeBase":"1/48000","DisplayTitle":"MP2 stereo","IsInterlaced":false,"ChannelLayout":"stereo","BitRate":192000,"Channels":2,"SampleRate":48000,"IsDefault":false,"IsForced":false,"Type":"Audio","Index":-1,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Level":0}],"Formats":[],"Bitrate":8192000,"RequiredHttpHeaders":{},"AnalyzeDurationMs":3000} 2018-06-17 17:12:56.070 Info App: User policy for Djulbastije. EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True 2018-06-17 17:12:56.070 Info App: Profile: Android-Exo, Path: http://127.0.0.1:8096/LiveTv/LiveStreamFiles/7a86d2b8f83640758336068ea752bd67/stream.ts, isEligibleForDirectPlay: True, isEligibleForDirectStream: True 2018-06-17 17:12:56.070 Info App: Profile: Android-Exo, Path: http://127.0.0.1:8096/LiveTv/LiveStreamFiles/7a86d2b8f83640758336068ea752bd67/stream.ts, isEligibleForDirectPlay: True, isEligibleForDirectStream: True 2018-06-17 17:12:56.071 Info HttpServer: HTTP Response 200 to 192.168.0.177. Time: 338ms. http://192.168.0.250:8096/emby/Items/d416a5a9b0e44114f4b15d1f0c74232c/PlaybackInfo?format=json 2018-06-17 17:12:56.269 Info HttpServer: HTTP POST http://192.168.0.250:8096/emby/Sessions/Playing. UserAgent: Dalvik/2.1.0 (Linux; U; Android 7.0; SHIELD Android TV Build/NRD90M) 2018-06-17 17:12:56.272 Info Trakt: Playback Started 2018-06-17 17:12:56.272 Info HttpServer: HTTP Response 204 to 192.168.0.177. Time: 3ms. http://192.168.0.250:8096/emby/Sessions/Playing 2018-06-17 17:13:01.261 Info HttpServer: HTTP GET http://192.168.0.250:8096/emby/Videos/d416a5a9b0e44114f4b15d1f0c74232c/stream.mpegts?DeviceId=46d81f85454c4ecc&MediaSourceId=ea647ad6f3b2412e8f64e48e32d7fea7_native_bbba5a6de96521ff4b73e891b4afe6e8_8770ca43f6e0ecc4708010db18af5b9a&Static=true&LiveStreamId=a17c75760a04e99b68cf766e11316e1c_09efa0d56b934a82adec00a87b837fb0_ea647ad6f3b2412e8f64e48e32d7fea7_native_bbba5a6de96521ff4b73e891b4afe6e8_8770ca43f6e0ecc4708010db18af5b9a. User-Agent=Emby/1.6.00g (Linux;Android 7.0) ExoPlayerLib/2.8.1/Emby, Accept-Encoding=identity, Host=192.168.0.250:8096, Connection=Keep-Alive 2018-06-17 17:13:20.068 Error HttpServer: Error in SharpWebSocket: An exception has occurred while receiving a message.. Exception.Message: The header part of a frame cannot be read from the data source. 2018-06-17 17:13:29.363 Info HttpServer: HTTP GET http://192.168.0.250:8096/emby/LiveTv/Channels/d416a5a9b0e44114f4b15d1f0c74232c?userId=5199fbf2646b43558f9a63744717d6e8&format=json. UserAgent: Dalvik/2.1.0 (Linux; U; Android 7.0; SHIELD Android TV Build/NRD90M) 2018-06-17 17:13:29.367 Info HttpServer: HTTP Response 200 to 192.168.0.177. Time: 3ms. http://192.168.0.250:8096/emby/LiveTv/Channels/d416a5a9b0e44114f4b15d1f0c74232c?userId=5199fbf2646b43558f9a63744717d6e8&format=json 2018-06-17 17:13:29.404 Info HttpServer: HTTP POST http://192.168.0.250:8096/emby/Items/d416a5a9b0e44114f4b15d1f0c74232c/PlaybackInfo?format=json. UserAgent: Dalvik/2.1.0 (Linux; U; Android 7.0; SHIELD Android TV Build/NRD90M) 2018-06-17 17:13:29.405 Info App: User policy for Djulbastije. EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True 2018-06-17 17:13:29.405 Info App: Profile: Android-Exo, Path: http://127.0.0.1:8096/LiveTv/LiveStreamFiles/7a86d2b8f83640758336068ea752bd67/stream.ts, isEligibleForDirectPlay: True, isEligibleForDirectStream: True 2018-06-17 17:13:29.406 Info HttpServer: HTTP Response 200 to 192.168.0.177. Time: 2ms. http://192.168.0.250:8096/emby/Items/d416a5a9b0e44114f4b15d1f0c74232c/PlaybackInfo?format=json 2018-06-17 17:13:29.441 Info HttpServer: HTTP Response 500 to 192.168.0.177. Time: 28180ms (slow). http://192.168.0.250:8096/emby/Videos/d416a5a9b0e44114f4b15d1f0c74232c/stream.mpegts?DeviceId=46d81f85454c4ecc&MediaSourceId=ea647ad6f3b2412e8f64e48e32d7fea7_native_bbba5a6de96521ff4b73e891b4afe6e8_8770ca43f6e0ecc4708010db18af5b9a&Static=true&LiveStreamId=a17c75760a04e99b68cf766e11316e1c_09efa0d56b934a82adec00a87b837fb0_ea647ad6f3b2412e8f64e48e32d7fea7_native_bbba5a6de96521ff4b73e891b4afe6e8_8770ca43f6e0ecc4708010db18af5b9a 2018-06-17 17:13:29.480 Info HttpServer: HTTP POST http://192.168.0.250:8096/emby/Sessions/Playing. UserAgent: Dalvik/2.1.0 (Linux; U; Android 7.0; SHIELD Android TV Build/NRD90M) 2018-06-17 17:13:29.483 Info Trakt: Playback Started 2018-06-17 17:13:29.483 Info HttpServer: HTTP Response 204 to 192.168.0.177. Time: 3ms. http://192.168.0.250:8096/emby/Sessions/Playing 2018-06-17 17:13:29.711 Info HttpServer: HTTP GET http://192.168.0.250:8096/emby/videos/d416a5a9b0e44114f4b15d1f0c74232c/master.m3u8?DeviceId=46d81f85454c4ecc&MediaSourceId=ea647ad6f3b2412e8f64e48e32d7fea7_native_bbba5a6de96521ff4b73e891b4afe6e8_8770ca43f6e0ecc4708010db18af5b9a&VideoCodec=h264,mpeg2video,hevc,h265&AudioCodec=ac3,eac3,dts,dca,dtshd,truehd,aac,mp3&AudioStreamIndex=-1&VideoBitrate=79808000&AudioBitrate=192000&PlaySessionId=0d5c147f619140d0b8bf5861f7571ae9&LiveStreamId=a17c75760a04e99b68cf766e11316e1c_09efa0d56b934a82adec00a87b837fb0_ea647ad6f3b2412e8f64e48e32d7fea7_native_bbba5a6de96521ff4b73e891b4afe6e8_8770ca43f6e0ecc4708010db18af5b9a&CopyTimestamps=true&RequireAvc=false&SegmentContainer=ts&MinSegments=2&BreakOnNonKeyFrames=True&h264-profile=high,main,baseline,constrainedbaseline&h264-level=52&hevc-profile=Main,Main10&ac3-audiochannels=8&eac3-audiochannels=8&dts-audiochannels=8&dca-audiochannels=8&dtshd-audiochannels=8&truehd-audiochannels=8&aac-audiochannels=8&mp3-audiochannels=8&TranscodeReasons=DirectPlayError,ContainerBitrateExceedsLimit&allowVideoStreamCopy=false. User-Agent=Emby/1.6.00g (Linux;Android 7.0) ExoPlayerLib/2.8.1/Emby, Host=192.168.0.250:8096, Connection=Keep-Alive, Accept-Encoding=gzip 2018-06-17 17:13:29.714 Info HttpServer: HTTP Response 200 to 192.168.0.177. Time: 3ms. http://192.168.0.250:8096/emby/videos/d416a5a9b0e44114f4b15d1f0c74232c/master.m3u8?DeviceId=46d81f85454c4ecc&MediaSourceId=ea647ad6f3b2412e8f64e48e32d7fea7_native_bbba5a6de96521ff4b73e891b4afe6e8_8770ca43f6e0ecc4708010db18af5b9a&VideoCodec=h264,mpeg2video,hevc,h265&AudioCodec=ac3,eac3,dts,dca,dtshd,truehd,aac,mp3&AudioStreamIndex=-1&VideoBitrate=79808000&AudioBitrate=192000&PlaySessionId=0d5c147f619140d0b8bf5861f7571ae9&LiveStreamId=a17c75760a04e99b68cf766e11316e1c_09efa0d56b934a82adec00a87b837fb0_ea647ad6f3b2412e8f64e48e32d7fea7_native_bbba5a6de96521ff4b73e891b4afe6e8_8770ca43f6e0ecc4708010db18af5b9a&CopyTimestamps=true&RequireAvc=false&SegmentContainer=ts&MinSegments=2&BreakOnNonKeyFrames=True&h264-profile=high,main,baseline,constrainedbaseline&h264-level=52&hevc-profile=Main,Main10&ac3-audiochannels=8&eac3-audiochannels=8&dts-audiochannels=8&dca-audiochannels=8&dtshd-audiochannels=8&truehd-audiochannels=8&aac-audiochannels=8&mp3-audiochannels=8&TranscodeReasons=DirectPlayError,ContainerBitrateExceedsLimit&allowVideoStreamCopy=false 2018-06-17 17:13:29.732 Info HttpServer: HTTP GET http://192.168.0.250:8096/emby/videos/d416a5a9b0e44114f4b15d1f0c74232c/live.m3u8?DeviceId=46d81f85454c4ecc&MediaSourceId=ea647ad6f3b2412e8f64e48e32d7fea7_native_bbba5a6de96521ff4b73e891b4afe6e8_8770ca43f6e0ecc4708010db18af5b9a&VideoCodec=h264,mpeg2video,hevc,h265&AudioCodec=ac3,eac3,dts,dca,dtshd,truehd,aac,mp3&AudioStreamIndex=-1&VideoBitrate=79808000&AudioBitrate=192000&PlaySessionId=0d5c147f619140d0b8bf5861f7571ae9&LiveStreamId=a17c75760a04e99b68cf766e11316e1c_09efa0d56b934a82adec00a87b837fb0_ea647ad6f3b2412e8f64e48e32d7fea7_native_bbba5a6de96521ff4b73e891b4afe6e8_8770ca43f6e0ecc4708010db18af5b9a&CopyTimestamps=true&RequireAvc=false&SegmentContainer=ts&MinSegments=2&BreakOnNonKeyFrames=True&h264-profile=high,main,baseline,constrainedbaseline&h264-level=52&hevc-profile=Main,Main10&ac3-audiochannels=8&eac3-audiochannels=8&dts-audiochannels=8&dca-audiochannels=8&dtshd-audiochannels=8&truehd-audiochannels=8&aac-audiochannels=8&mp3-audiochannels=8&TranscodeReasons=DirectPlayError,ContainerBitrateExceedsLimit&allowVideoStreamCopy=false. User-Agent=Emby/1.6.00g (Linux;Android 7.0) ExoPlayerLib/2.8.1/Emby, Host=192.168.0.250:8096, Connection=Keep-Alive, Accept-Encoding=gzip 2018-06-17 17:13:29.735 Info App: /bin/ffmpeg -analyzeduration 3000000 -fflags +igndts -f mpegts -i "http://127.0.0.1:8096/LiveTv/LiveStreamFiles/7a86d2b8f83640758336068ea752bd67/stream.ts"-map_metadata -1 -map_chapters -1 -threads 0 -sn -codec:v:0 libx264 -pix_fmt yuv420p -preset veryfast -crf 23 -maxrate 8000000 -bufsize 16000000 -profile:v high -level 4.1 -x264opts:0 subme=0:me_range=4:rc_lookahead=10:me=dia:no_chroma_me:8x8dct=0:partitions=none -force_key_frames "expr:gte(t,n_forced*3)" -vf "scale=trunc(min(max(iw\,ih*dar)\,1920)/2)*2:trunc(ow/dar/2)*2" -flags -global_header -vsync cfr -codec:a:0 ac3 -ac 2 -ab 192000 -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/921a6397d5fe707c0f183b66ff8d199f/" -segment_list_type m3u8 -segment_start_number 0 -segment_list "/config/transcoding-temp/921a6397d5fe707c0f183b66ff8d199f.m3u8" -y "/config/transcoding-temp/921a6397d5fe707c0f183b66ff8d199f%d.ts" 2018-06-17 17:13:29.786 Info HttpServer: HTTP GET http://127.0.0.1:8096/LiveTv/LiveStreamFiles/7a86d2b8f83640758336068ea752bd67/stream.ts. UserAgent: Lavf/58.12.100 2018-06-17 17:13:33.045 Info App: ffmpeg successfully started 20 Link to comment Share on other sites More sharing options...
mastrmind11 717 Posted June 17, 2018 Share Posted June 17, 2018 transcode log? what does stats for nerds say? Link to comment Share on other sites More sharing options...
Trekster 10 Posted June 17, 2018 Author Share Posted June 17, 2018 (edited) Transcode log attached, i'll get back to you with stats for nerds, the wife is watching a movie atm transcodelog.txt Edited June 17, 2018 by Trekster Link to comment Share on other sites More sharing options...
Trekster 10 Posted June 17, 2018 Author Share Posted June 17, 2018 (edited) Picture of Stats for nerds for channel attached Edited June 17, 2018 by Trekster Link to comment Share on other sites More sharing options...
Trekster 10 Posted June 18, 2018 Author Share Posted June 18, 2018 Anyone with some input? Sent from my SM-G965F using Tapatalk Link to comment Share on other sites More sharing options...
Luke 37200 Posted June 18, 2018 Share Posted June 18, 2018 We'll see what @@ebr thinks. Thanks ! Link to comment Share on other sites More sharing options...
Trekster 10 Posted June 18, 2018 Author Share Posted June 18, 2018 We'll see what @@ebr thinks. Thanks !Choosing mpv as the preferred player solves this issue Sent from my SM-G965F using Tapatalk Link to comment Share on other sites More sharing options...
ebr 14951 Posted June 18, 2018 Share Posted June 18, 2018 Choosing mpv as the preferred player solves this issue Sent from my SM-G965F using Tapatalk And that is going to be your answer for now I'm afraid. Some channel content that should be able to direct stream simply has a problem in the other player. We don't know why yet but it must be related to headers or formatting or something like that. Link to comment Share on other sites More sharing options...
Trekster 10 Posted June 19, 2018 Author Share Posted June 19, 2018 And that is going to be your answer for now I'm afraid. Some channel content that should be able to direct stream simply has a problem in the other player. We don't know why yet but it must be related to headers or formatting or something like that.That's fine, I'm new to emby so are there any drawbacks doing so? Sent from my SM-G965F using Tapatalk Link to comment Share on other sites More sharing options...
ebr 14951 Posted June 19, 2018 Share Posted June 19, 2018 That's fine, I'm new to emby so are there any drawbacks doing so? As long as everything is playing fine for you, no. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now