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

    That's great. Glad there is no issue.
    That's great. Glad there is no issue.
    I am in the process of moving my media portal installation to a new PC running Windows 11. I open TV-Server configuration go to TV...
    Replies
    65
    Views
    6K
    I need to try MadVR, I hope my Intel NAC can manage it.
    I need to try MadVR, I hope my Intel NAC can manage it.
    Remember PAL DVDs of US movies and TV Shows, and how they were converted to 25 fps thus introducing a "smurf lite" pitch on the...
    Replies
    2
    Views
    369
    Isn't this normal? I mean perhaps you should first do some config before you can start using mediaportal?
    Isn't this normal? I mean perhaps you should first do some config before you can start using mediaportal?
    I recently move to Los Angeles, California and downloaded & installed Media Portal 1.32 pre Release, to find out the programs media...
    Replies
    1
    Views
    761
    I have all of my media on a NAS. I guess it might just be a network issue, then.
    I have all of my media on a NAS. I guess it might just be a network issue, then.
    Whenever I go into the back end for Moving Pictures, it almost immediately hangs on the Movie Importer tab. If I want to go into...
    Replies
    4
    Views
    505
    I've setup my HDHomeRun in MP1 as (4) IPTV cards rather than Atsc. I can see the (4) Atsc cards, but just have them disabled. I did it this way so I didn't have to edit the channel names every time tested a new TV-server install. Anyway, it works. I don't know if this would get you past the BDA driver issue. I'll provide more...
    I've setup my HDHomeRun in MP1 as (4) IPTV cards rather than Atsc. I can see the (4) Atsc cards, but just have them disabled. I...
    I am brand new to MediaPortal. I have installed MP 2.4.1 on Windows 10. It is a fresh install and fully up to date. I have an...
    Replies
    19
    Views
    1K
    Top Bottom