STREAMING, CONVERT H264

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

STREAMING, CONVERT H264

Pedro.henrique
Is Posible send a video stream of the DNS and convert to H264 in the same pipeline?
the image format of the camera is in MJPEG

I tried something like this

gst-launch souphttpsrc location = "192.9.0.154:9545: XCAM: 2"! jpecdec! ffmpegcolorspace! h264dec! autovideosink

something like, if someone can help me, I'll be very grateful!
Reply | Threaded
Open this post in threaded view
|

Re: STREAMING, CONVERT H264

Pedro.henrique
Someone Please ;)
Reply | Threaded
Open this post in threaded view
|

Re: STREAMING, CONVERT H264

Pedro.henrique
This post was updated on .
In reply to this post by Pedro.henrique
i tried also

gst-launch location="http://<CAM> ! multipartdemux ! image/jpeg, width=640, height=480, framerate=25/1 ! jpegdec ! x264enc ! filesink location=c:/teste.h264

the error

ERROR: From element / GstPipeline:pipeline0/GstX264Enc:x2640: Could not encode stream.
Additional debug  info:
..\..\..\..\..\Source\gst-plugins-ugly\ext\x264\gstx264enc.c(737) : gst_x264_enc_header_buf (): /GstPipeline:pipeline0/GstX264Enc:x264enc0:
Unexpected x264 header.
ERROR: pipeline doens't want to preroll.
Seeting Pipeline to Null . . .
Freeing Pipeline . . .

Can help me?

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

Re: STREAMING, CONVERT H264

Pedro.henrique
In reply to this post by Pedro.henrique
I Tried also
gst-launch souphttpsrc location=”http://<CAM>" ! multipartdemux ! imagen/jpegdec, width=640, height=480, framerate=25/1 ! jpegdec ! x264enc ! fakesink

also

gst-launch souphttpsrc location=”http://<CAM>" ! mpegtsdemux name=dmx dmx. ! queue2 max-size-buffers=0 max-size-time=0 max-size-bytes=0 ! ffdec_h264 ! autovideosink


________________________________________________________________________

I Tried also
gst-launch souphttpsrc location=”http://<CAM>" ! multipartdemux ! imagen/jpegdec, width=640, height=480, framerate=25/1 ! jpegdec ! x264enc ! fakesink

also

gst-launch souphttpsrc location=”http://<CAM>" ! mpegtsmux ! ffdec_h264 ! ffmpegcolorspace ! fakesink

____________________________________________________________

gst-launch souphttpsrc location=”http://<CAM>" ! mpegtsmux ! ffdec_h264 ! ffmpegcolorspace ! fakesink

_________________________________________________

gst-launch souphttpsrc location=”<CAM>" ! mpegtsmux ! queue ! ffdec_h264 ! queue ! ffmpegcolorspace ! queue ! autovideosink

______________________________________________

Seeting pipeline to Paused . . .
Pipeline is PREROLLING . . .

but video window don't open


:S