rtsp feed for cctv camera (1 Viewer)

toplad

Portal Pro
October 30, 2013
58
2
Home Country
United Kingdom United Kingdom
how would i add a cctv feed into media portal?
 

mm1352000

Retired Team Member
  • Premium Supporter
  • September 1, 2008
    21,577
    8,224
    Home Country
    New Zealand New Zealand
    Hello toplad

    If it is an RTSP feed you can use the virtual DVB-IP/IPTV tuner.
    Open TV Server configuration.
    Click "open log directory" in the top left corner.
    Go up one level, then down into TuningParameters/dvbip.
    Copy any one of the files and rename as Home.CCTV.m3u (or similar).
    Edit the file in any text editor. Contents should look like:
    #EXTM3U
    #EXTINF:0,<name of channel>
    <URL of channel, ie. rtsp://...>
    Save and close.
    Back to TV Server configuration: go to the scan section for the DVB-IP tuner.
    Scan the "Home.CCTV" service. Hopefully it will pick up your channel.
    Now you can treat the channel like any other channel. Group it, rename it etc. etc. etc.
    If you get stuck please don't hesitate to ask... but make sure you post log files. :)
    http://wiki.team-mediaportal.com/1_MEDIAPORTAL_1/16_Support/3_Forums/2_Log_Files

    mm
     

    regeszter

    Retired Team Member
  • Premium Supporter
  • October 29, 2005
    5,335
    4,954
    Home Country
    Hungary Hungary
    If your ipcam/cctv don't use TS container in rtsp stream you should restream with vlc.
     

    toplad

    Portal Pro
    October 30, 2013
    58
    2
    Home Country
    United Kingdom United Kingdom
    hey, thanks for your help finally got time to try this out and it keeps crashing the tv service i edited my file to look like this

    #EXTM3U
    #EXTINF:0, CCTV - Front
    rtsp://192.168.1.150/medias2


    have i done something wrong?
     

    toplad

    Portal Pro
    October 30, 2013
    58
    2
    Home Country
    United Kingdom United Kingdom
    hello,

    sorry thought i might of put a comma or something wrong in the place in the .m3u file. heres the logs :)
     
    Last edited:

    mm1352000

    Retired Team Member
  • Premium Supporter
  • September 1, 2008
    21,577
    8,224
    Home Country
    New Zealand New Zealand
    The IPTV filter is crashing. Looks like the feed is not supported:
    26-11-2013 16:40:48.322 [ c78] [{3F706A4B-5F9F-4FBE-A2D6-86B3D5B521BD}] [Error] CMPIPTV_RTSP: OpenConnection(): H264 not supported

    H264 is not an MPEG 2 TS stream. As regeszter said, you'll need to re-stream with VLC.
     

    regeszter

    Retired Team Member
  • Premium Supporter
  • October 29, 2005
    5,335
    4,954
    Home Country
    Hungary Hungary
    1. Start vlc
    2. go to media -> stream...
    3. select network tab
    4. enter the cctv url
    5. press stream button
    6. next
    7. new destination: rtsp
    8. add
    9. change the port number if you want
    10. next
    11. select activate transcoding
    12. create a new profile
    13. encapsulation tab: MPEG-TS
    14. video codec tab: video, keep original...
    15. audio codec tab: audio, keep original...
    16. press create button
    17. next
    18. stream
    Change the m3u file:
    Code:
    #EXTM3U
    #EXTINF:0, CCTV - Front
    rtsp://192.168.1.150:port/
     

    Users who are viewing this thread

    Similar threads

    On the assumption you are using an OTA/Cable or Sat tuner then no internet connection is required for live TV recordings. BUT only if you already have Media Portal fully installed and functional. For all practical purposes you will need an internet connection to get Media Portal properly installed on a PC! Yes.
    On the assumption you are using an OTA/Cable or Sat tuner then no internet connection is required for live TV recordings. BUT only...
    is media portal a standalone or is internet connection required for live TV recordings? after scheduling a program will the PC turn...
    Replies
    1
    Views
    505
    The only changes I see are: Updated Marcel Groothuis version of the plugin to now support Media Portal 2.5 I can't say anything about the functionality of this plugin, I don't use TV Part, but if there are any changes that can be simply transferred, then I can try. But I can't give any guarantees.
    The only changes I see are: Updated Marcel Groothuis version of the plugin to now support Media Portal 2.5 I can't say anything...
    I am a long-time user of MediaPortal to watch TV. I use the Media Portal TV Server as a backend, and Kodi (previously known as...
    Replies
    15
    Views
    2K
    Q1.) How do I tell what version of Media Portal 2 is installed? I installed Media Portal about a year ago and have not used it yet because of illness. Q2.) If there is a newer version, what is the best way to upgrade?
    Q1.) How do I tell what version of Media Portal 2 is installed? I installed Media Portal about a year ago and have not used it yet...
    Q1.) How do I tell what version of Media Portal 2 is installed? I installed Media Portal about a year ago and have not used it yet...
    Replies
    0
    Views
    558
    Hello, I would like to use a media server to display various learning categories. I prefer not to use software like Kodi, as it requires extensive metadata scraping that I don't need. Is it possible to instantly access the video categories when landing on the page? I would like to display a single media page with the following...
    Hello, I would like to use a media server to display various learning categories. I prefer not to use software like Kodi, as it...
    Hello, I would like to use a media server to display various learning categories. I prefer not to use software like Kodi, as it...
    Replies
    0
    Views
    265
    I solved it myself, by modifying the host IP-address in the server table of the database, MariaDB [(none)]> use mptvdb; Database changed MariaDB [mptvdb]> SELECT * FROM Server; +----------+----------+--------------+----------+ | idServer | isMaster | hostName | rtspPort | +----------+----------+--------------+----------+ |...
    I solved it myself, by modifying the host IP-address in the server table of the database, MariaDB [(none)]> use mptvdb; Database...
    Hello everyone, I'm going to need help from the community to resolve a TV server crash issue. I encountered a problem with my...
    Replies
    4
    Views
    771
    Top Bottom