Quantcast
Jump to content

I need support for RTSP protocol, please help


Recommended Posts

Hi, today I've lost about 8 hours trying find out how to open an rtsp of an IP camera into a new 65" OLED TV, which is updated to the latest FW. Tons of apps for IPTV but none of them is able to open a working/tested RTSP, also including it into a playlist m3u file. Nobody in this world has thought to display an RTSP on a LG TV? Looks unbelievable.

I've read a bout "webOS Signage and LG" but no ide how to implement it, install it, nowhere it is described.
I need to display an rtsp stream on LG tv, I have the chance only woth an external device by HDMI or DLNA? That's a shame..
Thank you for help

Link to comment
4 hours ago, GiovanniG said:

Hi, today I've lost about 8 hours trying find out how to open an rtsp of an IP camera into a new 65" OLED TV, which is updated to the latest FW. Tons of apps for IPTV but none of them is able to open a working/tested RTSP, also including it into a playlist m3u file. Nobody in this world has thought to display an RTSP on a LG TV? Looks unbelievable.

I've read a bout "webOS Signage and LG" but no ide how to implement it, install it, nowhere it is described.
I need to display an rtsp stream on LG tv, I have the chance only woth an external device by HDMI or DLNA? That's a shame..
Thank you for help

I’ve ended up using Serviio in a Docker container running in the NVR which works well and through access control can allow you to limit it to just the TV’s IP address. If going down this path the only thing I wish is knew before is to remove all content listing apart from “online” and reduce nesting. Also currently with 2.2.1 and below of Serviio if you have a username/password for thumbnail access it won’t work (RTSP will though even with auth). I’ve raised a bug with the author.

Link to comment
18 hours ago, Beech Horn said:

I’ve ended up using Serviio in a Docker container running in the NVR which works well and through access control can allow you to limit it to just the TV’s IP address. If going down this path the only thing I wish is knew before is to remove all content listing apart from “online” and reduce nesting. Also currently with 2.2.1 and below of Serviio if you have a username/password for thumbnail access it won’t work (RTSP will though even with auth). I’ve raised a bug with the author.

Thank you for your kindly help, may I pleas ask you shortly to describe me the process? I have one Win64server 24/7 on on the same LAN, I'm thinking to use it to convert the stream into DLNA, is that the way? (the DVR can't be used for run other processes).

For example:
Install Serviio for windows, add to it the stream rtsp, set this and that parameter, etc. Then what to use on the side of TV to load it, thank you really a lot for your help :)

 

Link to comment
2 minutes ago, GiovanniG said:

Thank you for your kindly help, may I pleas ask you shortly to describe me the process? I have one Win64server 24/7 on on the same LAN, I'm thinking to use it to convert the stream into DLNA, is that the way? (the DVR can't be used for run other processes).

For example:
Install Serviio for windows, add to it the stream rtsp, set this and that parameter, etc. Then what to use on the side of TV to load it, thank you really a lot for your help :)

 

That should work fine.

Link to comment

Thanks, I hope to test it soon, what you mean with
"If going down this path the only thing I wish is knew before is to remove all content listing apart from “online” and reduce nesting"
going down this path means the use of Serviio is not working, or it means that the camera stream will go down?
What do you mean with the content listing? In which part of Serviio is contained? So I have to remove all extept the voice “online” and "reduce nesting"?
Thanks

Link to comment
5 hours ago, GiovanniG said:

Thanks, I hope to test it soon, what you mean with
"If going down this path the only thing I wish is knew before is to remove all content listing apart from “online” and reduce nesting"
going down this path means the use of Serviio is not working, or it means that the camera stream will go down?
What do you mean with the content listing? In which part of Serviio is contained? So I have to remove all extept the voice “online” and "reduce nesting"?
Thanks

The screenshot with the heading Presentation. Serviio can host a lot of content all on one, you’ll have a huge number of folders to navigate every time you want to look at your cameras unless you turn it all off. That screenshot shows how to configure it for easy access to the cameras. It works just fine.

Link to comment
On 8/8/2022 at 6:41 AM, Beech Horn said:

The screenshot with the heading Presentation. Serviio can host a lot of content all on one, you’ll have a huge number of folders to navigate every time you want to look at your cameras unless you turn it all off. That screenshot shows how to configure it for easy access to the cameras. It works just fine.

Thank you my friend, you rieally kind helping me.
Today I've remotely accessed a 24/7 server and there I've installed Serviio, following your guide I've connected the video rtsp source and tested it, then blocked all the presentations as you showed in the picture. Serviio is able to detect different devices in the network, TV and so on, and testing it sucessfully, now on one TV I can see Serviio as a source in the list, all good till here.
But when I enter it says "file not found", I can't see the stream anywhere surfing between buttons/menus available, but I can see examples with pictures and videos. Then I disabled in Serviio anything possibile, especially on audio and pictures, and restarted again, no differences. I'm sure it's my Serviio because if I stop it it will disappear also on TV. Strange, really strange, do you have suggesions?

Honestly I asked a guy there tohelp me and I followed all by video call, I was thinking it was easy but I suppose I've to go there to go deeper. I hope to solve, but at first impact I'm a bit disappointed 😕 maybe on this server there is kind of block for connections, I'll check better

What will happen after shareware 14days finishes? May I keep it use only for one camera? (without trascoding)
Thank you

Link to comment
14 hours ago, GiovanniG said:

Thank you my friend, you rieally kind helping me.
Today I've remotely accessed a 24/7 server and there I've installed Serviio, following your guide I've connected the video rtsp source and tested it, then blocked all the presentations as you showed in the picture. Serviio is able to detect different devices in the network, TV and so on, and testing it sucessfully, now on one TV I can see Serviio as a source in the list, all good till here.
But when I enter it says "file not found", I can't see the stream anywhere surfing between buttons/menus available, but I can see examples with pictures and videos. Then I disabled in Serviio anything possibile, especially on audio and pictures, and restarted again, no differences. I'm sure it's my Serviio because if I stop it it will disappear also on TV. Strange, really strange, do you have suggesions?

Honestly I asked a guy there tohelp me and I followed all by video call, I was thinking it was easy but I suppose I've to go there to go deeper. I hope to solve, but at first impact I'm a bit disappointed 😕 maybe on this server there is kind of block for connections, I'll check better

What will happen after shareware 14days finishes? May I keep it use only for one camera? (without trascoding)
Thank you

Ah not everything is disabled in presentation. Video is show content only and online is show content only. Think of it like a folder structure where otherwise you’d need to go into the Video folder, then into the Online folder.

Check that the RTSP stream you’ve specified is working in VLC. If there is a username/password then put it into the URL like:

rtsp://USERNAME:PASSWORD@IP/blah/blah/blah/stream

in VLC under the file menu there is an option to play a network stream.

my 2019 C1 LG TV doesn’t like anything more than 1080p h264 over RTSP so had to configure the third stream to be this on the HikVision cameras I have (first stream is 4K h265+ and second stream is low quality).

Link to comment

Thanks again for your help, I got what you mean, I undestood it, all is already configured fine, and presentation is made as you say.. video> display content only and online > display content only, all the rest is diasbled. As result I can see the samples pictures (??) even if I've disabled pictures in all menues and I can't see the rtsp, it writes "no files exist" on black screen. It looks the server works out of control, ignoring the settings (only start/stop server has affect)
Rstp is tested and working in the same server with VLC, it's a 1080p h265, I guess latest LG TV that cost 2500€ may accept it too )

I suppose I've to go there myself checking, and how the things look I can't do much more, I'm sad to say that was not easy as expected (

image.thumb.png.9c1ec6360ba2de8f319a6b1a532f6b18.png

image.thumb.png.a1585cbb25620f583147479b6bd52ece.png

Link to comment
1 minute ago, GiovanniG said:

Thanks again for your help, I got what you mean, I undestood it, all should be configured fine, and presentation is made as you say.. video> display content only and online > diplay content only, all the rest is diasbled. As result I can see the samples pictures (??) even if I've disabled pictures in all menues and I can't see the rtsp, it writes "no files exist" on black screen. It looks the server works out of control, ignoring the settings (only start/stop server has affect)
Rstp is tested and working in the same server with VLC, it's a 1080p h265, I guess latest LG TV that cost 2500€ may accept it too )

I suppose I've to go there myself checking, and how the things look I can't do much more, I'm sad to say that was not easy as expected (

Alas dropping it to h264 might be necessary 😞

In VLC you can use the playlist feature (View->Playlist) to and select "Universal Plug'n'Play" on the left:

image.png.1ad3aa53b19c55ca467bd9513431baf7.png

This will let you test Serviio is working fine before playing with the TV.

Link to comment
1 minute ago, GiovanniG said:

It doesn't work, I've also changed to h264 but it didn't help, I've tried to create a user and assign the connection and the rtsp souce to that user, no way

image.png.eae0e08ab112e7edda5f3b26a6c86dbc.png

This program looks simple, but it isn't

If the raw RTSP stream works in VLC then only other thing might be transcoding is on in Serviio, disable it.

Link to comment

I've disabled it altready on the first configuration. I've looked at the logs and enabled the debug log, unfortunataley there are so many responsive DLNA devices in this LAN that Serviio fill up the log making it difficult to read. Anyway I haven't read errors there, it's very strange.
I'm a bit tired to loose time for a thing that shpudl be so simple, showing an rtsp stream, the next step is to go there, and try with my laptop sitting in that LAN, I really hope it's possible, if not I've to search and learn another DLNA server. Amazing the life is sometime

Link to comment

I wish you luck and totally agree. Wish I could just add RTSP.

BTW really nice setup is using HomeBridge and an Apple TV. You can get it to show picture in picture when there is movement and even have h265 4k instead of h264 1080p. Shame I don't want to use the Apple TV for accessing content and prefer to use the TV itself. But if this is for a client, that is a really nice solution.

Hope it goes well at site. I'd personally always set a username/password. Use RTSP TCP for sanity of debugging (UDP for multicast) and test the URL through VLC first before adding to Serviio, then again VLC to debug before configuring on TV.

Once the TV has played from Serviio, if you go into status you can turn off "Enable access for new devices" and configure it to use "LG TV / player" instead of "Generic DLNA profile", but it should still play without this.

image.png.f380bc74fcc08a03e912ee4914e1b8e6.png

Link to comment

Hi mate, works with my laptop, anyway bad, even if I unselect trancode I have at output a stream of 20 megabit an high usage of CPU (ffmpeg), as result the video on tv is really messy. I'm looking for a way to copy out the same stream input, it's a bit unbelievable there isn't this option for a standard stream. I've a 1080p 25fps mp4 standard source without audio, the most standard one, no need to transode.
I've tried simple DLNA but it doesn't support stream

Link to comment
8 minutes ago, GiovanniG said:

Hi mate, works with my laptop, anyway bad, even if I unselect trancode I have at output a stream of 20 megabit an high usage of CPU (ffmpeg), as result the video on tv is really messy. I'm looking for a way to copy out the same stream input, it's a bit unbelievable there isn't this option for a standard stream. I've a 1080p 25fps mp4 standard source without audio, the most standard one, no need to transode.
I've tried simple DLNA but it doesn't support stream

If the network is a pain, then use multicast on a nice switch, anything accessing the camera gets the same stream and it scales.

On my cameras if I do it unicast with too many devices it looks like this:

 

Link to comment

Seviio rencodes stream with MPG1| Have you aviced it? Amazing..
a stream of 150kb/s bocomes 2mb!
I'm trying with Universal Media Server, stream copy doesn't work probably because it pass directly the rtsp url and TV refuses to connect, it sends with higher bitrate, the tv opens it but display black screen

I've noticed you have glitches on you video, probably because you have too high bitrate as well

Link to comment
17 minutes ago, GiovanniG said:

Seviio rencodes stream with MPG1| Have you aviced it? Amazing..
a stream of 150kb/s bocomes 2mb!
I'm trying with Universal Media Server, stream copy doesn't work probably because it pass directly the rtsp url and TV refuses to connect, it sends with higher bitrate, the tv opens it but display black screen

I've noticed you have glitches on you video, probably because you have too high bitrate as well

No I did that deliberately to show you what overloading my cameras in unicast does as I use multicast. Was seeing if it was the same for you, demonstrating oversaturating the stream on the camera. Now I am back on multicast it’s glitch free.

VLC reports h264 and bitrate is same for me (~4mbps in and out), no transcoding. Uses less than 1% CPU on my Synology NAS (DS720+) which runs Serviio in a Docker.

Link to comment

Now I read better, thanks for posting the video. But how to activate multicast? Should it be from the side of DVR? I don't think so, I think it should be told to Serviio to use it as output, how? None of the settings talking aboit that. Please tell me how to do it.
Unfortunately I'm not more in front of PC, also today I've wasted an half day to solve thsi problem, amazing.
I've tried Universal Media Server too, direct stream doesn't work, only trancode sith VLC, VLC Legacy and Mencoder is able to be accepted from tv and from VLC, stream bandwith out appears, but the LG screen keeps black. No luck (

Link to comment
45 minutes ago, GiovanniG said:

Now I read better, thanks for posting the video. But how to activate multicast? Should it be from the side of DVR? I don't think so, I think it should be told to Serviio to use it as output, how? None of the settings talking aboit that. Please tell me how to do it.
Unfortunately I'm not more in front of PC, also today I've wasted an half day to solve thsi problem, amazing.
I've tried Universal Media Server too, direct stream doesn't work, only trancode sith VLC, VLC Legacy and Mencoder is able to be accepted from tv and from VLC, stream bandwith out appears, but the LG screen keeps black. No luck (

You normally enable multicast on the cameras. If they are on a separate VLAN you’ll want IGMP snooping.

Link to comment

I don't believe the dvr has this function, anyway this can be overcome by a ffmpeg session, this is easy to achieve.
I'm thinking if ffmpeg is able itself to annunce to DLNA devices, I don't believe so, I think the DLNA is managed by code like Serviio, which uses ffmpeg to transcode and manage video/audio streams. If I can do everything with ffmpeg I believe I can fly, becuase I can find my way myself..
So I have to give a chance to Serviio, converting before the RTSP to a multicast UDP. Anyway, having a WiFi means all the packets will be forwarded to all ethernet segment, and in this place the ethernet is tunneled to the main office with a VLAN bridge of 10 megabit only, I'm risking to saturate it

PS: I haven't found yet a way to stream by ffmpeg on TCP, listeneing to a port for a client like VLC, in all test I did ffmper is trying connect to a listening port to push there the stream.. amazing

Link to comment
7 hours ago, GiovanniG said:

I don't believe the dvr has this function, anyway this can be overcome by a ffmpeg session, this is easy to achieve.
I'm thinking if ffmpeg is able itself to annunce to DLNA devices, I don't believe so, I think the DLNA is managed by code like Serviio, which uses ffmpeg to transcode and manage video/audio streams. If I can do everything with ffmpeg I believe I can fly, becuase I can find my way myself..
So I have to give a chance to Serviio, converting before the RTSP to a multicast UDP. Anyway, having a WiFi means all the packets will be forwarded to all ethernet segment, and in this place the ethernet is tunneled to the main office with a VLAN bridge of 10 megabit only, I'm risking to saturate it

PS: I haven't found yet a way to stream by ffmpeg on TCP, listeneing to a port for a client like VLC, in all test I did ffmper is trying connect to a listening port to push there the stream.. amazing

If you want to do it natively with FFmpeg then would look at miniDLNA for the announcement.

Alternatively look for an IPTV app on LG (hopefully there is at least one) which should be able to take in something natively from FFmpeg.

Please note I have not personally tried either solution (well I’ve used IPTV for non-CCTV RTSP streams).

if you have an AppleTV, FireTV or Chromecast then you may have better luck with HLS. The AppleTV app isn’t sufficient has to be a physical one. This is a solution I’ve done before (well to AppleTV, but have heard it’s similar for FireTV/Chromecast) and lets you go full resolution h265, but needs an external device.

feel your pain on this, took me a while to find Serviio and it’s been my go to ever since (I deal with HikVision, Synology, Ubiquiti and Avigilion), but if it’s causing you pain am hoping you’ll find a solution more suitable. Best of luck!

Link to comment
7 hours ago, Beech Horn said:

If you want to do it natively with FFmpeg then would look at miniDLNA for the announcement.

Alternatively look for an IPTV app on LG (hopefully there is at least one) which should be able to take in something natively from FFmpeg.

Best of luck!

Thanks :) miniDLNA is for Linux, I?m looking for something for Windows to put in a local PC, if possible. Seems difficult to find one like this, there are many options and most of them will not suite, it's a lot of time to search and test. Mayba a combination of ffmpeg and something elase will do the job.
The same for LG apps, it's getting mad to test them all, I'm not going more to put myself in such situation. I'ts really bad there isn't any popular/known app like VLC there and, as well, be sure LG won't change its politics on the next update of WebOS.
No chances for external devices via HDMI

I hope to report it here

Link to comment
59 minutes ago, GiovanniG said:

Thanks :) miniDLNA is for Linux, I?m looking for something for Windows to put in a local PC, if possible. Seems difficult to find one like this, there are many options and most of them will not suite, it's a lot of time to search and test. Mayba a combination of ffmpeg and something elase will do the job.
The same for LG apps, it's getting mad to test them all, I'm not going more to put myself in such situation. I'ts really bad there isn't any popular/known app like VLC there and, as well, be sure LG won't change its politics on the next update of WebOS.
No chances for external devices via HDMI

I hope to report it here

Just run it using WSL2, through docker, etc.

Link to comment
13 hours ago, GiovanniG said:

Hi mate, if the argument appasionate you, you may read what we discussed here:

link hidden, please login to view

Yeah you seem to be having all manner of troubles here. Am wondering if it's the stream from the IP camera which isn't compatible. HikVision and Avigilon are working trouble-free (unless I overload the streams, hence using multicast).

Link to comment

Join the conversation

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

Guest
Reply to this topic...

×   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 Davor Vratarić
      Hello ,
      I have LG TV OLED55E9PLA with software version 05.30.40.
      I am also using Smart IPTV App.
      I would ask for some help....
      One of the TV channel I often watch is working on VLC player with these 3 lines :
      #EXTINF:-1 tvg-id="AvilaTV.ve" tvg-logo="
      link hidden, please login to view" group-title="Venezuela", Avila #EXTVLCOPT:http-referrer=

       
      I tried to put this lines to my Smart IPTV list on my LG TV , but it don't work.
      Is there a solution to make this channel work with Smart IPTV App,
      since it only allows 2 lines for each channel ?
       
      Thanks for your help
    • By whaleandtuna
      Please Help. I have LG qned tv with webOS 23
      1) What I did: with svc remote -> in start -> 0413 and all, area option was changed.
      I was trying many numbers to find the code for KR (which didn't work).
      2) What I wanted : change area option from CA -> KR (widely known area codes do not work)
      Original code: CAD 22411
       
      3) Problem: Once I put a number between 19461 ~ 19489, Language&Country is set to EU and would not change the country with the other numbers.
      Area option: 19461 ~ 19489 Continent index: 5 ~ 33 Language & Country: EU  
      Now I put 22411 to change it back to original region, but the country would not change from EU to CA, the area option is back to 19461.
      If anyone is trying the area option numbers, don't put any number between them.
      If any one knows how to resolve, please help me to escape from EU.. I am so desperate.
       
       
      FYI just in case
      hk 17930
      hk 17935
      co 17560
      ph 15670
      cn 17816
      ja 17211
      aj 17083
      tw 17432
      pa 17679
      hn 18618
      ca 18362
      mx 18456
      hn 18584
      br 18789
      cl 18876
      pe 19033
      ar 19123
      ec 19251
      jp 19345
       
    • By imadous
      Hi everyone, 
      I wish LG would consider updating their Codecs list or at least give us a way of installing this codecs in our TV manually. i know my TV is capable of playing a lot of stuff but i'm always stuck with "not supported" for most of the media i have. 
      One of the most wished stuff i'd love to see is 
      Added support for H.264 10bit (still very popular and used a lot) 
      as well as Opus codecs (its a Free codec and its getting a lot use recently especially with H.265 MKV videos) 
      Like i said, please add this codecs and more or at least give us a way of doing it ourselves. i know there might be legal issues and some codecs are payed, so just let us install it ourselves instead. 
      Thanks. 
       
    • By pivotCE
      The webOS community may be a bit smaller these days but it’s no less devoted to the platform. WebOS Ports is a small team of developers. As you can imagine, it is a few people to maintain a full OS that consists of thousands of components. Things are starting to come together for LuneOS, with the current major rebase and stable release. But we still need your help.
      As nice as it is to have some additional folk contributing, developing, and working on issues, we still need more developers to get involved to make this community project really take off.
      “Our focus is core functionality”
      We cannot stress enough that we are building an OS focused on core app integration that is simple, beautiful, and user-centric. Right now, function comes first. If we had a penny for every developer that knew some web code and could make a beautiful static mock-up of an app that didn’t do a thing in the backend and then said “I did my part, it’s up to you to make it work”…well, we’d have a lot of pennies.
      Developer requirements
      Once core app integration happens we will need HTML/CSS smart people. But to be an asset to the team, you need to have a good grasp on any or all of these technologies:
      Javascript C node.js C++ QML Qt Yocto Graphics design Are you decent at some of these, but might need help from time to time? That’s fine!  We’re a community, remember?  Hit up the
      link hidden, please login to view and/or channel and ask! Get the bugs out!
      We have several applications already available but many are placeholders or have basic functionality. Some of the apps are almost fully functional like Settings. But even Settings has bugs and can use refinement.  OK there are bugs everywhere! (If only it were as easy as a can of Raid to fix them)!  We’ve received lots of questions about how to get plugged into the project quickly.  Easy! Head over to our  to see current issues. Find an area where you think you can help and then find us on or (see below) to talk about it.
      Some examples of areas that need bug fixing are:
      Email: Some minor bug fixes Settings: Add Settings when needed Phone: Further polishing Calendar: Google C+Dav integration needs updating to adopt for Google’s changes Browser: Rework UI to be more webOS/LuneOS like And more. Core Apps/Features/Backend magic
      The Open webOS project released several core applications that were Enyo1 based.  These apps are in LuneOS
      Messaging: Needs a rework or rewrite to give proper functionality similar to legacy webOS PDF needs converting to QML. LuneOS also needs a media player app (maybe reuse/rework the webOS OSE app for this?). The C+Dav connector is there, but it needs updating for various changes by Google. It also needs testing for other providers. Additional IM connectors would be good to implement (Telegram, Signal) etc, there are existing plugins exist for Pidgin/libpurple that can be used. Looks aren’t everything
      As you can see, to really make stuff work first, most of what we need is in the backend.  It’s the old battle between form and function. Which comes first?  Designers will argue form!  But Ports is focused on the core functionality that has to work first and look pretty later. It’s a hard pill to swallow and we get that, but when building an OS, it’s the most important thing. If it looks pretty but doesn’t work, the project loses potential users. If it works but doesn’t look pretty it will at least show promise and that encourages positive feedback. And with a community led project, if you don’t have good feedback you’ve already lost.
      Additional help wanted
      Ports is looking to expand our public relations presence. If you are located outside of the United States or more specifically speak a different language than English and would like to help us advertise and direct interested people toward LuneOS and WebOS Ports, please let us know.
      We are also looking for a WordPress “expert” for a new site we’ll be setting up soon. Are you good at making tutorials?
      We have several “How to install LuneOS guides” on the wiki. If you’d like to make friendly guides, that’d be great!
      And finally, we need a “wiki-meister”. Someone that really knows the ins and outs of running a mediawiki!
      Get involved
      Everyone can help in some way. We need testers and bug reports! Sign up on the , contact us to let us know that you signed up and what your username is, and we’ll upgrade your account so you can post issues.
      Developers please join us on and/or drop by the IRC channel
      How to Contact WebOS Ports
      Want to get involved? Have a question? Get in touch with us.
      [email protected]
      Twitter: 
      IRC (Libera):
      Telegram:
      Issue Tracker: 
       User Support Forums
      Join the forum .
      The post first appeared on . Related posts:

×
×
  • Create New...