RELEASE: GStreamer 0.11.1 and GStreamer Base Plug-ins 0.11.1

classic Classic list List threaded Threaded
15 messages Options
Reply | Threaded
Open this post in threaded view
|

RELEASE: GStreamer 0.11.1 and GStreamer Base Plug-ins 0.11.1

Wim Taymans
This mail announces the release of GStreamer 0.11.1 "Sweet New Blossom"
and GStreamer Base Plug-ins 0.11.1 "A handful sometimes, A heartful always".

This is the second release of the unstable 0.11 series that will lead up
to the 1.0 release later this year. It is intended for developers and
people wanting to port their plugins and applications to the new series.

cccfc39e6dbdf075abeae062848dfd8c  gstreamer-0.11.1.tar.gz
ce2c05a32ad65bff445e659be297f129  gstreamer-0.11.1.tar.bz2

http://gstreamer.freedesktop.org/src/gstreamer/gstreamer-0.11.1.tar.gz
http://gstreamer.freedesktop.org/src/gstreamer/gstreamer-0.11.1.tar.bz2

043f74a533ca2fae8a55032e16419fb6  gst-plugins-base-0.11.1.tar.gz
b4ecf15ef1eaf24a1b8c0b004c565360  gst-plugins-base-0.11.1.tar.bz2

http://gstreamer.freedesktop.org/src/gst-plugins-base/gst-plugins-base-0.11.1.tar.gz
http://gstreamer.freedesktop.org/src/gst-plugins-base/gst-plugins-base-0.11.1.tar.bz2

Enjoy!


_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

RELEASE (3K) Download Attachment
RELEASE (4K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

D-Link DCS-930L

Rafael Guerra
I have loaded gstreamer on to FreeBSD and I am looking to collect the video
from a video camera,
DCS-930L (D-Link) for example, and save it to a file that I would like to
play it back using an internet browser.
I am mostly interested in collecting and saving the file to a standard video
format (.FLV if possible)

Being new to gstreamer I am looking for some guidance as to how to start
and/or a sample program to start from.
I am an experienced programmer in C and C++ but a novice to gstreamer.

Rafael

_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: D-Link DCS-930L

android6011
I actually have this camera and was playing with it and gstreamer last week. I hope what I am about to mention is not way over your head and helps give you a pointer as to where to start with this camera. As for starting with gstreamer, just keep reading through the mailing list and the docs on the main site

First thing is to narrow down the source of the video. I have yet to find an accessible audio stream but have not put to much time into looking. The video I found are


replace user,pass and the ip with yours.

the mjpg stream is what you are going to want to look at. Also the elements souphttpsrc, (most likely)multipartdemux,jpegdec and flvmux.

My problem has been that multipartdemux refuses to work because "Boundary not found in the multipart header" . I have looked at the stream and the boundary is:
 
--video boundary--

but specifying it still does not work which is where I was getting hung up. 

This pipeline does not work but just as a rough example

gst-launch souphttpsrc location=http://user:pass@192.168.1.15/video/mjpg.cgi ! multipartdemux ! jpegdec ! flvmux ! filesink location=dcs.flv

Again, this pipeline does not work but I believe it to be a step in the right direction. 



For those that may be able to help with the multipartdemux issue wget of the mjpg.cgi shows the following and this pipeline always fails with " Boundary not found in the multipart header" 

gst-launch souphttpsrc location=http://admin:@192.168.1.15/video/mjpg.cgi ! multipartdemux boundary="--video boundary--" ! jpegdec ! fakesink



Content-length: 45536
Date: 10-04-2011 07:41:20 PM IO_00000000_PT_000_000
Content-type: image/jpeg

(jpeg data)

--video boundary--
Content-length: 45607
Date: 10-04-2011 07:41:20 PM IO_00000000_PT_000_000^_Ú¯^[� ,�%Û¯      5�խ
Content-type: image/jpeg

(jpeg data)

etc..

-Ryan

On Thu, Sep 29, 2011 at 1:01 PM, Rafael Guerra <[hidden email]> wrote:
I have loaded gstreamer on to FreeBSD and I am looking to collect the video
from a video camera,
DCS-930L (D-Link) for example, and save it to a file that I would like to
play it back using an internet browser.
I am mostly interested in collecting and saving the file to a standard video
format (.FLV if possible)

Being new to gstreamer I am looking for some guidance as to how to start
and/or a sample program to start from.
I am an experienced programmer in C and C++ but a novice to gstreamer.

Rafael

_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel


_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: D-Link DCS-930L

David Hoyt
In reply to this post by Rafael Guerra
What kind of line endings are being used in the multipart headers?
android6011 <[hidden email]> wrote:
I actually have this camera and was playing with it and gstreamer last week. I hope what I am about to mention is not way over your head and helps give you a pointer as to where to start with this camera. As for starting with gstreamer, just keep reading through the mailing list and the docs on the main site

First thing is to narrow down the source of the video. I have yet to find an accessible audio stream but have not put to much time into looking. The video I found are


replace user,pass and the ip with yours.

the mjpg stream is what you are going to want to look at. Also the elements souphttpsrc, (most likely)multipartdemux,jpegdec and flvmux.

My problem has been that multipartdemux refuses to work because "Boundary not found in the multipart header" . I have looked at the stream and the boundary is:
 
--video boundary--

but specifying it still does not work which is where I was getting hung up. 

This pipeline does not work but just as a rough example

gst-launch souphttpsrc location=http://user:pass@192.168.1.15/video/mjpg.cgi ! multipartdemux ! jpegdec ! flvmux ! filesink location=dcs.flv

Again, this pipeline does not work but I believe it to be a step in the right direction. 



For those that may be able to help with the multipartdemux issue wget of the mjpg.cgi shows the following and this pipeline always fails with " Boundary not found in the multipart header" 

gst-launch souphttpsrc location=http://admin:@192.168.1.15/video/mjpg.cgi ! multipartdemux boundary="--video boundary--" ! jpegdec ! fakesink



Content-length: 45536
Date: 10-04-2011 07:41:20 PM IO_00000000_PT_000_000
Content-type: image/jpeg

(jpeg data)

--video boundary--
Content-length: 45607
Date: 10-04-2011 07:41:20 PM IO_00000000_PT_000_000^_Ú¯^[� ,�%Û¯      5�խ
Content-type: image/jpeg

(jpeg data)

etc..

-Ryan

On Thu, Sep 29, 2011 at 1:01 PM, Rafael Guerra <[hidden email]> wrote:
I have loaded gstreamer on to FreeBSD and I am looking to collect the video
from a video camera,
DCS-930L (D-Link) for example, and save it to a file that I would like to
play it back using an internet browser.
I am mostly interested in collecting and saving the file to a standard video
format (.FLV if possible)

Being new to gstreamer I am looking for some guidance as to how to start
and/or a sample program to start from.
I am an experienced programmer in C and C++ but a novice to gstreamer.

Rafael

_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel


_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: D-Link DCS-930L

android6011
What is the quickest/easiest to find this for you and possibly give you a raw stream?

On Tue, Oct 4, 2011 at 10:15 PM, David Hoyt <[hidden email]> wrote:
What kind of line endings are being used in the multipart headers?

android6011 <[hidden email]> wrote:
I actually have this camera and was playing with it and gstreamer last week. I hope what I am about to mention is not way over your head and helps give you a pointer as to where to start with this camera. As for starting with gstreamer, just keep reading through the mailing list and the docs on the main site

First thing is to narrow down the source of the video. I have yet to find an accessible audio stream but have not put to much time into looking. The video I found are


replace user,pass and the ip with yours.

the mjpg stream is what you are going to want to look at. Also the elements souphttpsrc, (most likely)multipartdemux,jpegdec and flvmux.

My problem has been that multipartdemux refuses to work because "Boundary not found in the multipart header" . I have looked at the stream and the boundary is:
 
--video boundary--

but specifying it still does not work which is where I was getting hung up. 

This pipeline does not work but just as a rough example

gst-launch souphttpsrc location=http://user:pass@192.168.1.15/video/mjpg.cgi ! multipartdemux ! jpegdec ! flvmux ! filesink location=dcs.flv

Again, this pipeline does not work but I believe it to be a step in the right direction. 



For those that may be able to help with the multipartdemux issue wget of the mjpg.cgi shows the following and this pipeline always fails with " Boundary not found in the multipart header" 

gst-launch souphttpsrc location=http://admin:@192.168.1.15/video/mjpg.cgi ! multipartdemux boundary="--video boundary--" ! jpegdec ! fakesink



Content-length: 45536
Date: 10-04-2011 07:41:20 PM IO_00000000_PT_000_000
Content-type: image/jpeg

(jpeg data)

--video boundary--
Content-length: 45607
Date: 10-04-2011 07:41:20 PM IO_00000000_PT_000_000^_Ú¯^[� ,�%Û¯      5�խ
Content-type: image/jpeg

(jpeg data)

etc..

-Ryan

On Thu, Sep 29, 2011 at 1:01 PM, Rafael Guerra <[hidden email]> wrote:
I have loaded gstreamer on to FreeBSD and I am looking to collect the video
from a video camera,
DCS-930L (D-Link) for example, and save it to a file that I would like to
play it back using an internet browser.
I am mostly interested in collecting and saving the file to a standard video
format (.FLV if possible)

Being new to gstreamer I am looking for some guidance as to how to start
and/or a sample program to start from.
I am an experienced programmer in C and C++ but a novice to gstreamer.

Rafael

_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel


_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel



_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: D-Link DCS-930L

David Hoyt
In reply to this post by Rafael Guerra
Capture the stream and examine it in a hex editor. Are the line endings \n or \r\n? I'd have to examine the source again b/c I'm unsure how lenient gstreamer is with non-standard line endings in a multipart stream.

I believe the standard says to use \n, but my memory could be faulty. (c:

android6011 <[hidden email]> wrote:
What is the quickest/easiest to find this for you and possibly give you a raw stream?

On Tue, Oct 4, 2011 at 10:15 PM, David Hoyt <[hidden email]> wrote:
What kind of line endings are being used in the multipart headers?

android6011 <[hidden email]> wrote:
I actually have this camera and was playing with it and gstreamer last week. I hope what I am about to mention is not way over your head and helps give you a pointer as to where to start with this camera. As for starting with gstreamer, just keep reading through the mailing list and the docs on the main site

First thing is to narrow down the source of the video. I have yet to find an accessible audio stream but have not put to much time into looking. The video I found are


replace user,pass and the ip with yours.

the mjpg stream is what you are going to want to look at. Also the elements souphttpsrc, (most likely)multipartdemux,jpegdec and flvmux.

My problem has been that multipartdemux refuses to work because "Boundary not found in the multipart header" . I have looked at the stream and the boundary is:
 
--video boundary--

but specifying it still does not work which is where I was getting hung up. 

This pipeline does not work but just as a rough example

gst-launch souphttpsrc location=http://user:pass@192.168.1.15/video/mjpg.cgi ! multipartdemux ! jpegdec ! flvmux ! filesink location=dcs.flv

Again, this pipeline does not work but I believe it to be a step in the right direction. 



For those that may be able to help with the multipartdemux issue wget of the mjpg.cgi shows the following and this pipeline always fails with " Boundary not found in the multipart header" 

gst-launch souphttpsrc location=http://admin:@192.168.1.15/video/mjpg.cgi ! multipartdemux boundary="--video boundary--" ! jpegdec ! fakesink



Content-length: 45536
Date: 10-04-2011 07:41:20 PM IO_00000000_PT_000_000
Content-type: image/jpeg

(jpeg data)

--video boundary--
Content-length: 45607
Date: 10-04-2011 07:41:20 PM IO_00000000_PT_000_000^_Ú¯^[� ,�%Û¯      5�խ
Content-type: image/jpeg

(jpeg data)

etc..

-Ryan

On Thu, Sep 29, 2011 at 1:01 PM, Rafael Guerra <[hidden email]> wrote:
I have loaded gstreamer on to FreeBSD and I am looking to collect the video
from a video camera,
DCS-930L (D-Link) for example, and save it to a file that I would like to
play it back using an internet browser.
I am mostly interested in collecting and saving the file to a standard video
format (.FLV if possible)

Being new to gstreamer I am looking for some guidance as to how to start
and/or a sample program to start from.
I am an experienced programmer in C and C++ but a novice to gstreamer.

Rafael

_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel


_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel



_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

RE: D-Link DCS-930L

Rafael Guerra
In reply to this post by android6011

 

I am getting the following error :

 

Setting pipeline to PAUSED ...

Pipeline is PREROLLED ...

ERROR: from element /GstPipeline:pipeline0/GstSoupHTTPSrc:souphttpsrc0: Error parsing URL.

Additional debug info:

gstsouphttpsrc.c(1128): gst_soup_http_src_build_message (): /GstPipeline:pipeline0/GstSoupHTTPSrc:souphttpsrc0:

URL: dcs.flv

ERROR: pipeline doesn't want to preroll.

Setting pipeline to PAUSED ...

Setting pipeline to READY ...

Setting pipeline to NULL ...

Freeing pipeline ...

 

When trying to read from the camera using the following line :

 

gst-launch souphttpsrc location=http://admin:Supp0rt1@96.57.244.98/video/mjpg.cgi!multipartdemux!jpegdec!flvmux!filesink location=dcs.flv

 

Any help would be appreciated.

 

 

From: gstreamer-devel-bounces+rafael=[hidden email] [mailto:gstreamer-devel-bounces+rafael=[hidden email]] On Behalf Of android6011
Sent: Tuesday, October 04, 2011 9:45 PM
To: Discussion of the development of and with GStreamer
Subject: Re: D-Link DCS-930L

 

I actually have this camera and was playing with it and gstreamer last week. I hope what I am about to mention is not way over your head and helps give you a pointer as to where to start with this camera. As for starting with gstreamer, just keep reading through the mailing list and the docs on the main site

 

First thing is to narrow down the source of the video. I have yet to find an accessible audio stream but have not put to much time into looking. The video I found are

 

 

replace user,pass and the ip with yours.

 

the mjpg stream is what you are going to want to look at. Also the elements souphttpsrc, (most likely)multipartdemux,jpegdec and flvmux.

 

My problem has been that multipartdemux refuses to work because "Boundary not found in the multipart header" . I have looked at the stream and the boundary is:

 

--video boundary--

 

but specifying it still does not work which is where I was getting hung up. 

 

This pipeline does not work but just as a rough example

 

gst-launch souphttpsrc location=http://user:pass@192.168.1.15/video/mjpg.cgi ! multipartdemux ! jpegdec ! flvmux ! filesink location=dcs.flv

 

Again, this pipeline does not work but I believe it to be a step in the right direction. 

 

 

 

For those that may be able to help with the multipartdemux issue wget of the mjpg.cgi shows the following and this pipeline always fails with " Boundary not found in the multipart header" 

 

gst-launch souphttpsrc location=http://admin:@192.168.1.15/video/mjpg.cgi ! multipartdemux boundary="--video boundary--" ! jpegdec ! fakesink

 

 

 

Content-length: 45536

Date: 10-04-2011 07:41:20 PM IO_00000000_PT_000_000

Content-type: image/jpeg

 

(jpeg data)

 

--video boundary--

Content-length: 45607

Date: 10-04-2011 07:41:20 PM IO_00000000_PT_000_000^_Ú¯^[� ,�%Û¯      5�խ

Content-type: image/jpeg

 

(jpeg data)

 

etc..

 

-Ryan

 

On Thu, Sep 29, 2011 at 1:01 PM, Rafael Guerra <[hidden email]> wrote:

I have loaded gstreamer on to FreeBSD and I am looking to collect the video
from a video camera,
DCS-930L (D-Link) for example, and save it to a file that I would like to
play it back using an internet browser.
I am mostly interested in collecting and saving the file to a standard video
format (.FLV if possible)

Being new to gstreamer I am looking for some guidance as to how to start
and/or a sample program to start from.
I am an experienced programmer in C and C++ but a novice to gstreamer.

Rafael

_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

 


_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

RE: D-Link DCS-930L

dhoyt

When I try it, the provided URL isn’t valid. From what I can tell, it should be: http://96.57.244.98/videostream.cgi

However, the provided username/password (admin/Supp0rt1) don’t seem to work and the camera is blocking streaming video. Perhaps you could setup the camera to stream anonymously? It’s hard to help if you can’t access the stream and see what’s going on. If that’s a problem, dump the video stream to a file and then attach it (if it’s tiny) or provide a public url where it can be accessed.

 

From: gstreamer-devel-bounces+hoyt6=[hidden email] [mailto:gstreamer-devel-bounces+hoyt6=[hidden email]] On Behalf Of Rafael Guerra
Sent: Monday, October 10, 2011 2:55 PM
To: 'Discussion of the development of and with GStreamer'
Subject: RE: D-Link DCS-930L

 

 

I am getting the following error :

 

Setting pipeline to PAUSED ...

Pipeline is PREROLLED ...

ERROR: from element /GstPipeline:pipeline0/GstSoupHTTPSrc:souphttpsrc0: Error parsing URL.

Additional debug info:

gstsouphttpsrc.c(1128): gst_soup_http_src_build_message (): /GstPipeline:pipeline0/GstSoupHTTPSrc:souphttpsrc0:

URL: dcs.flv

ERROR: pipeline doesn't want to preroll.

Setting pipeline to PAUSED ...

Setting pipeline to READY ...

Setting pipeline to NULL ...

Freeing pipeline ...

 

When trying to read from the camera using the following line :

 

gst-launch souphttpsrc location=http://admin:Supp0rt1@96.57.244.98/video/mjpg.cgi!multipartdemux!jpegdec!flvmux!filesink location=dcs.flv

 

Any help would be appreciated.

 

 

From: gstreamer-devel-bounces+rafael=[hidden email] [mailto:gstreamer-devel-bounces+rafael=[hidden email]] On Behalf Of android6011
Sent: Tuesday, October 04, 2011 9:45 PM
To: Discussion of the development of and with GStreamer
Subject: Re: D-Link DCS-930L

 

I actually have this camera and was playing with it and gstreamer last week. I hope what I am about to mention is not way over your head and helps give you a pointer as to where to start with this camera. As for starting with gstreamer, just keep reading through the mailing list and the docs on the main site

 

First thing is to narrow down the source of the video. I have yet to find an accessible audio stream but have not put to much time into looking. The video I found are

 

 

replace user,pass and the ip with yours.

 

the mjpg stream is what you are going to want to look at. Also the elements souphttpsrc, (most likely)multipartdemux,jpegdec and flvmux.

 

My problem has been that multipartdemux refuses to work because "Boundary not found in the multipart header" . I have looked at the stream and the boundary is:

 

--video boundary--

 

but specifying it still does not work which is where I was getting hung up. 

 

This pipeline does not work but just as a rough example

 

gst-launch souphttpsrc location=http://user:pass@192.168.1.15/video/mjpg.cgi ! multipartdemux ! jpegdec ! flvmux ! filesink location=dcs.flv

 

Again, this pipeline does not work but I believe it to be a step in the right direction. 

 

 

 

For those that may be able to help with the multipartdemux issue wget of the mjpg.cgi shows the following and this pipeline always fails with " Boundary not found in the multipart header" 

 

gst-launch souphttpsrc location=http://admin:@192.168.1.15/video/mjpg.cgi ! multipartdemux boundary="--video boundary--" ! jpegdec ! fakesink

 

 

 

Content-length: 45536

Date: 10-04-2011 07:41:20 PM IO_00000000_PT_000_000

Content-type: image/jpeg

 

(jpeg data)

 

--video boundary--

Content-length: 45607

Date: 10-04-2011 07:41:20 PM IO_00000000_PT_000_000^_Ú¯^[� ,�%Û¯      5�խ

Content-type: image/jpeg

 

(jpeg data)

 

etc..

 

-Ryan

 

On Thu, Sep 29, 2011 at 1:01 PM, Rafael Guerra <[hidden email]> wrote:

I have loaded gstreamer on to FreeBSD and I am looking to collect the video
from a video camera,
DCS-930L (D-Link) for example, and save it to a file that I would like to
play it back using an internet browser.
I am mostly interested in collecting and saving the file to a standard video
format (.FLV if possible)

Being new to gstreamer I am looking for some guidance as to how to start
and/or a sample program to start from.
I am an experienced programmer in C and C++ but a novice to gstreamer.

Rafael

_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

 


_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

RE: D-Link DCS-930L

Rafael Guerra

Try user guest and no password. The ip address is fine.

 

From: gstreamer-devel-bounces+rafael=[hidden email] [mailto:gstreamer-devel-bounces+rafael=[hidden email]] On Behalf Of Hoyt, David
Sent: Monday, October 10, 2011 6:13 PM
To: Discussion of the development of and with GStreamer
Subject: RE: D-Link DCS-930L

 

When I try it, the provided URL isn’t valid. From what I can tell, it should be: http://96.57.244.98/videostream.cgi

However, the provided username/password (admin/Supp0rt1) don’t seem to work and the camera is blocking streaming video. Perhaps you could setup the camera to stream anonymously? It’s hard to help if you can’t access the stream and see what’s going on. If that’s a problem, dump the video stream to a file and then attach it (if it’s tiny) or provide a public url where it can be accessed.

 

From: gstreamer-devel-bounces+hoyt6=[hidden email] [mailto:gstreamer-devel-bounces+hoyt6=[hidden email]] On Behalf Of Rafael Guerra
Sent: Monday, October 10, 2011 2:55 PM
To: 'Discussion of the development of and with GStreamer'
Subject: RE: D-Link DCS-930L

 

 

I am getting the following error :

 

Setting pipeline to PAUSED ...

Pipeline is PREROLLED ...

ERROR: from element /GstPipeline:pipeline0/GstSoupHTTPSrc:souphttpsrc0: Error parsing URL.

Additional debug info:

gstsouphttpsrc.c(1128): gst_soup_http_src_build_message (): /GstPipeline:pipeline0/GstSoupHTTPSrc:souphttpsrc0:

URL: dcs.flv

ERROR: pipeline doesn't want to preroll.

Setting pipeline to PAUSED ...

Setting pipeline to READY ...

Setting pipeline to NULL ...

Freeing pipeline ...

 

When trying to read from the camera using the following line :

 

gst-launch souphttpsrc location=http://admin:Supp0rt1@96.57.244.98/video/mjpg.cgi!multipartdemux!jpegdec!flvmux!filesink location=dcs.flv

 

Any help would be appreciated.

 

 

From: gstreamer-devel-bounces+rafael=[hidden email] [mailto:gstreamer-devel-bounces+rafael=[hidden email]] On Behalf Of android6011
Sent: Tuesday, October 04, 2011 9:45 PM
To: Discussion of the development of and with GStreamer
Subject: Re: D-Link DCS-930L

 

I actually have this camera and was playing with it and gstreamer last week. I hope what I am about to mention is not way over your head and helps give you a pointer as to where to start with this camera. As for starting with gstreamer, just keep reading through the mailing list and the docs on the main site

 

First thing is to narrow down the source of the video. I have yet to find an accessible audio stream but have not put to much time into looking. The video I found are

 

 

replace user,pass and the ip with yours.

 

the mjpg stream is what you are going to want to look at. Also the elements souphttpsrc, (most likely)multipartdemux,jpegdec and flvmux.

 

My problem has been that multipartdemux refuses to work because "Boundary not found in the multipart header" . I have looked at the stream and the boundary is:

 

--video boundary--

 

but specifying it still does not work which is where I was getting hung up. 

 

This pipeline does not work but just as a rough example

 

gst-launch souphttpsrc location=http://user:pass@192.168.1.15/video/mjpg.cgi ! multipartdemux ! jpegdec ! flvmux ! filesink location=dcs.flv

 

Again, this pipeline does not work but I believe it to be a step in the right direction. 

 

 

 

For those that may be able to help with the multipartdemux issue wget of the mjpg.cgi shows the following and this pipeline always fails with " Boundary not found in the multipart header" 

 

gst-launch souphttpsrc location=http://admin:@192.168.1.15/video/mjpg.cgi ! multipartdemux boundary="--video boundary--" ! jpegdec ! fakesink

 

 

 

Content-length: 45536

Date: 10-04-2011 07:41:20 PM IO_00000000_PT_000_000

Content-type: image/jpeg

 

(jpeg data)

 

--video boundary--

Content-length: 45607

Date: 10-04-2011 07:41:20 PM IO_00000000_PT_000_000^_Ú¯^[� ,�%Û¯      5�խ

Content-type: image/jpeg

 

(jpeg data)

 

etc..

 

-Ryan

 

On Thu, Sep 29, 2011 at 1:01 PM, Rafael Guerra <[hidden email]> wrote:

I have loaded gstreamer on to FreeBSD and I am looking to collect the video
from a video camera,
DCS-930L (D-Link) for example, and save it to a file that I would like to
play it back using an internet browser.
I am mostly interested in collecting and saving the file to a standard video
format (.FLV if possible)

Being new to gstreamer I am looking for some guidance as to how to start
and/or a sample program to start from.
I am an experienced programmer in C and C++ but a novice to gstreamer.

Rafael

_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

 


_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

RE: D-Link DCS-930L

dhoyt

The following worked for me and VLC was able to play it back:

gst-launch souphttpsrc location=http://guest:@96.57.244.98/videostream.cgi num-buffers=1000 ! multipartdemux ! jpegdec ! videorate ! video/x-raw-yuv,framerate=10/1 ! ffmpegcolorspace ! x264enc ! flvmux ! filesink location=dcs.flv

Hope it makes sense.

 

From: gstreamer-devel-bounces+hoyt6=[hidden email] [mailto:gstreamer-devel-bounces+hoyt6=[hidden email]] On Behalf Of Rafael Guerra
Sent: Monday, October 10, 2011 3:47 PM
To: 'Discussion of the development of and with GStreamer'
Subject: RE: D-Link DCS-930L

 

Try user guest and no password. The ip address is fine.

 

From: gstreamer-devel-bounces+rafael=[hidden email] [mailto:gstreamer-devel-bounces+rafael=[hidden email]] On Behalf Of Hoyt, David
Sent: Monday, October 10, 2011 6:13 PM
To: Discussion of the development of and with GStreamer
Subject: RE: D-Link DCS-930L

 

When I try it, the provided URL isn’t valid. From what I can tell, it should be: http://96.57.244.98/videostream.cgi

However, the provided username/password (admin/Supp0rt1) don’t seem to work and the camera is blocking streaming video. Perhaps you could setup the camera to stream anonymously? It’s hard to help if you can’t access the stream and see what’s going on. If that’s a problem, dump the video stream to a file and then attach it (if it’s tiny) or provide a public url where it can be accessed.

 

From: gstreamer-devel-bounces+hoyt6=[hidden email] [mailto:gstreamer-devel-bounces+hoyt6=[hidden email]] On Behalf Of Rafael Guerra
Sent: Monday, October 10, 2011 2:55 PM
To: 'Discussion of the development of and with GStreamer'
Subject: RE: D-Link DCS-930L

 

 

I am getting the following error :

 

Setting pipeline to PAUSED ...

Pipeline is PREROLLED ...

ERROR: from element /GstPipeline:pipeline0/GstSoupHTTPSrc:souphttpsrc0: Error parsing URL.

Additional debug info:

gstsouphttpsrc.c(1128): gst_soup_http_src_build_message (): /GstPipeline:pipeline0/GstSoupHTTPSrc:souphttpsrc0:

URL: dcs.flv

ERROR: pipeline doesn't want to preroll.

Setting pipeline to PAUSED ...

Setting pipeline to READY ...

Setting pipeline to NULL ...

Freeing pipeline ...

 

When trying to read from the camera using the following line :

 

gst-launch souphttpsrc location=http://admin:Supp0rt1@96.57.244.98/video/mjpg.cgi!multipartdemux!jpegdec!flvmux!filesink location=dcs.flv

 

Any help would be appreciated.

 

 

From: gstreamer-devel-bounces+rafael=[hidden email] [mailto:gstreamer-devel-bounces+rafael=[hidden email]] On Behalf Of android6011
Sent: Tuesday, October 04, 2011 9:45 PM
To: Discussion of the development of and with GStreamer
Subject: Re: D-Link DCS-930L

 

I actually have this camera and was playing with it and gstreamer last week. I hope what I am about to mention is not way over your head and helps give you a pointer as to where to start with this camera. As for starting with gstreamer, just keep reading through the mailing list and the docs on the main site

 

First thing is to narrow down the source of the video. I have yet to find an accessible audio stream but have not put to much time into looking. The video I found are

 

 

replace user,pass and the ip with yours.

 

the mjpg stream is what you are going to want to look at. Also the elements souphttpsrc, (most likely)multipartdemux,jpegdec and flvmux.

 

My problem has been that multipartdemux refuses to work because "Boundary not found in the multipart header" . I have looked at the stream and the boundary is:

 

--video boundary--

 

but specifying it still does not work which is where I was getting hung up. 

 

This pipeline does not work but just as a rough example

 

gst-launch souphttpsrc location=http://user:pass@192.168.1.15/video/mjpg.cgi ! multipartdemux ! jpegdec ! flvmux ! filesink location=dcs.flv

 

Again, this pipeline does not work but I believe it to be a step in the right direction. 

 

 

 

For those that may be able to help with the multipartdemux issue wget of the mjpg.cgi shows the following and this pipeline always fails with " Boundary not found in the multipart header" 

 

gst-launch souphttpsrc location=http://admin:@192.168.1.15/video/mjpg.cgi ! multipartdemux boundary="--video boundary--" ! jpegdec ! fakesink

 

 

 

Content-length: 45536

Date: 10-04-2011 07:41:20 PM IO_00000000_PT_000_000

Content-type: image/jpeg

 

(jpeg data)

 

--video boundary--

Content-length: 45607

Date: 10-04-2011 07:41:20 PM IO_00000000_PT_000_000^_Ú¯^[� ,�%Û¯      5�խ

Content-type: image/jpeg

 

(jpeg data)

 

etc..

 

-Ryan

 

On Thu, Sep 29, 2011 at 1:01 PM, Rafael Guerra <[hidden email]> wrote:

I have loaded gstreamer on to FreeBSD and I am looking to collect the video
from a video camera,
DCS-930L (D-Link) for example, and save it to a file that I would like to
play it back using an internet browser.
I am mostly interested in collecting and saving the file to a standard video
format (.FLV if possible)

Being new to gstreamer I am looking for some guidance as to how to start
and/or a sample program to start from.
I am an experienced programmer in C and C++ but a novice to gstreamer.

Rafael

_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

 


_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

RE: D-Link DCS-930L

Rafael Guerra

Thank you. That seems to have work. It only runs for a limited time. How can I set it to record for 5 minutes. How many buffers do I need ?

 

 

From: gstreamer-devel-bounces+rafael=[hidden email] [mailto:gstreamer-devel-bounces+rafael=[hidden email]] On Behalf Of Hoyt, David
Sent: Monday, October 10, 2011 7:16 PM
To: Discussion of the development of and with GStreamer
Subject: RE: D-Link DCS-930L

 

The following worked for me and VLC was able to play it back:

gst-launch souphttpsrc location=http://guest:@96.57.244.98/videostream.cgi num-buffers=1000 ! multipartdemux ! jpegdec ! videorate ! video/x-raw-yuv,framerate=10/1 ! ffmpegcolorspace ! x264enc ! flvmux ! filesink location=dcs.flv

Hope it makes sense.

 

From: gstreamer-devel-bounces+hoyt6=[hidden email] [mailto:gstreamer-devel-bounces+hoyt6=[hidden email]] On Behalf Of Rafael Guerra
Sent: Monday, October 10, 2011 3:47 PM
To: 'Discussion of the development of and with GStreamer'
Subject: RE: D-Link DCS-930L

 

Try user guest and no password. The ip address is fine.

 

From: gstreamer-devel-bounces+rafael=[hidden email] [mailto:gstreamer-devel-bounces+rafael=[hidden email]] On Behalf Of Hoyt, David
Sent: Monday, October 10, 2011 6:13 PM
To: Discussion of the development of and with GStreamer
Subject: RE: D-Link DCS-930L

 

When I try it, the provided URL isn’t valid. From what I can tell, it should be: http://96.57.244.98/videostream.cgi

However, the provided username/password (admin/Supp0rt1) don’t seem to work and the camera is blocking streaming video. Perhaps you could setup the camera to stream anonymously? It’s hard to help if you can’t access the stream and see what’s going on. If that’s a problem, dump the video stream to a file and then attach it (if it’s tiny) or provide a public url where it can be accessed.

 

From: gstreamer-devel-bounces+hoyt6=[hidden email] [mailto:gstreamer-devel-bounces+hoyt6=[hidden email]] On Behalf Of Rafael Guerra
Sent: Monday, October 10, 2011 2:55 PM
To: 'Discussion of the development of and with GStreamer'
Subject: RE: D-Link DCS-930L

 

 

I am getting the following error :

 

Setting pipeline to PAUSED ...

Pipeline is PREROLLED ...

ERROR: from element /GstPipeline:pipeline0/GstSoupHTTPSrc:souphttpsrc0: Error parsing URL.

Additional debug info:

gstsouphttpsrc.c(1128): gst_soup_http_src_build_message (): /GstPipeline:pipeline0/GstSoupHTTPSrc:souphttpsrc0:

URL: dcs.flv

ERROR: pipeline doesn't want to preroll.

Setting pipeline to PAUSED ...

Setting pipeline to READY ...

Setting pipeline to NULL ...

Freeing pipeline ...

 

When trying to read from the camera using the following line :

 

gst-launch souphttpsrc location=http://admin:Supp0rt1@96.57.244.98/video/mjpg.cgi!multipartdemux!jpegdec!flvmux!filesink location=dcs.flv

 

Any help would be appreciated.

 

 

From: gstreamer-devel-bounces+rafael=[hidden email] [mailto:gstreamer-devel-bounces+rafael=[hidden email]] On Behalf Of android6011
Sent: Tuesday, October 04, 2011 9:45 PM
To: Discussion of the development of and with GStreamer
Subject: Re: D-Link DCS-930L

 

I actually have this camera and was playing with it and gstreamer last week. I hope what I am about to mention is not way over your head and helps give you a pointer as to where to start with this camera. As for starting with gstreamer, just keep reading through the mailing list and the docs on the main site

 

First thing is to narrow down the source of the video. I have yet to find an accessible audio stream but have not put to much time into looking. The video I found are

 

 

replace user,pass and the ip with yours.

 

the mjpg stream is what you are going to want to look at. Also the elements souphttpsrc, (most likely)multipartdemux,jpegdec and flvmux.

 

My problem has been that multipartdemux refuses to work because "Boundary not found in the multipart header" . I have looked at the stream and the boundary is:

 

--video boundary--

 

but specifying it still does not work which is where I was getting hung up. 

 

This pipeline does not work but just as a rough example

 

gst-launch souphttpsrc location=http://user:pass@192.168.1.15/video/mjpg.cgi ! multipartdemux ! jpegdec ! flvmux ! filesink location=dcs.flv

 

Again, this pipeline does not work but I believe it to be a step in the right direction. 

 

 

 

For those that may be able to help with the multipartdemux issue wget of the mjpg.cgi shows the following and this pipeline always fails with " Boundary not found in the multipart header" 

 

gst-launch souphttpsrc location=http://admin:@192.168.1.15/video/mjpg.cgi ! multipartdemux boundary="--video boundary--" ! jpegdec ! fakesink

 

 

 

Content-length: 45536

Date: 10-04-2011 07:41:20 PM IO_00000000_PT_000_000

Content-type: image/jpeg

 

(jpeg data)

 

--video boundary--

Content-length: 45607

Date: 10-04-2011 07:41:20 PM IO_00000000_PT_000_000^_Ú¯^[� ,�%Û¯      5�խ

Content-type: image/jpeg

 

(jpeg data)

 

etc..

 

-Ryan

 

On Thu, Sep 29, 2011 at 1:01 PM, Rafael Guerra <[hidden email]> wrote:

I have loaded gstreamer on to FreeBSD and I am looking to collect the video
from a video camera,
DCS-930L (D-Link) for example, and save it to a file that I would like to
play it back using an internet browser.
I am mostly interested in collecting and saving the file to a standard video
format (.FLV if possible)

Being new to gstreamer I am looking for some guidance as to how to start
and/or a sample program to start from.
I am an experienced programmer in C and C++ but a novice to gstreamer.

Rafael

_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

 


_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

RE: D-Link DCS-930L

Rafael Guerra
In reply to this post by dhoyt

It look like it recorded but only a black screen. The video actually is not totally black even at night. It looks like the setting are not quite right. If

You look at the video through the camera interface it doesn’t actually get the right image.

 

There are two modes of login in, one for firefox and another IE,  I wonder if this is the issue ?

 

From: gstreamer-devel-bounces+rafael=[hidden email] [mailto:gstreamer-devel-bounces+rafael=[hidden email]] On Behalf Of Hoyt, David
Sent: Monday, October 10, 2011 7:16 PM
To: Discussion of the development of and with GStreamer
Subject: RE: D-Link DCS-930L

 

The following worked for me and VLC was able to play it back:

gst-launch souphttpsrc location=http://guest:@96.57.244.98/videostream.cgi num-buffers=1000 ! multipartdemux ! jpegdec ! videorate ! video/x-raw-yuv,framerate=10/1 ! ffmpegcolorspace ! x264enc ! flvmux ! filesink location=dcs.flv

Hope it makes sense.

 

From: gstreamer-devel-bounces+hoyt6=[hidden email] [mailto:gstreamer-devel-bounces+hoyt6=[hidden email]] On Behalf Of Rafael Guerra
Sent: Monday, October 10, 2011 3:47 PM
To: 'Discussion of the development of and with GStreamer'
Subject: RE: D-Link DCS-930L

 

Try user guest and no password. The ip address is fine.

 

From: gstreamer-devel-bounces+rafael=[hidden email] [mailto:gstreamer-devel-bounces+rafael=[hidden email]] On Behalf Of Hoyt, David
Sent: Monday, October 10, 2011 6:13 PM
To: Discussion of the development of and with GStreamer
Subject: RE: D-Link DCS-930L

 

When I try it, the provided URL isn’t valid. From what I can tell, it should be: http://96.57.244.98/videostream.cgi

However, the provided username/password (admin/Supp0rt1) don’t seem to work and the camera is blocking streaming video. Perhaps you could setup the camera to stream anonymously? It’s hard to help if you can’t access the stream and see what’s going on. If that’s a problem, dump the video stream to a file and then attach it (if it’s tiny) or provide a public url where it can be accessed.

 

From: gstreamer-devel-bounces+hoyt6=[hidden email] [mailto:gstreamer-devel-bounces+hoyt6=[hidden email]] On Behalf Of Rafael Guerra
Sent: Monday, October 10, 2011 2:55 PM
To: 'Discussion of the development of and with GStreamer'
Subject: RE: D-Link DCS-930L

 

 

I am getting the following error :

 

Setting pipeline to PAUSED ...

Pipeline is PREROLLED ...

ERROR: from element /GstPipeline:pipeline0/GstSoupHTTPSrc:souphttpsrc0: Error parsing URL.

Additional debug info:

gstsouphttpsrc.c(1128): gst_soup_http_src_build_message (): /GstPipeline:pipeline0/GstSoupHTTPSrc:souphttpsrc0:

URL: dcs.flv

ERROR: pipeline doesn't want to preroll.

Setting pipeline to PAUSED ...

Setting pipeline to READY ...

Setting pipeline to NULL ...

Freeing pipeline ...

 

When trying to read from the camera using the following line :

 

gst-launch souphttpsrc location=http://admin:Supp0rt1@96.57.244.98/video/mjpg.cgi!multipartdemux!jpegdec!flvmux!filesink location=dcs.flv

 

Any help would be appreciated.

 

 

From: gstreamer-devel-bounces+rafael=[hidden email] [mailto:gstreamer-devel-bounces+rafael=[hidden email]] On Behalf Of android6011
Sent: Tuesday, October 04, 2011 9:45 PM
To: Discussion of the development of and with GStreamer
Subject: Re: D-Link DCS-930L

 

I actually have this camera and was playing with it and gstreamer last week. I hope what I am about to mention is not way over your head and helps give you a pointer as to where to start with this camera. As for starting with gstreamer, just keep reading through the mailing list and the docs on the main site

 

First thing is to narrow down the source of the video. I have yet to find an accessible audio stream but have not put to much time into looking. The video I found are

 

 

replace user,pass and the ip with yours.

 

the mjpg stream is what you are going to want to look at. Also the elements souphttpsrc, (most likely)multipartdemux,jpegdec and flvmux.

 

My problem has been that multipartdemux refuses to work because "Boundary not found in the multipart header" . I have looked at the stream and the boundary is:

 

--video boundary--

 

but specifying it still does not work which is where I was getting hung up. 

 

This pipeline does not work but just as a rough example

 

gst-launch souphttpsrc location=http://user:pass@192.168.1.15/video/mjpg.cgi ! multipartdemux ! jpegdec ! flvmux ! filesink location=dcs.flv

 

Again, this pipeline does not work but I believe it to be a step in the right direction. 

 

 

 

For those that may be able to help with the multipartdemux issue wget of the mjpg.cgi shows the following and this pipeline always fails with " Boundary not found in the multipart header" 

 

gst-launch souphttpsrc location=http://admin:@192.168.1.15/video/mjpg.cgi ! multipartdemux boundary="--video boundary--" ! jpegdec ! fakesink

 

 

 

Content-length: 45536

Date: 10-04-2011 07:41:20 PM IO_00000000_PT_000_000

Content-type: image/jpeg

 

(jpeg data)

 

--video boundary--

Content-length: 45607

Date: 10-04-2011 07:41:20 PM IO_00000000_PT_000_000^_Ú¯^[� ,�%Û¯      5�խ

Content-type: image/jpeg

 

(jpeg data)

 

etc..

 

-Ryan

 

On Thu, Sep 29, 2011 at 1:01 PM, Rafael Guerra <[hidden email]> wrote:

I have loaded gstreamer on to FreeBSD and I am looking to collect the video
from a video camera,
DCS-930L (D-Link) for example, and save it to a file that I would like to
play it back using an internet browser.
I am mostly interested in collecting and saving the file to a standard video
format (.FLV if possible)

Being new to gstreamer I am looking for some guidance as to how to start
and/or a sample program to start from.
I am an experienced programmer in C and C++ but a novice to gstreamer.

Rafael

_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

 


_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

RE: D-Link DCS-930L

dhoyt
In reply to this post by Rafael Guerra

You’ll need to do the calculations based on the framerate. At 10 FPS for 5 min., you’d get: 10 buffers/sec * 60 sec/min * 5 min = 3,000

But you’re dealing with a live source and the frames may not come out at an exact framerate. Play around with it till you get what you’re looking for. Alternatively, you could code this up and add a timer that sends EOS on the bus after 5 min.

 

From: gstreamer-devel-bounces+hoyt6=[hidden email] [mailto:gstreamer-devel-bounces+hoyt6=[hidden email]] On Behalf Of Rafael Guerra
Sent: Monday, October 10, 2011 6:39 PM
To: 'Discussion of the development of and with GStreamer'
Subject: RE: D-Link DCS-930L

 

Thank you. That seems to have work. It only runs for a limited time. How can I set it to record for 5 minutes. How many buffers do I need ?

 

 

From: gstreamer-devel-bounces+rafael=[hidden email] [mailto:gstreamer-devel-bounces+rafael=[hidden email]] On Behalf Of Hoyt, David
Sent: Monday, October 10, 2011 7:16 PM
To: Discussion of the development of and with GStreamer
Subject: RE: D-Link DCS-930L

 

The following worked for me and VLC was able to play it back:

gst-launch souphttpsrc location=http://guest:@96.57.244.98/videostream.cgi num-buffers=1000 ! multipartdemux ! jpegdec ! videorate ! video/x-raw-yuv,framerate=10/1 ! ffmpegcolorspace ! x264enc ! flvmux ! filesink location=dcs.flv

Hope it makes sense.

 

From: gstreamer-devel-bounces+hoyt6=[hidden email] [mailto:gstreamer-devel-bounces+hoyt6=[hidden email]] On Behalf Of Rafael Guerra
Sent: Monday, October 10, 2011 3:47 PM
To: 'Discussion of the development of and with GStreamer'
Subject: RE: D-Link DCS-930L

 

Try user guest and no password. The ip address is fine.

 

From: gstreamer-devel-bounces+rafael=[hidden email] [mailto:gstreamer-devel-bounces+rafael=[hidden email]] On Behalf Of Hoyt, David
Sent: Monday, October 10, 2011 6:13 PM
To: Discussion of the development of and with GStreamer
Subject: RE: D-Link DCS-930L

 

When I try it, the provided URL isn’t valid. From what I can tell, it should be: http://96.57.244.98/videostream.cgi

However, the provided username/password (admin/Supp0rt1) don’t seem to work and the camera is blocking streaming video. Perhaps you could setup the camera to stream anonymously? It’s hard to help if you can’t access the stream and see what’s going on. If that’s a problem, dump the video stream to a file and then attach it (if it’s tiny) or provide a public url where it can be accessed.

 

From: gstreamer-devel-bounces+hoyt6=[hidden email] [mailto:gstreamer-devel-bounces+hoyt6=[hidden email]] On Behalf Of Rafael Guerra
Sent: Monday, October 10, 2011 2:55 PM
To: 'Discussion of the development of and with GStreamer'
Subject: RE: D-Link DCS-930L

 

 

I am getting the following error :

 

Setting pipeline to PAUSED ...

Pipeline is PREROLLED ...

ERROR: from element /GstPipeline:pipeline0/GstSoupHTTPSrc:souphttpsrc0: Error parsing URL.

Additional debug info:

gstsouphttpsrc.c(1128): gst_soup_http_src_build_message (): /GstPipeline:pipeline0/GstSoupHTTPSrc:souphttpsrc0:

URL: dcs.flv

ERROR: pipeline doesn't want to preroll.

Setting pipeline to PAUSED ...

Setting pipeline to READY ...

Setting pipeline to NULL ...

Freeing pipeline ...

 

When trying to read from the camera using the following line :

 

gst-launch souphttpsrc location=http://admin:Supp0rt1@96.57.244.98/video/mjpg.cgi!multipartdemux!jpegdec!flvmux!filesink location=dcs.flv

 

Any help would be appreciated.

 

 

From: gstreamer-devel-bounces+rafael=[hidden email] [mailto:gstreamer-devel-bounces+rafael=[hidden email]] On Behalf Of android6011
Sent: Tuesday, October 04, 2011 9:45 PM
To: Discussion of the development of and with GStreamer
Subject: Re: D-Link DCS-930L

 

I actually have this camera and was playing with it and gstreamer last week. I hope what I am about to mention is not way over your head and helps give you a pointer as to where to start with this camera. As for starting with gstreamer, just keep reading through the mailing list and the docs on the main site

 

First thing is to narrow down the source of the video. I have yet to find an accessible audio stream but have not put to much time into looking. The video I found are

 

 

replace user,pass and the ip with yours.

 

the mjpg stream is what you are going to want to look at. Also the elements souphttpsrc, (most likely)multipartdemux,jpegdec and flvmux.

 

My problem has been that multipartdemux refuses to work because "Boundary not found in the multipart header" . I have looked at the stream and the boundary is:

 

--video boundary--

 

but specifying it still does not work which is where I was getting hung up. 

 

This pipeline does not work but just as a rough example

 

gst-launch souphttpsrc location=http://user:pass@192.168.1.15/video/mjpg.cgi ! multipartdemux ! jpegdec ! flvmux ! filesink location=dcs.flv

 

Again, this pipeline does not work but I believe it to be a step in the right direction. 

 

 

 

For those that may be able to help with the multipartdemux issue wget of the mjpg.cgi shows the following and this pipeline always fails with " Boundary not found in the multipart header" 

 

gst-launch souphttpsrc location=http://admin:@192.168.1.15/video/mjpg.cgi ! multipartdemux boundary="--video boundary--" ! jpegdec ! fakesink

 

 

 

Content-length: 45536

Date: 10-04-2011 07:41:20 PM IO_00000000_PT_000_000

Content-type: image/jpeg

 

(jpeg data)

 

--video boundary--

Content-length: 45607

Date: 10-04-2011 07:41:20 PM IO_00000000_PT_000_000^_Ú¯^[� ,�%Û¯      5�խ

Content-type: image/jpeg

 

(jpeg data)

 

etc..

 

-Ryan

 

On Thu, Sep 29, 2011 at 1:01 PM, Rafael Guerra <[hidden email]> wrote:

I have loaded gstreamer on to FreeBSD and I am looking to collect the video
from a video camera,
DCS-930L (D-Link) for example, and save it to a file that I would like to
play it back using an internet browser.
I am mostly interested in collecting and saving the file to a standard video
format (.FLV if possible)

Being new to gstreamer I am looking for some guidance as to how to start
and/or a sample program to start from.
I am an experienced programmer in C and C++ but a novice to gstreamer.

Rafael

_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

 


_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

RE: D-Link DCS-930L

dhoyt
In reply to this post by Rafael Guerra

The two modes should have nothing to do with it. I think the camera manufacturer only provides those 2 because IE doesn’t support playing back motion jpeg directly in the browser. So it provides an active-x control for watching the video. As for the colors being off, that could be due to colorspace conversions and/or the h2.64 encoding with x264enc. Look around for documentation on those elements and how to tweak them for what you want. If you want essentially a lossless file type (that is, with zero colorspace conversions and zero additional bit manipulation beyond what the camera is streaming the video out on), just stick a filesink on the end. e.g.:

gst-launch souphttpsrc location=http://guest:@96.57.244.98/videostream.cgi num-buffers=1000 ! filesink location=dcs.mjpg

To play it back, do something like:

gst-launch filesrc location=dcs.mjpg ! multipartdemux ! jpegdec ! ffmpegcolorspace ! videorate ! video/x-raw-yuv,framerate=10/1 ! autovideosink

I just tried both those and everything looked like it worked correctly.

 

From: gstreamer-devel-bounces+hoyt6=[hidden email] [mailto:gstreamer-devel-bounces+hoyt6=[hidden email]] On Behalf Of Rafael Guerra
Sent: Monday, October 10, 2011 7:09 PM
To: 'Discussion of the development of and with GStreamer'
Subject: RE: D-Link DCS-930L

 

It look like it recorded but only a black screen. The video actually is not totally black even at night. It looks like the setting are not quite right. If

You look at the video through the camera interface it doesn’t actually get the right image.

 

There are two modes of login in, one for firefox and another IE,  I wonder if this is the issue ?

 

From: gstreamer-devel-bounces+rafael=[hidden email] [mailto:gstreamer-devel-bounces+rafael=[hidden email]] On Behalf Of Hoyt, David
Sent: Monday, October 10, 2011 7:16 PM
To: Discussion of the development of and with GStreamer
Subject: RE: D-Link DCS-930L

 

The following worked for me and VLC was able to play it back:

gst-launch souphttpsrc location=http://guest:@96.57.244.98/videostream.cgi num-buffers=1000 ! multipartdemux ! jpegdec ! videorate ! video/x-raw-yuv,framerate=10/1 ! ffmpegcolorspace ! x264enc ! flvmux ! filesink location=dcs.flv

Hope it makes sense.

 

From: gstreamer-devel-bounces+hoyt6=[hidden email] [mailto:gstreamer-devel-bounces+hoyt6=[hidden email]] On Behalf Of Rafael Guerra
Sent: Monday, October 10, 2011 3:47 PM
To: 'Discussion of the development of and with GStreamer'
Subject: RE: D-Link DCS-930L

 

Try user guest and no password. The ip address is fine.

 

From: gstreamer-devel-bounces+rafael=[hidden email] [mailto:gstreamer-devel-bounces+rafael=[hidden email]] On Behalf Of Hoyt, David
Sent: Monday, October 10, 2011 6:13 PM
To: Discussion of the development of and with GStreamer
Subject: RE: D-Link DCS-930L

 

When I try it, the provided URL isn’t valid. From what I can tell, it should be: http://96.57.244.98/videostream.cgi

However, the provided username/password (admin/Supp0rt1) don’t seem to work and the camera is blocking streaming video. Perhaps you could setup the camera to stream anonymously? It’s hard to help if you can’t access the stream and see what’s going on. If that’s a problem, dump the video stream to a file and then attach it (if it’s tiny) or provide a public url where it can be accessed.

 

From: gstreamer-devel-bounces+hoyt6=[hidden email] [mailto:gstreamer-devel-bounces+hoyt6=[hidden email]] On Behalf Of Rafael Guerra
Sent: Monday, October 10, 2011 2:55 PM
To: 'Discussion of the development of and with GStreamer'
Subject: RE: D-Link DCS-930L

 

 

I am getting the following error :

 

Setting pipeline to PAUSED ...

Pipeline is PREROLLED ...

ERROR: from element /GstPipeline:pipeline0/GstSoupHTTPSrc:souphttpsrc0: Error parsing URL.

Additional debug info:

gstsouphttpsrc.c(1128): gst_soup_http_src_build_message (): /GstPipeline:pipeline0/GstSoupHTTPSrc:souphttpsrc0:

URL: dcs.flv

ERROR: pipeline doesn't want to preroll.

Setting pipeline to PAUSED ...

Setting pipeline to READY ...

Setting pipeline to NULL ...

Freeing pipeline ...

 

When trying to read from the camera using the following line :

 

gst-launch souphttpsrc location=http://admin:Supp0rt1@96.57.244.98/video/mjpg.cgi!multipartdemux!jpegdec!flvmux!filesink location=dcs.flv

 

Any help would be appreciated.

 

 

From: gstreamer-devel-bounces+rafael=[hidden email] [mailto:gstreamer-devel-bounces+rafael=[hidden email]] On Behalf Of android6011
Sent: Tuesday, October 04, 2011 9:45 PM
To: Discussion of the development of and with GStreamer
Subject: Re: D-Link DCS-930L

 

I actually have this camera and was playing with it and gstreamer last week. I hope what I am about to mention is not way over your head and helps give you a pointer as to where to start with this camera. As for starting with gstreamer, just keep reading through the mailing list and the docs on the main site

 

First thing is to narrow down the source of the video. I have yet to find an accessible audio stream but have not put to much time into looking. The video I found are

 

 

replace user,pass and the ip with yours.

 

the mjpg stream is what you are going to want to look at. Also the elements souphttpsrc, (most likely)multipartdemux,jpegdec and flvmux.

 

My problem has been that multipartdemux refuses to work because "Boundary not found in the multipart header" . I have looked at the stream and the boundary is:

 

--video boundary--

 

but specifying it still does not work which is where I was getting hung up. 

 

This pipeline does not work but just as a rough example

 

gst-launch souphttpsrc location=http://user:pass@192.168.1.15/video/mjpg.cgi ! multipartdemux ! jpegdec ! flvmux ! filesink location=dcs.flv

 

Again, this pipeline does not work but I believe it to be a step in the right direction. 

 

 

 

For those that may be able to help with the multipartdemux issue wget of the mjpg.cgi shows the following and this pipeline always fails with " Boundary not found in the multipart header" 

 

gst-launch souphttpsrc location=http://admin:@192.168.1.15/video/mjpg.cgi ! multipartdemux boundary="--video boundary--" ! jpegdec ! fakesink

 

 

 

Content-length: 45536

Date: 10-04-2011 07:41:20 PM IO_00000000_PT_000_000

Content-type: image/jpeg

 

(jpeg data)

 

--video boundary--

Content-length: 45607

Date: 10-04-2011 07:41:20 PM IO_00000000_PT_000_000^_Ú¯^[� ,�%Û¯      5�խ

Content-type: image/jpeg

 

(jpeg data)

 

etc..

 

-Ryan

 

On Thu, Sep 29, 2011 at 1:01 PM, Rafael Guerra <[hidden email]> wrote:

I have loaded gstreamer on to FreeBSD and I am looking to collect the video
from a video camera,
DCS-930L (D-Link) for example, and save it to a file that I would like to
play it back using an internet browser.
I am mostly interested in collecting and saving the file to a standard video
format (.FLV if possible)

Being new to gstreamer I am looking for some guidance as to how to start
and/or a sample program to start from.
I am an experienced programmer in C and C++ but a novice to gstreamer.

Rafael

_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

 


_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

RE: D-Link DCS-930L

Rafael Guerra

Thank you for your help. I have it working, just a couple of details to work out.

 

From: gstreamer-devel-bounces+rafael=[hidden email] [mailto:gstreamer-devel-bounces+rafael=[hidden email]] On Behalf Of Hoyt, David
Sent: Monday, October 10, 2011 10:48 PM
To: Discussion of the development of and with GStreamer
Subject: RE: D-Link DCS-930L

 

The two modes should have nothing to do with it. I think the camera manufacturer only provides those 2 because IE doesn’t support playing back motion jpeg directly in the browser. So it provides an active-x control for watching the video. As for the colors being off, that could be due to colorspace conversions and/or the h2.64 encoding with x264enc. Look around for documentation on those elements and how to tweak them for what you want. If you want essentially a lossless file type (that is, with zero colorspace conversions and zero additional bit manipulation beyond what the camera is streaming the video out on), just stick a filesink on the end. e.g.:

gst-launch souphttpsrc location=http://guest:@96.57.244.98/videostream.cgi num-buffers=1000 ! filesink location=dcs.mjpg

To play it back, do something like:

gst-launch filesrc location=dcs.mjpg ! multipartdemux ! jpegdec ! ffmpegcolorspace ! videorate ! video/x-raw-yuv,framerate=10/1 ! autovideosink

I just tried both those and everything looked like it worked correctly.

 

From: gstreamer-devel-bounces+hoyt6=[hidden email] [mailto:gstreamer-devel-bounces+hoyt6=[hidden email]] On Behalf Of Rafael Guerra
Sent: Monday, October 10, 2011 7:09 PM
To: 'Discussion of the development of and with GStreamer'
Subject: RE: D-Link DCS-930L

 

It look like it recorded but only a black screen. The video actually is not totally black even at night. It looks like the setting are not quite right. If

You look at the video through the camera interface it doesn’t actually get the right image.

 

There are two modes of login in, one for firefox and another IE,  I wonder if this is the issue ?

 

From: gstreamer-devel-bounces+rafael=[hidden email] [mailto:gstreamer-devel-bounces+rafael=[hidden email]] On Behalf Of Hoyt, David
Sent: Monday, October 10, 2011 7:16 PM
To: Discussion of the development of and with GStreamer
Subject: RE: D-Link DCS-930L

 

The following worked for me and VLC was able to play it back:

gst-launch souphttpsrc location=http://guest:@96.57.244.98/videostream.cgi num-buffers=1000 ! multipartdemux ! jpegdec ! videorate ! video/x-raw-yuv,framerate=10/1 ! ffmpegcolorspace ! x264enc ! flvmux ! filesink location=dcs.flv

Hope it makes sense.

 

From: gstreamer-devel-bounces+hoyt6=[hidden email] [mailto:gstreamer-devel-bounces+hoyt6=[hidden email]] On Behalf Of Rafael Guerra
Sent: Monday, October 10, 2011 3:47 PM
To: 'Discussion of the development of and with GStreamer'
Subject: RE: D-Link DCS-930L

 

Try user guest and no password. The ip address is fine.

 

From: gstreamer-devel-bounces+rafael=[hidden email] [mailto:gstreamer-devel-bounces+rafael=[hidden email]] On Behalf Of Hoyt, David
Sent: Monday, October 10, 2011 6:13 PM
To: Discussion of the development of and with GStreamer
Subject: RE: D-Link DCS-930L

 

When I try it, the provided URL isn’t valid. From what I can tell, it should be: http://96.57.244.98/videostream.cgi

However, the provided username/password (admin/Supp0rt1) don’t seem to work and the camera is blocking streaming video. Perhaps you could setup the camera to stream anonymously? It’s hard to help if you can’t access the stream and see what’s going on. If that’s a problem, dump the video stream to a file and then attach it (if it’s tiny) or provide a public url where it can be accessed.

 

From: gstreamer-devel-bounces+hoyt6=[hidden email] [mailto:gstreamer-devel-bounces+hoyt6=[hidden email]] On Behalf Of Rafael Guerra
Sent: Monday, October 10, 2011 2:55 PM
To: 'Discussion of the development of and with GStreamer'
Subject: RE: D-Link DCS-930L

 

 

I am getting the following error :

 

Setting pipeline to PAUSED ...

Pipeline is PREROLLED ...

ERROR: from element /GstPipeline:pipeline0/GstSoupHTTPSrc:souphttpsrc0: Error parsing URL.

Additional debug info:

gstsouphttpsrc.c(1128): gst_soup_http_src_build_message (): /GstPipeline:pipeline0/GstSoupHTTPSrc:souphttpsrc0:

URL: dcs.flv

ERROR: pipeline doesn't want to preroll.

Setting pipeline to PAUSED ...

Setting pipeline to READY ...

Setting pipeline to NULL ...

Freeing pipeline ...

 

When trying to read from the camera using the following line :

 

gst-launch souphttpsrc location=http://admin:Supp0rt1@96.57.244.98/video/mjpg.cgi!multipartdemux!jpegdec!flvmux!filesink location=dcs.flv

 

Any help would be appreciated.

 

 

From: gstreamer-devel-bounces+rafael=[hidden email] [mailto:gstreamer-devel-bounces+rafael=[hidden email]] On Behalf Of android6011
Sent: Tuesday, October 04, 2011 9:45 PM
To: Discussion of the development of and with GStreamer
Subject: Re: D-Link DCS-930L

 

I actually have this camera and was playing with it and gstreamer last week. I hope what I am about to mention is not way over your head and helps give you a pointer as to where to start with this camera. As for starting with gstreamer, just keep reading through the mailing list and the docs on the main site

 

First thing is to narrow down the source of the video. I have yet to find an accessible audio stream but have not put to much time into looking. The video I found are

 

 

replace user,pass and the ip with yours.

 

the mjpg stream is what you are going to want to look at. Also the elements souphttpsrc, (most likely)multipartdemux,jpegdec and flvmux.

 

My problem has been that multipartdemux refuses to work because "Boundary not found in the multipart header" . I have looked at the stream and the boundary is:

 

--video boundary--

 

but specifying it still does not work which is where I was getting hung up. 

 

This pipeline does not work but just as a rough example

 

gst-launch souphttpsrc location=http://user:pass@192.168.1.15/video/mjpg.cgi ! multipartdemux ! jpegdec ! flvmux ! filesink location=dcs.flv

 

Again, this pipeline does not work but I believe it to be a step in the right direction. 

 

 

 

For those that may be able to help with the multipartdemux issue wget of the mjpg.cgi shows the following and this pipeline always fails with " Boundary not found in the multipart header" 

 

gst-launch souphttpsrc location=http://admin:@192.168.1.15/video/mjpg.cgi ! multipartdemux boundary="--video boundary--" ! jpegdec ! fakesink

 

 

 

Content-length: 45536

Date: 10-04-2011 07:41:20 PM IO_00000000_PT_000_000

Content-type: image/jpeg

 

(jpeg data)

 

--video boundary--

Content-length: 45607

Date: 10-04-2011 07:41:20 PM IO_00000000_PT_000_000^_Ú¯^[� ,�%Û¯      5�խ

Content-type: image/jpeg

 

(jpeg data)

 

etc..

 

-Ryan

 

On Thu, Sep 29, 2011 at 1:01 PM, Rafael Guerra <[hidden email]> wrote:

I have loaded gstreamer on to FreeBSD and I am looking to collect the video
from a video camera,
DCS-930L (D-Link) for example, and save it to a file that I would like to
play it back using an internet browser.
I am mostly interested in collecting and saving the file to a standard video
format (.FLV if possible)

Being new to gstreamer I am looking for some guidance as to how to start
and/or a sample program to start from.
I am an experienced programmer in C and C++ but a novice to gstreamer.

Rafael

_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

 


_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel