onlyonthursdays 0 Posted September 19, 2016 Share Posted September 19, 2016 (edited) As above. Some videos work, some don't. If it doesn't, it will allow up the player screen for a second, then close.If i open in an external player everything works fine, but ib like the emby player Partial log here-07:38:41.265 [main] INFO App - Searching for com.google.android.webview07:38:41.273 [main] INFO App - com.google.android.webview version name: 51.0.2704.9007:38:41.274 [main] INFO App - com.google.android.webview version code: 27550905007:38:41.274 [main] INFO App - Parsing 51 to determine chromium version07:38:41.275 [main] INFO App - Chromium version: 5107:38:41.571 [main] DEBUG App - AndroidSyncFileRepository started. syncPath: /storage/emulated/0/Android/data/com.mb.android/files/sync07:38:41.637 [main] INFO App - Searching for com.google.android.webview07:38:41.639 [main] INFO App - com.google.android.webview version name: 51.0.2704.9007:38:41.639 [main] INFO App - com.google.android.webview version code: 27550905007:38:41.640 [main] INFO App - Parsing 51 to determine chromium version07:38:41.640 [main] INFO App - Chromium version: 5107:38:41.643 [main] DEBUG App - Calling MediaSyncAdapter.updateSyncPreferences. syncPath: null07:38:42.568 [JavaBridge] INFO App - Received instruction to updateCredentials07:38:42.585 [JavaBridge] INFO App - AppVersion: 2.7.8907:38:42.586 [JavaBridge] INFO App - DeviceId: 69167137f40a2cdb07:38:42.590 [JavaBridge] INFO App - DeviceName: Nexus 6P07:38:42.798 [JavaBridge] INFO App - initStore called07:38:42.801 [JavaBridge] DEBUG App - IAB helper created.07:38:42.802 [JavaBridge] DEBUG App - Starting in-app billing setup.07:38:42.827 [main] DEBUG App - Billing service connected.07:38:42.828 [main] DEBUG App - Checking for in-app billing 3 support.07:38:42.908 [main] DEBUG App - In-app billing version 3 supported for com.mb.android07:38:42.914 [main] DEBUG App - Subscriptions AVAILABLE.07:38:42.916 [main] DEBUG App - Starting async operation: refresh inventory07:38:42.922 [Thread-7] DEBUG App - Querying owned items, item type: inapp07:38:42.923 [Thread-7] DEBUG App - Package name: com.mb.android07:38:42.930 [main] INFO App - file:///android_asset/www/index.html: Line 0 : Uncaught (in promise) SecurityError: Failed to register a ServiceWorker: The URL protocol of the current origin ('file://') is not supported.07:38:42.930 [Thread-7] DEBUG App - Querying SKU details.07:38:43.071 [Thread-7] DEBUG App - Querying owned items, item type: subs07:38:43.072 [Thread-7] DEBUG App - Package name: com.mb.android07:38:43.077 [Thread-7] DEBUG App - Querying SKU details.07:38:43.134 [Thread-7] DEBUG App - Ending async operation: refresh inventory07:38:43.136 [main] INFO App - Sending url to webView: IapManager.onStoreReady();07:38:43.247 [JavaBridge] INFO App - getPurchaseInfos07:38:43.250 [JavaBridge] INFO App - Checking purchase status of com.mb.android.unlock07:38:43.252 [JavaBridge] DEBUG App - Starting async operation: refresh inventory07:38:43.258 [Thread-8] DEBUG App - Querying owned items, item type: inapp07:38:43.261 [Thread-8] DEBUG App - Package name: com.mb.android07:38:43.273 [Thread-8] DEBUG App - Querying SKU details.07:38:43.275 [Thread-8] DEBUG App - queryPrices: nothing to do because there are no SKUs.07:38:43.276 [Thread-8] DEBUG App - Querying owned items, item type: subs07:38:43.277 [Thread-8] DEBUG App - Package name: com.mb.android07:38:43.284 [Thread-8] DEBUG App - Querying SKU details.07:38:43.285 [Thread-8] DEBUG App - queryPrices: nothing to do because there are no SKUs.07:38:43.286 [Thread-8] DEBUG App - Ending async operation: refresh inventory07:38:43.287 [JavaBridge] INFO App - *** IsPurchased Result: com.mb.android.unlock Failure07:38:43.288 [JavaBridge] INFO App - Sending url to webView: window.IapManager.updateProduct("com.mb.android.unlock", false)07:38:43.291 [JavaBridge] INFO App - Checking purchase status of emby.supporter.monthly07:38:43.293 [JavaBridge] DEBUG App - Starting async operation: refresh inventory07:38:43.305 [Thread-9] DEBUG App - Querying owned items, item type: inapp07:38:43.307 [Thread-9] DEBUG App - Package name: com.mb.android07:38:43.312 [Thread-9] DEBUG App - Querying SKU details.07:38:43.313 [Thread-9] DEBUG App - queryPrices: nothing to do because there are no SKUs.07:38:43.315 [Thread-9] DEBUG App - Querying owned items, item type: subs07:38:43.316 [Thread-9] DEBUG App - Package name: com.mb.android07:38:43.326 [Thread-9] DEBUG App - Querying SKU details.07:38:43.327 [Thread-9] DEBUG App - queryPrices: nothing to do because there are no SKUs.07:38:43.327 [Thread-9] DEBUG App - Ending async operation: refresh inventory07:38:43.328 [JavaBridge] INFO App - *** IsPurchased Result: emby.supporter.monthly Failure07:38:43.330 [JavaBridge] INFO App - Sending url to webView: window.IapManager.updateProduct("emby.supporter.monthly", false)07:38:43.451 [JavaBridge] INFO App - initialize origin_scoped 2D4B1DA3 2D4B1DA307:38:43.452 [JavaBridge] INFO App - lastAppId 2D4B1DA307:38:44.959 [JavaBridge] INFO App - Received instruction to updateCredentials07:38:54.129 [JavaBridge] INFO App - Received instruction to updateCredentials07:39:16.170 [JavaBridge] INFO App - No local media source found for item id: 019af3346d49bd77adf71ed418fd91d807:39:16.523 [JavaBridge] INFO App - Checking file exists: *path to file*.mp407:39:16.712 [JavaBridge] DEBUG App - Vlc received command: setvolume07:39:16.845 [JavaBridge] DEBUG App - Video path: http://1IP07:39:16.996 [main] DEBUG App - AndroidSyncFileRepository started. syncPath: /storage/emulated/0/Android/data/com.mb.android/files/sync07:39:16.997 [main] DEBUG App - Calling MediaSyncAdapter.updateSyncPreferences. syncPath: null07:39:17.003 [main] DEBUG App - MediaRouter information : android.media.MediaRouter@ed6cff107:39:17.008 [main] INFO App - No secondary display detected07:39:17.793 [main] INFO App - libVlc version 3.0.0-git Vetinari07:39:17.803 [main] INFO App - getAout result: android_audiotrack07:39:18.199 [main] DEBUG App - Connected to PlaybackService07:39:18.290 [main] DEBUG App - Begining startPlayback07:39:18.292 [main] DEBUG App - vlcVout.addCallback07:39:18.293 [main] DEBUG App - vlcVout.attachViews07:39:18.300 [main] ERROR App - Invalid surface size07:39:18.382 [main] INFO App - normalizeLocation location http://path, playMethod DirectStream, startPositionTicks 007:39:18.383 [main] DEBUG App - Parsed uri: http://path07:39:18.407 [main] INFO App - Loading position 0 in [com.mb.android.media.MediaWrapper@fbdce89]07:39:18.539 [main] INFO App - Media.Event.MetaChanged: 1207:39:18.541 [main] INFO App - Media.Event.MetaChanged: 1207:39:21.713 [main] INFO App - Media.Event.MetaChanged: 1207:39:21.714 [main] INFO App - Media.Event.MetaChanged: 1307:39:21.859 [main] DEBUG App - VideoPlayerActivity.OnNewLayout width=960 height=544 visibleWidth=960 visibleHeight=540 sarNum=1 sarDen=107:39:21.866 [main] DEBUG App - VideoPlayerActivity.OnNewLayout width=960 height=544 visibleWidth=960 visibleHeight=540 sarNum=1 sarDen=107:39:22.247 [main] INFO App - Media.Event.ParsedChanged07:39:22.252 [main] INFO App - MediaPlayer.Event.Playing07:39:22.262 [Timer-1] DEBUG App - Vlc player state: 307:39:22.269 [main] INFO App - setSubtitleStreamIndex -107:39:22.269 [main] INFO App - Disabling subtitles07:39:22.282 [Timer-1] DEBUG App - Adding request to queue: http://path07:39:22.327 [main] DEBUG App - VideoPlayerActivity.OnNewLayout width=960 height=544 visibleWidth=960 visibleHeight=540 sarNum=1 sarDen=107:39:22.329 [main] DEBUG App - VideoPlayerActivity.OnNewLayout width=960 height=544 visibleWidth=960 visibleHeight=544 sarNum=1 sarDen=107:39:22.331 [main] INFO App - MediaPlayer.Event.EndReached07:39:22.336 [main] INFO App - Warning: invalid next index, aborted !07:39:22.624 [main] INFO App - Response received from: http://path07:39:22.626 [main] DEBUG App - VideoPlayerActivity.OnNewLayout width=960 height=544 visibleWidth=960 visibleHeight=544 sarNum=1 sarDen=107:39:25.201 [main] INFO App - file:///android_asset/www/index.html#!/itemdetails.html?id=019af3346d49bd77adf71ed418fd91d8: Line 0 : Blink deferred a task in order to make scrolling smoother. Your timer and network tasks should take less than 50ms to run to avoid this. Please see https://developers.google.com/web/tools/chrome-devtools/profile/evaluate-performance/rail and https://crbug.com/574343#c40 for more information.07:39:40.748 [JavaBridge] DEBUG App - Vlc received command: stop07:39:40.794 [JavaBridge] INFO App - No local media source found for item id: 69affc5ae19cce8683adfbaf7c9cedbe07:39:40.823 [main] DEBUG App - MediaService.handleIntent action=action_stop07:39:40.826 [main] DEBUG App - handleStopRequest: mState=0 error=07:39:40.827 [main] DEBUG App - giveUpAudioFocus07:39:40.828 [main] DEBUG App - relaxResources. releaseMediaPlayer Edited September 19, 2016 by onlyonthursdays Link to comment Share on other sites More sharing options...
Luke 37099 Posted September 19, 2016 Share Posted September 19, 2016 Hi, sorry to hear about this. Do you notice anything in common about the ones that are not working? Can you discuss an example? What is the media info (copy/paste from the web app). Thanks ! Link to comment Share on other sites More sharing options...
onlyonthursdays 0 Posted September 19, 2016 Author Share Posted September 19, 2016 Hi, I don't see what's the difference between one that works and one that doesn't. Both are mp4 with h264 codec. Â By the way, everything worked fine until about 1 or 2 weeks ago. I have tried deleting cache and data. Link to comment Share on other sites More sharing options...
Luke 37099 Posted September 19, 2016 Share Posted September 19, 2016 Can you provide the server log in case that might contain some clues? Â https://emby.media/community/index.php?/topic/739-how-to-report-a-problem/ Â Thanks. Link to comment Share on other sites More sharing options...
onlyonthursdays 0 Posted September 19, 2016 Author Share Posted September 19, 2016 Hi, sent as a PM Link to comment Share on other sites More sharing options...
onlyonthursdays 0 Posted September 19, 2016 Author Share Posted September 19, 2016 Attached two file infos. The 540p file doesn't work, the larger one does. Link to comment Share on other sites More sharing options...
Luke 37099 Posted September 19, 2016 Share Posted September 19, 2016 can you provide a sample file for testing? thanks. Link to comment Share on other sites More sharing options...
onlyonthursdays 0 Posted September 19, 2016 Author Share Posted September 19, 2016 (edited) How can I do that? Can I temporarily give you access to my server instead? Edited September 19, 2016 by onlyonthursdays Link to comment Share on other sites More sharing options...
onlyonthursdays 0 Posted September 21, 2016 Author Share Posted September 21, 2016 Hi, The same files work fine on my PC through emby. So it must be a problem with the Android app. Link to comment Share on other sites More sharing options...
Luke 37099 Posted September 21, 2016 Share Posted September 21, 2016 Do you know if it's transcoding or direct playing when this happens? Link to comment Share on other sites More sharing options...
onlyonthursdays 0 Posted September 21, 2016 Author Share Posted September 21, 2016 Not sure, but playing around I have found I can make it work if I change the max streaming bitrate to 720p 2mbps. Anything below works, anything above doesn't work. Â It was on auto before. Link to comment Share on other sites More sharing options...
Luke 37099 Posted September 21, 2016 Share Posted September 21, 2016 Yea, probably because that is low enough to trigger server transcoding which converts the file, and that then fixes it. Link to comment Share on other sites More sharing options...
onlyonthursdays 0 Posted October 8, 2016 Author Share Posted October 8, 2016 So I've been using this method temporarily but it would be nice to stream directly. All files work perfectly fine without transcoding on my iPad. Any idea why this could be happening? Link to comment Share on other sites More sharing options...
Luke 37099 Posted October 8, 2016 Share Posted October 8, 2016 Did you provide a sample file? We are using libVlc for playback and there is a chance it might just be having trouble with these files but i need to do some testing to confirm. thanks. Link to comment Share on other sites More sharing options...
onlyonthursdays 0 Posted October 9, 2016 Author Share Posted October 9, 2016 Hi, I pm'd a sample file. Link to comment Share on other sites More sharing options...
swehawk 7 Posted October 27, 2016 Share Posted October 27, 2016 (edited) Edit: Now it suddely works again! Didn't change anything. I'm good for now  Hi!I'm having the same problem that videos will no longer play in the Emby-app but will still play in an external app like the native videoplayer! Chromecast also still works. I'm not 100% sure but it could be the recent app update that broke something or maybe the phone system update I installed recently. I usually don,t play videos locally on my phone, so it's hard to pinpoint exactlly when it stopped playing! The quality setting is Auto and I'm on my LAN, so no transcoding. The server event log states that playback did start on my phone. Edited October 27, 2016 by swehawk 1 Link to comment Share on other sites More sharing options...
Luke 37099 Posted October 28, 2016 Share Posted October 28, 2016 Thanks for reporting back ! Link to comment Share on other sites More sharing options...
onlyonthursdays 0 Posted October 28, 2016 Author Share Posted October 28, 2016 Mine is still not working unfortunately! I just use the external video player now (MX player). Â On a related note it would be great to set a default option for the pop-up after watching with external player. It's annoying having to click done after each watch. Link to comment Share on other sites More sharing options...
tyneteestv 0 Posted October 30, 2016 Share Posted October 30, 2016 (edited) Hi, I'm having the same problem as onlyonthursdays. Most files play fine, direct and via transcoding but some (I think only those processed by get_iplayer) stop immediately upon playback. I see the first frame then it vanishes and returns to menu. The same files on the same device play fine with an external video player (including VLC) or via the web browser or after forced transcoding so it looks like a problem in the app. Both server and apps updated to latest versions. Any ideas? Thanks. Edited October 30, 2016 by tyneteestv Link to comment Share on other sites More sharing options...
Luke 37099 Posted November 5, 2016 Share Posted November 5, 2016 Hi, I'm having the same problem as onlyonthursdays. Most files play fine, direct and via transcoding but some (I think only those processed by get_iplayer) stop immediately upon playback. I see the first frame then it vanishes and returns to menu. The same files on the same device play fine with an external video player (including VLC) or via the web browser or after forced transcoding so it looks like a problem in the app. Both server and apps updated to latest versions. Any ideas? Thanks. Â Hi, sorry to hear about this. Are you able to provide a sample file for testing purposes? thanks ! Link to comment Share on other sites More sharing options...
tyneteestv 0 Posted November 6, 2016 Share Posted November 6, 2016 Sure, I'll PM a sample. ta Link to comment Share on other sites More sharing options...
Luke 37099 Posted November 8, 2016 Share Posted November 8, 2016 Sure, I'll PM a sample. ta  I can confirm the issue with your sample file. It is indeed a failure in the video player library that we're using, libVlc. What we need to do here is handle that with an automatic switch to transcoding. Our android tv app already has this but it just hasn't been added to the mobile app yet. In addition, we do regularly update libVlc so there's a good chance that future updates will improve the situation as well. Thanks. Link to comment Share on other sites More sharing options...
tyneteestv 0 Posted November 8, 2016 Share Posted November 8, 2016 Thanks for looking into this. Any reason why the files play fine in standalone VLC? Fingers crossed libVlc update catches it. cheers ttv Link to comment Share on other sites More sharing options...
Luke 37099 Posted November 11, 2016 Share Posted November 11, 2016 Thanks for looking into this. Any reason why the files play fine in standalone VLC? Fingers crossed libVlc update catches it. cheers ttv  In VLC, check your settings. What is the audio output mode? Is it OpenSL or AudioTrack? That might make a difference. Thanks. Link to comment Share on other sites More sharing options...
tyneteestv 0 Posted November 16, 2016 Share Posted November 16, 2016 (edited) It was originally AudioTrack but I've tried it set to OpenSL. Both work for VLC, both fail for Emby. cheers tttv Edited November 16, 2016 by tyneteestv 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