<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/4.4.4">
</HEAD>
<BODY>
Hi,<BR>
<BR>
you need a demuxer like qtdemux.<BR>
<BR>
gst-launch-0.10 filesrc location=hobbit.mp4 ! qtdemux ! h264parse ! rtph264pay ! udpsink 127.0.0.1 port=5000*<BR>
<BR>
cheers<BR>
<BR>
El mar, 29-01-2013 a las 09:34 -0800, laggc escribió:
<BLOCKQUOTE TYPE=CITE>
<PRE>
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:
<A HREF="http://gstreamer-devel.966125.n4.nabble.com/Using-gstreamer-to-transmit-H264-file-over-RTP-td2236364.html">http://gstreamer-devel.966125.n4.nabble.com/Using-gstreamer-to-transmit-H264-file-over-RTP-td2236364.html</A>
laggc@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@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: <A HREF="http://gstreamer-devel.966125.n4.nabble.com/Streaming-h264-video-without-encode-tp4658215.html">http://gstreamer-devel.966125.n4.nabble.com/Streaming-h264-video-without-encode-tp4658215.html</A>
Sent from the GStreamer-devel mailing list archive at Nabble.com.
_______________________________________________
gstreamer-devel mailing list
<A HREF="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</A>
<A HREF="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</A>
</PRE>
</BLOCKQUOTE>
<BR>
</BODY>
</HTML>