Subtitles srt whilst playing mp4 from nas

Moderators: Gully, peteru

Post Reply
DPP1ToT3
Newbie
Posts: 3
Joined: Sun Jan 03, 2016 09:48

Subtitles srt whilst playing mp4 from nas

Post by DPP1ToT3 » Sun Jan 03, 2016 10:05

I have searched but am unable to find how to display srt subtitles whilst playing an mp4 from a nas. I have both movie.mp4 and movie.srt files. When I select subtitles "subtitles not available" is displayed. Thanks in advance.

User avatar
Gully
Moderator
Posts: 7736
Joined: Thu Aug 30, 2007 22:08
Location: Melbourne

Re: Subtitles srt whilst playing mp4 from nas

Post by Gully » Sun Jan 03, 2016 10:24

Haven't tried myself with an mp4 file but do they both have identical names and in the same folder?
Cheers
Gully
_____________
Beyonwiz U4
Logitech Harmony Elite
Google Pixel 6 Pro

DPP1ToT3
Newbie
Posts: 3
Joined: Sun Jan 03, 2016 09:48

Re: Subtitles srt whilst playing mp4 from nas

Post by DPP1ToT3 » Sun Jan 03, 2016 12:39

Yes, identical name, apart from the extension

User avatar
MrQuade
Uber Wizard
Posts: 11844
Joined: Sun Jun 24, 2007 13:40
Location: Perth

Re: Subtitles srt whilst playing mp4 from nas

Post by MrQuade » Sun Jan 03, 2016 13:02

Are you using the Media Player (Press MEDIA from Live TV), or the File Commander (the two pane file manager in the main menu).
The Media Player should be able to handle .srt files.

You could also try renaming both movie and subtitle files to something else. Perhaps there is a strange character in the filename(s) that is causing the Wiz to not recognise that one belongs with the other.
Logitech Harmony Ultimate+Elite RCs
Beyonwiz T2/3/U4/V2, DP-S1 PVRs
Denon AVR-X3400h, LG OLED65C7T TV
QNAP TS-410 NAS, Centos File Server (Hosted under KVM)
Ubiquiti UniFi Managed LAN/WLAN, Draytek Vigor130/Asus RT-AC86U Internet
Pixel 4,5&6, iPad 3 Mobile Devices

prl
Wizard God
Posts: 32709
Joined: Tue Sep 04, 2007 13:49
Location: Canberra; Black Mountain Tower transmitters

Re: Subtitles srt whilst playing mp4 from nas

Post by prl » Sun Jan 03, 2016 13:07

Are the names exactly the same, including the same case (i.e. not Movie.mp4 but movie.srt)?

Otherwise, do the files have the same permissions, or more particularly, is the .srt file readable by the user whose credentials are used when attaching the NAS share to the Beyonwiz?

The read permission test (file exists and is readable) is the only clear failure point that I can see in the code that would prevent the subtitles being associated with the media file.
Peter
T4 HDMI
U4, T4, T3, T2, V2 test/development machines
Sony BDV-9200W HT system
LG OLED55C9PTA 55" OLED TV

User avatar
netmask
Wizard
Posts: 3658
Joined: Sun Aug 05, 2007 15:20
Location: Inner West, Sydney, Australia

Re: Subtitles srt whilst playing mp4 from nas

Post by netmask » Sun Jan 03, 2016 13:12

What I routinely do is copy and paste the movie file name to the subtitle track - that ensures they are exactly the same name and case. Sometimes you can find an extra space in one of them or after the name before the dot and suffix...
BeyonWiz T3 and V2
LED TV SONY Bravia 75" Local dimming ~ Retired Samsung ES8000 65" ~
Yamaha A1070 amp
Zidoo UHD3000
Qnap TS851-4G
Pioneer Bluray BDP-150-K
Windows 11 Professional
Netgear R7000
Chromecast

prl
Wizard God
Posts: 32709
Joined: Tue Sep 04, 2007 13:49
Location: Canberra; Black Mountain Tower transmitters

Re: Subtitles srt whilst playing mp4 from nas

Post by prl » Sun Jan 03, 2016 13:22

MrQuade wrote:Are you using the Media Player (Press MEDIA from Live TV), or the File Commander (the two pane file manager in the main menu).
The Media Player should be able to handle .srt files. ...
The Media Player and the File Commander both use the MoviePlayer class to play media. The "No subtitles available" message comes from the InfoBarSubtitleSupport mixin class in MoviePlayer, and the two should have the same subtitle support. The message is displayed when the iPlayableService being played either doesn't support subtitles or it does, but no subtitles are available.
Peter
T4 HDMI
U4, T4, T3, T2, V2 test/development machines
Sony BDV-9200W HT system
LG OLED55C9PTA 55" OLED TV

DPP1ToT3
Newbie
Posts: 3
Joined: Sun Jan 03, 2016 09:48

Re: Subtitles srt whilst playing mp4 from nas

Post by DPP1ToT3 » Sun Jan 03, 2016 14:12

I moved the mp4 & srt to the T3 and it works as expected. I suspect the nas which has a media server function does not serve srt files.

prl
Wizard God
Posts: 32709
Joined: Tue Sep 04, 2007 13:49
Location: Canberra; Black Mountain Tower transmitters

Re: Subtitles srt whilst playing mp4 from nas

Post by prl » Sun Jan 03, 2016 14:17

DPP1ToT3 wrote:... I suspect the nas which has a media server function does not serve srt files.
How are you accessing the NAS? Through a network share mount or through DLNA? It sounds like the latter.
Peter
T4 HDMI
U4, T4, T3, T2, V2 test/development machines
Sony BDV-9200W HT system
LG OLED55C9PTA 55" OLED TV

User avatar
MrQuade
Uber Wizard
Posts: 11844
Joined: Sun Jun 24, 2007 13:40
Location: Perth

Re: Subtitles srt whilst playing mp4 from nas

Post by MrQuade » Sun Jan 03, 2016 14:29

Ahh yes. Subtitles cannot work using DLNA without transcoding the video (which is more CPU intensive than most NAS units can handle). Another reason why it is an awful protocol.
Logitech Harmony Ultimate+Elite RCs
Beyonwiz T2/3/U4/V2, DP-S1 PVRs
Denon AVR-X3400h, LG OLED65C7T TV
QNAP TS-410 NAS, Centos File Server (Hosted under KVM)
Ubiquiti UniFi Managed LAN/WLAN, Draytek Vigor130/Asus RT-AC86U Internet
Pixel 4,5&6, iPad 3 Mobile Devices

User avatar
MrQuade
Uber Wizard
Posts: 11844
Joined: Sun Jun 24, 2007 13:40
Location: Perth

Re: Subtitles srt whilst playing mp4 from nas

Post by MrQuade » Sun Jan 03, 2016 14:38

prl wrote: The Media Player and the File Commander both use the MoviePlayer class to play media. The "No subtitles available" message comes from the InfoBarSubtitleSupport mixin class in MoviePlayer, and the two should have the same subtitle support. The message is displayed when the iPlayableService being played either doesn't support subtitles or it does, but no subtitles are available.
Ahh cool, thanks for the clarification. I had just remembered differences between playing files in the two interfaces, but that was probably just thinking of earlier problems to do with file extension recognition and the play next (etc) behaviour and not the actual media player itself.
Logitech Harmony Ultimate+Elite RCs
Beyonwiz T2/3/U4/V2, DP-S1 PVRs
Denon AVR-X3400h, LG OLED65C7T TV
QNAP TS-410 NAS, Centos File Server (Hosted under KVM)
Ubiquiti UniFi Managed LAN/WLAN, Draytek Vigor130/Asus RT-AC86U Internet
Pixel 4,5&6, iPad 3 Mobile Devices

Post Reply

Return to “Hacks & Tricks”