树莓派 video4linux,用树莓派做 RTMP 流直播服务器,可推送至斗鱼直播

楼主你好!

我推流到一个Windows的Ngix-rtmp云服务器上树莓派会发至命错误,请教一下是什么原因造成的呢?端口已开放,但在本局域网里推流一切正常.

gst-launch-1.0 -v v4l2src device=/dev/video0 ! ‘video/x-raw, width=640, height=480, framerate=20/1′ ! queue ! videoconvert ! omxh264enc ! h26 4parse ! flvmux ! rtmpsink location=’rtmp://ip/live live=1’

Setting pipeline to PAUSED …

Pipeline is live and does not need PREROLL …

Setting pipeline to PLAYING …

New clock: GstSystemClock

/GstPipeline:pipeline0/GstV4l2Src:v4l2src0.GstPad:src: caps = video/x-raw, width =(int)640, height=(int)480, framerate=(fraction)20/1, format=(string)I420, pixel -aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, colorimetry=(st ring)bt601

/GstPipeline:pipeline0/GstCapsFilter:capsfilter0.GstPad:src: caps = video/x-raw, width=(int)640, height=(int)480, framerate=(fraction)20/1, format=(string)I420, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, colorimet ry=(string)bt601

/GstPipeline:pipeline0/GstQueue:queue0.GstPad:src: caps = video/x-raw, width=(in t)640, height=(int)480, framerate=(fraction)20/1, format=(string)I420, pixel-asp ect-ratio=(fraction)1/1, interlace-mode=(string)progressive, colorimetry=(string )bt601

/GstPipeline:pipeline0/GstQueue:queue0.GstPad:sink: caps = video/x-raw, width=(i nt)640, height=(int)480, framerate=(fraction)20/1, format=(string)I420, pixel-as pect-ratio=(fraction)1/1, interlace-mode=(string)progressive, colorimetry=(strin g)bt601

/GstPipeline:pipeline0/GstCapsFilter:capsfilter0.GstPad:sink: caps = video/x-raw , width=(int)640, height=(int)480, framerate=(fraction)20/1, format=(string)I420 , pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, colorime try=(string)bt601

/GstPipeline:pipeline0/GstVideoConvert:videoconvert0.GstPad:src: caps = video/x- raw, width=(int)640, height=(int)480, framerate=(fraction)20/1, format=(string)I 420, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, color imetry=(string)bt601

/GstPipeline:pipeline0/GstOMXH264Enc-omxh264enc:omxh264enc-omxh264enc0.GstPad:si nk: caps = video/x-raw, width=(int)640, height=(int)480, framerate=(fraction)20/ 1, format=(string)I420, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string )progressive, colorimetry=(string)bt601

/GstPipeline:pipeline0/GstVideoConvert:videoconvert0.GstPad:sink: caps = video/x -raw, width=(int)640, height=(int)480, framerate=(fraction)20/1, format=(string) I420, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, colo rimetry=(string)bt601

/GstPipeline:pipeline0/GstOMXH264Enc-omxh264enc:omxh264enc-omxh264enc0.GstPad:sr c: caps = video/x-h264, stream-format=(string)byte-stream, alignment=(string)au, profile=(string)high, level=(string)4, width=(int)640, height=(int)480, pixel-a spect-ratio=(fraction)1/1, framerate=(fraction)20/1

/GstPipeline:pipeline0/GstH264Parse:h264parse0.GstPad:sink: caps = video/x-h264, stream-format=(string)byte-stream, alignment=(string)au, profile=(string)high, level=(string)4, width=(int)640, height=(int)480, pixel-aspect-ratio=(fraction)1 /1, framerate=(fraction)20/1

/GstPipeline:pipeline0/GstH264Parse:h264parse0.GstPad:src: caps = video/x-h264, stream-format=(string)avc, alignment=(string)au, profile=(string)high, level=(st ring)4, width=(int)640, height=(int)480, pixel-aspect-ratio=(fraction)1/1, frame rate=(fraction)20/1, parsed=(boolean)true, codec_data=(buffer)01640028ffe1000f27 640028ac2b40501ed8080f1226a001000528ee025cb0

/GstPipeline:pipeline0/GstFlvMux:flvmux0.GstPad:video: caps = video/x-h264, stre am-format=(string)avc, alignment=(string)au, profile=(string)high, level=(string )4, width=(int)640, height=(int)480, pixel-aspect-ratio=(fraction)1/1, framerate =(fraction)20/1, parsed=(boolean)true, codec_data=(buffer)01640028ffe1000f276400 28ac2b40501ed8080f1226a001000528ee025cb0

/GstPipeline:pipeline0/GstFlvMux:flvmux0: streamable = true

/GstPipeline:pipeline0/GstFlvMux:flvmux0.GstPad:src: caps = video/x-flv, streamh eader=(buffer)

/GstPipeline:pipeline0/GstRTMPSink:rtmpsink0.GstPad:sink: caps = video/x-flv, st reamheader=(buffer)

Message from syslogd@raspberrypi at Dec 19 07:01:22 …

kernel:[ 337.161418] Internal error: Oops: 17 [#1] SMP ARM

Message from syslogd@raspberrypi at Dec 19 07:01:22 …

kernel:[ 337.161694] Process v4l2src0:src (pid: 1224, stack limit = 0xa4956210 )

Message from syslogd@raspberrypi at Dec 19 07:01:22 …

kernel:[ 337.161705] Stack: (0xa4957d00 to 0xa4958000)

Message from syslogd@raspberrypi at Dec 19 07:01:22 …

kernel:[ 337.161723] 7d00: a4957d5c a4957d10 00000001 00000002 00000003 000000 01 00000000 b52dcc40

Message from syslogd@raspberrypi at Dec 19 07:01:22 …

kernel:[ 337.161740] 7d20: b50b2d04 b50b2d0c 00000001 7f0f92f8 00000000 b2e0cb 40 a4957d7c a4957d48

Message from syslogd@raspberrypi at Dec 19 07:01:22 …

kernel:[ 337.161757] 7d40: 7f0dc28c 7f0dba64 b52dcd5c b52dcd3c 00000001 000000 03 7f0e7184 b50b2d00

Message from syslogd@raspberrypi at Dec 19 07:01:22 …

kernel:[ 337.161774] 7d60: b52dc858 b2e0cb40 7f0fea2c 7f0bd59c a4957d9c a4957d 80 7f0e64d8 7f0dc1e4

Message from syslogd@raspberrypi at Dec 19 07:01:22 …

kernel:[ 337.161791] 7d80: 7f0e6444 b50b2d00 b2e0cb40 a49a64c0 a4957dbc a4957d a0 7f0a90c8 7f0e6450

Message from syslogd@raspberrypi at Dec 19 07:01:22 …

kernel:[ 337.161808] 7da0: 00000003 c0f8565c b52dc858 0000005c a4957e24 a4957d c0 7f0a7e68 7f0a9074

Message from syslogd@raspberrypi at Dec 19 07:01:22 …

kernel:[ 337.161824] 7dc0: a4956000 8032db88 7f0fea2c 00000170 00000000 7f0bdd 28 b50b2d00 a49a64c0

Message from syslogd@raspberrypi at Dec 19 07:01:22 …

kernel:[ 337.161841] 7de0: 00000000 a492d000 a492d7f8 c0f8565c 000000f8 b50b2d 00 b50b2d00 c0f8565c

Message from syslogd@raspberrypi at Dec 19 07:01:22 …

kernel:[ 337.161858] 7e00: 000000f8 b50b2d00 b50b2d00 00000003 7f0a7bc8 b2e0cb 40 a4957ee4 a4957e28

Message from syslogd@raspberrypi at Dec 19 07:01:22 …

kernel:[ 337.161875] 7e20: 7f0a7720 7f0a7bd4 00000000 00000000 000000f8 71bfe7 c4 00000018 00000001

Message from syslogd@raspberrypi at Dec 19 07:01:22 …

kernel:[ 337.161891] 7e40: 00070800 00002005 00000000 00000151 000187f7 000000 00 00000000 00000000

Message from syslogd@raspberrypi at Dec 19 07:01:22 …

kernel:[ 337.161908] 7e60: 00000000 00000000 00000001 00a98000 00070800 000000 00 00000000 7120a000

Message from syslogd@raspberrypi at Dec 19 07:01:22 …

kernel:[ 337.161925] 7e80: b49b7500 00000138 b2e0cb40 00000000 00000001 7120a1 38 7120a138 8000fd28

Message from syslogd@raspberrypi at Dec 19 07:01:22 …

kernel:[ 337.161941] 7ea0: 00000001 00000000 a4957f4c a4957eb8 80098780 800968 c8 00000000 b52dc858

Message from syslogd@raspberrypi at Dec 19 07:01:22 …

kernel:[ 337.161958] 7ec0: b2e0cb40 71bfe7c4 c0f8565c b52dcac0 a4956000 000000 00 a4957ef4 a4957ee8

Message from syslogd@raspberrypi at Dec 19 07:01:22 …

kernel:[ 337.161975] 7ee0: 7f0a7bc4 7f0a75a4 a4957f1c a4957ef8 7f0a2720 7f0a7b b0 7f0a264c b50a7720

Message from syslogd@raspberrypi at Dec 19 07:01:22 …

kernel:[ 337.161992] 7f00: 71bfe7c4 b2e0cb40 c0f8565c 00000008 a4957f7c a4957f 20 80169f80 7f0a2658

Message from syslogd@raspberrypi at Dec 19 07:01:22 …

kernel:[ 337.162009] 7f20: a4957f74 8016c494 00000001 00000081 7120a138 801750 08 a48bec00 7657c000

Message from syslogd@raspberrypi at Dec 19 07:01:22 …

kernel:[ 337.162026] 7f40: 71bfe7c4 76567d4c c0f8565c 00000008 a4957f6c a4957f 60 b2e0cb41 71bfe7c4

Message from syslogd@raspberrypi at Dec 19 07:01:22 …

kernel:[ 337.162043] 7f60: b2e0cb40 c0f8565c 00000008 a4956000 a4957fa4 a4957f 80 8016a1b4 80169b68

Message from syslogd@raspberrypi at Dec 19 07:01:22 …

kernel:[ 337.162059] 7f80: 00000000 7657c000 00000001 76567d4c 00000036 8000fd 28 00000000 a4957fa8

Message from syslogd@raspberrypi at Dec 19 07:01:22 …

kernel:[ 337.162076] 7fa0: 8000fb60 8016a17c 7657c000 00000001 00000008 c0f856 5c 71bfe7c4 00000000

Message from syslogd@raspberrypi at Dec 19 07:01:22 …

kernel:[ 337.162093] 7fc0: 7657c000 00000001 76567d4c 00000036 7657c000 000000 01 76c1f940 76567d4c

Message from syslogd@raspberrypi at Dec 19 07:01:22 …

kernel:[ 337.162110] 7fe0: 71bfe3c8 71bfe3b8 76f78c10 76c1f960 80000010 000000 08 00000000 00000000

Message from syslogd@raspberrypi at Dec 19 07:01:22 …

kernel:[ 337.162565] Code: e0854104 e5b43004 e3530000 0a00000a (e593e010)

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
编译原理是计算机专业的一门核心课程,旨在介绍编译程序构造的一般原理和基本方法。编译原理不仅是计算机科学理论的重要组成部分,也是实现高效、可靠的计算机程序设计的关键。本文将对编译原理的基本概念、发展历程、主要内容和实际应用进行详细介绍编译原理是计算机专业的一门核心课程,旨在介绍编译程序构造的一般原理和基本方法。编译原理不仅是计算机科学理论的重要组成部分,也是实现高效、可靠的计算机程序设计的关键。本文将对编译原理的基本概念、发展历程、主要内容和实际应用进行详细介绍编译原理是计算机专业的一门核心课程,旨在介绍编译程序构造的一般原理和基本方法。编译原理不仅是计算机科学理论的重要组成部分,也是实现高效、可靠的计算机程序设计的关键。本文将对编译原理的基本概念、发展历程、主要内容和实际应用进行详细介绍编译原理是计算机专业的一门核心课程,旨在介绍编译程序构造的一般原理和基本方法。编译原理不仅是计算机科学理论的重要组成部分,也是实现高效、可靠的计算机程序设计的关键。本文将对编译原理的基本概念、发展历程、主要内容和实际应用进行详细介绍编译原理是计算机专业的一门核心课程,旨在介绍编译程序构造的一般原理和基本

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值