Streaming h264 video without encode

MaiaSec listas at maiasec.com
Tue Jan 29 09:57:43 PST 2013


Hi,

you need a demuxer like qtdemux.

gst-launch-0.10 filesrc location=hobbit.mp4 ! qtdemux !  h264parse !
rtph264pay ! udpsink 127.0.0.1 port=5000*

cheers

El mar, 29-01-2013 a las 09:34 -0800, laggc escribió:

> Hi,
> 
> first of all, i would like to apologize for my english.
> 
> I'm trying streaming a H264 video.
> 
> Now, i use this pipeline:
> 
> gst-launch-0.10 -v  filesrc location=hobbit.mp4 ! decodebin name=dec  dec. !
> queue2 ! x264enc  ! rtph264pay ! udpsink host=127.0.0.1 port=5000 dec. !
> queue2 ! audioresample ! audioconvert ! alawenc ! rtppcmapay  ! udpsink
> host=127.0.0.1 port=5002
> 
> But my machine is not too powerful, and I think it would be best to first
> encode and then send the video directly, but can not find the correct
> pipeline. 
> 
> Could anyone help?
> 
> 
> I tried the following pipelines, I've seen here:
> http://gstreamer-devel.966125.n4.nabble.com/Using-gstreamer-to-transmit-H264-file-over-RTP-td2236364.html
> 
> 
> laggc at UbuntuAir:~/Escritorio$ *gst-launch-0.10 filesrc location=hobbit.mp4 !
> h264parse ! rtph264pay ! udpsink 127.0.0.1 port=5000*
> Estableciendo el conducto a PAUSA …
> El conducto está PREPARÁNDOSE …
> El conducto está PREPARADO …
> Estableciendo el conducto a REPRODUCIENDO …
> New clock: GstSystemClock
> ERROR: del elemento /GstPipeline:pipeline0/GstH264Parse:h264parse0:
> GStreamer encontró un error general de flujo.
> Información adicional de depuración:
> gstbaseparse.c(2890): gst_base_parse_loop ():
> /GstPipeline:pipeline0/GstH264Parse:h264parse0:
> streaming stopped, reason not-negotiated
> Execution ended after 2060078400 ns.
> Estableciendo el conducto a PAUSA …
> Estableciando el conducto a PREPARADO …
> Estableciendo el conducto a NULL …
> Liberando la tubería…
> 
> 
> 
> 
> 
> laggc at UbuntuAir:~/Escritorio$ *gst-launch-0.10 filesrc location=hobbit.mp4 !
> h264parse ! rtph264pay ! udpsink 127.0.0.1 port=5000*
> Estableciendo el conducto a PAUSA …
> El conducto está PREPARÁNDOSE …
> El conducto está PREPARADO …
> Estableciendo el conducto a REPRODUCIENDO …
> New clock: GstSystemClock
> ERROR: del elemento /GstPipeline:pipeline0/GstH264Parse:h264parse0:
> GStreamer encontró un error general de flujo.
> Información adicional de depuración:
> gstbaseparse.c(2890): gst_base_parse_loop ():
> /GstPipeline:pipeline0/GstH264Parse:h264parse0:
> streaming stopped, reason not-negotiated
> Execution ended after 2060078400 ns.
> Estableciendo el conducto a PAUSA …
> Estableciando el conducto a PREPARADO …
> Estableciendo el conducto a NULL …
> Liberando la tubería…
> 
> 
> 
> 
> 
> --
> View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Streaming-h264-video-without-encode-tp4658215.html
> Sent from the GStreamer-devel mailing list archive at Nabble.com.
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20130129/80958ae2/attachment-0001.html>


More information about the gstreamer-devel mailing list