21ic电子技术开发论坛

标题: GStreamer网络视频流 [打印本页]

作者: aisq    时间: 2015-3-9 10:05
标题: GStreamer网络视频流
你好,我用的IMX6 DL,请问怎么用GStreamer搭建管道用于网络视频传输,比如在板子上采集的视频流,通过rtsp发出去,通过手机的vlc查看
作者: FSL_TICS_Rita    时间: 2015-3-18 16:50
楼主你好,请问你这里使用的哪个版本的BSP?
作者: FSL_TICS_Rita    时间: 2015-4-10 12:20
n IMX6 board run the following commands to achieve streaming :



CLIENT_IP=<ip address of client machine>



gst-launch mfw_v4lsrc fps-n=30 ! vpuenc codec=6 ! queue ! rtph264pay ! udpsink host=$CLIENT_IP port=5000 -v



On client machine to play it through VLC follow the following steps :



  Play the file (H264.sdp) with vlc media player



   Now you can see camera video on the client machine   
作者: FSL_TICS_Rita    时间: 2015-4-10 12:20
很抱歉才给你回复,前段时间出差了,刚回来,欢迎有问题继续在本论坛中交流讨论哈~~

作者: mytt2013    时间: 2015-11-20 14:13
FSL_TICS_Rita 发表于 2015-4-10 12:20
n IMX6 board run the following commands to achieve streaming :


你好,请问那个H264.sdp文件哪里可以找到?
作者: mytt2013    时间: 2015-11-20 14:59
h264.sdp那个文件内容是什么,楼主可否贴出来

作者: Beckham_Owen    时间: 2015-11-21 18:14
这个想法真的很不错啊
作者: mini1986    时间: 2015-11-24 21:15
早就没有下文了......
作者: l289123557    时间: 2016-1-15 15:08
为什么使用gstreamer都是用了一堆命令,不应该是编程的吗,感觉gstreamer没多少实用价值啊
作者: ryanhc    时间: 2017-8-22 15:59
v=0

o=- 1223457093460663 1 IN IP4 127.0.0.1

s=RTSP Server

i=Codec00

t=0 0

a=tool:LIVE555 Streaming Media v2008.07.24

a=type broadcast

b=AS:21

a=control:*

a=source-filter: incl IN IP4 127.0.0.1

a=rtcp-unicast: reflection

m=video 5000 RTP/AVP 96   

a=rtpmap:96 H264/90000

a=framerate=30

a=fmtp:96 profile-level-id=42001e; sprop-parameter-sets=Z0JAHqaAoD2QAA\\=\\=\\,aM4wpIAA\;


从NXP官网搬过来的,后来有需要的可以直接创建sdp文件贴进去用




欢迎光临 21ic电子技术开发论坛 (https://bbs.21ic.com/) Powered by Discuz! X3.5