Quantcast
Jump to content



  • Own an LG TV or webOS device? Join our Forum!

    Register now to gain access to our webOS user support forum. Once registered and logged in, you will be able to post a user to user support request topic to this site or reply to existing topics posted by other users. You can also take part in our other webOS user forums. You'll be able to customize your profile, receive reputation points, while also communicating with other members via your own private inbox, plus much more!

  • 0
pojar

External subtitles when video is streamed via DLNA

Question

Hello,

I have

link hidden, please login to view
 and I've been trying to play video in mkv format streamed via DLNA, subtitle file is in .srt format in the same folder as the video and with same name.

But the TV doesn't show subtitle. However, to play the same video from a USB, TV perfectly reproduces the video with subtitles.

I'm running

link hidden, please login to view
from Ubuntu 18.04 LTS.

I wonder if there is still no support in WebOS for external subtitles via DLNA.

Update:

Nevermind. Got it. Support for external subtitle was added  in most recent code of Rygel.

 

 

Share this post


Link to post
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Similar Topics

    • By dankoj
      Is there an LG WebOS-TV App that allows the simple play of a video file from an SMB (Windows) share. DNLA is very inconvenient, and there are no user access rights.
      I want to browse shared folders (from my NAS), select a video file, click, watch, and then delete it.
    • By Bogan Silver
      Hi
      I am trying to stream and display my favorite song collections on a smart TV, all failed. I had previously used samsung s3 to connect via bluetooth, but when i used iphone x to connect, the system reported an incompatible error. Can someone tell me why the connection was not successful? Here are the songs I want to play on my TV: 
      link hidden, please login to view
      Thanks in advance  
    • By palswim
      I discovered that my LG SmartShare app could not play FLAC or M4A audio files natively from my DLNA server, so I decided to enable transcoding on the server to present MP3/WAV resources in addition to the native stream. However, the SmartShare app still doesn't display those files when browsing for audio, and I am trying to determine why.
      And now, the extreme technical detail:
      I have a shell utility, upnp-browse.sh to make HTTP calls to my DLNA server, emulating the types of calls that LG SmartShare would make:
      #!/bin/sh curl -s -d @- -H 'Content-Type: text/xml; charset="utf-8"' -H 'SOAPAction: #Browse' http://host/path/to/DLNA \ | xmllint --xpath '////Result/text()' - \ | recode html..utf8 \ | xml_pp The curl call makes a HTTP POST request with the data from stdin, which would have similar content to the following:
      <?xml version="1.0"?> <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"> <s:Body> <u:Browse xmlns:u="urn:schemas-upnp-org:service:serviceType:v"> <ObjectID>ID_PARENT</ObjectID> <BrowseFlag>BrowseDirectChildren</BrowseFlag> </u:Browse> </s:Body> </s:Envelope> The call to curl then yields an XML Response similar to the following:
      <?xml version="1.0" encoding="utf-8"?> <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><s:Body><u:BrowseResponse xmlns:u="urn:schemas-upnp-org:service:ContentDirectory:1"><Result><DIDL-Lite xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:upnp="urn:schemas-upnp-org:metadata-1-0/upnp/" xmlns="urn:schemas-upnp-org:metadata-1-0/DIDL-Lite/" xmlns:dlna="urn:schemas-dlna-org:metadata-1-0/"> <item id="ID_FILE" parentID="ID_PARENT" restricted="1"><dc:title>Title</dc:title><upnp:class>object.item.audioItem.musicTrack</upnp:class><dc:creator>Creator</dc:creator><upnp:artist>Artist</upnp:artist><res size="######" duration="H:MM:SS.###" bitrate="1022868" sampleFrequency="44100" nrAudioChannels="2" protocolInfo="http-get:*:audio/x-flac:*">http://IP:port/MediaItems/####.ext</res><res duration="H:MM:SS.###" bitrate="176400" sampleFrequency="44100" nrAudioChannels="2" protocolInfo="http-get:*:audio/L16;rate=44100;channels=2:DLNA.ORG_PN=LPCM;DLNA.ORG_OP=10;DLNA.ORG_CI=1;DLNA.ORG_FLAGS=01500000000000000000000000000000">http://IP:port/MediaItems/TranscodeAudio/LPCM/####.ext</res><res duration="H:MM:SS.###" nrAudioChannels="2" protocolInfo="http-get:*:audio/mpeg:DLNA.ORG_PN=MP3;DLNA.ORG_OP=10;DLNA.ORG_CI=1;DLNA.ORG_FLAGS=01500000000000000000000000000000">http://IP:port/MediaItems/TranscodeAudio/MP3/####.ext</res></item><container id="ID_FOLDER" parentID="ID_PARENT" restricted="1" searchable="1" childCount="#"><dc:title>folder name</dc:title><upnp:class>object.container.storageFolder</upnp:class><upnp:storageUsed>-1</upnp:storageUsed></container></DIDL-Lite></Result> <NumberReturned>2</NumberReturned> <TotalMatches>2</TotalMatches> <UpdateID>3</UpdateID></u:BrowseResponse></s:Body></s:Envelope> Then the calls to xmllint, recode, and xml_pp take this data and extract the data from the Result node and format it for readability, yielding an output similar to:
      <DIDL-Lite xmlns="urn:schemas-upnp-org:metadata-1-0/DIDL-Lite/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:dlna="urn:schemas-dlna-org:metadata-1-0/" xmlns:upnp="urn:schemas-upnp-org:metadata-1-0/upnp/"> <item id="ID_FILE" parentID="ID_PARENT" restricted="1"> <dc:title>Title</dc:title> <upnp:class>object.item.audioItem.musicTrack</upnp:class> <dc:creator>Creator</dc:creator> <upnp:artist>Artist</upnp:artist> <res bitrate="1022868" duration="H:MM:SS.###" nrAudioChannels="2" protocolInfo="http-get:*:audio/x-flac:*" sampleFrequency="44100" size="######">http://IP:port/MediaItems/####.ext</res> <res bitrate="176400" duration="H:MM:SS.###" nrAudioChannels="2" protocolInfo="http-get:*:audio/L16;rate=44100;channels=2:DLNA.ORG_PN=LPCM;DLNA.ORG_OP=10;DLNA.ORG_CI=1;DLNA.ORG_FLAGS=01500000000000000000000000000000" sampleFrequency="44100">http://IP:port/MediaItems/TranscodeAudio/LPCM/####.ext</res> <res duration="H:MM:SS.###" nrAudioChannels="2" protocolInfo="http-get:*:audio/mpeg:DLNA.ORG_PN=MP3;DLNA.ORG_OP=10;DLNA.ORG_CI=1;DLNA.ORG_FLAGS=01500000000000000000000000000000">http://IP:port/MediaItems/TranscodeAudio/MP3/####.ext</res> </item> <container childCount="#" id="ID_FOLDER" parentID="ID_PARENT" restricted="1" searchable="1"> <dc:title>folder name</dc:title> <upnp:class>object.container.storageFolder</upnp:class> <upnp:storageUsed>-1</upnp:storageUsed> </container> </DIDL-Lite> Note with the sample file (item node), it contains three res nodes. The DLNA client (LG SmartShare) should select the data from the res node for the format it supports, and allow for selection of the item, but when I browse in the container which contains the item, LG SmartShare doesn't show it.
      For native MP3 files, SmartShare will show and play those items. I can provide output for native MP3 items, as well as OGG or MP4/M4A files if those would help, though they all look fairly similar. However, for native MP3 files, the first res node has a slightly different set of DLNA flags:
      <res bitrate="128000" duration="H:MM:SS.###" nrAudioChannels="2" protocolInfo="http-get:*:audio/mpeg:DLNA.ORG_PN=MP3;DLNA.ORG_OP=01;DLNA.ORG_CI=0;DLNA.ORG_FLAGS=01700000000000000000000000000000" sampleFrequency="44100" size="######">http://IP:port/MediaItems/####.mp3</res> Is my server serving something incorrectly, does SmartShare just not support multiple res nodes, or have I overlooked something?
    • By kazimates
      I setup LG 32LJ570U-TA on my office. I record some news or tv channels from satellite on LG TV to usb. But the file extension is not showing to us on computer and I can't play this recorded videos on my pc. How can I play edit or convert this videos of LG TV recorded on my pc?
       
    • By Nyalisson Rodrigo
      All day long i had try to watch videos on YouTube App and I can't use the app.. i try others user and I can't use the youtube app at my LG Tv. On cellphone it's work normally
  • Similar Tagged Content

    • By mmerc2004
      I have 2 LG TV's both running different versions of WebOS 3.x (UJ6300 and UH6550). The 6550 picks up my DLNA NAS, but the 6300 does not AFTER I unplugged and moved my NAS. Everything else works fine - can see the storage on my computer on the other TV (and play content), but not on the 6300. This used to work fine, but after cleaning up my server room, this one TV is uncooperative. 
      Any ideas?
       
    • By Appergioz
      Hi all,
      I have a question in using SmartShare on LG WebOS 2.0 (my LG TV is 43UF770T, a 2015 model).
      Recently I often use the TV to view pictures from files located in my NAS through DLNA capabilities in SmartShare app. I found out that when I view pictures with resolution smaller than 4K, then the pictures are shown in the center of the TV screen and cannot be shown full screen (automatic best-fit). This is quite annoying because when viewing older photos taken from old phones with 1920 x 1080 resolution for example, then the picture will look small because it is not shown full screen.
      For comparison, when viewing video files, the TV automatically resizes the images until best-fit full screen, i.e. video with smaller resolution than 4K still shown full screen. This is exactly what I want.
      Does anyone here know how to get full screen image shown for smaller pictures (auto resize upscale to best fit full screen), just as with video files in SmartShare?
       
      Many thanks in advance.
    • By Mihai B.
      Few days ago I received my new 55EG920V 4k OLED TV 2015 model with passive 3D and after a brief testing it turned out that 4k over DLNA isn't supported in WebOS2.0 - LG customer support already confirmed that. Of course, this limitation isn’t explicitly stated anywhere, neither in the the owner’s manual nor on the LG official website. The same MKV HEVC file would play well enough through USB, but not DLNA. So for the unlucky WebOS2.0 4k TV owners, the only way of playing 4k content from the home network is through USB. This is mind blowing, in the high speed internet connections and gigabyte ethernet era, LG force its own customers to move USB sticks between computer and TV.
      Leaving out important information through omission means misleading commercial practices: 
      link hidden, please login to view. Are LG or WebOS developers willing to fix this issue through a future firmware update?
       
      PS. the passive 3D is spectacular, this is the main reason I bought this somehow outdated 4k TV
      PS2. could someone with a WebOS3.0 or 3.5 TV confirm that 4k over DLNA is supported with this newer OS versions?
    • By dolbnya
      Hello!
      I like my OLED55C6V-Z very much, because it is the main part of my home theater, but it would be really great if my TV could translate sound stream from DLNA to HDMI-ARC "as is" without any changes or processing, just in Pass-Through mode. Because most DLNA-mediaservers can translate video and audio streams of videofiles without any processing. Because now when I watch a video with DTS-MasterAudio or DolbyTrueHD from DLNA-mediaserver on my TV connected with AV-receiver through HDMI-ARC, AV-receiver get only DTS or DolbyDigital and it is very pity since  AV-receiver is able to handle DTS-MasterAudio or DolbyTrueHD absolutely properly.
      Thank you in advance!


×
×
  • Create New...