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
    1K
    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
    I don't know about MP2 but as you said you tried MP1 too, how is the MP music config ? MP(1) will only use LAV if you select "Internal DirectShow player" as music output, but then you lose gapless playback. If you you don't have multichannel music you can choose WASAPI as the output and set the number of speakers to stereo. I have...
    I don't know about MP2 but as you said you tried MP1 too, how is the MP music config ? MP(1) will only use LAV if you select...
    Not sure if this a a bug/config/settings problem. I am running a media portal 2.5 server with 2.41 client but it seems I get the...
    Replies
    1
    Views
    655
    I compliment you on the thoroughness of your investigations. (y) Unfortunately, I don't have any ideas what the problem might be. :( Perhaps someone else will post with some suggestions. :unsure: -- from CyberSimian in the UK
    I compliment you on the thoroughness of your investigations. (y) Unfortunately, I don't have any ideas what the problem might be...
    Would appreciate it if someone could solve (or point me in the right direction to resolve) this issue. I have “MultiSeat”...
    Replies
    4
    Views
    1K
    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
    1K
    Top Bottom