Android Phone Ip webcam app doesn't work with openCV in java









up vote
0
down vote

favorite
1












I downloaded Ip webcam app to stream a video directly to openCv in java,I tried to connect it using this.videoCapture.open("http://192.168.43.1:8080/video"); As recommended in the image below



here



But I'm getting nothing yet it works with this.videoCapture.open(0); using my webcam .I also tried every thing on this link changing the url to http://192.168.43.1:8080/video.mjpg and http://192.168.43.1:8080/video.mjpeg but no positive results.










share|improve this question



























    up vote
    0
    down vote

    favorite
    1












    I downloaded Ip webcam app to stream a video directly to openCv in java,I tried to connect it using this.videoCapture.open("http://192.168.43.1:8080/video"); As recommended in the image below



    here



    But I'm getting nothing yet it works with this.videoCapture.open(0); using my webcam .I also tried every thing on this link changing the url to http://192.168.43.1:8080/video.mjpg and http://192.168.43.1:8080/video.mjpeg but no positive results.










    share|improve this question

























      up vote
      0
      down vote

      favorite
      1









      up vote
      0
      down vote

      favorite
      1






      1





      I downloaded Ip webcam app to stream a video directly to openCv in java,I tried to connect it using this.videoCapture.open("http://192.168.43.1:8080/video"); As recommended in the image below



      here



      But I'm getting nothing yet it works with this.videoCapture.open(0); using my webcam .I also tried every thing on this link changing the url to http://192.168.43.1:8080/video.mjpg and http://192.168.43.1:8080/video.mjpeg but no positive results.










      share|improve this question















      I downloaded Ip webcam app to stream a video directly to openCv in java,I tried to connect it using this.videoCapture.open("http://192.168.43.1:8080/video"); As recommended in the image below



      here



      But I'm getting nothing yet it works with this.videoCapture.open(0); using my webcam .I also tried every thing on this link changing the url to http://192.168.43.1:8080/video.mjpg and http://192.168.43.1:8080/video.mjpeg but no positive results.







      java opencv






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited May 23 '17 at 12:02









      Community

      11




      11










      asked Nov 14 '15 at 15:20









      Collins A

      2,96511636




      2,96511636






















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          0
          down vote













          I got the solution by downloading Droid Cam for Pc and android instead of Ip Webcam.This helped me access my android phone camera easily instead of using url.I Opened the application and used



          this.videoCapture.open(1);


          Since it is recognized as webcam at index 1 in my case.






          share|improve this answer




















            Your Answer






            StackExchange.ifUsing("editor", function ()
            StackExchange.using("externalEditor", function ()
            StackExchange.using("snippets", function ()
            StackExchange.snippets.init();
            );
            );
            , "code-snippets");

            StackExchange.ready(function()
            var channelOptions =
            tags: "".split(" "),
            id: "1"
            ;
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function()
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled)
            StackExchange.using("snippets", function()
            createEditor();
            );

            else
            createEditor();

            );

            function createEditor()
            StackExchange.prepareEditor(
            heartbeatType: 'answer',
            convertImagesToLinks: true,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            imageUploader:
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            ,
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            );



            );













             

            draft saved


            draft discarded


















            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f33709907%2fandroid-phone-ip-webcam-app-doesnt-work-with-opencv-in-java%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes








            up vote
            0
            down vote













            I got the solution by downloading Droid Cam for Pc and android instead of Ip Webcam.This helped me access my android phone camera easily instead of using url.I Opened the application and used



            this.videoCapture.open(1);


            Since it is recognized as webcam at index 1 in my case.






            share|improve this answer
























              up vote
              0
              down vote













              I got the solution by downloading Droid Cam for Pc and android instead of Ip Webcam.This helped me access my android phone camera easily instead of using url.I Opened the application and used



              this.videoCapture.open(1);


              Since it is recognized as webcam at index 1 in my case.






              share|improve this answer






















                up vote
                0
                down vote










                up vote
                0
                down vote









                I got the solution by downloading Droid Cam for Pc and android instead of Ip Webcam.This helped me access my android phone camera easily instead of using url.I Opened the application and used



                this.videoCapture.open(1);


                Since it is recognized as webcam at index 1 in my case.






                share|improve this answer












                I got the solution by downloading Droid Cam for Pc and android instead of Ip Webcam.This helped me access my android phone camera easily instead of using url.I Opened the application and used



                this.videoCapture.open(1);


                Since it is recognized as webcam at index 1 in my case.







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Nov 14 '15 at 18:15









                Collins A

                2,96511636




                2,96511636



























                     

                    draft saved


                    draft discarded















































                     


                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f33709907%2fandroid-phone-ip-webcam-app-doesnt-work-with-opencv-in-java%23new-answer', 'question_page');

                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    Top Tejano songwriter Luis Silva dead of heart attack at 64

                    ReactJS Fetched API data displays live - need Data displayed static

                    政党