Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

多路同时推、拉流,报Broken pipe #149

Closed
Tracked by #37
2Niu opened this issue Apr 22, 2022 · 8 comments
Closed
Tracked by #37

多路同时推、拉流,报Broken pipe #149

2Niu opened this issue Apr 22, 2022 · 8 comments

Comments

@2Niu
Copy link

2Niu commented Apr 22, 2022

用如下命令推流:
ffmpeg -f libk_video -wh 1920x1080 -sensor 3 -i video="test
" -f alsa -ac 2 -ar 32000 -i hw:0 -idr_freq 25 -vcodec libk_h264 -acodec aac
-f rtsp rtsp://10.20.1.55:5544/xxxx/com28
ffmpeg version 4.4 Copyright (c) 2000-2021 the FFmpeg developers
built with gcc 7.3.0 (2019-11-20_nds64le-linux-glibc-v5d-6c120106e03)
configuration: --cross-prefix=riscv64-linux- --enable-cross-compile --target-os=linux --cc=riscv64-linux-gcc --arch=riscv64 --extra-ldflags=-L./ --extra-ldflags=-ldl --extra-ldflags='-Wl,-rpath .' --enable-static --enable-libk_video --enable-libk_h264 --enable-libk_jpeg --enable-alsa --disable-autodetect --disable-ffplay --disable-ffprobe --disable-doc --enable-audio3a --enable-indev=v4l2
libavutil 56. 70.100 / 56. 70.100
libavcodec 58.134.100 / 58.134.100
libavformat 58. 76.100 / 58. 76.100
libavdevice 58. 13.100 / 58. 13.100
libavfilter 7.110.100 / 7.110.100
libswscale 5. 9.100 / 5. 9.100
libswresample 3. 9.100 / 3. 9.100
0x970E00f4: from 0x00550000 to 0x00110000
0x970E00f8: from 0x00000000 to 0x00770000
0x970E00fc: from 0x0fffff00 to 0x0fffff00
0x99900290: from 0x00000133 to 0x00000110
0x9990028c: from 0x00000001 to 0x00000000
0x9990038c: from 0x00000003 to 0x00000000
0x99900388: from 0x80000501 to 0x80000707
0x98000504: from 0x0001ffff to 0x00010303
k_video_read_header>w 1920, h 1080, stride = 1920
alloc_memory>phy_addr 0x1aebd000, size 68431872
k_video_read_header>isp_buf_paddr 0x1aebd000, isp_buf_vaddr 0x565000, isp_buf_size 68428800
isp_video
ds0 block alloc:0x1aabc000,size:4194304,align 4096
ds0_out_addr =0x1aabc000
twod block alloc:0x182bb000,size:41943040,align 4096
isp_info.ds1_addr is 1aebd000 isp_info.ds1_stride is 780
video_set_mipicsi start!
set_vi_params
set_isp_params
run_video!!
Open struct isp_device addr = 0x25c0b0,vi = 0x25c150,mmio_base = 0x92620700
[ 18.682787] mipi_coner_init done, pvt code 0x1ffff
[ 19.126175] lcd init ok lcd is 1 ---------------------------------!!!
[ 19.133179] mipi_dsi_init done
[ 19.136259] mipi_rx_dphy_init done!
Call cmd ISP_CMD_MIPI_DSI_INIT s[ 19.139902] isp_act_sensor_rst success
uccss
system is ready to Release rst_n
system rst_n has all release
system rst_n has all release
i2c_num = 0
imx219_i2c_init config done
Isp_f2k_Init start
Isp_f2k_Init end
video_in_Init start
vi_wrap_config start
struct isp_device = 0x25c0b0,vi= 0x25c150
vi_wrap_rst
struct isp_device 0x25c0b0,VI_WRAP_SWRST_CTL = 0x34f
vi_wrap_config end
video_in_Init end
Imx219_1080p30_init
reg is 100 val is 1
reg is 30eb val is 0
reg is 30eb val is 0
reg is 300a val is ff
reg is 300b val is ff
reg is 30eb val is 0
reg is 30eb val is 0
reg is 114 val is 1
reg is 128 val is 0
reg is 12a val is 18
reg is 12b val is 0
reg is 160 val is 4
reg is 161 val is 8e
reg is 162 val is d
reg is 163 val is 94
reg is 164 val is 2
reg is 165 val is a8
reg is 166 val is a
reg is 167 val is 27
reg is 168 val is 2
reg is 169 val is b4
reg is 16a val is 6
reg is 16b val is eb
reg is 16c val is 7
reg is 16d val is 80
reg is 16e val is 4
reg is 16f val is 38
reg is 170 val is 1
reg is 171 val is 1
reg is 174 val is 0
reg is 175 val is 0
reg is 301 val is 5
reg is 303 val is 1
reg is 304 val is 3
reg is 305 val is 3
reg is 306 val is 0
reg is 307 val is 26
reg is 30b val is 1
reg is 30c val is 0
reg is 30d val is 30
reg is 624 val is 7
reg is 625 val is 80
reg is 626 val is 4
reg is 627 val is 38
reg is 455e val is 0
reg is 471e val is 0
reg is 4767 val is 0
reg is 4750 val is 0
reg is 4540 val is 0
reg is 47b4 val is 0
reg is 4713 val is 0
reg is 478b val is 0
reg is 478f val is 0
reg is 4793 val is 0
reg is 4797 val is 0
reg is 479b val is 0
reg is 157 val is 40
reg is 158 val is 1
reg is 159 val is 0
reg is 15a val is 3
reg is 15b val is e8
reg is 100 val is 1
isp_f2k_core_table_init start!
Isp2K RGB Gamma TABLE config done!
Isp2K YUV Gamma TABLE config done!
VO VCoef Config done![ 23.393613] plat->ds1_addr is1aebd000

VO HCoef Config done!
VO GA[ 23.397728] plat->ds1_buf_cut is 14
MMA Coef Config done!
Call cmd [ 23.404124] ISP_CMD_SET_DS1_SIZE fram_uv_addr is 1fa400
ISP_CMD_DS1_ADDR succss
Call cmd ISP_CMD_DS1_BUFF_COUNT succss
Call cmd ISP_CMD_SET_DS1_SIZE succss
k_video_read_header>fd_isp: 0x7
isp_ouput
Input #0, libk_video, from 'video=test':
Duration: N/A, start: 0.033333, bitrate: 746496 kb/s
Stream #0:0: Video: rawvideo (NV12 / 0x3231564E), nv12, 1920x1080, 746496 kb/s, 30 tbr, 30 tbn, 30 tbc
Guessed Channel Layout for Input Stream #1.0 : stereo
Input #1, alsa, from 'hw:0':
Duration: N/A, start: 1650597527.574041, bitrate: 1024 kb/s
Stream #1:0: Audio: pcm_s16le, 32000 Hz, stereo, s16, 1024 kb/s
Stream mapping:
Stream #0:0 -> #0:0 (rawvideo (native) -> h264 (libk_h264))
Stream #1:0 -> #0:1 (pcm_s16le (native) -> aac (native))
Press [q] to stop, [?] for help
alloc_memory>phy_addr 0x17ccb000, size 6221824
k_h264_encode_init>yuv_vAddr 0x2007338000, yuv_phyAddr 0x17ccb000, yuv_size 6220800
Encoder Settings:
width : 1920
height : 1080
level : 42
profile : 2
FreqIDR : 25
gopLen : 25
FrameRate : 30
rcMode : 1
SliceQP : 25
bitrate : 4000000
maxbitrate : 4000000
AL_ShareMemAlloc_Create>fd_ddr 0xe, fd_share_memory 0xd
---- FPGA board is ready ----
Board UID : 30AB6E51
Board HW ID : 620000E0
Board rev. : DC4054E7
Board date : 20191115

Create_OutBuffers>count 4, size 3172352
VideoEncoder_Create>ok, hEnc 0x19c6eb0
pic: format 23, linesize 1920, 1920, 0, pts 0
pic data 0x1d255800, 0x1d44fc00, (nil), (nil), (nil), (nil), (nil), (nil)
[alsa @ 0x19aa580] Thread message queue blocking; consider raising the thread_queue_size option (current value: 8)
Output #0, rtsp, to 'rtsp://10.20.1.55:5544/xxxx/com28':
Metadata:
encoder : Lavf58.76.100
Stream #0:0: Video: h264, nv12(progressive), 1920x1080, q=2-31, 30 fps, 90k tbn
Metadata:
encoder : Lavc58.134.100 libk_h264
Stream #0:1: Audio: aac (LC), 32000 Hz, stereo, fltp, 128 kb/s
Metadata:
encoder : Lavc58.134.100 aac
[libk_video @ 0x19a63d0] Thread message queue blocking; consider raising the thread_queue_size option (current value: 8)
av_interleaved_write_frame(): Broken pipe00:00:15.60 bitrate=N/A speed=0.995x
Receive NULL pic
Last message repeated 1 times
Error writing trailer of rtsp://10.20.1.55:5544/xxxx/com28: Broken pipe
frame= 482 fps= 30 q=-0.0 Lsize=N/A time=00:00:16.09 bitrate=N/A speed=0.994x
video:7870kB audio:253kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
k_h264_encode_close>
VideoEncoder_Destroy>ch 0 ok
[aac @ 0x19c1ec0] Qavg: 161.536
QoS restore
k_video_read_close>
Conversion failed!

然后在vlc里拉流,单独推、拉,还是比较稳定的,如果多路,比如同时推、拉3 路,过一会就会报上面的 Broken pipe

部署是直接用docker启动的。 是不是我哪里做错了?

@q191201771
Copy link
Owner

推1路没问题?推3路有问题?

推流的流名称是不是重了?

把ffmpeg推流时候的码率分辨率调低点试试。

可以把lalserver的日志发我看下,位置在 /logs/lalserver.log

@2Niu
Copy link
Author

2Niu commented Apr 22, 2022

推流名称没有重复, 日志文件太大了,下面是最后的一部分:
2022/04/22 06:44:33.512887 DEBUG [GROUP1] cache rtmp video seq header. size:71 - gop_cache.go:108
2022/04/22 06:44:33.512909 DEBUG [GROUP1] cache httpflv video seq header. size:74 - gop_cache.go:108
2022/04/22 06:44:33.513923 DEBUG sps={ProfileIdc:100 ConstraintSet0Flag:0 ConstraintSet1Flag:0 ConstraintSet2Flag:0 LevelIdc:42 SpsId:0 ChromaFormatIdc:1 ResidualColorTransformFlag:0 BitDepthLuma:8 BitDepthChroma:8 TransFormBypass:0 Log2MaxFrameNumMinus4:0 PicOrderCntType:0 Log2MaxPicOrderCntLsb:10 NumRefFrames:1 GapsInFrameNumValueAllowedFlag:0 PicWidthInMbsMinusOne:119 PicHeightInMapUnitsMinusOne:67 FrameMbsOnlyFlag:1 MbAdaptiveFrameFieldFlag:0 Direct8X8InferenceFlag:1 FrameCroppingFlag:1 FrameCropLeftOffset:0 FrameCropRightOffset:0 FrameCropTopOffset:0 FrameCropBottomOffset:4 SarNum:1 SarDen:1} - beta.go:41
2022/04/22 06:44:33.513970 DEBUG [GROUP1] cache rtmp video seq header. size:71 - gop_cache.go:108
2022/04/22 06:44:33.513991 DEBUG [GROUP1] cache httpflv video seq header. size:74 - gop_cache.go:108
2022/04/22 06:44:34.445501 WARN [HLSMUXER1] force fragment split. fragTs=1390500000, ts=1385044560 - muxer.go:214
2022/04/22 06:44:37.584021 WARN [HLSMUXER1] force fragment split. fragTs=1385044560, ts=1387751580 - muxer.go:214
2022/04/22 06:44:37.589526 WARN [HLSMUXER1] force fragment split. fragTs=1387751580, ts=1390458600 - muxer.go:214
2022/04/22 06:44:37.592439 DEBUG sps={ProfileIdc:100 ConstraintSet0Flag:0 ConstraintSet1Flag:0 ConstraintSet2Flag:0 LevelIdc:42 SpsId:0 ChromaFormatIdc:1 ResidualColorTransformFlag:0 BitDepthLuma:8 BitDepthChroma:8 TransFormBypass:0 Log2MaxFrameNumMinus4:0 PicOrderCntType:0 Log2MaxPicOrderCntLsb:10 NumRefFrames:1 GapsInFrameNumValueAllowedFlag:0 PicWidthInMbsMinusOne:119 PicHeightInMapUnitsMinusOne:67 FrameMbsOnlyFlag:1 MbAdaptiveFrameFieldFlag:0 Direct8X8InferenceFlag:1 FrameCroppingFlag:1 FrameCropLeftOffset:0 FrameCropRightOffset:0 FrameCropTopOffset:0 FrameCropBottomOffset:4 SarNum:1 SarDen:1} - beta.go:41
2022/04/22 06:44:37.592476 DEBUG [GROUP1] cache rtmp video seq header. size:71 - gop_cache.go:108
2022/04/22 06:44:37.592490 DEBUG [GROUP1] cache httpflv video seq header. size:74 - gop_cache.go:108
2022/04/22 06:44:37.593890 DEBUG sps={ProfileIdc:100 ConstraintSet0Flag:0 ConstraintSet1Flag:0 ConstraintSet2Flag:0 LevelIdc:42 SpsId:0 ChromaFormatIdc:1 ResidualColorTransformFlag:0 BitDepthLuma:8 BitDepthChroma:8 TransFormBypass:0 Log2MaxFrameNumMinus4:0 PicOrderCntType:0 Log2MaxPicOrderCntLsb:10 NumRefFrames:1 GapsInFrameNumValueAllowedFlag:0 PicWidthInMbsMinusOne:119 PicHeightInMapUnitsMinusOne:67 FrameMbsOnlyFlag:1 MbAdaptiveFrameFieldFlag:0 Direct8X8InferenceFlag:1 FrameCroppingFlag:1 FrameCropLeftOffset:0 FrameCropRightOffset:0 FrameCropTopOffset:0 FrameCropBottomOffset:4 SarNum:1 SarDen:1} - beta.go:41
2022/04/22 06:44:37.593915 DEBUG [GROUP1] cache rtmp video seq header. size:71 - gop_cache.go:108
2022/04/22 06:44:37.593926 DEBUG [GROUP1] cache httpflv video seq header. size:74 - gop_cache.go:108
2022/04/22 06:44:37.594845 DEBUG sps={ProfileIdc:100 ConstraintSet0Flag:0 ConstraintSet1Flag:0 ConstraintSet2Flag:0 LevelIdc:42 SpsId:0 ChromaFormatIdc:1 ResidualColorTransformFlag:0 BitDepthLuma:8 BitDepthChroma:8 TransFormBypass:0 Log2MaxFrameNumMinus4:0 PicOrderCntType:0 Log2MaxPicOrderCntLsb:10 NumRefFrames:1 GapsInFrameNumValueAllowedFlag:0 PicWidthInMbsMinusOne:119 PicHeightInMapUnitsMinusOne:67 FrameMbsOnlyFlag:1 MbAdaptiveFrameFieldFlag:0 Direct8X8InferenceFlag:1 FrameCroppingFlag:1 FrameCropLeftOffset:0 FrameCropRightOffset:0 FrameCropTopOffset:0 FrameCropBottomOffset:4 SarNum:1 SarDen:1} - beta.go:41
2022/04/22 06:44:37.594869 DEBUG [GROUP1] cache rtmp video seq header. size:71 - gop_cache.go:108
2022/04/22 06:44:37.594880 DEBUG [GROUP1] cache httpflv video seq header. size:74 - gop_cache.go:108
2022/04/22 06:44:37.596855 DEBUG sps={ProfileIdc:100 ConstraintSet0Flag:0 ConstraintSet1Flag:0 ConstraintSet2Flag:0 LevelIdc:42 SpsId:0 ChromaFormatIdc:1 ResidualColorTransformFlag:0 BitDepthLuma:8 BitDepthChroma:8 TransFormBypass:0 Log2MaxFrameNumMinus4:0 PicOrderCntType:0 Log2MaxPicOrderCntLsb:10 NumRefFrames:1 GapsInFrameNumValueAllowedFlag:0 PicWidthInMbsMinusOne:119 PicHeightInMapUnitsMinusOne:67 FrameMbsOnlyFlag:1 MbAdaptiveFrameFieldFlag:0 Direct8X8InferenceFlag:1 FrameCroppingFlag:1 FrameCropLeftOffset:0 FrameCropRightOffset:0 FrameCropTopOffset:0 FrameCropBottomOffset:4 SarNum:1 SarDen:1} - beta.go:41
2022/04/22 06:44:37.596901 DEBUG [GROUP1] cache rtmp video seq header. size:71 - gop_cache.go:108
2022/04/22 06:44:37.596923 DEBUG [GROUP1] cache httpflv video seq header. size:74 - gop_cache.go:108
2022/04/22 06:44:37.598071 DEBUG sps={ProfileIdc:100 ConstraintSet0Flag:0 ConstraintSet1Flag:0 ConstraintSet2Flag:0 LevelIdc:42 SpsId:0 ChromaFormatIdc:1 ResidualColorTransformFlag:0 BitDepthLuma:8 BitDepthChroma:8 TransFormBypass:0 Log2MaxFrameNumMinus4:0 PicOrderCntType:0 Log2MaxPicOrderCntLsb:10 NumRefFrames:1 GapsInFrameNumValueAllowedFlag:0 PicWidthInMbsMinusOne:119 PicHeightInMapUnitsMinusOne:67 FrameMbsOnlyFlag:1 MbAdaptiveFrameFieldFlag:0 Direct8X8InferenceFlag:1 FrameCroppingFlag:1 FrameCropLeftOffset:0 FrameCropRightOffset:0 FrameCropTopOffset:0 FrameCropBottomOffset:4 SarNum:1 SarDen:1} - beta.go:41
2022/04/22 06:44:37.598102 DEBUG [GROUP1] cache rtmp video seq header. size:71 - gop_cache.go:108
2022/04/22 06:44:37.598117 DEBUG [GROUP1] cache httpflv video seq header. size:74 - gop_cache.go:108
2022/04/22 06:44:37.731332 DEBUG sps={ProfileIdc:100 ConstraintSet0Flag:0 ConstraintSet1Flag:0 ConstraintSet2Flag:0 LevelIdc:42 SpsId:0 ChromaFormatIdc:1 ResidualColorTransformFlag:0 BitDepthLuma:8 BitDepthChroma:8 TransFormBypass:0 Log2MaxFrameNumMinus4:0 PicOrderCntType:0 Log2MaxPicOrderCntLsb:10 NumRefFrames:1 GapsInFrameNumValueAllowedFlag:0 PicWidthInMbsMinusOne:119 PicHeightInMapUnitsMinusOne:67 FrameMbsOnlyFlag:1 MbAdaptiveFrameFieldFlag:0 Direct8X8InferenceFlag:1 FrameCroppingFlag:1 FrameCropLeftOffset:0 FrameCropRightOffset:0 FrameCropTopOffset:0 FrameCropBottomOffset:4 SarNum:1 SarDen:1} - beta.go:41
2022/04/22 06:44:37.731393 DEBUG [GROUP1] cache rtmp video seq header. size:71 - gop_cache.go:108
2022/04/22 06:44:37.731443 DEBUG [GROUP1] cache httpflv video seq header. size:74 - gop_cache.go:108
2022/04/22 06:44:38.557335 DEBUG sps={ProfileIdc:100 ConstraintSet0Flag:0 ConstraintSet1Flag:0 ConstraintSet2Flag:0 LevelIdc:42 SpsId:0 ChromaFormatIdc:1 ResidualColorTransformFlag:0 BitDepthLuma:8 BitDepthChroma:8 TransFormBypass:0 Log2MaxFrameNumMinus4:0 PicOrderCntType:0 Log2MaxPicOrderCntLsb:10 NumRefFrames:1 GapsInFrameNumValueAllowedFlag:0 PicWidthInMbsMinusOne:119 PicHeightInMapUnitsMinusOne:67 FrameMbsOnlyFlag:1 MbAdaptiveFrameFieldFlag:0 Direct8X8InferenceFlag:1 FrameCroppingFlag:1 FrameCropLeftOffset:0 FrameCropRightOffset:0 FrameCropTopOffset:0 FrameCropBottomOffset:4 SarNum:1 SarDen:1} - beta.go:41
2022/04/22 06:44:38.557390 DEBUG [GROUP1] cache rtmp video seq header. size:71 - gop_cache.go:108
2022/04/22 06:44:38.557430 DEBUG [GROUP1] cache httpflv video seq header. size:74 - gop_cache.go:108
2022/04/22 06:44:39.386588 DEBUG sps={ProfileIdc:100 ConstraintSet0Flag:0 ConstraintSet1Flag:0 ConstraintSet2Flag:0 LevelIdc:42 SpsId:0 ChromaFormatIdc:1 ResidualColorTransformFlag:0 BitDepthLuma:8 BitDepthChroma:8 TransFormBypass:0 Log2MaxFrameNumMinus4:0 PicOrderCntType:0 Log2MaxPicOrderCntLsb:10 NumRefFrames:1 GapsInFrameNumValueAllowedFlag:0 PicWidthInMbsMinusOne:119 PicHeightInMapUnitsMinusOne:67 FrameMbsOnlyFlag:1 MbAdaptiveFrameFieldFlag:0 Direct8X8InferenceFlag:1 FrameCroppingFlag:1 FrameCropLeftOffset:0 FrameCropRightOffset:0 FrameCropTopOffset:0 FrameCropBottomOffset:4 SarNum:1 SarDen:1} - beta.go:41
2022/04/22 06:44:39.386642 DEBUG [GROUP1] cache rtmp video seq header. size:71 - gop_cache.go:108
2022/04/22 06:44:39.386726 DEBUG [GROUP1] cache httpflv video seq header. size:74 - gop_cache.go:108
2022/04/22 06:44:40.225196 DEBUG sps={ProfileIdc:100 ConstraintSet0Flag:0 ConstraintSet1Flag:0 ConstraintSet2Flag:0 LevelIdc:42 SpsId:0 ChromaFormatIdc:1 ResidualColorTransformFlag:0 BitDepthLuma:8 BitDepthChroma:8 TransFormBypass:0 Log2MaxFrameNumMinus4:0 PicOrderCntType:0 Log2MaxPicOrderCntLsb:10 NumRefFrames:1 GapsInFrameNumValueAllowedFlag:0 PicWidthInMbsMinusOne:119 PicHeightInMapUnitsMinusOne:67 FrameMbsOnlyFlag:1 MbAdaptiveFrameFieldFlag:0 Direct8X8InferenceFlag:1 FrameCroppingFlag:1 FrameCropLeftOffset:0 FrameCropRightOffset:0 FrameCropTopOffset:0 FrameCropBottomOffset:4 SarNum:1 SarDen:1} - beta.go:41
2022/04/22 06:44:40.225302 DEBUG [GROUP1] cache rtmp video seq header. size:71 - gop_cache.go:108
2022/04/22 06:44:40.225328 DEBUG [GROUP1] cache httpflv video seq header. size:74 - gop_cache.go:108
2022/04/22 06:44:41.098392 DEBUG sps={ProfileIdc:100 ConstraintSet0Flag:0 ConstraintSet1Flag:0 ConstraintSet2Flag:0 LevelIdc:42 SpsId:0 ChromaFormatIdc:1 ResidualColorTransformFlag:0 BitDepthLuma:8 BitDepthChroma:8 TransFormBypass:0 Log2MaxFrameNumMinus4:0 PicOrderCntType:0 Log2MaxPicOrderCntLsb:10 NumRefFrames:1 GapsInFrameNumValueAllowedFlag:0 PicWidthInMbsMinusOne:119 PicHeightInMapUnitsMinusOne:67 FrameMbsOnlyFlag:1 MbAdaptiveFrameFieldFlag:0 Direct8X8InferenceFlag:1 FrameCroppingFlag:1 FrameCropLeftOffset:0 FrameCropRightOffset:0 FrameCropTopOffset:0 FrameCropBottomOffset:4 SarNum:1 SarDen:1} - beta.go:41
2022/04/22 06:44:41.098459 DEBUG [GROUP1] cache rtmp video seq header. size:71 - gop_cache.go:108
2022/04/22 06:44:41.098481 DEBUG [GROUP1] cache httpflv video seq header. size:74 - gop_cache.go:108
2022/04/22 06:44:41.935642 DEBUG sps={ProfileIdc:100 ConstraintSet0Flag:0 ConstraintSet1Flag:0 ConstraintSet2Flag:0 LevelIdc:42 SpsId:0 ChromaFormatIdc:1 ResidualColorTransformFlag:0 BitDepthLuma:8 BitDepthChroma:8 TransFormBypass:0 Log2MaxFrameNumMinus4:0 PicOrderCntType:0 Log2MaxPicOrderCntLsb:10 NumRefFrames:1 GapsInFrameNumValueAllowedFlag:0 PicWidthInMbsMinusOne:119 PicHeightInMapUnitsMinusOne:67 FrameMbsOnlyFlag:1 MbAdaptiveFrameFieldFlag:0 Direct8X8InferenceFlag:1 FrameCroppingFlag:1 FrameCropLeftOffset:0 FrameCropRightOffset:0 FrameCropTopOffset:0 FrameCropBottomOffset:4 SarNum:1 SarDen:1} - beta.go:41
2022/04/22 06:44:41.935700 DEBUG [GROUP1] cache rtmp video seq header. size:71 - gop_cache.go:108
2022/04/22 06:44:41.935731 DEBUG [GROUP1] cache httpflv video seq header. size:74 - gop_cache.go:108
2022/04/22 06:44:42.763891 DEBUG sps={ProfileIdc:100 ConstraintSet0Flag:0 ConstraintSet1Flag:0 ConstraintSet2Flag:0 LevelIdc:42 SpsId:0 ChromaFormatIdc:1 ResidualColorTransformFlag:0 BitDepthLuma:8 BitDepthChroma:8 TransFormBypass:0 Log2MaxFrameNumMinus4:0 PicOrderCntType:0 Log2MaxPicOrderCntLsb:10 NumRefFrames:1 GapsInFrameNumValueAllowedFlag:0 PicWidthInMbsMinusOne:119 PicHeightInMapUnitsMinusOne:67 FrameMbsOnlyFlag:1 MbAdaptiveFrameFieldFlag:0 Direct8X8InferenceFlag:1 FrameCroppingFlag:1 FrameCropLeftOffset:0 FrameCropRightOffset:0 FrameCropTopOffset:0 FrameCropBottomOffset:4 SarNum:1 SarDen:1} - beta.go:41
2022/04/22 06:44:42.763939 DEBUG [GROUP1] cache rtmp video seq header. size:71 - gop_cache.go:108
2022/04/22 06:44:42.763961 DEBUG [GROUP1] cache httpflv video seq header. size:74 - gop_cache.go:108
2022/04/22 06:44:43.601953 DEBUG sps={ProfileIdc:100 ConstraintSet0Flag:0 ConstraintSet1Flag:0 ConstraintSet2Flag:0 LevelIdc:42 SpsId:0 ChromaFormatIdc:1 ResidualColorTransformFlag:0 BitDepthLuma:8 BitDepthChroma:8 TransFormBypass:0 Log2MaxFrameNumMinus4:0 PicOrderCntType:0 Log2MaxPicOrderCntLsb:10 NumRefFrames:1 GapsInFrameNumValueAllowedFlag:0 PicWidthInMbsMinusOne:119 PicHeightInMapUnitsMinusOne:67 FrameMbsOnlyFlag:1 MbAdaptiveFrameFieldFlag:0 Direct8X8InferenceFlag:1 FrameCroppingFlag:1 FrameCropLeftOffset:0 FrameCropRightOffset:0 FrameCropTopOffset:0 FrameCropBottomOffset:4 SarNum:1 SarDen:1} - beta.go:41
2022/04/22 06:44:43.602004 DEBUG [GROUP1] cache rtmp video seq header. size:71 - gop_cache.go:108
2022/04/22 06:44:43.602024 DEBUG [GROUP1] cache httpflv video seq header. size:74 - gop_cache.go:108
2022/04/22 06:44:43.759414 DEBUG DEBUG_GROUP_LOG: group size=1 - server_manager.go:253
2022/04/22 06:44:43.759503 DEBUG DEBUG_GROUP_LOG: 1 {"stream_name":"com27","audio_codec":"AAC","video_codec":"H264","video_width":1920,"video_height":1080,"pub":{"protocol":"RTSP","session_id":"RTSPPUB1","remote_addr":"10.100.105.20:42824","start_time":"2022-04-22 02:26:59.234","read_bytes_sum":8053902859,"wrote_bytes_sum":172452,"bitrate":4059,"read_bitrate":4059,"write_bitrate":0},"subs":null,"pull":{"protocol":"","session_id":"","remote_addr":"","start_time":"","read_bytes_sum":0,"wrote_bytes_sum":0,"bitrate":0,"read_bitrate":0,"write_bitrate":0}} - server_manager.go:259
2022/04/22 06:44:44.434903 DEBUG sps={ProfileIdc:100 ConstraintSet0Flag:0 ConstraintSet1Flag:0 ConstraintSet2Flag:0 LevelIdc:42 SpsId:0 ChromaFormatIdc:1 ResidualColorTransformFlag:0 BitDepthLuma:8 BitDepthChroma:8 TransFormBypass:0 Log2MaxFrameNumMinus4:0 PicOrderCntType:0 Log2MaxPicOrderCntLsb:10 NumRefFrames:1 GapsInFrameNumValueAllowedFlag:0 PicWidthInMbsMinusOne:119 PicHeightInMapUnitsMinusOne:67 FrameMbsOnlyFlag:1 MbAdaptiveFrameFieldFlag:0 Direct8X8InferenceFlag:1 FrameCroppingFlag:1 FrameCropLeftOffset:0 FrameCropRightOffset:0 FrameCropTopOffset:0 FrameCropBottomOffset:4 SarNum:1 SarDen:1} - beta.go:41
2022/04/22 06:44:44.434953 DEBUG [GROUP1] cache rtmp video seq header. size:71 - gop_cache.go:108
2022/04/22 06:44:44.434973 DEBUG [GROUP1] cache httpflv video seq header. size:74 - gop_cache.go:108
2022/04/22 06:44:45.264418 DEBUG sps={ProfileIdc:100 ConstraintSet0Flag:0 ConstraintSet1Flag:0 ConstraintSet2Flag:0 LevelIdc:42 SpsId:0 ChromaFormatIdc:1 ResidualColorTransformFlag:0 BitDepthLuma:8 BitDepthChroma:8 TransFormBypass:0 Log2MaxFrameNumMinus4:0 PicOrderCntType:0 Log2MaxPicOrderCntLsb:10 NumRefFrames:1 GapsInFrameNumValueAllowedFlag:0 PicWidthInMbsMinusOne:119 PicHeightInMapUnitsMinusOne:67 FrameMbsOnlyFlag:1 MbAdaptiveFrameFieldFlag:0 Direct8X8InferenceFlag:1 FrameCroppingFlag:1 FrameCropLeftOffset:0 FrameCropRightOffset:0 FrameCropTopOffset:0 FrameCropBottomOffset:4 SarNum:1 SarDen:1} - beta.go:41
2022/04/22 06:44:45.264475 DEBUG [GROUP1] cache rtmp video seq header. size:71 - gop_cache.go:108
2022/04/22 06:44:45.264496 DEBUG [GROUP1] cache httpflv video seq header. size:74 - gop_cache.go:108

@q191201771
Copy link
Owner

看日志只有一个group,也即GROUP1,
说明只成功推了一路流,
把docker命令和推多路时的命令全贴一下我看看,

@2Niu
Copy link
Author

2Niu commented Apr 24, 2022

启动docker:
sudo docker run -it -d --name lal_server -p 1935:1935 -p 8090:8090 -p 4433:4433 -p 5544:5544 -p 8083:8083 -p 8084:8084 -p 30000-30100:30000-30100/udp lal /lal/bin/lalserver -c /lal/conf/lalserver.conf.json
多路推:
ffmpeg -f libk_video -wh 1920x1080 -sensor 3 -i video="test" -f alsa -ac 2 -ar 32000 -i hw:0 -idr_freq 25 -vcodec libk_h264 -acodec aac -f rtsp rtsp://10.20.1.55:5544/xxxx/com25

ffmpeg -f libk_video -wh 1920x1080 -sensor 3 -i video="test" -f alsa -ac 2 -ar 32000 -i hw:0 -idr_freq 25 -vcodec libk_h264 -acodec aac -f rtsp rtsp://10.20.1.55:5544/xxxx/com26

ffmpeg -f libk_video -wh 1920x1080 -sensor 3 -i video="test" -f alsa -ac 2 -ar 32000 -i hw:0 -idr_freq 25 -vcodec libk_h264 -acodec aac -f rtsp rtsp://10.20.1.55:5544/xxxx/com27

ffmpeg -f libk_video -wh 1920x1080 -sensor 3 -i video="test" -f alsa -ac 2 -ar 32000 -i hw:0 -idr_freq 25 -vcodec libk_h264 -acodec aac -f rtsp rtsp://10.20.1.55:5544/xxxx/com28

@q191201771
Copy link
Owner

要不试试不用docker,跑原生的?
从下面这个页面可以下载已经编译好的lalserver
https://github.com/q191201771/lal/releases/tag/v0.28.0

@2Niu
Copy link
Author

2Niu commented Apr 25, 2022

我先试试,多谢了!

@2Niu
Copy link
Author

2Niu commented Apr 25, 2022

直接执行 lalserver 报./conf里面的证书找不到
$ ./lalserver
2022/04/25 17:25:46.093147 WARN config file did not specify in the command line, try to load it in the usual path. - main.go:52
2022/04/25 17:25:46.093183 WARN lalserver.conf.json not exist. - main.go:68
2022/04/25 17:25:46.093193 WARN ./conf/lalserver.conf.json not exist. - main.go:68
2022/04/25 17:25:46.093206 WARN ../conf/lalserver.conf.json exist. using it as config file. - main.go:65
2022/04/25 17:25:46.094036 INFO initial log succ. - config.go:232
2022/04/25 17:25:46.094082 INFO
__ ___ __
/ / / | / /
/ / / /| | / /
/ // ___ |/ /
/// |//

  • config.go:235
    2022/04/25 17:25:46.094513 INFO load conf file succ. filename=../conf/lalserver.conf.json, raw content={ "# doc of config": "https://pengrl.com/lal/#/ConfigBrief", "conf_version": "v0.2.9", "rtmp": { "enable": true, "addr": ":1935", "gop_num": 0, "merge_write_size": 0, "add_dummy_audio_enable": false, "add_dummy_audio_wait_audio_ms": 150 }, "default_http": { "http_listen_addr": ":8888", "https_listen_addr": ":4433", "https_cert_file": "./conf/cert.pem", "https_key_file": "./conf/key.pem" }, "httpflv": { "enable": true, "enable_https": true, "url_pattern": "/", "gop_num": 0 }, "hls": { "enable": true, "enable_https": true, "url_pattern": "/hls/", "out_path": "./lal_record/hls/", "fragment_duration_ms": 3000, "fragment_num": 6, "delete_threshold": 6, "cleanup_mode": 1, "use_memory_as_disk_flag": false }, "httpts": { "enable": true, "enable_https": true, "url_pattern": "/", "gop_num": 0 }, "rtsp": { "enable": true, "addr": ":5544" }, "record": { "enable_flv": false, "flv_out_path": "./lal_record/flv/", "enable_mpegts": false, "mpegts_out_path": "./lal_record/mpegts" }, "relay_push": { "enable": false, "addr_list":[ ] }, "relay_pull": { "enable": false, "addr": "" }, "http_api": { "enable": true, "addr": ":8083" }, "server_id": "1", "http_notify": { "enable": false, "update_interval_sec": 5, "on_server_start": "http://127.0.0.1:10101/on_server_start", "on_update": "http://127.0.0.1:10101/on_update", "on_pub_start": "http://127.0.0.1:10101/on_pub_start", "on_pub_stop": "http://127.0.0.1:10101/on_pub_stop", "on_sub_start": "http://127.0.0.1:10101/on_sub_start", "on_sub_stop": "http://127.0.0.1:10101/on_sub_stop", "on_rtmp_connect": "http://127.0.0.1:10101/on_rtmp_connect" }, "simple_auth": { "key": "q191201771", "dangerous_lal_secret": "pengrl", "pub_rtmp_enable": false, "sub_rtmp_enable": false, "sub_httpflv_enable": false, "sub_httpts_enable": false, "pub_rtsp_enable": false, "sub_rtsp_enable": false, "hls_m3u8_enable": false }, "pprof": { "enable": true, "addr": ":8084" }, "log": { "level": 1, "filename": "./logs/lalserver.log", "is_to_stdout": true, "is_rotate_daily": true, "short_file_flag": true, "timestamp_flag": true, "timestamp_with_ms_flag": true, "level_flag": true, "assert_behavior": 1 }, "debug": { "log_group_interval_sec": 30, "log_group_max_group_num": 10, "log_group_max_sub_num_per_group": 10 } } parsed=&{ConfVersion:v0.2.9 RtmpConfig:{Enable:true Addr::1935 GopNum:0 MergeWriteSize:0 AddDummyAudioEnable:false AddDummyAudioWaitAudioMs:150} DefaultHttpConfig:{CommonHttpAddrConfig:{HttpListenAddr::8888 HttpsListenAddr::4433 HttpsCertFile:./conf/cert.pem HttpsKeyFile:./conf/key.pem}} HttpflvConfig:{CommonHttpServerConfig:{CommonHttpAddrConfig:{HttpListenAddr::8888 HttpsListenAddr::4433 HttpsCertFile:./conf/cert.pem HttpsKeyFile:./conf/key.pem} Enable:true EnableHttps:true UrlPattern:/} GopNum:0} HlsConfig:{CommonHttpServerConfig:{CommonHttpAddrConfig:{HttpListenAddr::8888 HttpsListenAddr::4433 HttpsCertFile:./conf/cert.pem HttpsKeyFile:./conf/key.pem} Enable:true EnableHttps:true UrlPattern:/hls/} UseMemoryAsDiskFlag:false MuxerConfig:{OutPath:./lal_record/hls/ FragmentDurationMs:3000 FragmentNum:6 DeleteThreshold:6 CleanupMode:1}} HttptsConfig:{CommonHttpServerConfig:{CommonHttpAddrConfig:{HttpListenAddr::8888 HttpsListenAddr::4433 HttpsCertFile:./conf/cert.pem HttpsKeyFile:./conf/key.pem} Enable:true EnableHttps:true UrlPattern:/} GopNum:0} RtspConfig:{Enable:true Addr::5544} RecordConfig:{EnableFlv:false FlvOutPath:./lal_record/flv/ EnableMpegts:false MpegtsOutPath:./lal_record/mpegts} RelayPushConfig:{Enable:false AddrList:[]} RelayPullConfig:{Enable:false Addr:} HttpApiConfig:{Enable:true Addr::8083} ServerId:1 HttpNotifyConfig:{Enable:false UpdateIntervalSec:5 OnServerStart:http://127.0.0.1:10101/on_server_start OnUpdate:http://127.0.0.1:10101/on_update OnPubStart:http://127.0.0.1:10101/on_pub_start OnPubStop:http://127.0.0.1:10101/on_pub_stop OnSubStart:http://127.0.0.1:10101/on_sub_start OnSubStop:http://127.0.0.1:10101/on_sub_stop OnRtmpConnect:http://127.0.0.1:10101/on_rtmp_connect} SimpleAuthConfig:{Key:q191201771 DangerousLalSecret:pengrl PubRtmpEnable:false SubRtmpEnable:false SubHttpflvEnable:false SubHttptsEnable:false PubRtspEnable:false SubRtspEnable:false HlsM3u8Enable:false} PprofConfig:{Enable:true Addr::8084} LogConfig:{Level:1 Filename:./logs/lalserver.log IsToStdout:true IsRotateDaily:true ShortFileFlag:true TimestampFlag:true TimestampWithMsFlag:true LevelFlag:true AssertBehavior:1} DebugConfig:{LogGroupIntervalSec:30 LogGroupMaxGroupNum:10 LogGroupMaxSubNumPerGroup:10}} - config.go:323
    2022/04/25 17:25:46.094589 INFO start: 2022-04-25 17:25:46.092 - base.go:33
    2022/04/25 17:25:46.094606 INFO wd: /CanaanData/Public_Web_Share_Files/common_use_software/lal_v0.28.0_linux/bin - base.go:34
    2022/04/25 17:25:46.094622 INFO args: ./lalserver - base.go:35
    2022/04/25 17:25:46.094639 INFO bininfo: GitTag=v0.28.0. GitCommitLog=f4b917d17f5940107787a07bf19e69b4c8b3a0cd [doc] v0.28.0 CHANGELOG.md. GitStatus= M gen_tag.sh. BuildTime=2022.03.27.113932. GoVersion=go version go1.16.6 darwin/amd64. runtime=linux/amd64. - base.go:36
    2022/04/25 17:25:46.094652 INFO version: lal v0.27.1 (github.com/q191201771/lal) - base.go:37
    2022/04/25 17:25:46.094663 INFO github: https://github.com/q191201771/lal - base.go:38
    2022/04/25 17:25:46.094674 INFO doc: https://pengrl.com/lal - base.go:39
    2022/04/25 17:25:46.094867 INFO start web pprof listen. addr=:8084 - server_manager.go:126
    2022/04/25 17:25:46.094883 INFO add http listen for httpflv. addr=:8888, pattern=/ - server_manager.go:148
    2022/04/25 17:25:46.095057 ERROR add https listen for httpflv failed. addr=:4433, pattern=/, err=open ./conf/cert.pem: no such file or directory - server_manager.go:157
    2022/04/25 17:25:46.095072 INFO add http listen for httpts. addr=:8888, pattern=/ - server_manager.go:148
    2022/04/25 17:25:46.095088 ERROR add https listen for httpts failed. addr=:4433, pattern=/, err=open ./conf/cert.pem: no such file or directory - server_manager.go:157
    2022/04/25 17:25:46.095102 INFO add http listen for hls. addr=:8888, pattern=/hls/ - server_manager.go:148
    2022/04/25 17:25:46.095116 ERROR add https listen for hls failed. addr=:4433, pattern=/hls/, err=open ./conf/cert.pem: no such file or directory - server_manager.go:157
    2022/04/25 17:25:46.095148 INFO start rtmp server listen. addr=:1935 - server.go:53
    2022/04/25 17:25:46.095195 INFO start rtsp server listen. addr=:5544 - server.go:71
    2022/04/25 17:25:46.095229 INFO start httpapi server listen. addr=:8083 - http_api.go:39

我把conf丢到bin目录里面执行lalserver 就可以了:
./lalserver
2022/04/25 17:26:15.358234 WARN config file did not specify in the command line, try to load it in the usual path. - main.go:52
2022/04/25 17:26:15.358269 WARN lalserver.conf.json not exist. - main.go:68
2022/04/25 17:26:15.358282 WARN ./conf/lalserver.conf.json exist. using it as config file. - main.go:65
2022/04/25 17:26:15.359087 INFO initial log succ. - config.go:232
2022/04/25 17:26:15.359125 INFO
__ ___ __
/ / / | / /
/ / / /| | / /
/ // ___ |/ /
/// |//

  • config.go:235
    2022/04/25 17:26:15.359553 INFO load conf file succ. filename=./conf/lalserver.conf.json, raw content={ "# doc of config": "https://pengrl.com/lal/#/ConfigBrief", "conf_version": "v0.2.9", "rtmp": { "enable": true, "addr": ":1935", "gop_num": 0, "merge_write_size": 0, "add_dummy_audio_enable": false, "add_dummy_audio_wait_audio_ms": 150 }, "default_http": { "http_listen_addr": ":8888", "https_listen_addr": ":4433", "https_cert_file": "./conf/cert.pem", "https_key_file": "./conf/key.pem" }, "httpflv": { "enable": true, "enable_https": true, "url_pattern": "/", "gop_num": 0 }, "hls": { "enable": true, "enable_https": true, "url_pattern": "/hls/", "out_path": "./lal_record/hls/", "fragment_duration_ms": 3000, "fragment_num": 6, "delete_threshold": 6, "cleanup_mode": 1, "use_memory_as_disk_flag": false }, "httpts": { "enable": true, "enable_https": true, "url_pattern": "/", "gop_num": 0 }, "rtsp": { "enable": true, "addr": ":5544" }, "record": { "enable_flv": false, "flv_out_path": "./lal_record/flv/", "enable_mpegts": false, "mpegts_out_path": "./lal_record/mpegts" }, "relay_push": { "enable": false, "addr_list":[ ] }, "relay_pull": { "enable": false, "addr": "" }, "http_api": { "enable": true, "addr": ":8083" }, "server_id": "1", "http_notify": { "enable": false, "update_interval_sec": 5, "on_server_start": "http://127.0.0.1:10101/on_server_start", "on_update": "http://127.0.0.1:10101/on_update", "on_pub_start": "http://127.0.0.1:10101/on_pub_start", "on_pub_stop": "http://127.0.0.1:10101/on_pub_stop", "on_sub_start": "http://127.0.0.1:10101/on_sub_start", "on_sub_stop": "http://127.0.0.1:10101/on_sub_stop", "on_rtmp_connect": "http://127.0.0.1:10101/on_rtmp_connect" }, "simple_auth": { "key": "q191201771", "dangerous_lal_secret": "pengrl", "pub_rtmp_enable": false, "sub_rtmp_enable": false, "sub_httpflv_enable": false, "sub_httpts_enable": false, "pub_rtsp_enable": false, "sub_rtsp_enable": false, "hls_m3u8_enable": false }, "pprof": { "enable": true, "addr": ":8084" }, "log": { "level": 1, "filename": "./logs/lalserver.log", "is_to_stdout": true, "is_rotate_daily": true, "short_file_flag": true, "timestamp_flag": true, "timestamp_with_ms_flag": true, "level_flag": true, "assert_behavior": 1 }, "debug": { "log_group_interval_sec": 30, "log_group_max_group_num": 10, "log_group_max_sub_num_per_group": 10 } } parsed=&{ConfVersion:v0.2.9 RtmpConfig:{Enable:true Addr::1935 GopNum:0 MergeWriteSize:0 AddDummyAudioEnable:false AddDummyAudioWaitAudioMs:150} DefaultHttpConfig:{CommonHttpAddrConfig:{HttpListenAddr::8888 HttpsListenAddr::4433 HttpsCertFile:./conf/cert.pem HttpsKeyFile:./conf/key.pem}} HttpflvConfig:{CommonHttpServerConfig:{CommonHttpAddrConfig:{HttpListenAddr::8888 HttpsListenAddr::4433 HttpsCertFile:./conf/cert.pem HttpsKeyFile:./conf/key.pem} Enable:true EnableHttps:true UrlPattern:/} GopNum:0} HlsConfig:{CommonHttpServerConfig:{CommonHttpAddrConfig:{HttpListenAddr::8888 HttpsListenAddr::4433 HttpsCertFile:./conf/cert.pem HttpsKeyFile:./conf/key.pem} Enable:true EnableHttps:true UrlPattern:/hls/} UseMemoryAsDiskFlag:false MuxerConfig:{OutPath:./lal_record/hls/ FragmentDurationMs:3000 FragmentNum:6 DeleteThreshold:6 CleanupMode:1}} HttptsConfig:{CommonHttpServerConfig:{CommonHttpAddrConfig:{HttpListenAddr::8888 HttpsListenAddr::4433 HttpsCertFile:./conf/cert.pem HttpsKeyFile:./conf/key.pem} Enable:true EnableHttps:true UrlPattern:/} GopNum:0} RtspConfig:{Enable:true Addr::5544} RecordConfig:{EnableFlv:false FlvOutPath:./lal_record/flv/ EnableMpegts:false MpegtsOutPath:./lal_record/mpegts} RelayPushConfig:{Enable:false AddrList:[]} RelayPullConfig:{Enable:false Addr:} HttpApiConfig:{Enable:true Addr::8083} ServerId:1 HttpNotifyConfig:{Enable:false UpdateIntervalSec:5 OnServerStart:http://127.0.0.1:10101/on_server_start OnUpdate:http://127.0.0.1:10101/on_update OnPubStart:http://127.0.0.1:10101/on_pub_start OnPubStop:http://127.0.0.1:10101/on_pub_stop OnSubStart:http://127.0.0.1:10101/on_sub_start OnSubStop:http://127.0.0.1:10101/on_sub_stop OnRtmpConnect:http://127.0.0.1:10101/on_rtmp_connect} SimpleAuthConfig:{Key:q191201771 DangerousLalSecret:pengrl PubRtmpEnable:false SubRtmpEnable:false SubHttpflvEnable:false SubHttptsEnable:false PubRtspEnable:false SubRtspEnable:false HlsM3u8Enable:false} PprofConfig:{Enable:true Addr::8084} LogConfig:{Level:1 Filename:./logs/lalserver.log IsToStdout:true IsRotateDaily:true ShortFileFlag:true TimestampFlag:true TimestampWithMsFlag:true LevelFlag:true AssertBehavior:1} DebugConfig:{LogGroupIntervalSec:30 LogGroupMaxGroupNum:10 LogGroupMaxSubNumPerGroup:10}} - config.go:323
    2022/04/25 17:26:15.359631 INFO start: 2022-04-25 17:26:15.357 - base.go:33
    2022/04/25 17:26:15.359647 INFO wd: /CanaanData/Public_Web_Share_Files/common_use_software/lal_v0.28.0_linux/bin - base.go:34
    2022/04/25 17:26:15.359662 INFO args: ./lalserver - base.go:35
    2022/04/25 17:26:15.359678 INFO bininfo: GitTag=v0.28.0. GitCommitLog=f4b917d17f5940107787a07bf19e69b4c8b3a0cd [doc] v0.28.0 CHANGELOG.md. GitStatus= M gen_tag.sh. BuildTime=2022.03.27.113932. GoVersion=go version go1.16.6 darwin/amd64. runtime=linux/amd64. - base.go:36
    2022/04/25 17:26:15.359692 INFO version: lal v0.27.1 (github.com/q191201771/lal) - base.go:37
    2022/04/25 17:26:15.359704 INFO github: https://github.com/q191201771/lal - base.go:38
    2022/04/25 17:26:15.359715 INFO doc: https://pengrl.com/lal - base.go:39
    2022/04/25 17:26:15.359847 INFO start web pprof listen. addr=:8084 - server_manager.go:126
    2022/04/25 17:26:15.359914 INFO add http listen for httpflv. addr=:8888, pattern=/ - server_manager.go:148
    2022/04/25 17:26:15.360326 INFO add https listen for httpflv. addr=:4433, pattern=/ - server_manager.go:159
    2022/04/25 17:26:15.360348 INFO add http listen for httpts. addr=:8888, pattern=/ - server_manager.go:148
    2022/04/25 17:26:15.360368 INFO add https listen for httpts. addr=:4433, pattern=/ - server_manager.go:159
    2022/04/25 17:26:15.360382 INFO add http listen for hls. addr=:8888, pattern=/hls/ - server_manager.go:148
    2022/04/25 17:26:15.360394 INFO add https listen for hls. addr=:4433, pattern=/hls/ - server_manager.go:159
    2022/04/25 17:26:15.360420 INFO start rtmp server listen. addr=:1935 - server.go:53
    2022/04/25 17:26:15.360456 INFO start rtsp server listen. addr=:5544 - server.go:71
    2022/04/25 17:26:15.360484 INFO start httpapi server listen. addr=:8083 - http_api.go:39
    2022/04/25 17:26:45.361369 DEBUG DEBUG_GROUP_LOG: group size=0 - server_manager.go:250

@q191201771 q191201771 mentioned this issue Jul 13, 2023
33 tasks
@q191201771
Copy link
Owner

超时移入 #37 管理。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants