[gst-devel] gst-rtsp-server and flutsmux or mpegtsmux

Kapil Agrawal kapil.agl at gmail.com
Sat Jun 12 14:26:32 CEST 2010


Verify if

gst-launch filesrc location=./sample.264 ! ha264parse ! mpegtsmux name=mux !
rtpmp2tpay name=pay0 pt=33 ! fakesink -v works ?

best
Kapil

On Sat, Jun 12, 2010 at 6:27 AM, G.B <gbzbz at yahoo.com> wrote:

>
> I used the test-video.c and modified only the
> gst_rtsp_media_factory_set_launch() pipeline
>
> 1. filesrc location=./sample.264 ! rtph264pay name=pay0 pt=96
> config-interval=5,
> I can use VLC to play both sample.264 file and the network stream.
>
> 2. filesrc location=./sample.264 ! ha264parse ! mpegtsmux name=mux !
> rtpmp2tpay
> I got the following with debug-level=5.
>
> 0:00:03.041308593  1865    0x8f7e0 DEBUG              mpegtsmux
> mpegtsmux.c:654:mpegtsmux_collected:<mux> Pads collected
> 0:00:03.045009778  1865    0x8f7e0 DEBUG              mpegtsmux
> mpegtsmux.c:395:mpegtsmux_create_stream:<mux:sink_64> Creating H264 stream
> with PID 0x0040
> 0:00:03.048042667  1865    0x8f7e0 DEBUG              mpegtsmux
> mpegtsmux.c:610:mpegtsmux_choose_best_stream:<mux> Pulled buffer with ts
> 0:00:00.000000000 (uncorrected ts 0:00:00.000000000 0) for PID 0x0040
> 0:00:03.054719037  1865    0x8f7e0 DEBUG              mpegtsmux
> mpegtsmux.c:690:mpegtsmux_collected:<mux:sink_64> Use stream (pid=64) from
> pad as PCR for program (prog_id = 0)
> 0:00:03.057270926  1865    0x8f7e0 DEBUG              mpegtsmux
> mpegtsmux.c:700:mpegtsmux_collected:<mux> delta: 0
> 0:00:03.059746704  1865    0x8f7e0 DEBUG              mpegtsmux
> mpegtsmux.c:703:mpegtsmux_collected:<mux:sink_64> Chose stream for output
> (PID: 0x0040)
> 0:00:03.062210334  1865    0x8f7e0 DEBUG              mpegtsmux
> mpegtsmux.c:708:mpegtsmux_collected:<mux> Buffer has TS 0:00:00.000000000
> pts 0
> 0:00:03.064750149  1865    0x8f7e0 LOG                mpegtsmux
> mpegtsmux.c:917:new_packet_cb:<mux> Outputting a packet of length 188
> 0:00:03.067370297  1865    0x8f7e0 DEBUG              mpegtsmux
> mpegtsmux.c:945:new_packet_cb:<mux> marking as non-delta unit
> 0:00:03.075833186  1865    0x8f7e0 LOG                mpegtsmux
> mpegtsmux.c:917:new_packet_cb:<mux> Outputting a packet of length 188
> 0:00:03.079896482  1865    0x8f7e0 LOG                mpegtsmux
> mpegtsmux.c:942:new_packet_cb:<mux> marking as delta unit
> 0:00:03.087270297  1865    0x8f7e0 LOG                mpegtsmux
> mpegtsmux.c:917:new_packet_cb:<mux> Outputting a packet of length 188
> 0:00:03.089882852  1865    0x8f7e0 LOG                mpegtsmux
> mpegtsmux.c:942:new_packet_cb:<mux> marking as delta unit
> 0:00:03.093226223  1865    0x8f7e0 LOG                mpegtsmux
> mpegtsmux.c:917:new_packet_cb:<mux> Outputting a packet of length 188
> 0:00:03.095671778  1865    0x8f7e0 LOG                mpegtsmux
> mpegtsmux.c:942:new_packet_cb:<mux> marking as delta unit
> 0:00:03.099085408  1865    0x8f7e0 LOG                mpegtsmux
> mpegtsmux.c:917:new_packet_cb:<mux> Outputting a packet of length 188
> 0:00:03.101541223  1865    0x8f7e0 LOG                mpegtsmux
> mpegtsmux.c:942:new_packet_cb:<mux> marking as delta unit
> 0:00:03.105040112  1865    0x8f7e0 LOG                mpegtsmux
> mpegtsmux.c:917:new_packet_cb:<mux> Outputting a packet of length 188
> 0:00:03.107483297  1865    0x8f7e0 LOG                mpegtsmux
> mpegtsmux.c:942:new_packet_cb:<mux> marking as delta unit
> 0:00:03.110989334  1865    0x8f7e0 LOG                mpegtsmux
> mpegtsmux.c:917:new_packet_cb:<mux> Outputting a packet of length 188
> 0:00:03.113445297  1865    0x8f7e0 LOG                mpegtsmux
> mpegtsmux.c:942:new_packet_cb:<mux> marking as delta unit
> 0:00:03.116822000  1865    0x8f7e0 LOG                mpegtsmux
> mpegtsmux.c:917:new_packet_cb:<mux> Outputting a packet of length 188
> 0:00:03.119385852  1865    0x8f7e0 LOG                mpegtsmux
> mpegtsmux.c:942:new_packet_cb:<mux> marking as delta unit
> 0:00:03.124957297  1865    0x8f7e0 LOG                mpegtsmux
> mpegtsmux.c:917:new_packet_cb:<mux> Outputting a packet of length 188
> 0:00:03.127455075  1865    0x8f7e0 LOG                mpegtsmux
> mpegtsmux.c:942:new_packet_cb:<mux> marking as delta unit
> 0:00:03.130274074  1865    0x8f7e0 DEBUG              mpegtsmux
> mpegtsmux.c:718:mpegtsmux_collected:<mux> Failed to write data packet
> 0:00:03.133546778  1865    0x8f7e0 WARN                 basesrc
> gstbasesrc.c:2543:gst_base_src_loop:<filesrc0> error: Internal data flow
> error.
> 0:00:03.135924778  1865    0x8f7e0 WARN                 basesrc
> gstbasesrc.c:2543:gst_base_src_loop:<filesrc0> error: streaming task
> paused,
> reason not-linked (-1)
> 0:00:03.140985556  1865    0x89788 WARN               rtspmedia
> rtsp-media.c:1260:default_handle_message: 0x8b840: got error Internal data
> flow error. (gstbasesrc.c(2543): gst_base_src_loop ():
> /GstPipeline:media-pipeline/GstBin:bin0/GstFileSrc:filesrc0:
> streaming task paused, reason not-linked (-1))
> 0:00:03.144155223  1865    0x11008 WARN               rtspmedia
> rtsp-media.c:1483:gst_rtsp_media_prepare: failed to preroll pipeline
>
> Thanks for your help!
> --
> View this message in context:
> http://gstreamer-devel.966125.n4.nabble.com/gst-rtsp-server-and-flutsmux-or-mpegtsmux-tp2251061p2252451.html
> Sent from the GStreamer-devel mailing list archive at Nabble.com.
>
>
> ------------------------------------------------------------------------------
> ThinkGeek and WIRED's GeekDad team up for the Ultimate
> GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
> lucky parental unit.  See the prize list and enter to win:
> http://p.sf.net/sfu/thinkgeek-promo
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>



-- 
www.mediamagictechnologies.com (Gstreamer, ffmpeg, Red5, Streaming)
twitter handle: @gst_kaps
http://www.linkedin.com/in/kapilagrawal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20100612/39e2517a/attachment.htm>


More information about the gstreamer-devel mailing list