Server Version#: 1.18.7.2457 running on FreeNAS-11.2-U6
Player Version#: 7.28.0.15501 running on Android 9 (4.9.112)
A note: all my files (including those I have issues with on android) play without issue on desktop using the web player in chrome.
I have a few wmv files, one of them plays fine without issue. The other (one of many, in a separate folder) does not play.
Android 9 doesn’t support wmv, so here from the logs, the app is working fine telling the transcoder to start.
02-28 23:03:50.162 i: [MediaDecisionEngine] Analyzing media: 720x404 3174kbps (Container: asf, Video: wmv3, Audio: wmav2)
02-28 23:03:50.162 i: [EngineEventManager] onBufferingStarted (isSeeking: false)
02-28 23:03:50.162 i: [ExoPlayer][EventLogger] loading [0.06, 0.00, window=0, true]
02-28 23:03:50.163 i: [MediaDecisionEngine] Unable to direct play; Unable to Direct Play as WMV3 is not supported on this device.
However it fails later on here:
02-28 23:03:53.877 i: [FFmpeg] [INFO] Demuxer closing.
02-28 23:03:53.877 i: [FFmpeg] [INFO] Adding option: live_start_index 0
02-28 23:03:53.878 i: [FFmpeg] [INFO] [Cache] Close requested, terminating.
02-28 23:03:53.878 i: [FFmpeg] [INFO] [Cache] Cache has been closed, interrupting AVIO ...
02-28 23:03:53.904 i: [FFmpeg] [INFO] [Cache] Close requested, terminating.
02-28 23:03:53.905 i: [FFmpeg] [INFO] Allocating format context.
02-28 23:03:53.905 i: [FFmpeg] [INFO] Opening input from https://192-168-1-21.ee47c2df65384de59382f783141e535b.plex.direct:32400/video/:/transcode/universal/start.m3u8[..............]
rsion=7.28.0.15501.
02-28 23:03:53.905 i: [FFmpeg] [INFO] [Cache] Close requested, terminating.
02-28 23:03:53.905 i: [FFmpeg] [INFO] [Cache] Opening source from https://192-168-1-21.ee47c2df65384de59382f783141e535b.plex.direct:32400/video/:/transcode/universal/start.m3u8[..............]
rsion=7.28.0.15501.
02-28 23:03:54.081 i: [FFmpeg] [INFO] [Cache] Cache is not enabled, connecting source context instead.
02-28 23:03:54.082 i: [FFmpeg] [INFO] [hls @ 0x6f86ffe400] Opening 'https://192-168-1-21.ee47c2df65384de59382f783141e535b.plex.direct:32400/video/:/transcode/universal/session/f995f1a6d6dfae7d-com-plexapp-android/base/index.m3u8' for reading
**02-28 23:03:54.128 i: [FFmpeg] [ERROR] [tcp @ 0x6f9c07c2c0] Failed to resolve hostname 192-168-1-21.ee47c2df65384de59382f783141e535b.plex.direct: No address associated with hostname**
02-28 23:03:54.129 e: [FF] Demuxer failed to open input from `https://192-168-1-21.ee47c2df65384de59382f783141e535b.plex.direct:32400/video/:/transcode/universal/start.m3u8
[..................]
rsion=7.28.0.15501`.
02-28 23:03:54.134 e: [ExoPlayer][EventLogger] playerFailed [4.03, 0.00, window=0]
02-28 23:03:54.134 e: An exception occurred: com.google.android.exoplayer2.i: [Open]com.plexapp.plex.ff.data.FFException: Demuxer failed to open input.
02-28 23:03:54.134 i: [FF][MediaPeriod] Releasing.
02-28 23:03:54.135 e: Stacktrace: com.google.android.exoplayer2.i: [Open]com.plexapp.plex.ff.data.FFException: Demuxer failed to open input.
at com.google.android.exoplayer2.o.handleMessage(SourceFile:386)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:193)
at android.os.HandlerThread.run(HandlerThread.java:65)
Caused by: [Open]com.plexapp.plex.ff.data.FFException: Demuxer failed to open input.
at com.plexapp.plex.ff.FFDemuxer.open(SourceFile:158)
at com.plexapp.plex.ff.source.FFLoadable.load(SourceFile:70)
at com.google.android.exoplayer2.g.al.run(SourceFile:381)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
at java.lang.Thread.run(Thread.java:764)
02-28 23:03:54.135 i: [FF] Loading canceled (released: true)
02-28 23:03:54.147 e: [Player][ExoPlayer] Playback error detected
**02-28 23:03:54.147 e: An exception occurred: com.google.android.exoplayer2.i: [Open]com.plexapp.plex.ff.data.FFException: Demuxer failed to open input.**
02-28 23:03:54.148 e: Stacktrace: com.google.android.exoplayer2.i: [Open]com.plexapp.plex.ff.data.FFException: Demuxer failed to open input.
at com.google.android.exoplayer2.o.handleMessage(SourceFile:386)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:193)
at android.os.HandlerThread.run(HandlerThread.java:65)
Caused by: [Open]com.plexapp.plex.ff.data.FFException: Demuxer failed to open input.
at com.plexapp.plex.ff.FFDemuxer.open(SourceFile:158)
at com.plexapp.plex.ff.source.FFLoadable.load(SourceFile:70)
at com.google.android.exoplayer2.g.al.run(SourceFile:381)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
at java.lang.Thread.run(Thread.java:764)
02-28 23:03:54.148 i: [Player][Timeline] Handling player error
02-28 23:03:54.148 i: [Player][Timeline] Playback stopped (error: true)
02-28 23:03:54.149 i: [Player][Timeline] Unable to report progress to server as duration is unavailable.
02-28 23:03:54.149 i: [Player][Timeline] Player error not known by server, reporting original player error (or a playback interrupted one)
02-28 23:03:54.149 i: [Player] Error reported: UnknownError (null)
02-28 23:03:54.149 i: [Player][Timeline] Playback stopped (error: false)
02-28 23:03:54.150 i: [Player][Timeline] Unable to report progress to server as duration is unavailable.
02-28 23:03:54.152 i: [FF] Releasing demuxer.
02-28 23:03:54.162 i: [TranscodeSession] Stopping...
02-28 23:03:54.162 i: [TranscodeSession] Session already stopped.
02-28 23:03:54.162 i: [Player][Error] Displaying player error...
02-28 23:03:54.163 i: [ExoPlayer][EventLogger] loading [4.06, 0.00, window=0, false]
02-28 23:03:54.163 i: [ExoPlayer][EventLogger] state [4.06, 0.00, window=0, true, IDLE]
02-28 23:03:55.030 i: [EngineEventManager] onPlaybackStopped: Closed
02-28 23:03:55.031 i: [Player][Timeline] Playback stopped (error: false)
02-28 23:03:55.031 i: [Player][Timeline] Unable to report progress to server as duration is unavailable.
02-28 23:03:55.031 i: [TranscodeSession] Stopping...
02-28 23:03:55.031 i: [TranscodeSession] Session already stopped.
Note the bolded line, I’m not sure if there’s something I need to do there. nslookup doesn’t resolve for plex, but I can connect directly to the ip (192.168.1.21:32400). It does make sense to me that it could be causing the issue since ffmpeg can’t do it’s job if the stream wont resolve. However I don’t get how all other videos can play without problems, and I can change the quality in each with little trouble so the transcoder is working , but that doesn’t explain why it’s not working here.
The stats for the working wmv file:
File: working.wmv
Size: 186.0 MB - 3.1 Mbps - ASF
Video: 1280x720 - 29.970 fps - 2.9 Mbps - WMV1
Audio1: WMAV2 - 128kbps - 44100 kHz
Stats for the not working wmv file:
File: not-working.wmv
Size: 12.2 MB - 3.5 Mbps - ASF
Video: 640x480 - 29.970 fps - 3.4 Mbps - WMV3 Main
Audio1: WMAV2 - 64kbps - 48000 kHz
I’m not sure what the issue is here, or if it’s just a bug. I can provide more logs if needed. I hadn’t checked the logs for the working file, but I could.
Some guidance would be appreciated.