mobile CCTV,mobile surveillance,police body worn cameras

 forgetPW
 registerNow
search
Owner: eviicam
打印 prevThread nextThread

SDK的认证和上传的接口

[copyURL]

60

主题

1428

帖子

5953

积分

Moderator

Rank: 7Rank: 7Rank: 7

积分
5953
41#
poston 2017-6-12 15:16 | authorOnly
传音频,还是传视频,是由smarteye client决定的,是用户点播的模式,由CU传达给PU来执行的。
reply agree Against

使用道具 report

1

主题

49

帖子

129

积分

member

Rank: 2

积分
129
42#
 Owner| poston 2017-6-12 15:35 | authorOnly
调用inviteAV之后报以下错误,是不是底层收到InputVideoData传来的数据之后做了解码造成的?

我们的需求是只要把流推出去就可以,不用做解码(或者说解码已经做了)

I/OMXCodec: Attempting to allocate OMX node 'OMX.Exynos.AVC.Encoder'
I/OMXCodec: Successfully allocated OMX node 'OMX.Exynos.AVC.Encoder'
I/codec_stagefright: 1280 720 25 614400 1
I/OMXCodec: [OMX.Exynos.AVC.Encoder] OMXCodec::start mState=1
I/OMXCodec: [OMX.Exynos.AVC.Encoder] allocating 5 buffers of size 1382400 on input port
I/OMXCodec: [OMX.Exynos.AVC.Encoder] allocating 4 buffers of size 1382400 on output port
I/codec_stagefright: 1280 720 25 614400 1
I/OMXCodec: [OMX.Exynos.AVC.Encoder] Now Idle. Component sends idle done Event

A/libc: Fatal signal 8 (SIGFPE), code -6, fault addr 0x68a7 in tid 27158 (m.icare.mpudemo)

E/OMXCodec: [OMX.Exynos.AVC.Encoder] err = -2147483648
I/OMXCodec: [OMX.Exynos.AVC.Encoder] stop mState=4
I/OMXCodec: [OMX.Exynos.AVC.Encoder] stop() sendCommand(63, OMX_CommandStateSet, OMX_StateIdle)
I/OMXCodec: [OMX.Exynos.AVC.Encoder] Now Idle. Component sends idle done Event
I/OMXCodec: [OMX.Exynos.AVC.Encoder] stopOmxComponent_l() mstate = 1

I/codec_stagefright: VideoEncode::run exit!
A/libc: Fatal signal 11 (SIGSEGV), code 1, fault addr 0x4 in tid 27158 (m.icare.mpudemo)
reply agree Against

使用道具 report

60

主题

1428

帖子

5953

积分

Moderator

Rank: 7Rank: 7Rank: 7

积分
5953
43#
poston 2017-6-12 15:37 | authorOnly
哪里的解码?MPU侧只是编码
reply agree Against

使用道具 report

1

主题

49

帖子

129

积分

member

Rank: 2

积分
129
44#
 Owner| poston 2017-6-12 15:39 | authorOnly
我们的app继承你们的就是推流这个功能,主要就是把视频分享出去,可以通过SmartEye客户端观看。
reply agree Against

使用道具 report

1

主题

49

帖子

129

积分

member

Rank: 2

积分
129
45#
 Owner| poston 2017-6-12 15:44 | authorOnly
视频流是通过ffmpeg从执法仪读取过来的,现在就是使用你们的sdk推到rtsp服务器

那你们的底层会编码InputVideoData出进去的数据吗?如果会的话,刚才那个error log可能是什么导致的?
reply agree Against

使用道具 report

0

主题

24

帖子

98

积分

member

Rank: 2

积分
98
46#
poston 2017-6-12 15:49 | authorOnly
log不全,麻烦把下面的调用栈打印信息贴出来
reply agree Against

使用道具 report

1

主题

49

帖子

129

积分

member

Rank: 2

积分
129
47#
 Owner| poston 2017-6-12 15:53 | authorOnly
06-12 15:54:47.471 8047-8278/com.icare.mpudemo I/SIP: sendKeepalive_count = 0,iResult = 0
06-12 15:54:48.991 8047-8345/com.icare.mpudemo I/RTP: recvPacketLossRate = 0,sendPacketLossRate = 0
06-12 15:54:50.471 8047-8278/com.icare.mpudemo I/SIP: sendKeepalive m_applierID = 20827
06-12 15:54:51.651 8047-8276/com.icare.mpudemo I/SIP: iResult =0
06-12 15:54:51.651 8047-8276/com.icare.mpudemo I/SIP: iStatusCode 200
06-12 15:54:51.981 8047-8276/com.icare.mpudemo I/SIP: sipU_28241959_0_-1@116.24.21.49
06-12 15:54:51.981 8047-8276/com.icare.mpudemo I/SIP: processInvite+++++++++++++++++++++++
06-12 15:54:51.981 8047-8276/com.icare.mpudemo I/SIP: get sps and pps
06-12 15:54:51.981 8047-8047/com.icare.mpudemo I/test_mpu: auth--->type = invite.av----val =null---avDir = 5
06-12 15:54:51.991 8047-9302/com.icare.mpudemo I/MPU_Codec: SAVThread::run.............
06-12 15:54:51.991 8047-8345/com.icare.mpudemo I/RTP: recvPacketLossRate = 0,sendPacketLossRate = 0
06-12 15:54:52.001 8047-9303/com.icare.mpudemo I/OMXClient: Using client-side OMX mux.
06-12 15:54:52.001 8047-9303/com.icare.mpudemo I/codec_stagefright: frameRate=25 bitRate=614400 iFramesInterval=1
06-12 15:54:52.001 8047-9303/com.icare.mpudemo I/codec_stagefright: 1280 720 25 614400 1
06-12 15:54:52.001 8047-9303/com.icare.mpudemo I/codec_stagefright: 1280 720 25 614400 1
06-12 15:54:52.011 8047-9303/com.icare.mpudemo I/OMXCodec: Attempting to allocate OMX node 'OMX.Exynos.AVC.Encoder'
06-12 15:54:52.021 8047-9304/com.icare.mpudemo W/System.err: AVFrameFlag = 1180063816---AVFrameLen = 147025---VFrameType = 1
06-12 15:54:52.051 8047-9303/com.icare.mpudemo I/OMXCodec: Successfully allocated OMX node 'OMX.Exynos.AVC.Encoder'
06-12 15:54:52.061 8047-9303/com.icare.mpudemo I/codec_stagefright: 1280 720 25 614400 1
06-12 15:54:52.061 8047-9303/com.icare.mpudemo I/OMXCodec: [OMX.Exynos.AVC.Encoder] OMXCodec::start mState=1
06-12 15:54:52.061 8047-9303/com.icare.mpudemo I/OMXCodec: [OMX.Exynos.AVC.Encoder] allocating 5 buffers of size 1382400 on input port
06-12 15:54:52.061 8047-9303/com.icare.mpudemo I/OMXCodec: [OMX.Exynos.AVC.Encoder] allocating 4 buffers of size 1382400 on output port
06-12 15:54:52.071 8047-9303/com.icare.mpudemo I/codec_stagefright: 1280 720 25 614400 1
06-12 15:54:52.091 8047-8060/com.icare.mpudemo I/OMXCodec: [OMX.Exynos.AVC.Encoder] Now Idle. Component sends idle done Event
06-12 15:54:52.091 8047-9303/com.icare.mpudemo A/libc: Fatal signal 11 (SIGSEGV), code 2, fault addr 0xee800000 in tid 9303 (m.icare.mpudemo)
06-12 15:54:52.441 8047-9304/com.icare.mpudemo W/System.err: AVFrameFlag = 1180063816---AVFrameLen = 9929---VFrameType = 2
reply agree Against

使用道具 report

1

主题

49

帖子

129

积分

member

Rank: 2

积分
129
48#
 Owner| poston 2017-6-12 15:56 | authorOnly
和这下面的代码有关吗?

encode.iBitrate = 614400; 这个值我不确定
encode.iYUVConvert = 5; 这个也不明白什么意思,还有这个encode.iColorFormat = 0;
因为现在写的DEMO读取的是一个本地H264文件.

    public BVPU_VideoControl_Encode getEncode() {
        BVPU_VideoControl_Encode encode = new BVPU_VideoControl_Encode();
        encode.iBitrate = 614400;
        encode.iFramerate = 25;
        encode.iColorFormat = 0;
        encode.iHeight = 720;
        encode.iWidth = 1280;
        encode.iYUVConvert = 5;
        return encode;
    }


reply agree Against

使用道具 report

1

主题

49

帖子

129

积分

member

Rank: 2

积分
129
49#
 Owner| poston 2017-6-12 16:38 | authorOnly
国士无双 post on2017-6-12 15:49
log不全,麻烦把下面的调用栈打印信息贴出来

已经贴出来了,麻烦看下
reply agree Against

使用道具 report

0

主题

24

帖子

98

积分

member

Rank: 2

积分
98
50#
poston 2017-6-12 17:05 | authorOnly
是yuv的一种格式,具体处理看下MPULoadConfig文件中loadDefMobileColorFormat()处理逻辑,不同机型的类型不一样,还有log文件下面还有fatal的具体信息打印吧
reply agree Against

使用道具 report

creditRule

QQ|wireless surveillance

GMT+8, 2024-12-23 02:00 , Processed in 0.064449 second(s), 18 queries .

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

QuickReply backToTop BackToList