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,544
    8,236
    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,544
    8,236
    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

    I meant use MP client to try to spot how it's requesting streams for specific channels and then try to do the same with VLC. TV Server development looks dead so I'm afraid you're going to have to figure that out by yourself if it's even possible.
    I meant use MP client to try to spot how it's requesting streams for specific channels and then try to do the same with VLC. TV...
    Hi everyone, I've set up Mediaportal TV Server on a Windows 11 box, tuner deteced okay, scanned channels, can preview, all seems...
    Replies
    8
    Views
    2K
    I saw there is a plugin section, can be moved there?
    I saw there is a plugin section, can be moved there?
    Hello, for a few days I get an error within Mediaportal when I put the RSS link to trakt calendar. If I insert this link into...
    Replies
    1
    Views
    1K
    Sorted, it is a Rating flag that I have never seen before, silly me !! Cheers Tony
    Sorted, it is a Rating flag that I have never seen before, silly me !! Cheers Tony
    I have just done a clean install of v1.36. Current setup Media Portal 1.36 Titan skin (only classic home) TV Series 4.5.1.737...
    Replies
    1
    Views
    193
    Thankyou High_Five, that worked perfectly, I now remember doing that 10 years ago, thanks for jogging my old memory. Cheers Tony
    Thankyou High_Five, that worked perfectly, I now remember doing that 10 years ago, thanks for jogging my old memory. Cheers Tony
    Hi everyone, I have been using it For 16 years now (from V1.1.1) and it has worked flawlessly. I only use TV Series and Moving...
    Replies
    2
    Views
    242
    Hi. I was probably being a bit fast and loose with my terminology. I meant "somewhere within the files that MP2 uses in its database". Anyway, I found a way to do this which was far from automated but relatively low effort. I found what looked like all the images (CD covers, DVD covers, backgrounds etc all lumped together in...
    Hi. I was probably being a bit fast and loose with my terminology. I meant "somewhere within the files that MP2 uses in its...
    I am in the process of setting up a legacy media player (Mede8er) which I happened to have laying around into my home cinema setup...
    Replies
    2
    Views
    344
    Top Bottom