revengineer 142 Posted November 24, 2017 Posted November 24, 2017 Playing with IPTV last night, I noticed that when playing my channels, the streams show initially as "direct" and after 10 s or so they switch to "transcode". Does anyone know why that is and whether there is a way to prevent this?
Luke 42077 Posted November 24, 2017 Posted November 24, 2017 Probably means an error was encountered so the player switched from direct to transcode.
revengineer 142 Posted November 24, 2017 Author Posted November 24, 2017 I see. Problem seems to be "no direct play profile" found. So it seems that the initial description "direct" in dashboard is just an attempt to direct play but it never actually does stream until the transcode starts. I have added relevant log lines below for a cross check of my diagnosis. 2017-11-24 14:56:05.600 Info HttpServer: HTTP POST http://192.168.1.50:8096/emby/Items/7d09bbf65c3b6f8533cd03bc06abdd70/PlaybackInfo?UserId=2daf8f90b6a24446a79bfe82efaaced7&StartTimeTicks=0&AutoOpenLiveStream=true&MaxStreamingBitrate=140000000. UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.3202.94 Safari/537.36 2017-11-24 14:56:05.604 Info App: User policy for admin. EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True 2017-11-24 14:56:05.604 Info App: RemoteClientBitrateLimit: 3000000, RemoteIp: 192.168.1.11, IsInLocalNetwork: True 2017-11-24 14:56:05.604 Info App: Profile: Unknown Profile, Path: http://watch.necroiptv.com/live/xxx/yyy/2879.ts, isEligibleForDirectPlay: True, isEligibleForDirectStream: True 2017-11-24 14:56:05.604 Info App: Profile: Unknown Profile, No direct play profiles found for Path: http://watch.necroiptv.com/live/xxx/yyy/2879.ts 2017-11-24 14:56:05.604 Info App: Opening channel stream from Emby, external channel Id: m3u_bd1b850990973c512ce073419fd55fdd570506b0b04dcf4cc68de3ad38e98760 2017-11-24 14:56:05.604 Info App: Streaming Channel m3u_bd1b850990973c512ce073419fd55fdd570506b0b04dcf4cc68de3ad38e98760 2017-11-24 14:56:05.604 Info App: Opening SharedHttpStream Live stream from http://watch.necroiptv.com/live/xxx/yyy/2879.ts 2017-11-24 14:56:05.604 Info HttpClient: GET: http://watch.necroiptv.com/live/xxx/yyy/2879.ts 2017-11-24 14:56:05.866 Info HttpClient: Http response 200 from http://watch.necroiptv.com/live/xxx/yyy/2879.ts after 261ms. HeadersConnection=keep-alive, Date=Fri, 24 Nov 2017 19:56:05 GMT, Transfer-Encoding=chunked, Server=cloudflare-nginx, X-Powered-By=PHP/7.1.8, Access-Control-Allow-Origin=*, X-Content-Type-Options=nosniff, CF-RAY=3c2eedf745459200-EWR 2017-11-24 14:56:05.866 Info App: Beginning SharedHttpStream stream to M:\tmp\transcoding-temp\1f04f0a94b52434ab980806cfde10e6c.ts 2017-11-24 14:56:08.867 Info App: Live stream opened after 3262.2887ms 2017-11-24 14:56:08.867 Info App: Returning mediasource streamId 51877c3595e44f5c8a8c414f22233f328cf6977959314b36f4655720eea53f51, mediaSource.Id 6a1dd18b9dcc4007b9689f39d66a5301_8cf6977959314b36f4655720eea53f51, mediaSource.LiveStreamId null 2017-11-24 14:56:08.867 Info MediaEncoder: C:\Users\admin\AppData\Roaming\Emby-Server\system\ffprobe.exe -analyzeduration 3000000 -i "http://127.0.0.1:8096/LiveTv/LiveStreamFiles/1f04f0a94b52434ab980806cfde10e6c/stream.ts" -threads 0 -v info -print_format json -show_streams -show_format 2017-11-24 14:56:08.887 Info HttpServer: HTTP GET http://127.0.0.1:8096/LiveTv/LiveStreamFiles/1f04f0a94b52434ab980806cfde10e6c/stream.ts. UserAgent: Lavf/57.83.100 2017-11-24 14:56:11.979 Info LiveTvMediaSourceProvider: Live tv media info probe took 3.1122759 seconds 2017-11-24 14:56:11.979 Info LiveTvMediaSourceProvider: Live stream info: {"Protocol":"Http","Id":"6a1dd18b9dcc4007b9689f39d66a5301_8cf6977959314b36f4655720eea53f51","Path":"http://127.0.0.1:8096/LiveTv/LiveStreamFiles/1f04f0a94b52434ab980806cfde10e6c/stream.ts","Type":"Default","Container":"mpegts","IsRemote":true,"ReadAtNativeFramerate":false,"IgnoreDts":true,"IgnoreIndex":false,"GenPtsInput":false,"SupportsTranscoding":true,"SupportsDirectStream":true,"SupportsDirectPlay":true,"IsInfiniteStream":true,"RequiresOpening":true,"RequiresClosing":true,"SupportsProbing":true,"LiveStreamId":"09efa0d56b934a82adec00a87b837fb0_6a1dd18b9dcc4007b9689f39d66a5301_8cf6977959314b36f4655720eea53f51","RequiresLooping":false,"MediaStreams":[{"Codec":"h264","TimeBase":"1/90000","CodecTimeBase":"1/50","DisplayTitle":"480P H264","NalLengthSize":"0","IsInterlaced":false,"BitRate":2000000,"BitDepth":8,"RefFrames":1,"IsDefault":false,"IsForced":false,"Height":576,"Width":720,"AverageFrameRate":25,"RealFrameRate":25,"Profile":"High","Type":"Video","AspectRatio":"16:9","Index":0,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"PixelFormat":"yuv420p","Level":30,"IsAnamorphic":false},{"Codec":"mp2","TimeBase":"1/90000","CodecTimeBase":"1/48000","DisplayTitle":"MP2 stereo","IsInterlaced":false,"ChannelLayout":"stereo","BitRate":384000,"Channels":2,"SampleRate":48000,"IsDefault":false,"IsForced":false,"Type":"Audio","Index":1,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Level":0}],"Formats":[],"Bitrate":2384000,"RequiredHttpHeaders":{},"AnalyzeDurationMs":3000,"DefaultAudioStreamIndex":1}
Luke 42077 Posted November 24, 2017 Posted November 24, 2017 If you recall from how to report a media playback issue, we do ask that you supply full and complete log files. thanks.
revengineer 142 Posted November 25, 2017 Author Posted November 25, 2017 I do remember and I would if it were easy. Unfortunately, iptv providers have the username password combo in the URLs, so my passwords are all over the log file. If they get lose, I can kiss my subscription good bye. I think we can just put this issue to rest. The above issue will be problematic for future reports. I would have to isolate the testing by restarting emby, which in my case requires a whole server restart because the emby process remains unterminable.
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