Streaming h264 video without encode
laggc
laggc at hotmail.com
Tue Jan 29 09:34:08 PST 2013
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.
More information about the gstreamer-devel
mailing list