[FFmpeg-trac] #10565(undetermined:new): Error submitting a packet to the muxer: Broken pipe, Error muxing a packet
FFmpeg
trac at avcodec.org
Mon Sep 18 05:12:37 EEST 2023
#10565: Error submitting a packet to the muxer: Broken pipe, Error muxing a packet
-------------------------------------+-------------------------------------
Reporter: Rob | Owner: (none)
Type: defect | Status: new
Priority: normal | Component:
| undetermined
Version: unspecified | Resolution:
Keywords: Error | Blocked By:
submitting a packet to the muxer: |
Broken pipe, Error muxing a |
packet |
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Comment (by Steven Liu):
{{{
[2023-09-18 10:09:14.122][INFO][82422][5ht538q7] Process: cpu=0.00%,0MB,
threads=2
[2023-09-18 10:09:17.907][INFO][82422][w829w4s4] Hybrid cpu=0.00%,0MB,
cid=1,0, timer=62,0,0, clock=0,48,1,0,0,0,0,0,0
[2023-09-18 10:09:19.124][INFO][82422][5ht538q7] Process: cpu=0.00%,0MB,
threads=2
[2023-09-18 10:09:21.239][INFO][82422][l8s714l8] RTMP client
ip=127.0.0.1:55821, fd=14
[2023-09-18 10:09:21.243][INFO][82422][l8s714l8] complex handshake success
[2023-09-18 10:09:21.243][INFO][82422][l8s714l8] connect app,
tcUrl=rtmp://127.0.0.1:1935/stream, pageUrl=, swfUrl=, schema=rtmp,
vhost=127.0.0.1, port=1935, app=stream, args=null
[2023-09-18 10:09:21.244][INFO][82422][l8s714l8] protocol in.buffer=0,
in.ack=0, out.ack=0, in.chunk=128, out.chunk=128
[2023-09-18 10:09:21.244][INFO][82422][l8s714l8] client identified, type
=fmle-publish, vhost=127.0.0.1, app=stream, stream=live, param=,
duration=0ms
[2023-09-18 10:09:21.245][INFO][82422][l8s714l8] connected stream,
tcUrl=rtmp://127.0.0.1:1935/stream, pageUrl=, swfUrl=, schema=rtmp,
vhost=__defaultVhost__, port=1935, app=stream, stream=live, param=,
args=null
[2023-09-18 10:09:21.245][INFO][82422][l8s714l8] source url=/stream/live,
ip=127.0.0.1, cache=1/2500, is_edge=0, source_id=/0519o9uu
[2023-09-18 10:09:21.246][INFO][82422][l8s714l8] ignore disabled exec for
vhost=__defaultVhost__
[2023-09-18 10:09:21.247][INFO][82422][l8s714l8] start publish mr=0/350,
p1stpt=20000, pnt=5000, tcp_nodelay=0
[2023-09-18 10:09:21.247][INFO][82422][l8s714l8] got metadata, width=384,
height=216, vcodec=7, acodec=10
[2023-09-18 10:09:21.250][INFO][82422][l8s714l8] 55B video sh, codec(7,
profile=Baseline, level=1.3, 384x216, 0kbps, 0.0fps, 0.0s)
[2023-09-18 10:09:21.250][INFO][82422][l8s714l8] 4B audio sh, codec(10,
profile=LC, 2channels, 0kbps, 48000HZ), flv(16bits, 2channels, 44100HZ)
[2023-09-18 10:09:21.251][INFO][82422][l8s714l8] cleanup when unpublish
[2023-09-18 10:09:21.251][INFO][82422][l8s714l8] TCP: before dispose
resource(RtmpConn)(0x61200005fbc0), conns=1, zombies=0, ign=0, inz=0,
ind=0
[2023-09-18 10:09:21.253][ERROR][82422][l8s714l8][4] serve error
code=2003(Amf0Decode)(Decode AMF0 message failed) : service cycle : rtmp:
stream service : rtmp: receive thread : handle publish message : rtmp:
consume message : rtmp: decode message : decode message : decode command
name : String invalid marker=0
thread [82422][l8s714l8]: do_cycle()
[./src/app/srs_app_rtmp_conn.cpp:263][errno=4]
thread [82422][l8s714l8]: service_cycle()
[./src/app/srs_app_rtmp_conn.cpp:457][errno=4]
thread [82422][l8s714l8]: do_publishing()
[./src/app/srs_app_rtmp_conn.cpp:1031][errno=35]
thread [82422][l8s714l8]: consume()
[./src/app/srs_app_recv_thread.cpp:380][errno=35]
thread [82422][l8s714l8]: handle_publish_message()
[./src/app/srs_app_rtmp_conn.cpp:1186][errno=35]
thread [82422][l8s714l8]: process_publish_message()
[./src/app/srs_app_rtmp_conn.cpp:1231][errno=35]
thread [82422][l8s714l8]: decode_message()
[./src/protocol/srs_protocol_rtmp_stack.cpp:384][errno=35]
thread [82422][l8s714l8]: do_decode_message()
[./src/protocol/srs_protocol_rtmp_stack.cpp:607][errno=35]
thread [82422][l8s714l8]: srs_amf0_read_string()
[./src/protocol/srs_protocol_amf0.cpp:1513][errno=35](Interrupted system
call)
[2023-09-18 10:09:21.255][INFO][82422][70a0507r] TCP: clear zombies=1
resources, conns=1, removing=0, unsubs=0
[2023-09-18 10:09:21.255][INFO][82422][l8s714l8] TCP: disposing #0
resource(RtmpConn)(0x61200005fbc0), conns=1, disposing=1, zombies=0
}}}
I look at the rtmp server log about the error mesage as your command
{{{
./ffmpeg -re -i ~/kuaishou/Test/low.mp4 -map 0 -c copy -f flv
rtmp://127.0.0.1/stream/live
}}}
.
Maybe the problem is happened in rtmp server side, or you can try command
{{{
./ffmpeg -re -i ~/kuaishou/Test/low.mp4 -map 0:a -map 0:v -c copy -f flv
rtmp://127.0.0.1/stream/live
}}}
--
Ticket URL: <https://trac.ffmpeg.org/ticket/10565#comment:6>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list