Skip to content

the record file can not write #351

@one-matrix

Description

@one-matrix

i set chmod 777 ./data/record

docker run -it --name monibuca \
  -p 30110:1935 -p 30111:6000 -p 30112:8080 -p 30113:554 -p 30114:50051 -p 30115:5060/udp -p 30116:9000 \
  -v ./data/monibuca:/etc/monibuca \
  -v ./data/record:/record \
  langhuihui/monibuca:v5

10:22:58.483165 DBG task start server=4 plugin=MP4 filePath=record/live/cam1 streamPath=live/cam1 taskId=56 taskType=0 ownerType=writeTrailer reason=plugin/mp4/pkg/record.go:128
10:22:58.483732 DBG task run server=4 plugin=MP4 filePath=record/live/cam1 streamPath=live/cam1 taskId=56 taskType=0 ownerType=writeTrailer
10:22:58.483756 INF write trailer server=4 plugin=MP4 filePath=record/live/cam1 streamPath=live/cam1
10:22:58.483898 DBG task stop server=4 plugin=MP4 filePath=record/live/cam1 streamPath=live/cam1 caller=pkg/task/task.go:373 reason=write /tmp/3354509462.mp4: copy_file_range: bad file descriptor elapsed=733.148µs taskId=56 taskType=0 ownerType=writeTrailer
10:22:58.483930 DBG task dispose server=4 plugin=MP4 filePath=record/live/cam1 streamPath=live/cam1 reason=write /tmp/3354509462.mp4: copy_file_range: bad file descriptor taskId=56 taskType=0 ownerType=writeTrailer
10:22:58.483954 DBG task disposed server=4 plugin=MP4 filePath=record/live/cam1 streamPath=live/cam1 reason=write /tmp/3354509462.mp4: copy_file_range: bad file descriptor taskId=56 taskType=0 ownerType=writeTrailer
10:22:58.491374 INF reset absTime server=4 plugin=RTSP streamPath=live/cam1?channel=1&subtype=0 pId=45 track=video frameType=*rtp.VideoFrame subtrack=*mp4.VideoFrame reader=*mp4.VideoFrame skipTs=3m0.4s
10:23:00.761332 DBG visit server=4 addr=:8080 path=/api/proxy/pull/list remote=183.229.159.172:6937
10:23:02.738035 DBG -> server=4 plugin=RTSP pullProxyId=1 pullProxyType=rtsp pullProxyName=cam1 req=OPTIONS rtsp://192.168.9.103:554/cam/realmonitor?channel=1&subtype=0 RTSP/1.0
Authorization: Digest username="admin", realm="Login to BCBCF1770144EB51", nonce="4421B69278C716BAC5FAE6D45553B7F2D2CC17CCE5EA617B16596F54E45505C", uri="rtsp://192.168.9.103:554/cam/realmonitor?channel=1&subtype=0", response="f620803159277d250f1ef26c0c453a58"
User-Agent: monibucav5.1.1
CSeq: 38

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions