JPEG, x264enc -> UDP

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

JPEG, x264enc -> UDP

Pedro.henrique
Hi All,

Can someone help me how to do a Stream in h264?
I am capturing images from a camera in MJPEG, MJPEG then need to convert to h264 and send to the client.

Server

gst-launch souphttpsrc location ="http://teste.dvrdns.org:999/CAM:2" ! jpegdec ! x264dec ! udpsink host = . . . port = . . .

Unexpected x264 header

gst-launch souphttpsrc location ="http://teste.dvrdns.org:999/CAM:2" ! jpegdec ! x264dec ! rtph264pay ! udpsink host = . . . port = . . .

Unexpected x264 header


How can i do to send and receive this stream ?

Thanks !
Reply | Threaded
Open this post in threaded view
|

Re: JPEG, x264enc -> UDP

Sandeep Prakash
Hi Pedro,

Pedro.henrique wrote
gst-launch souphttpsrc location ="http://teste.dvrdns.org:999/CAM:2" ! jpegdec ! x264dec ! udpsink host = . . . port = . . .

Unexpected x264 header
Pipeline is wrong. You need to use an x264enc and not a x264dec (Which is non existant FYI).
Your pipeline will not even link. Are you really trying out these pipelines?

Pedro.henrique wrote
gst-launch souphttpsrc location ="http://teste.dvrdns.org:999/CAM:2" ! jpegdec ! x264dec ! rtph264pay ! udpsink host = . . . port = . . .

Unexpected x264 header
Same here. Correct the pipeline.

Regards,
Sandeep Prakash
http://sandeepprakash.homeip.net
Reply | Threaded
Open this post in threaded view
|

Re: JPEG, x264enc -> UDP

sumit kumar-11
In reply to this post by Pedro.henrique
Hi,

Is the camera a webcam or digicam? n requirement continuous video or sequence of still images?

On Sat, Sep 25, 2010 at 4:26 AM, Pedro.henrique <[hidden email]> wrote:

Hi All,

Can someone help me how to do a Stream in h264?
I am capturing images from a camera in MJPEG, MJPEG then need to convert to
h264 and send to the client.

Server

gst-launch souphttpsrc location ="http://teste.dvrdns.org:999/CAM:2" !
jpegdec ! x264dec ! udpsink host = . . . port = . . .

Unexpected x264 header

gst-launch souphttpsrc location ="http://teste.dvrdns.org:999/CAM:2" !
jpegdec ! x264dec ! rtph264pay ! udpsink host = . . . port = . . .

Unexpected x264 header


How can i do to send and receive this stream ?

Thanks !

--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/JPEG-x264enc-UDP-tp2614089p2614089.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel


------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: JPEG, x264enc -> UDP

baillot
I have a similar need, is there any sample out there of how to compress a stream from images or could someone share one?

Yohan

On 10/7/10 11:17 AM, sumit kumar wrote:
Hi,

Is the camera a webcam or digicam? n requirement continuous video or sequence of still images?

On Sat, Sep 25, 2010 at 4:26 AM, Pedro.henrique <[hidden email]> wrote:

Hi All,

Can someone help me how to do a Stream in h264?
I am capturing images from a camera in MJPEG, MJPEG then need to convert to
h264 and send to the client.

Server

gst-launch souphttpsrc location ="http://teste.dvrdns.org:999/CAM:2" !
jpegdec ! x264dec ! udpsink host = . . . port = . . .

Unexpected x264 header

gst-launch souphttpsrc location ="http://teste.dvrdns.org:999/CAM:2" !
jpegdec ! x264dec ! rtph264pay ! udpsink host = . . . port = . . .

Unexpected x264 header


How can i do to send and receive this stream ?

Thanks !

--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/JPEG-x264enc-UDP-tp2614089p2614089.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel

------------------------------------------------------------------------------ Beautiful is writing same markup. Internet Explorer 9 supports standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3. Spend less time writing and rewriting code and more time creating great experiences on the web. Be a part of the beta today. http://p.sf.net/sfu/beautyoftheweb
_______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: JPEG, x264enc -> UDP

Sandeep Prakash
Hi,

Consider going thru the following link:
http://wiki.oz9aec.net/index.php/Gstreamer_Cheat_Sheet

It has many simple and complex examples of video capture from test sources to webcams.

Regards,
Sandeep Prakash