gulyfmg 3 Posted August 10, 2021 Posted August 10, 2021 Hello, I have a mi box 3 with the embyapp installed, however some movies are not showing subtitles. As far as im enable to see most movies that have embedded subs run and display just fine but if i have an external sub (SRT) the app does not show the subtitle. I have bazarr downloading the subs and chmod to 777, it should not be a problem with permissions. I did a test with the movie Jungle Cruise on the emby web and the sub is loaded correctly i then open the same movie on the android app and there is no subtitles. i am attaching the logs from the emby server and my library config. Any help would be appreciated. Thank you. ffmpeg-directstream-a326cf77-8a1e-4731-9532-274f2355ce2f_1.txt embyserver.txt
ebr 16178 Posted August 10, 2021 Posted August 10, 2021 Hi. Exactly what do you mean by "not showing subtitles"? They aren't available to select or they don't display when you select them?
gulyfmg 3 Posted August 10, 2021 Author Posted August 10, 2021 Hello ebr, Sorry i should have posted a picture, they are available to select and are selected but are not displaying.
ebr 16178 Posted August 10, 2021 Posted August 10, 2021 The app is requesting but the server is not sending it. It should be muxed in as a VTT stream I would think... SubtitleStreamIndex=2 ... {"Codec":"srt","Language":"eng","DisplayTitle":"English (SRT)","DisplayLanguage":"English","IsInterlaced":false,"IsDefault":false,"IsForced":false,"Type":"Subtitle","Index":2,"IsExternal":true,"IsTextSubtitleStream":true,"SupportsExternalStream":true,"Path":"/mnt/4d8ae5df-d274-443a-bb5c-5abd73eef649/movies/Jungle Cruise (2021)/Jungle Cruise (2021) [imdb-tt0870154][WEBRip-1080p][AAC 5.1][x264]-RARBG.en.srt","Protocol":"File"} ... 16:41:52.482 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/mnt/4d8ae5df-d274-443a-bb5c-5abd73eef649/movies/Jungle Cruise (2021)/Jungle Cruise (2021) [imdb-tt0870154][WEBRip-1080p][AAC 5.1][x264]-RARBG.mp4': 16:41:52.482 Metadata: 16:41:52.482 major_brand : isom 16:41:52.482 minor_version : 512 16:41:52.482 compatible_brands: isomiso2avc1mp41 16:41:52.482 creation_time : 2021-07-30T08:36:13.000000Z 16:41:52.482 title : Jungle.Cruise.2021.1080p.WEBRip.x264-RARBG 16:41:52.482 encoder : Lavf58.20.100 16:41:52.482 comment : Jungle.Cruise.2021.1080p.WEBRip.x264-RARBG 16:41:52.482 Duration: 02:07:18.83, start: 0.000000, bitrate: 2728 kb/s 16:41:52.483 Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1920x804 [SAR 1:1 DAR 160:67], 2498 kb/s, Level 41, 23.98 fps, 23.98 tbr, 11988 tbn, 47.95 tbc (default) 16:41:52.483 Metadata: 16:41:52.483 creation_time : 2021-07-30T08:36:13.000000Z 16:41:52.483 handler_name : L-SMASH Video Media Handler 16:41:52.483 Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, 5.1, fltp, 224 kb/s (default) 16:41:52.483 Metadata: 16:41:52.483 creation_time : 2021-07-30T08:36:13.000000Z 16:41:52.483 handler_name : SoundHandler 16:41:52.484 Output #0, segment, to '/mnt/4d8ae5df-d274-443a-bb5c-5abd73eef649/dietpi_userdata/emby/transcoding-temp/8AA1EB_%d.ts': 16:41:52.484 Metadata: 16:41:52.484 encoder : Lavf58.35.100 16:41:52.484 Stream #0:0: Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1920x804 [SAR 1:1 DAR 160:67], q=2-31, 2498 kb/s, Level 41, 23.98 fps, 23.98 tbr, 90k tbn, 23.98 tbc (default) 16:41:52.484 Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, 5.1, fltp, 224 kb/s (default) 16:41:52.484 Stream mapping: 16:41:52.484 Stream #0:0 -> #0:0 (copy) 16:41:52.484 Stream #0:1 -> #0:1 (copy)
gulyfmg 3 Posted August 10, 2021 Author Posted August 10, 2021 (edited) It's a hit and miss... I did some more testing and now on the web interface I'm having the same behaviour. I'm out of ideias. Edit : I did try something else. If I cast from my phone to the box the subs are loaded and displayed. ffmpeg-remux-387db458-c6b3-4508-b3ff-06bfb15614bc_1.txt embyserver.txt Edited August 10, 2021 by gulyfmg
ebr 16178 Posted August 10, 2021 Posted August 10, 2021 In that ffmpeg log, subtitles were not requested.
gulyfmg 3 Posted August 10, 2021 Author Posted August 10, 2021 43 minutes ago, ebr said: In that ffmpeg log, subtitles were not requested. I did a little more test and its really hit and miss... sometimes i have subs other i don't. i can see the SRT being requested but nothing is shown. Is there any way to enable a log on the android TV App? maybe it can show some light to this. embyserver (1).txt ffmpeg-directstream-37420f85-1cb6-4097-9337-52bb1a709d62_1.txt ffmpeg-directstream-c5a83bad-6514-4ec2-b72c-43941c8cc90f_1.txt ffmpeg-directstream-192668bf-cf23-4f0c-b68e-af594168dcae_1.txt ffmpeg-directstream-e6601ece-1967-4ac2-9e94-623617f51636_1.txt
Carlo 4561 Posted August 10, 2021 Posted August 10, 2021 Hi, Have you checked to make sure the SRT files have content in them and not zero size files?
gulyfmg 3 Posted August 10, 2021 Author Posted August 10, 2021 Hi @cayars, Just did that. The strange thing is if i cast the same movie with the same SRT from my phone i don't have this problem.
Carlo 4561 Posted August 10, 2021 Posted August 10, 2021 Hi, so what happens if you playback in the web app and show stats for nerds? What is shown?
ebr 16178 Posted August 11, 2021 Posted August 11, 2021 18 hours ago, gulyfmg said: Is there any way to enable a log on the android TV App? Yes, but all of the logs you provided just then are from playback in a Chrome browser... Were the subs working then?
gulyfmg 3 Posted August 11, 2021 Author Posted August 11, 2021 (edited) Hello again sorry for the late reply... @cayars I did a couple more test always the same behaviour. If I play directly from the box the subtitles are not displayed. I then use the emby app to cast to the mi box and the subs were shown as expected. This was my stats for nerds. @ebr the subs were not working... Those logs were from the browser because it was showing the same behaviour, and it was easy to respond and extract the logs. The new logs I'm attaching are fresh I reboot the server play a movie and no subs were displayed... I then used the emby app on the box to download and still no subs. I then used my phone to cast to the box and the subs were displayed correctly. embyserver.txt Edited August 11, 2021 by gulyfmg Typos
gulyfmg 3 Posted August 12, 2021 Author Posted August 12, 2021 Hello , Android TV app. Yes the user has all the permissions. The sub is downloaded next to the folder and is visible on the subs menu. Still a no go
GrimReaper 4740 Posted August 12, 2021 Posted August 12, 2021 (edited) 10 minutes ago, gulyfmg said: Hello , Android TV app. Yes the user has all the permissions. The sub is downloaded next to the folder and is visible on the subs menu. Still a no go Hey up. My bad, I should have quoted @hjason7812 as that was related to his post, directly above. What might help in your case is play the item for which you know subs are present, try listing/selecting them, after that submit logs directly from within the Android TV app, either from OSD or Home Screen (need to have Debug options enabled in Settings>General Display). Edit: Upon submitting, post approximate time of the occurence and User logged at the time. Edited August 12, 2021 by GrimReaper76 Append 1
gulyfmg 3 Posted August 12, 2021 Author Posted August 12, 2021 Hello again, I have turn on the debug log and have sent the logs from inside the emby app on Android TV. I have played two movies rurouni kenshi with embedded subs and suicide squad with external subs. The first movie I had no problems with the subs the second movie again did not show the subs. Any help from the Devs would be helpful, if you need something else please don't hesitate. Thank you.
GrimReaper 4740 Posted August 12, 2021 Posted August 12, 2021 Just now, gulyfmg said: if you need something else please don't hesitate. 9 hours ago, GrimReaper76 said: Upon submitting, post approximate time of the occurence and User logged at the time.
gulyfmg 3 Posted August 12, 2021 Author Posted August 12, 2021 Sorry my bad... Couple minutes before I submitted the log - 23.19 +- ended the test on 23.24. User connected - Bruno TY
Solution ebr 16178 Posted August 13, 2021 Solution Posted August 13, 2021 Hi. Something with how the system is setup in regard to paths (possibly the optional network path) is a problem. The subtitle stream is attempting to load on the app using what is probably the server's file reference: Caused by: java.io.FileNotFoundException: /mnt/4d8ae5df-d274-443a-bb5c-5abd73eef649/movies/Suicide Squad (2016)/Suicide Squad (2016) [imdb-tt1386697][Bluray-1080p][AAC 2.0][x264].en.srt: open failed: ENOENT (No such file or directory)
gulyfmg 3 Posted August 13, 2021 Author Posted August 13, 2021 Hello @ebr It makes sense, since its on linux system the spaces are messing with the path... im gonna do some more tests and remove the optional path and see if i have better results...My other ideia its to rename all the paths and remove the extra info like dates, IMDB tag etc. Thank you.
Luke 42078 Posted August 14, 2021 Posted August 14, 2021 12 hours ago, gulyfmg said: Hello @ebr It makes sense, since its on linux system the spaces are messing with the path... im gonna do some more tests and remove the optional path and see if i have better results...My other ideia its to rename all the paths and remove the extra info like dates, IMDB tag etc. Thank you. Let us k now how you get on. Thanks.
gulyfmg 3 Posted August 14, 2021 Author Posted August 14, 2021 Hello guys, As @ebr sugested i deleted the optional network path and that did the trick. I was using NFS to share the folder. I tested several movies and shows and all showed the subs. Thanks for all the help. 3
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