录制SDK v1.1 生成的mp4文件非常小且无法播放 (急)

调用录制 sdkv1.1 的时候文件都正常生成了,就是mp4文件非常小,播放器打开没有内容。录制的过程中也没报错。
附件有我调用时候的参数,下面是recording.log文件的内容,求支持。

Local Date: Wed Aug  2 14:15:38 2017
Build info: Jul 20 2017 15:59:41 ?

INFO    (14:15:38:517 |    1)   1198; [rp] {"rtc.audio.mute_me":true,"che.audio.mute_me":true}
INFO    (14:15:38:517 |    0)   1198; [rp] {"rtc.video.mute_me":true,"che.video.local.send":false}
INFO    (14:15:38:517 |    0)   1198; [rp] {"rtc.video.enabled":true}
INFO    (14:15:38:517 |    0)   1198; API call to enable video
INFO    (14:15:38:517 |    0)   1198; [rp] {"che.video.local.camera_index":1024}
INFO    (14:15:38:517 |    0)   1198; ***CALL BEGIN: appid:'2f****************************75' cname:'632a918a-*******************449781cf' info:'' sid:'FAD7A118*******************DF8762A'
INFO    (14:15:38:517 |    0)   1198; addRef of media engine, ref=1
INFO    (14:15:38:517 |    0)   1198; [che] create chat engine, ctx:(nil)
INFO    (14:15:38:517 |    0)   1198; [MYDEBUG] large group call false
INFO    (14:15:38:517 |    0)   1198; ChatEngineParameterHelper::applyMediaEngineMode: 
INFO    (14:15:38:517 |    0)   1198; applyMediaEngineMode(): Hardware encoding false Hardware decoding false
INFO    (14:15:38:519 |    2)   1199; Thread with name:external_audio_module_thread started 
INFO    (14:15:38:519 |    0)   1200; Thread with name:WebRtc_event_timer_thread started 
INFO    (14:15:38:519 |    0)   1198; StereoPlayoutIsAvailable(), output: available=0
ERROR   (14:15:38:519 |    0)   1198; failed to enable stereo playout
WARN    (14:15:38:519 |    0)   1198; InitADM() failed to set mono/stereo playout mode (error=8090)
INFO    (14:15:38:519 |    0)   1198; StereoRecordingIsAvailable(), output: available=0
ERROR   (14:15:38:519 |    0)   1198; failed to enable stereo recording
WARN    (14:15:38:519 |    0)   1198; InitADM() failed to set mono/stereo recording mode (error=8090)
INFO    (14:15:38:519 |    0)   1201; Thread with name:EngineMonitorThread started 
INFO    (14:15:38:519 |    0)   1198; setMuteStatus, muted: On
INFO    (14:15:38:519 |    0)   1198; setMuteOutput, muted: false
WARN    (14:15:38:519 |    0)   1198; setMicSensitivity failed, legal values are between [0, 10]
INFO    (14:15:38:519 |    0)   1198; Audio Engine Init success
INFO    (14:15:38:519 |    0)   1198; Available number of cores:4
INFO    (14:15:38:519 |    0)   1198; init: feature prerotation disabled
INFO    (14:15:38:519 |    0)   1198; init: no custom rotation
ERROR   (14:15:38:519 |    0)   1198; ASSERTION FAILED! should not set audience mode: it is for live (/var/lib/jenkins/workspace/agora-release-linux/AgoraRTCEngine/src/chat_engine/video_engine.cc:1253)
INFO    (14:15:38:519 |    0)   1198; Agora Engine video codec set to custom mode role mode 0
INFO    (14:15:38:519 |    0)   1198; Agora Engine video codec index 1
INFO    (14:15:38:519 |    0)   1198; Agora Engine video stream type = 0
INFO    (14:15:38:520 |    1)   1202; Thread with name:VideoEncodeThread started 
INFO    (14:15:38:520 |    0)   1203; Thread with name:VideoProcessThread started 
INFO    (14:15:38:520 |    0)   1198; setCodec: index=1 width=640 height=360 framerate=15
INFO    (14:15:38:520 |    0)   1198; h264WebInteropEnable: enable 0
INFO    (14:15:38:520 |    0)   1198; setMaxVideoBitrate: max bitrate=0
INFO    (14:15:38:520 |    0)   1198; more fec enable 0
INFO    (14:15:38:520 |    0)   1198; [che] applyVideoProfile: 360x640 15 fps 500 kbps
INFO    (14:15:38:520 |    0)   1198; validateVideoParameters: validate video parameters resolution 360x640, fps 15, rate 500000
INFO    (14:15:38:520 |    0)   1198; setMaxVideoBitrate: max bitrate=500000
INFO    (14:15:38:520 |    0)   1198; setCodecRates: set frame rate to 15
INFO    (14:15:38:520 |    0)   1198; setCodec: index=1 width=640 height=360 framerate=15
INFO    (14:15:38:520 |    0)   1198; setCodecResolution: set to 360 x 640
INFO    (14:15:38:520 |    0)   1198; setCodec: index=1 width=360 height=640 framerate=15
WARN    (14:15:38:520 |    0)   1198; setCodec: codec resolution width (360) < height (&u)
INFO    (14:15:38:525 |    5)   1202; Thread with name:VideoEncodeThread stopped
INFO    (14:15:38:531 |    6)   1204; Thread with name:VideoEncodeThread started 
INFO    (14:15:38:531 |    0)   1198; [che] chat engine initialized
INFO    (14:15:38:531 |    0)   1198; [vocs] vocs initialized
WARN    (14:15:38:532 |    1)   1198; create socket error: Operation not permitted
INFO    (14:15:38:532 |    0)   1198; CacheManager: save cache to storage elapsed 0
INFO    (14:15:38:532 |    0)   1198; [cm] emit join channel signal, size=2
INFO    (14:15:38:532 |    0)   1198; [vocs] lookup channel...
INFO    (14:15:38:532 |    0)   1198; [vocs] selected: 101.201.199.195:8000
INFO    (14:15:38:532 |    0)   1198; [vocs] creating channel with 101.201.199.195:8000, ts 1501654538532.......
INFO    (14:15:38:532 |    0)   1198; [vocs] selected: 119.9.92.49:8000
INFO    (14:15:38:532 |    0)   1198; [vocs] creating channel with 119.9.92.49:8000, ts 1501654538532.......
INFO    (14:15:38:532 |    0)   1198; [vocs] selected: 123.155.153.69:8000
INFO    (14:15:38:532 |    0)   1198; [vocs] creating channel with 123.155.153.69:8000, ts 1501654538532.......
INFO    (14:15:38:532 |    0)   1198; [rp] {"che.audio.audioSampleRate":48000}
INFO    (14:15:38:532 |    0)   1198; [rlbs/u] responsed from 221.228.78.123:9700 with servers 115.239.228.114:8000
INFO    (14:15:38:566 |   34)   1198; [vocs/u] **responsed from 101.201.199.195:8000, 3 vos, elapsed 52, server ts 1501654538549, wan ip 116.62.32.231
INFO    (14:15:38:566 |    0)   1198; [vos] added server: 223.111.250.18:4001
INFO    (14:15:38:566 |    0)   1198; [vos] added server: 115.239.228.102:4002
INFO    (14:15:38:566 |    0)   1198; [vos] added server: 101.69.223.4:4008
INFO    (14:15:38:566 |    0)   1198; [ch0] vos initialized
INFO    (14:15:38:566 |    0)   1198; [vos] selected: 101.69.223.4:4008
INFO    (14:15:38:566 |    0)   1198; [ch0] Login VOS (proto:7, cid:3091159130, uid:9884, ts:1501654538566, ticket size:120 stream:+A+VH) 2: 101.69.223.4:4008
INFO    (14:15:38:764 |  198)   1198; [che] start call begins
INFO    (14:15:38:764 |    0)   1198; Set Application Mode in RTC Engine to No. 0
INFO    (14:15:38:764 |    0)   1198; Set Application Mode details solo 0, extend 0, audience 1, br 52000, streamType 0
INFO    (14:15:38:764 |    0)   1198; SetCodec by type : No. 85
INFO    (14:15:38:769 |    5)   1198; StartPlayout complete
INFO    (14:15:38:779 |   10)   1198; StartRecording complete
ERROR   (14:15:38:779 |    0)   1198; QueryLoudspeakerStatus() failed to query playout
INFO    (14:15:38:779 |    0)   1198; SetHowlingControl enable = 0
INFO    (14:15:38:779 |    0)   1198; Application Config module:  Route 1, NS on, AEC N, AGC on, BSS off, HC on
INFO    (14:15:38:779 |    0)   1198; MID = 0, Routing = 1
INFO    (14:15:38:779 |    0)   1198; [che] applyVideoProfile: 360x640 15 fps 500 kbps
INFO    (14:15:38:779 |    0)   1198; validateVideoParameters: validate video parameters resolution 360x640, fps 15, rate 500000
INFO    (14:15:38:779 |    0)   1198; setMaxVideoBitrate: max bitrate=500000
INFO    (14:15:38:780 |    1)   1198; setCodecRates: set frame rate to 15
INFO    (14:15:38:780 |    0)   1198; setCodec: index=1 width=360 height=640 framerate=15
INFO    (14:15:38:780 |    0)   1198; setCodecResolution: set to 360 x 640
INFO    (14:15:38:780 |    0)   1198; Create participant 0
INFO    (14:15:38:780 |    0)   1198; startCapture: device? 1024 init? 1 local enabled? 1 capturing? 0 rendering? 0
INFO    (14:15:38:780 |    0)   1198; startCapture: Receive Only Mode, capture turned off.
INFO    (14:15:38:780 |    0)   1198; stopLocalRender: Cannot stop renderer -1 (not exist)
INFO    (14:15:38:780 |    0)   1198; stopInvisibleRenderers: user 0 is invisible, stop rendering
INFO    (14:15:38:780 |    0)   1198; stopLocalRender: Cannot stop renderer -1 (not exist)
INFO    (14:15:38:780 |    0)   1198; doStartLocalRender: init? 1 capture id -1 device 1024 capturing? 0 rendering? 0
INFO    (14:15:38:780 |    0)   1198; doStartLocalRender: Receive Only Mode, local renderer turned off.
INFO    (14:15:38:780 |    0)   1198; [che] start call returns 0, elapsed 16
INFO    (14:15:38:780 |    0)   1198; Setting dtx mode to 2
INFO    (14:15:38:780 |    0)   1198; setNetEQMinimumPlayoutDelay delay(100)
INFO    (14:15:38:780 |    0)   1198; join channel success: cname '632a918a-*******************449781cf' uid 9884 elapsed 266
INFO    (14:15:38:780 |    0)   1198; [pm] peer 4205 is online
INFO    (14:15:38:780 |    0)   1198; notifyPeerCount: cnt 1
INFO    (14:15:38:780 |    0)   1198; onFirstRemoteAudioFrame uid 4205 codec 82 elapsed 266
WARN    (14:15:38:780 |    0)   1198; ReceivedRawPacket() :Incomplete payload
INFO    (14:15:38:780 |    0)   1198; [rp] {"che.audio.specify.codec":"AACLC"}
INFO    (14:15:38:780 |    0)   1198; SetCodec is specified to be AACLC
INFO    (14:15:38:780 |    0)   1198; enforced setCodec, set by specifyCodec
INFO    (14:15:38:780 |    0)   1198; SetCodec by type : No. 75
INFO    (14:15:38:780 |    0)   1194; Layout: { client ms: 0, canvas: { width: 360, height: 640, bgnd: 2341340 }, Regions: [ Region { uid: 4205, x: 0, y: 0, width: 65536, height: 65536, alpha: 255, render_mode: 0, zorder: NotSet}, ]
INFO    (14:15:38:781 |    1)   1198; [rp] {"che.audienceMode":false}
INFO    (14:15:38:781 |    0)   1198; [rp] {"che.video.server_mode":true}
INFO    (14:15:38:781 |    0)   1198; switchServerMode : mosaic=1
INFO    (14:15:38:781 |    0)   1198; startCapture: device? 1024 init? 1 local enabled? 1 capturing? 0 rendering? 0
INFO    (14:15:38:781 |    0)   1205; Thread with name:ViECaptureThread started 
INFO    (14:15:38:781 |    0)   1198; Enable camera ...
INFO    (14:15:38:781 |    0)   1198; setCodec: index=1 width=360 height=640 framerate=15
INFO    (14:15:38:781 |    0)   1198; setMaxVideoBitrate: max bitrate=500000
INFO    (14:15:38:781 |    0)   1198; Wanted 640x480 @15 fps
INFO    (14:15:38:781 |    0)   1206; Thread with name:WebRtc_event_timer_thread started 
INFO    (14:15:38:781 |    0)   1198; startCapture: startCapture success
INFO    (14:15:38:781 |    0)   1198; EnableLowBitRateStream: dual streams enabled 0
INFO    (14:15:38:781 |    0)   1198; RequestEncodeKeyFrame
INFO    (14:15:38:781 |    0)   1198; stopLocalRender: Cannot stop renderer 4097 (not exist)
INFO    (14:15:38:781 |    0)   1198; stopInvisibleRenderers: user 0 is invisible, stop rendering
INFO    (14:15:38:781 |    0)   1198; stopLocalRender: Cannot stop renderer 4097 (not exist)
INFO    (14:15:38:781 |    0)   1198; doStartLocalRender: init? 1 capture id 4097 device 1024 capturing? 1 rendering? 0
ERROR   (14:15:38:781 |    0)   1198; doStartLocalRender: cannot start Local Render with nil view (nil) 3
INFO    (14:15:38:781 |    0)   1198; [rp] {"rtc.video.set_remote_video_stream":{"uid":4205,"stream":0}}
INFO    (14:15:38:781 |    0)   1198; [cc] request to switch user 4205 video stream to 0
INFO    (14:15:38:842 |   61)   1198; [ch0] rtt: 63
INFO    (14:15:38:848 |    6)   1205; [che] onVideoSizeChanged: uid 0 360x640 rotate 0
WARN    (14:15:38:853 |    5)   1198; ReceivedRawPacket() :Incomplete payload
INFO    (14:15:38:857 |    4)   1198; Create participant 4205
WARN    (14:15:39:  2 |    0)   1198; ReceivedRawPacket() :Incomplete payload
WARN    (14:15:39: 89 |   87)   1198; ReceivedRawPacket() :Incomplete payload
WARN    (14:15:39:555 |  466)   1198; ReceivedRawPacket() :Incomplete payload
WARN    (14:15:39:618 |   63)   1198; ReceivedRawPacket() :Incomplete payload
WARN    (14:15:39:649 |   31)   1198; ReceivedRawPacket() :Incomplete payload
WARN    (14:15:39:712 |   63)   1198; ReceivedRawPacket() :Incomplete payload
WARN    (14:15:39:712 |    0)   1198; ReceivedRawPacket() :Incomplete payload
WARN    (14:15:39:712 |    0)   1198; ReceivedRawPacket() :Incomplete payload
WARN    (14:15:39:775 |   63)   1198; ReceivedRawPacket() :Incomplete payload
WARN    (14:15:39:908 |  133)   1198; ReceivedRawPacket() :Incomplete payload
WARN    (14:15:39:970 |   62)   1198; ReceivedRawPacket() :Incomplete payload
WARN    (14:15:40: 38 |    0)   1198; ReceivedRawPacket() :Incomplete payload
WARN    (14:15:40:125 |   87)   1198; ReceivedRawPacket() :Incomplete payload
WARN    (14:15:40:226 |  101)   1198; ReceivedRawPacket() :Incomplete payload
WARN    (14:15:40:270 |   44)   1198; ReceivedRawPacket() :Incomplete payload
WARN    (14:15:40:346 |   76)   1198; ReceivedRawPacket() :Incomplete payload
WARN    (14:15:40:533 |  187)   1198; ReceivedRawPacket() :Incomplete payload
WARN    (14:15:40:601 |   68)   1198; ReceivedRawPacket() :Incomplete payload
WARN    (14:15:40:921 |  320)   1198; ReceivedRawPacket() :Incomplete payload
WARN    (14:15:40:983 |   62)   1198; ReceivedRawPacket() :Incomplete payload
WARN    (14:15:41:105 |    0)   1198; ReceivedRawPacket() :Incomplete payload
WARN    (14:15:41:115 |   10)   1198; ReceivedRawPacket() :Incomplete payload
WARN    (14:15:41:115 |    0)   1198; ReceivedRawPacket() :Incomplete payload
WARN    (14:15:41:194 |   79)   1198; ReceivedRawPacket() :Incomplete payload
WARN    (14:15:41:432 |  238)   1198; ReceivedRawPacket() :Incomplete payload
WARN    (14:15:41:515 |   83)   1198; ReceivedRawPacket() :Incomplete payload
WARN    (14:15:41:589 |   74)   1198; ReceivedRawPacket() :Incomplete payload
WARN    (14:15:41:665 |   76)   1198; ReceivedRawPacket() :Incomplete payload
WARN    (14:15:41:740 |   75)   1198; ReceivedRawPacket() :Incomplete payload
WARN    (14:15:41:820 |   80)   1198; ReceivedRawPacket() :Incomplete payload
WARN    (14:15:41:912 |   92)   1198; ReceivedRawPacket() :Incomplete payload
WARN    (14:15:41:996 |   84)   1198; ReceivedRawPacket() :Incomplete payload
WARN    (14:15:42:222 |    0)   1198; ReceivedRawPacket() :Incomplete payload
WARN    (14:15:42:318 |   96)   1198; ReceivedRawPacket() :Incomplete payload
WARN    (14:15:42:381 |   63)   1198; ReceivedRawPacket() :Incomplete payload
WARN    (14:15:42:470 |   89)   1198; ReceivedRawPacket() :Incomplete payload
WARN    (14:15:42:556 |   86)   1198; ReceivedRawPacket() :Incomplete payload
WARN    (14:15:42:638 |   82)   1198; ReceivedRawPacket() :Incomplete payload
WARN    (14:15:42:729 |   91)   1198; ReceivedRawPacket() :Incomplete payload
WARN    (14:15:42:801 |   72)   1198; ReceivedRawPacket() :Incomplete payload
INFO    (14:15:43:279 |    0)   1198; [pm] peer 4205 has enabled video
INFO    (14:15:43:514 |  235)   1198; [rs] **report stats: seq: 5, report list size 5, tx/rx: 1091/240, cache size: 0, report success rate: -1
INFO    (14:15:44:769 |  255)   1199; Audio statistics - signal level: near_in = 0, near_out = 0, far_in = 0
WARN    (14:15:44:791 |   22)   1198; ReceivedRawPacket() :Incomplete payload
WARN    (14:15:44:877 |   86)   1198; ReceivedRawPacket() :Incomplete payload
INFO    (14:15:45: 71 |    0)   1198; [pm] peer 4205 has muted audio
INFO    (14:15:50:769 |  698)   1199; Audio statistics - signal level: near_in = 0, near_out = 0, far_in = 0
INFO    (14:15:56:769 |    0)   1199; Audio statistics - signal level: near_in = 0, near_out = 0, far_in = 0
INFO    (14:16: 2:769 |    0)   1199; Audio statistics - signal level: near_in = 0, near_out = 0, far_in = 0
INFO    (14:16:12:515 |    0)   1198; **CALL STATS: duraton 31s cpu app/total 1.66/1.78 tx/rx: 0/6 kbps 7.360K/36.596K bytes
INFO    (14:16:18:514 |    0)   1198; [rs] **report stats: seq: 17, report list size 17, tx/rx: 3600/816, cache size: 0, report success rate: 100
INFO    (14:16:26:769 |  255)   1199; Audio statistics - signal level: near_in = 0, near_out = 0, far_in = 0
INFO    (14:16:44:514 |    0)   1198; **CALL STATS: duraton 1m3s cpu app/total 1.39/1.63 tx/rx: 1/6 kbps 11.777K/61.853K bytes
INFO    (14:16:45:844 |  330)   1194; API call to leave channel
INFO    (14:16:45:844 |    0)   1198; [cm] emit leave channel signal
INFO    (14:16:45:844 |    0)   1198; stopLocalRender: Cannot stop renderer 4097 (not exist)
INFO    (14:16:45:844 |    0)   1206; Thread with name:WebRtc_event_timer_thread stopped
INFO    (14:16:45:855 |   11)   1205; Thread with name:ViECaptureThread stopped
INFO    (14:16:45:865 |   10)   1198; stopCapture: stopCapture success
INFO    (14:16:45:865 |    0)   1198; stopRemoteRender
INFO    (14:16:45:865 |    0)   1198; stopRemoteVideo: uid=4205
WARN    (14:16:45:865 |    0)   1198; VideoEngine::StopRender() VideoEngine haven't StartRender
INFO    (14:16:45:865 |    0)   1198; [che] stopCall begins
INFO    (14:16:45:865 |    0)   1198; StopRecording complete
INFO    (14:16:45:865 |    0)   1198; StopPlayout complete
INFO    (14:16:45:865 |    0)   1198; [che] stop call returns 0, elapsed 0
INFO    (14:16:45:865 |    0)   1198; [rs] **report stats: seq: 25, report list size 25, tx/rx: 5214/1152, cache size: 0, report success rate: 100
INFO    (14:16:45:865 |    0)   1198; **CALL STATS: duration 1m7s, tx 12.152K bytes, rx 64.650K bytes, total 76.802K bytes
INFO    (14:16:45:865 |    0)   1198; CacheManager: save cache to storage elapsed 0
INFO    (14:16:45:865 |    0)   1198; [ch0] vos destroyed
INFO    (14:16:45:865 |    0)   1198; delRef of media engine, ref=0
INFO    (14:16:45:866 |    1)   1198; [che] chat engine destroying
INFO    (14:16:45:866 |    0)   1198; stopLocalRender: Cannot stop renderer -1 (not exist)
WARN    (14:16:45:866 |    0)   1198; stopCapture: VideoEngine haven't startCapture
INFO    (14:16:45:866 |    0)   1198; stopRemoteRender
INFO    (14:16:45:866 |    0)   1198; stopRemoteVideo: uid=4205
WARN    (14:16:45:866 |    0)   1198; VideoEngine::StopRender() VideoEngine haven't StartRender
INFO    (14:16:45:866 |    0)   1198; [che] stopCall begins
INFO    (14:16:45:866 |    0)   1198; [che] stop call returns -1, elapsed 0
INFO    (14:16:45:866 |    0)   1198; stopLocalRender: Cannot stop renderer -1 (not exist)
INFO    (14:16:45:866 |    0)   1198; stopRemoteRender
INFO    (14:16:45:866 |    0)   1198; stopRemoteVideo: uid=4205
WARN    (14:16:45:866 |    0)   1198; VideoEngine::StopRender() VideoEngine haven't StartRender
WARN    (14:16:45:866 |    0)   1198; stopCapture: VideoEngine haven't startCapture
INFO    (14:16:45:866 |    0)   1203; Thread with name:VideoProcessThread stopped
WARN    (14:16:45:876 |   10)   1198; terminate: VideoEngine haven't init
INFO    (14:16:45:876 |    0)   1198; [DEBUGG] ViERenderManager Destructor, engine_id: 0
INFO    (14:16:45:878 |    2)   1204; Thread with name:VideoEncodeThread stopped
INFO    (14:16:45:888 |   10)   1198; Delete participant 4205
INFO    (14:16:45:888 |    0)   1201; Thread with name:EngineMonitorThread stopped
INFO    (14:16:45:898 |   10)   1199; Thread with name:external_audio_module_thread stopped
INFO    (14:16:45:908 |   10)   1200; Thread with name:WebRtc_event_timer_thread stopped
INFO    (14:16:45:918 |   10)   1198; [che] chat engine destroyed
INFO    (14:16:45:918 |    0)   1198; ***CALL END
INFO    (14:16:45:919 |    1)   1198; [rs] **report stats: seq: 25, report list size 25, tx/rx: 5214/1152, cache size: 0, report success rate: 100
INFO    (14:16:45:919 |    0)   1198; Agora Rtc Engine stopped
INFO    (14:16:45:919 |    0)   1194; async task notify worker thread to exit and return
INFO    (14:16:45:919 |    0)   1194; CacheManager: save cache to storage elapsed 0
INFO    (14:16:45:919 |    0)   1194; CacheManager: save report cache to storage elapsed 0
QQ图片20170802143947.png QQ截图20170802144436.png
已邀请:

林郅喆

赞同来自:

您好,请看一下uid_xxx.txt 这个文件是否正常close.

段武举

赞同来自:

你这个问题解决了吗? 遇到同样问题,不知道怎么解决

要回复问题请先登录注册