How do I play videos from IP camera H.264 ?

Just started using Construct 2? Post your questions here

Post » Tue Mar 24, 2015 9:00 am

Message: rs2322 is not yet permitted to post plain text URLS (300 rep required). 1 URLS removed. Why?
Hi

I would like to play a video stream in my project, I added the Media/Video and H.264 source to rtsp :/ /192.168.0.25/h264 but it doesn't work, why ?
Camera is ok because it work good with VLC player with address rtsp :/ /192.168.0.25/h264.
Any sugestion what is wrong in my project ? Please help me.
I read the https: / /www.scirra.com/manual/181/video but I don't know where is bug in my project.
B
4
Posts: 15
Reputation: 218

Post » Tue Mar 24, 2015 12:01 pm

Manual wrote:Importing video
Construct 2 does not provide a video importer like it does with audio. You must encode your video files yourself, and then import them as project files.



Looks like it does not support streaming.
Who dares wins
B
50
S
10
G
10
Posts: 1,728
Reputation: 12,866

Post » Tue Mar 24, 2015 12:37 pm

I need only video in my project without audio stream, but if there is no support for streaming so why there is avalible option for H.264 source in properties for object Media/Video ?
B
4
Posts: 15
Reputation: 218

Post » Tue Mar 24, 2015 12:43 pm

I believe that is just a video format, does not necessarily mean streaming like your rtsp (real time streaming protocol) link.

And I believe the audio streaming c2 does is progressive downloading.
Who dares wins
B
50
S
10
G
10
Posts: 1,728
Reputation: 12,866

Post » Tue Mar 24, 2015 12:55 pm

Maybe I can use the .jpg standard only like http : //192.168.1.2/camx/image.
I switch the camera from H.264 to .jpg but there is no result in my project :/.
B
4
Posts: 15
Reputation: 218

Post » Tue Mar 24, 2015 1:00 pm

I do not think that will work.

You could however try to move images around and have your app fetch the images ...

Perhaps the camera is able to send its images to a ftp location, which are stored in a folder accessible through a web server, then have your app fetch the images with ajax or if the ftp stores to your app directory, fetch them as project files.
Who dares wins
B
50
S
10
G
10
Posts: 1,728
Reputation: 12,866


Return to Beginner's Questions

Who is online

Users browsing this forum: No registered users and 0 guests