[Plugin] Axis Cameras 1.1.3 (08.02.2015) | Page 6

Discussion in 'MediaPortal 1 Plugins' started by Disore, February 7, 2011.

  1. Disore

    Disore Portal Pro

    Joined:
    February 27, 2009
    Messages:
    72
    Likes Received:
    8
    Ratings:
    +9 / 0
    Home Country:
    Sweden Sweden
    Seems your installation is correct. Can you please provide more information about your setup:

    1. Are you trying to watch video from the same cameras from both Windows XP and 7?
    2. What cameras does not work from Windows XP, and what firmware versions are the cameras using.
    3. On computer with Windows XP, have you tried removing the cameras and then add them again in the plugin configuration?
    4. Can you send me the logs from MediaPortal after attempting to view video from the computer with Windows XP installed.


     
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. digitalm

    digitalm New Member

    Joined:
    October 20, 2011
    Messages:
    4
    Likes Received:
    0
    Ratings:
    +0 / 0
    With regards to allowing the plugin to work with other cameras I think you are overestimating how difficult it will be. I have written a number of applications in C# and also on Android that will allow connection to different brands of IP cameras by using their mjpeg streams. e.g.

    on a axis camera : the mjpeg stream is located at

    http://x.x.x.x/axis-cgi/mjpg/video.cgi?resolution=320x240

    on a ycam camera

    http://x.x.x.x:<port>/stream.jpg

    on a panasonic ip camera

    http://x.x.x.x/nphMotionJpeg?Resolution=640x480&Quality=Precision

    so all you need to do it to allow the user to put the url of the mjpeg stream into the camera configuration and then it could support other camera manufactureres.

    If you can supply me with the source of the plugin I would be happy to a fork of the plugin to allow this...

    cheers

    EDIT : Just noticed you have the source on google code, I'll have a look and see what I can do. cheers!
     
  4. Disore

    Disore Portal Pro

    Joined:
    February 27, 2009
    Messages:
    72
    Likes Received:
    8
    Ratings:
    +9 / 0
    Home Country:
    Sweden Sweden
    Hi digitalm.

    It feels good that you are taking an interest in this plugin. However, your assumption that I am overestimating the quantity of work to get other cameras to work in my plugin frankly only shows your lack of knowledge on how MediaPortal works. This is not a disrespect or anything, only a response to what to me looks like the famous last words "How hard can it be?".

    You are correct that video from a Axis camera can be viewer in your favorite browser using the URLs stated, but the video in MediaPortal is not loaded using a browser but instead using DirectShow. So the question you should ask is instead: "Can I figure out how DirectShow can setup a filter-chain to be able to view video from a network camera in MediaPortal?". In order to get Axis cameras to work I have to register a HTTP Multipart source filter to be able to show M-JPEG, and a RTP source filter to show MPEG-4 and H.264. These filters are rendering video from Axis cameras using DirectShow.

    Another aspect to think of is that the user of the plugin shouldn't have to enter credentials everytime he or she wishes to view video, the camera credentials should be entered when adding the camera in the plugin configuration, and only then. That means that the plugin has to have a way to specify the credentials to the source filter, which in turn uses those credentials when accessing the network camera.

    Please let me know if you still think I am overestimating how difficult it will be to support more cameras. I would gladly support more cameras. After all, the more users, the merrier me :D
     
  5. digitalm

    digitalm New Member

    Joined:
    October 20, 2011
    Messages:
    4
    Likes Received:
    0
    Ratings:
    +0 / 0
    Sorry if I detracted from the hard work you put in, I have looked at your code and understand the steps requried to get it to show in mediaportal, my point was why only support axis when you can support all if you allow the location of the MJPEG stream to be put in manually.

    I know its not just a case of showing it in a browser, I have accessed the raw MJPEG stream in a android application I wrote which can also pass the required credentials on the inital connect (that was a bit of a nightmare to be honest!)

    As you have already done all the hard work (i.e. the HTTP Multipart source filter to be able to show M-JPEG) I was just saying that to allow the user to configure the MJPEG stream would allow a whole range of IP cameras to be supported (as pretty much all I have come across have some kind of support for MJPEG streams), without worrying about using Camera Specific API's etc.

    Also regarding authentication some cameras do allow the user to specify the user/pass in the url parameters. I will have a look at the HTTP source filter to see how authentication could be enabled)

    I will have a look at the code anyway as I would like to contribute If i can :)

    Another good idea is zoneminder support as this can supply feeds from a variety of cameras in a a MJPEG feed.

    cheers!
     
  6. Disore

    Disore Portal Pro

    Joined:
    February 27, 2009
    Messages:
    72
    Likes Received:
    8
    Ratings:
    +9 / 0
    Home Country:
    Sweden Sweden
    If you wan't I can add you to Google Code and give you a branch to play around in. Any changes to that branch will of course have to be reviewed by me before merging back to trunk (I trust you've got experience in using Subversion and branch management). Write me a PM with the e-mail you would like to use when logging into Google Code. If you wan't a more direct link to me, add your Live Messenger/MSN username and I'll add you.
     
  7. digitalm

    digitalm New Member

    Joined:
    October 20, 2011
    Messages:
    4
    Likes Received:
    0
    Ratings:
    +0 / 0
    Ok thanks, I've downloaded the whole trunk anyway so will have a play about on my machine for a bit first to see how it all goes together.

    cheers!
     
  8. digitalm

    digitalm New Member

    Joined:
    October 20, 2011
    Messages:
    4
    Likes Received:
    0
    Ratings:
    +0 / 0
    Hi,

    Not sure if Im going to be looking at this now as was evaluating media portal instead of MCE, but have now gone back to MCE as it just seems a lot slicker (even though you have to hack it a lot to do anything customised!)

    cheers anyway.
     
  9. Disore

    Disore Portal Pro

    Joined:
    February 27, 2009
    Messages:
    72
    Likes Received:
    8
    Ratings:
    +9 / 0
    Home Country:
    Sweden Sweden
  10. bionico

    bionico Portal Member

    Joined:
    November 12, 2006
    Messages:
    12
    Likes Received:
    0
    Ratings:
    +0 / 0
    Home Country:
    Italy Italy
    hi,
    I would like to use the plugin for EasyN and Foscam webcam, I use a password longer of 6 characters, is it possible to increase the number of characters?


    .
     
  11. pur_berger
    • Super User

    pur_berger Super User

    Joined:
    May 14, 2007
    Messages:
    1,679
    Likes Received:
    183
    Gender:
    Male
    Location:
    Vienna
    Ratings:
    +270 / 1
    Home Country:
    Austria Austria
    Show System Specs
    AW: [Plugin] Axis Cameras 1.1.2 (11.09.2011)

    Hi there!

    Anything new about implementation of the AXIS 2100?

    Best Regards


    Markus
     
Loading...

Users Viewing Thread (Users: 0, Guests: 0)

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice
  • About The Project

    The vision of the MediaPortal project is to create a free open source media centre application, which supports all advanced media centre functions, and is accessible to all Windows users.

    In reaching this goal we are working every day to make sure our software is one of the best.

             

  • Support MediaPortal!

    The team works very hard to make sure the community is running the best HTPC-software. We give away MediaPortal for free but hosting and software is not for us.

    Care to support our work with a few bucks? We'd really appreciate it!