How to send a mp4 file with rtp without decoding and encoding
Chuck Crisler
ccrisler at mutualink.net
Mon Jul 14 08:01:39 PDT 2014
You need to enable logging to find what isn't linking. GST_DEBUG=*:4 should
work. On linux: export GST_DEBUG=<> gst-launch ...
On Mon, Jul 14, 2014 at 4:15 AM, Haiming Wang <whm_buaa at hotmail.com> wrote:
> Hi all,
>
> After analysis I found the below pipeline1 always fail with:
> streaming stopped, reason not-linked.
> while the pipeline2(remove the rtpbin) works. It's really confusing.
>
> Anyone can give me some suggestion? Also is there any suggestions about
> how to analyze the "reason not-linked" issues?
>
>
>
>
> 1. gst-launch-0.10 gstrtpbin name=rtpbin filesrc
> location=/Users/hamwang/logdir/3.mp4 ! qtdemux name=demux
> demux.video_00 ! rtph264pay ! rtpbin.send_rtp_sink_0
> rtpbin.send_rtp_src_0 ! udpsink host=172.21.118.219 port=5006
>
>
> 2. gst-launch-0.10 gstrtpbin name=rtpbin filesrc
> location=/Users/hamwang/logdir/3.mp4 ! qtdemux name=demux
> demux.video_00 ! rtph264pay ! udpsink host=172.21.118.219 port=5006
>
>
>
>
>
> Thanks and Best Regards
> Haiming Wang
>
> ------------------------------
> From: whm_buaa at hotmail.com
> To: gstreamer-devel at lists.freedesktop.org
> Subject: RE: How to send a mp4 file with rtp without decoding and encoding
> Date: Mon, 14 Jul 2014 09:55:23 +0800
>
>
> Hello friends,
>
> Anybody can give me some advice about this question?
>
>
> Thanks and Best Regards
> Haiming Wang
>
> ------------------------------
> From: whm_buaa at hotmail.com
> To: gstreamer-devel at lists.freedesktop.org
> Subject: RE: How to send a mp4 file with rtp without decoding and encoding
> Date: Fri, 11 Jul 2014 15:01:23 +0800
>
>
>
>
>
> Hi all,
>
> I want send a h264 video which is encapsulated in a mp4 file from my
> android mobile phone to my pC.
>
> This mp4 file can be played by below command:
>
> gst-launch-0.10 gstrtpbin name=rtpbin filesrc
> location=/Users/hamwang/logdir/3.mp4 ! qtdemux name=demux
> demux.video_00 ! ffdec_h264 ! ffmpegcolorspace ! autovideosink
>
>
> it can also be sent through rtp by decoding and re-endcoding by below
> command:
>
>
> *gst-launch-0.10 -v gstrtpbin name=rtpbin filesrc
> location=./trunk/trunk/videoconf/linux-appsrc-example/3.mp4 ! qtdemux
> name=demux demux.video_00 ! ffdec_h264 ! queue ! x264enc
> tune=zerolatency byte-stream=true bitrate=500 ! rtph264pay !
> rtpbin.send_rtp_sink_0 rtpbin.send_rtp_src_0 ! udpsink
> host=172.21.118.219 port=5006*
>
>
> Since as we know , the video has already been encoded by h264 in the mp4
> file, so I hope I can send it without decoding and re-encoding. I used
> below command:
>
> gst-launch-0.10 gstrtpbin name=rtpbin filesrc
> location=/Users/hamwang/logdir/3.mp4 ! qtdemux name=demux
> demux.video_00 ! rtph264pay ! rtpbin.send_rtp_sink_0
> rtpbin.send_rtp_src_0 ! udpsink host=172.21.118.219 port=5006
>
> but get below error:
>
> qtdemux.c(3941): gst_qtdemux_loop ():
> /GstPipeline:pipeline0/GstQTDemux:demux:
> streaming stopped, reason not-linked
>
>
>
> Any friend can give me some advice?
>
> Thanks and Regards,
> Haiming Wang
>
>
>
> _______________________________________________ gstreamer-devel mailing
> list gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
> _______________________________________________ gstreamer-devel mailing
> list gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20140714/374e5f19/attachment.html>
More information about the gstreamer-devel
mailing list