Hi,
I have been trying to use flutsmux and mpegtsmux with gst-rtsp-server for streaming H.264 + AAC without success. Do you have any experience in this area, especially using flutsmux? Thanks. G.B. ------------------------------------------------------------------------------ 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 [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
What problems/errors are you facing.
Please elaborate the details. Best Kapil On Fri, Jun 11, 2010 at 3:40 AM, <[hidden email]> wrote: Hi, -- www.mediamagictechnologies.com (Gstreamer, ffmpeg, Red5, Streaming) twitter handle: @gst_kaps http://www.linkedin.com/in/kapilagrawal ------------------------------------------------------------------------------ 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 [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
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! |
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 <[hidden email]> wrote:
-- www.mediamagictechnologies.com (Gstreamer, ffmpeg, Red5, Streaming) twitter handle: @gst_kaps http://www.linkedin.com/in/kapilagrawal ------------------------------------------------------------------------------ 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 [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
This post was updated on .
yes, your suggested pipeline works with gst-launch, but not within gst-rtsp-server factory.
also I changed the "rtpmp2tpay ! fakesink" to a filesink, then I can get a ts file that can be played fine by VLC. |
good , can you try the same except the sink within rtsp-server ? and on client just use gst-launch rtspsrc location=rtsp:..... ! fakeisnk -v ?
On Sat, Jun 12, 2010 at 10:04 PM, G.B <[hidden email]> wrote:
-- www.mediamagictechnologies.com (Gstreamer, ffmpeg, Red5, Streaming) twitter handle: @gst_kaps http://www.linkedin.com/in/kapilagrawal ------------------------------------------------------------------------------ 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 [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
hmm....interesting.
1. I put the exact pipeline in the rtsp-server factory, and used gstreamer "rtspsrc ! filesink " to receive it, and the pipeline rolled and I got a junk.ts file that can be played by VLC. but if I used VLC or mplayer to receive the rtsp stream, the pipeline is not running, on the VLC side it says "video/MP2T-ES failed, RTP payload format unknown". (VLC is the latest version 1.0.5 on Windows XP Pro SP3). Do a "file junk.ts" gives "junk.ts: MPEG transport stream data". 2. Then I replaced the "filesrc location=./sample.264" with a live source "v4l2src ! x264enc", then on the client side, if I use VLC, I got the same "video/MP2T-ES failed, RTP payload format unknown", if I use "rtspsrc ! filesink ", then result file junk.ts is not a ts file anymore, "file junk.ts" gives "junk.ts: \012- 8086 relocatable (Microsoft)" Using VLC/Mplayer/QuickTime is really desired. See some lights now, but please help! Thanks!!! |
Yeah I recently faced similar issues , and forgot to file a bug.
Maybe Wim taymans (a.k.a. wtay) would be the best person to comment :) best Kapil On Tue, Jun 15, 2010 at 2:18 PM, G.B <[hidden email]> wrote:
-- www.mediamagictechnologies.com (Gstreamer, ffmpeg, Red5, Streaming) twitter handle: @gst_kaps http://www.linkedin.com/in/kapilagrawal ------------------------------------------------------------------------------ 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 [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
Free forum by Nabble | Edit this page |