Verify if <br><br>gst-launch filesrc location=./sample.264 ! ha264parse ! mpegtsmux name=mux !<br>
rtpmp2tpay name=pay0 pt=33 ! fakesink -v works ?<br><br>best<br>Kapil<br><br><div class="gmail_quote">On Sat, Jun 12, 2010 at 6:27 AM, G.B <span dir="ltr"><<a href="mailto:gbzbz@yahoo.com">gbzbz@yahoo.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
I used the test-video.c and modified only the<br>
gst_rtsp_media_factory_set_launch() pipeline<br>
<br>
1. filesrc location=./sample.264 ! rtph264pay name=pay0 pt=96<br>
config-interval=5,<br>
I can use VLC to play both sample.264 file and the network stream.<br>
<br>
2. filesrc location=./sample.264 ! ha264parse ! mpegtsmux name=mux !<br>
rtpmp2tpay<br>
I got the following with debug-level=5.<br>
<br>
0:00:03.041308593 1865 0x8f7e0 DEBUG mpegtsmux<br>
mpegtsmux.c:654:mpegtsmux_collected:<mux> Pads collected<br>
0:00:03.045009778 1865 0x8f7e0 DEBUG mpegtsmux<br>
mpegtsmux.c:395:mpegtsmux_create_stream:<mux:sink_64> Creating H264 stream<br>
with PID 0x0040<br>
0:00:03.048042667 1865 0x8f7e0 DEBUG mpegtsmux<br>
mpegtsmux.c:610:mpegtsmux_choose_best_stream:<mux> Pulled buffer with ts<br>
0:00:00.000000000 (uncorrected ts 0:00:00.000000000 0) for PID 0x0040<br>
0:00:03.054719037 1865 0x8f7e0 DEBUG mpegtsmux<br>
mpegtsmux.c:690:mpegtsmux_collected:<mux:sink_64> Use stream (pid=64) from<br>
pad as PCR for program (prog_id = 0)<br>
0:00:03.057270926 1865 0x8f7e0 DEBUG mpegtsmux<br>
mpegtsmux.c:700:mpegtsmux_collected:<mux> delta: 0<br>
0:00:03.059746704 1865 0x8f7e0 DEBUG mpegtsmux<br>
mpegtsmux.c:703:mpegtsmux_collected:<mux:sink_64> Chose stream for output<br>
(PID: 0x0040)<br>
0:00:03.062210334 1865 0x8f7e0 DEBUG mpegtsmux<br>
mpegtsmux.c:708:mpegtsmux_collected:<mux> Buffer has TS 0:00:00.000000000<br>
pts 0<br>
0:00:03.064750149 1865 0x8f7e0 LOG mpegtsmux<br>
mpegtsmux.c:917:new_packet_cb:<mux> Outputting a packet of length 188<br>
0:00:03.067370297 1865 0x8f7e0 DEBUG mpegtsmux<br>
mpegtsmux.c:945:new_packet_cb:<mux> marking as non-delta unit<br>
0:00:03.075833186 1865 0x8f7e0 LOG mpegtsmux<br>
mpegtsmux.c:917:new_packet_cb:<mux> Outputting a packet of length 188<br>
0:00:03.079896482 1865 0x8f7e0 LOG mpegtsmux<br>
mpegtsmux.c:942:new_packet_cb:<mux> marking as delta unit<br>
0:00:03.087270297 1865 0x8f7e0 LOG mpegtsmux<br>
mpegtsmux.c:917:new_packet_cb:<mux> Outputting a packet of length 188<br>
0:00:03.089882852 1865 0x8f7e0 LOG mpegtsmux<br>
mpegtsmux.c:942:new_packet_cb:<mux> marking as delta unit<br>
0:00:03.093226223 1865 0x8f7e0 LOG mpegtsmux<br>
mpegtsmux.c:917:new_packet_cb:<mux> Outputting a packet of length 188<br>
0:00:03.095671778 1865 0x8f7e0 LOG mpegtsmux<br>
mpegtsmux.c:942:new_packet_cb:<mux> marking as delta unit<br>
0:00:03.099085408 1865 0x8f7e0 LOG mpegtsmux<br>
mpegtsmux.c:917:new_packet_cb:<mux> Outputting a packet of length 188<br>
0:00:03.101541223 1865 0x8f7e0 LOG mpegtsmux<br>
mpegtsmux.c:942:new_packet_cb:<mux> marking as delta unit<br>
0:00:03.105040112 1865 0x8f7e0 LOG mpegtsmux<br>
mpegtsmux.c:917:new_packet_cb:<mux> Outputting a packet of length 188<br>
0:00:03.107483297 1865 0x8f7e0 LOG mpegtsmux<br>
mpegtsmux.c:942:new_packet_cb:<mux> marking as delta unit<br>
0:00:03.110989334 1865 0x8f7e0 LOG mpegtsmux<br>
mpegtsmux.c:917:new_packet_cb:<mux> Outputting a packet of length 188<br>
0:00:03.113445297 1865 0x8f7e0 LOG mpegtsmux<br>
mpegtsmux.c:942:new_packet_cb:<mux> marking as delta unit<br>
0:00:03.116822000 1865 0x8f7e0 LOG mpegtsmux<br>
mpegtsmux.c:917:new_packet_cb:<mux> Outputting a packet of length 188<br>
0:00:03.119385852 1865 0x8f7e0 LOG mpegtsmux<br>
mpegtsmux.c:942:new_packet_cb:<mux> marking as delta unit<br>
0:00:03.124957297 1865 0x8f7e0 LOG mpegtsmux<br>
mpegtsmux.c:917:new_packet_cb:<mux> Outputting a packet of length 188<br>
0:00:03.127455075 1865 0x8f7e0 LOG mpegtsmux<br>
mpegtsmux.c:942:new_packet_cb:<mux> marking as delta unit<br>
0:00:03.130274074 1865 0x8f7e0 DEBUG mpegtsmux<br>
mpegtsmux.c:718:mpegtsmux_collected:<mux> Failed to write data packet<br>
0:00:03.133546778 1865 0x8f7e0 WARN basesrc<br>
gstbasesrc.c:2543:gst_base_src_loop:<filesrc0> error: Internal data flow<br>
error.<br>
0:00:03.135924778 1865 0x8f7e0 WARN basesrc<br>
gstbasesrc.c:2543:gst_base_src_loop:<filesrc0> error: streaming task paused,<br>
reason not-linked (-1)<br>
0:00:03.140985556 1865 0x89788 WARN rtspmedia<br>
rtsp-media.c:1260:default_handle_message: 0x8b840: got error Internal data<br>
flow error. (gstbasesrc.c(2543): gst_base_src_loop ():<br>
/GstPipeline:media-pipeline/GstBin:bin0/GstFileSrc:filesrc0:<br>
streaming task paused, reason not-linked (-1))<br>
0:00:03.144155223 1865 0x11008 WARN rtspmedia<br>
rtsp-media.c:1483:gst_rtsp_media_prepare: failed to preroll pipeline<br>
<br>
Thanks for your help!<br>
<font color="#888888">--<br>
View this message in context: <a href="http://gstreamer-devel.966125.n4.nabble.com/gst-rtsp-server-and-flutsmux-or-mpegtsmux-tp2251061p2252451.html" target="_blank">http://gstreamer-devel.966125.n4.nabble.com/gst-rtsp-server-and-flutsmux-or-mpegtsmux-tp2251061p2252451.html</a><br>
Sent from the GStreamer-devel mailing list archive at Nabble.com.<br>
</font><div><div></div><div class="h5"><br>
------------------------------------------------------------------------------<br>
ThinkGeek and WIRED's GeekDad team up for the Ultimate<br>
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the<br>
lucky parental unit. See the prize list and enter to win:<br>
<a href="http://p.sf.net/sfu/thinkgeek-promo" target="_blank">http://p.sf.net/sfu/thinkgeek-promo</a><br>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.sourceforge.net">gstreamer-devel@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/gstreamer-devel</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br><a href="http://www.mediamagictechnologies.com">www.mediamagictechnologies.com</a> (Gstreamer, ffmpeg, Red5, Streaming)<br>twitter handle: @gst_kaps<br><a href="http://www.linkedin.com/in/kapilagrawal">http://www.linkedin.com/in/kapilagrawal</a><br>