Closed hyt2367 closed 5 years ago
这个应该把play.py的运行日志也发出来,不播放是play.py的bug,不是弹幕监控代码的bug
另外不要单独发一封邮件到我的邮箱,GitHub自己有邮件提示的
这个应该把play.py的运行日志也发出来,不播放是play.py的bug,不是弹幕监控代码的bug
另外不要单独发一封邮件到我的邮箱,GitHub自己有邮件提示的
啊啊,我不太会用GitHub,给你带来困扰实在抱歉! 我没找到有play.py专门的log文件,就自己生成了一个:
ffmpeg version 3.4.4-0ubuntu0.18.04.1 Copyright (c) 2000-2018 the FFmpeg developers
built with gcc 7 (Ubuntu/Linaro 7.3.0-16ubuntu3)
configuration: --prefix=/usr --extra-version=0ubuntu0.18.04.1 --toolchain=hardened --libdir=/usr/lib/aarch64-linux-gnu --incdir=/usr/include/aarch64-linux-gnu --enable-gpl --disable-stripping --enable-avresample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librubberband --enable-librsvg --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-omx --enable-openal --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libopencv --enable-libx264 --enable-shared
libavutil 55. 78.100 / 55. 78.100
libavcodec 57.107.100 / 57.107.100
libavformat 57. 83.100 / 57. 83.100
libavdevice 57. 10.100 / 57. 10.100
libavfilter 6.107.100 / 6.107.100
libavresample 3. 7. 0 / 3. 7. 0
libswscale 4. 8.100 / 4. 8.100
libswresample 2. 9.100 / 2. 9.100
libpostproc 54. 7.100 / 54. 7.100
Input #0, image2, from '/root/bin/24h-blive/default_pic/tutu1.jpg':
Duration: 00:00:00.50, start: 0.000000, bitrate: N/A
Stream #0:0: Video: mjpeg, yuvj420p(pc, bt470bg/unknown/unknown), 1280x720 [SAR 72:72 DAR 16:9], 2 fps, 2 tbr, 2 tbn, 2 tbc
Input #1, image2, from '/root/bin/24h-blive/default_mp3/1553170897.0.jpg':
Duration: 00:00:00.04, start: 0.000000, bitrate: 1350 kb/s
Stream #1:0: Video: mjpeg, yuvj420p(pc, bt470bg/unknown/unknown), 200x200 [SAR 72:72 DAR 1:1], 25 tbr, 25 tbn, 25 tbc
Input #2, mp3, from '/root/bin/24h-blive/default_mp3/1553170897.0.mp3':
Metadata:
encoder : Lavf56.4.101
encoded_by : Pro Tools
date : 2014-03-15
Duration: 00:04:51.32, start: 0.025057, bitrate: 128 kb/s
Stream #2:0: Audio: mp3, 44100 Hz, stereo, s16p, 128 kb/s
[Parsed_ass_1 @ 0xaaab21b66050] Shaper: FriBidi 0.19.7 (SIMPLE) HarfBuzz-ng 1.7.2 (COMPLEX)
[Parsed_ass_1 @ 0xaaab21b66050] Using font provider fontconfig
[Parsed_ass_1 @ 0xaaab21b66050] Added subtitle file: '/root/bin/24h-blive/default_mp3/1553170897.0.ass' (10 styles, 390 events)
Stream mapping:
Stream #0:0 (mjpeg) -> overlay:main
Stream #1:0 (mjpeg) -> overlay:overlay
ass -> Stream #0:0 (libx264)
Stream #2:0 -> #0:1 [sync #0:0] (copy)
Press [q] to stop, [?] for help
[Parsed_ass_1 @ 0xaaab21b66100] Shaper: FriBidi 0.19.7 (SIMPLE) HarfBuzz-ng 1.7.2 (COMPLEX)
[Parsed_ass_1 @ 0xaaab21b66100] Using font provider fontconfig
[Parsed_ass_1 @ 0xaaab21b66100] Added subtitle file: '/root/bin/24h-blive/default_mp3/1553170897.0.ass' (10 styles, 390 events)
[swscaler @ 0xaaab21fb2de0] deprecated pixel format used, make sure you did set range correctly
[swscaler @ 0xaaab21fbf900] deprecated pixel format used, make sure you did set range correctly
[Parsed_ass_1 @ 0xaaab21b66100] fontselect: (微软雅黑, 400, 0) -> /usr/share/fonts/truetype/dejavu/DejaVuSans.ttf, 0, DejaVuSans
[Parsed_ass_1 @ 0xaaab21b66100] Glyph 0x5F53 not found, selecting one more font for (微软雅黑, 400, 0)
[Parsed_ass_1 @ 0xaaab21b66100] fontselect: (微软雅黑, 400, 0) -> /usr/share/fonts/truetype/wqy/wqy-zenhei.ttc, 0, WenQuanYiZenHei
[libx264 @ 0xaaab21c00a10] VBV maxrate specified, but no bufsize, ignored
[libx264 @ 0xaaab21c00a10] using SAR=1/1
[libx264 @ 0xaaab21c00a10] using cpu capabilities: ARMv8 NEON
[libx264 @ 0xaaab21c00a10] profile Constrained Baseline, level 3.1
[libx264 @ 0xaaab21c00a10] 264 - core 152 r2854 e9a5903 - H.264/MPEG-4 AVC codec - Copyleft 2003-2017 - http://www.videolan.org/x264.html - options: cabac=0 ref=1 deblock=0:0:0 analyse=0:0 me=dia subme=0 psy=1 psy_rd=1.00:0.00 mixed_ref=0 me_range=16 chroma_me=1 trellis=0 8x8dct=0 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=0 threads=6 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=0 weightp=0 keyint=250 keyint_min=2 scenecut=0 intra_refresh=0 rc=crf mbtree=0 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=0
Output #0, flv, to 'rtmp://bvc.live-send.acg.tv/live-bvc/?streamname=live_1577484_9987261&key=ed8e756bfbee7dbdaec24756cd6242a2':
Metadata:
encoder : Lavf57.83.100
Stream #0:0: Video: h264 (libx264) ([7][0][0][0] / 0x0007), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], q=-1--1, 2 fps, 1k tbn, 2 tbc (default)
Metadata:
encoder : Lavc57.107.100 libx264
Side data:
cpb: bitrate max/min/avg: 3000000/0/0 buffer size: 0 vbv_delay: -1
Stream #0:1: Audio: mp3 ([2][0][0][0] / 0x0002), 44100 Hz, stereo, s16p, 128 kb/s
[image2 @ 0xaaab21b54cb0] Thread message queue blocking; consider raising the thread_queue_size option (current value: 8)
frame= 1 fps=0.0 q=0.0 size= 0kB time=00:00:00.00 bitrate=N/A speed= 0x ^Mframe= 3 fps=2.6 q=0.0 size= 0kB time=00:00:00.00 bitrate=N/A speed= 0x ^Mframe= 4 fps=2.4 q=0.0 size= 0kB time=00:00:00.00 bitrate=N/A speed= 0x ^Mframe= 5 fps=2.3 q=0.0 size= 0kB time=00:00:00.00 bitrate=N/A speed= 0x ^Mframe= 6 fps=2.2 q=0.0 size= 0kB time=00:00:00.00 bitrate=N/A speed= 0x ^Mframe= 7 fps=2.2 q=0.0 size= 0kB time=00:00:00.00 bitrate=N/A speed= 0x ^Mframe= 8 fps=2.2 q=7.0 size= 90kB time=00:00:00.00 bitrate=735728.0kbits/s speed=0.000271x ^Mframe= 9 fps=2.1 q=6.0 size= 136kB time=00:00:00.52 bitrate=2121.0kbits/s speed=0.125x ^Mframe= 10 fps=2.1 q=5.0 size= 211kB time=00:00:01.02 bitrate=1691.8kbits/s speed=0.217x ^Mframe= 11 fps=2.1 q=4.0 size= 269kB time=00:00:01.51 bitrate=1454.8kbits/s speed=0.291x
^Mframe= 12 fps=2.1 q=4.0 size= 355kB time=00:00:02.01 bitrate=1443.7kbits/s speed=0.352x ^Mframe= 13 fps=2.1 q=4.0 size= 416kB time=00:00:02.50 bitrate=1359.8kbits/s speed=0.403x ^Mframe= 14 fps=2.1 q=4.0 size= 437kB time=00:00:03.00 bitrate=1190.5kbits/s speed=0.447x ^Mframe= 15 fps=2.1 q=4.0 size= 499kB time=00:00:03.50 bitrate=1168.7kbits/s speed=0.484x ^Mframe= 16 fps=2.1 q=4.0 size= 613kB time=00:00:04.02 bitrate=1247.7kbits/s speed=0.52x ^Mframe= 17 fps=2.1 q=4.0 size= 650kB time=00:00:04.52 bitrate=1177.6kbits/s speed=0.548x ^Mframe= 18 fps=2.1 q=4.0 size= 678kB time=00:00:05.01 bitrate=1107.4kbits/s speed=0.573x ^Mframe= 19 fps=2.1 q=7.0 size= 704kB time=00:00:05.51 bitrate=1046.6kbits/s speed=0.596x ^Mframe= 20 fps=2.0 q=6.0 size= 731kB time=00:00:06.00 bitrate= 995.9kbits/s speed=0.615x ^Mframe= 21 fps=2.0 q=5.0 size= 756kB time=00:00:06.50 bitrate= 952.3kbits/s speed=0.633x ^Mframe= 22 fps=2.0 q=5.0 size= 782kB time=00:00:07.00 bitrate= 915.4kbits/s speed=0.65x
(这里一大堆类似的log省略了)
^Mframe= 579 fps=2.0 q=4.0 size= 10610kB time=00:04:45.51 bitrate= 304.4kbits/s speed=0.987x ^Mframe= 580 fps=2.0 q=4.0 size= 10619kB time=00:04:46.01 bitrate= 304.1kbits/s speed=0.987x ^Mframe= 581 fps=2.0 q=4.0 size= 10627kB time=00:04:46.51 bitrate= 303.9kbits/s speed=0.987x ^Mframe= 582 fps=2.0 q=4.0 size= 10636kB time=00:04:47.00 bitrate= 303.6kbits/s speed=0.987x ^M[flv @ 0xaaab21c03740] Failed to update header with correct duration.
[flv @ 0xaaab21c03740] Failed to update header with correct filesize.
frame= 582 fps=2.0 q=-1.0 Lsize= 10715kB time=00:04:51.26 bitrate= 301.4kbits/s speed= 1x
video:5977kB audio:4552kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 1.766686%
[libx264 @ 0xaaab21c00a10] frame I:3 Avg QP: 7.33 size:321419
[libx264 @ 0xaaab21c00a10] frame P:579 Avg QP: 4.74 size: 8904
[libx264 @ 0xaaab21c00a10] mb I I16..4: 100.0% 0.0% 0.0%
[libx264 @ 0xaaab21c00a10] mb P I16..4: 0.1% 0.0% 0.0% P16..4: 28.0% 0.0% 0.0% 0.0% 0.0% skip:71.9%
[libx264 @ 0xaaab21c00a10] coded y,uvDC,uvAC intra: 86.4% 62.3% 57.1% inter: 11.7% 1.1% 0.9%
[libx264 @ 0xaaab21c00a10] i16 v,h,dc,p: 31% 34% 23% 12%
[libx264 @ 0xaaab21c00a10] i8c dc,h,v,p: 48% 28% 20% 5%
[libx264 @ 0xaaab21c00a10] kb/s:168.24
ffmpeg version 3.4.4-0ubuntu0.18.04.1 Copyright (c) 2000-2018 the FFmpeg developers
built with gcc 7 (Ubuntu/Linaro 7.3.0-16ubuntu3)
configuration: --prefix=/usr --extra-version=0ubuntu0.18.04.1 --toolchain=hardened --libdir=/usr/lib/aarch64-linux-gnu --incdir=/usr/include/aarch64-linux-gnu --enable-gpl --disable-stripping --enable-avresample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librubberband --enable-librsvg --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-omx --enable-openal --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libopencv --enable-libx264 --enable-shared
libavutil 55. 78.100 / 55. 78.100
libavcodec 57.107.100 / 57.107.100
libavformat 57. 83.100 / 57. 83.100
libavdevice 57. 10.100 / 57. 10.100
libavfilter 6.107.100 / 6.107.100
libavresample 3. 7. 0 / 3. 7. 0
libswscale 4. 8.100 / 4. 8.100
libswresample 2. 9.100 / 2. 9.100
libpostproc 54. 7.100 / 54. 7.100
Input #0, image2, from '/root/bin/24h-blive/default_pic/huzi1.jpg':
Duration: 00:00:00.50, start: 0.000000, bitrate: N/A
Stream #0:0: Video: mjpeg, yuvj420p(pc, bt470bg/unknown/unknown), 1280x720 [SAR 96:96 DAR 16:9], 2 fps, 2 tbr, 2 tbn, 2 tbc
Input #1, image2, from '/root/bin/24h-blive/downloads/1553171929.0.jpg':
Duration: 00:00:00.04, start: 0.000000, bitrate: 2135 kb/s
Stream #1:0: Video: mjpeg, yuvj420p(pc, bt470bg/unknown/unknown), 200x200 [SAR 56:56 DAR 1:1], 25 tbr, 25 tbn, 25 tbc
Input #2, mp3, from '/root/bin/24h-blive/downloads/1553171929.0.mp3':
Metadata:
artist : 康碩Kenny
encoder : Lavf56.4.101
genre : Easy Listening
title : 01.雪の華
album : Let Guitar Be Your Friend
encoded_by : iTunes 11.1.3.8
date : 2014
Duration: 00:04:48.84, start: 0.025057, bitrate: 128 kb/s
Stream #2:0: Audio: mp3, 44100 Hz, stereo, s16p, 128 kb/s
[Parsed_ass_1 @ 0xaaaad33bdf00] Shaper: FriBidi 0.19.7 (SIMPLE) HarfBuzz-ng 1.7.2 (COMPLEX)
[Parsed_ass_1 @ 0xaaaad33bdf00] Using font provider fontconfig
[Parsed_ass_1 @ 0xaaaad33bdf00] Added subtitle file: '/root/bin/24h-blive/downloads/1553171929.0.ass' (10 styles, 303 events)
Stream mapping:
Stream #0:0 (mjpeg) -> overlay:main
Stream #1:0 (mjpeg) -> overlay:overlay
ass -> Stream #0:0 (h264_omx)
Stream #2:0 -> #0:1 [sync #0:0] (copy)
Press [q] to stop, [?] for help
[Parsed_ass_1 @ 0xaaaad33bdfb0] Shaper: FriBidi 0.19.7 (SIMPLE) HarfBuzz-ng 1.7.2 (COMPLEX)
[Parsed_ass_1 @ 0xaaaad33bdfb0] Using font provider fontconfig
[Parsed_ass_1 @ 0xaaaad33bdfb0] Added subtitle file: '/root/bin/24h-blive/downloads/1553171929.0.ass' (10 styles, 303 events)
[swscaler @ 0xaaaad37df820] deprecated pixel format used, make sure you did set range correctly
[swscaler @ 0xaaaad37f0a60] deprecated pixel format used, make sure you did set range correctly
[Parsed_ass_1 @ 0xaaaad33bdfb0] fontselect: (微软雅黑, 400, 0) -> /usr/share/fonts/truetype/dejavu/DejaVuSans.ttf, 0, DejaVuSans
[Parsed_ass_1 @ 0xaaaad33bdfb0] Glyph 0x5F53 not found, selecting one more font for (微软雅黑, 400, 0)
[Parsed_ass_1 @ 0xaaaad33bdfb0] fontselect: (微软雅黑, 400, 0) -> /usr/share/fonts/truetype/wqy/wqy-zenhei.ttc, 0, WenQuanYiZenHei
[h264_omx @ 0xaaaad33f6b50] libOMX_Core.so not found
[h264_omx @ 0xaaaad33f6b50] libOmxCore.so not found
Error initializing output stream 0:0 -- Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height
[image2 @ 0xaaaad33aacb0] Thread message queue blocking; consider raising the thread_queue_size option (current value: 8)
Conversion failed!
ffmpeg version 3.4.4-0ubuntu0.18.04.1 Copyright (c) 2000-2018 the FFmpeg developers
built with gcc 7 (Ubuntu/Linaro 7.3.0-16ubuntu3)
configuration: --prefix=/usr --extra-version=0ubuntu0.18.04.1 --toolchain=hardened --libdir=/usr/lib/aarch64-linux-gnu --incdir=/usr/include/aarch64-linux-gnu --enable-gpl --disable-stripping --enable-avresample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librubberband --enable-librsvg --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-omx --enable-openal --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libopencv --enable-libx264 --enable-shared
libavutil 55. 78.100 / 55. 78.100
libavcodec 57.107.100 / 57.107.100
libavformat 57. 83.100 / 57. 83.100
libavdevice 57. 10.100 / 57. 10.100
libavfilter 6.107.100 / 6.107.100
libavresample 3. 7. 0 / 3. 7. 0
libswscale 4. 8.100 / 4. 8.100
libswresample 2. 9.100 / 2. 9.100
libpostproc 54. 7.100 / 54. 7.100
Input #0, image2, from '/root/bin/24h-blive/default_pic/huzi2.jpg':
Duration: 00:00:00.50, start: 0.000000, bitrate: N/A
Stream #0:0: Video: mjpeg, yuvj420p(pc, bt470bg/unknown/unknown), 1280x720 [SAR 72:72 DAR 16:9], 2 fps, 2 tbr, 2 tbn, 2 tbc
Input #1, mp3, from '/root/bin/24h-blive/default_mp3/白金disco(Cover 井口裕香) - 水玥兒.mp3':
Metadata:
encoder : Lavf57.25.100
comment : 163 key(Don't modify):L64FU3W4YxX3ZFTmbZ+8/U4ZnHQwVyQFQpfqvPi1WFtgMmmYPmd9LT9+hTMPwP4+ZTEaXojwWybx2glUaXDjDHsfcB6YTW0Ag91hd8nard0kb+skliBKqKjk4vTjrDoQ1ZmlDKBFmtL83kRIYXKjaQepGgjrcHpviiCU3Xhk6OTdbzTEEtPtJuvGvT9WVwRoh9rfculFxNk84Ynf2EVYy4bIJTtD0eiy1ZA4BAUaW
album : 動漫遊戲本家笛子翻奏
title : 白金disco(Cover 井口裕香)
artist : 水玥兒
disc : 1
track : 13
Duration: 00:03:00.58, start: 0.025056, bitrate: 322 kb/s
Stream #1:0: Audio: mp3, 44100 Hz, stereo, s16p, 320 kb/s
Metadata:
encoder : Lavc57.24
Stream #1:1: Video: mjpeg, yuvj444p(pc, bt470bg/unknown/unknown), 640x640 [SAR 72:72 DAR 1:1], 90k tbr, 90k tbn, 90k tbc
Metadata:
comment : Media (e.g. label side of CD)
Stream mapping:
Stream #0:0 -> #0:0 (mjpeg (native) -> h264 (libx264))
Stream #1:0 -> #0:1 (copy)
Press [q] to stop, [?] for help
[Parsed_ass_0 @ 0xaaaac23624a0] Shaper: FriBidi 0.19.7 (SIMPLE) HarfBuzz-ng 1.7.2 (COMPLEX)
[Parsed_ass_0 @ 0xaaaac23624a0] Using font provider fontconfig
[Parsed_ass_0 @ 0xaaaac23624a0] Added subtitle file: '/root/bin/24h-blive/default.ass' (6 styles, 4 events)
[swscaler @ 0xaaaac27bfe10] deprecated pixel format used, make sure you did set range correctly
[Parsed_ass_0 @ 0xaaaac23624a0] fontselect: (微软雅黑, 400, 0) -> /usr/share/fonts/truetype/dejavu/DejaVuSans.ttf, 0, DejaVuSans
[Parsed_ass_0 @ 0xaaaac23624a0] Glyph 0x5F53 not found, selecting one more font for (微软雅黑, 400, 0)
[Parsed_ass_0 @ 0xaaaac23624a0] fontselect: (微软雅黑, 400, 0) -> /usr/share/fonts/truetype/wqy/wqy-zenhei.ttc, 0, WenQuanYiZenHei
[libx264 @ 0xaaaac232e440] VBV maxrate specified, but no bufsize, ignored
[libx264 @ 0xaaaac232e440] using SAR=1/1
[libx264 @ 0xaaaac232e440] using cpu capabilities: ARMv8 NEON
[libx264 @ 0xaaaac232e440] profile Constrained Baseline, level 3.1
[libx264 @ 0xaaaac232e440] 264 - core 152 r2854 e9a5903 - H.264/MPEG-4 AVC codec - Copyleft 2003-2017 - http://www.videolan.org/x264.html - options: cabac=0 ref=1 deblock=0:0:0 analyse=0:0 me=dia subme=0 psy=1 psy_rd=1.00:0.00 mixed_ref=0 me_range=16 chroma_me=1 trellis=0 8x8dct=0 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=0 threads=6 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=0 weightp=0 keyint=250 keyint_min=2 scenecut=0 intra_refresh=0 rc=crf mbtree=0 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4
ip_ratio=1.40 aq=0
Output #0, flv, to 'rtmp://bvc.live-send.acg.tv/live-bvc/?streamname=live_1577484_9987261&key=ed8e756bfbee7dbdaec24756cd6242a2':
Metadata:
encoder : Lavf57.83.100
Stream #0:0: Video: h264 (libx264) ([7][0][0][0] / 0x0007), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], q=-1--1, 2 fps, 1k tbn, 2 tbc
Metadata:
encoder : Lavc57.107.100 libx264
Side data:
cpb: bitrate max/min/avg: 3000000/0/0 buffer size: 0 vbv_delay: -1
Stream #0:1: Audio: mp3 ([2][0][0][0] / 0x0002), 44100 Hz, stereo, s16p, 320 kb/s
Metadata:
encoder : Lavc57.24
[image2 @ 0xaaaac2325c40] Thread message queue blocking; consider raising the thread_queue_size option (current value: 8)
frame= 2 fps=0.0 q=0.0 size= 0kB time=00:00:00.00 bitrate=N/A speed= 0x ^Mframe= 3 fps=2.7 q=0.0 size= 0kB time=00:00:00.00 bitrate=N/A speed= 0x ^Mframe= 4 fps=2.5 q=0.0 size= 0kB time=00:00:00.00 bitrate=N/A speed= 0x ^Mframe= 5 fps=2.3 q=0.0 size= 0kB time=00:00:00.00 bitrate=N/A speed= 0x ^Mframe= 6 fps=2.3 q=0.0 size= 0kB time=00:00:00.00 bitrate=N/A speed= 0x ^Mframe= 7 fps=2.2 q=0.0 size= 0kB time=00:00:00.00 bitrate=N/A speed= 0x ^Mframe= 8 fps=2.1 q=8.0 size= 251kB time=00:00:00.00 bitrate=2053200.0kbits/s speed=0.000268x ^Mframe= 9 fps=2.1 q=6.0 size= 310kB time=00:00:00.52 bitrate=4845.5kbits/s speed=0.124x ^Mframe= 10 fps=2.1 q=5.0 size= 437kB time=00:00:01.02 bitrate=3512.9kbits/s speed=0.215x ^Mframe= 11 fps=2.1 q=4.0 size= 558kB time=00:00:01.51 bitrate=3014.0kbits/s speed=0.289x ^Mframe= 12 fps=2.1 q=4.0 size= 707kB time=00:00:02.01 bitrate=2879.8kbits/s speed=0.35x ^Mframe= 13 fps=2.1 q=4.0 size= 822kB time=00:00:02.50 bitrate=2682.7kbits/s speed=0.402x ^Mframe= 14 fps=2.1 q=4.0 size= 905kB time=00:00:03.00 bitrate=2466.7kbits/s speed=0.445x ^Mframe= 15 fps=2.1 q=4.0 size= 1026kB time=00:00:03.50 bitrate=2401.4kbits/s speed=0.483x
(同省略,然后结束直播了)
^Mframe= 188 fps=2.0 q=4.0 size= 7638kB time=00:01:30.01 bitrate= 695.1kbits/s speed=0.959x ^Mframe= 189 fps=2.0 q=4.0 size= 7675kB time=00:01:30.51 bitrate= 694.7kbits/s speed=0.959x ^Mframe= 190 fps=2.0 q=4.0 size= 7713kB time=00:01:31.01 bitrate= 694.2kbits/s speed=0.959x ^Mframe= 191 fps=2.0 q=4.0 size= 7750kB time=00:01:31.50 bitrate= 693.8kbits/s speed=0.959x ^Mframe= 192 fps=2.0 q=4.0 size= 7787kB time=00:01:32.00 bitrate= 693.4kbits/s speed=0.96x ^Mframe= 193 fps=2.0 q=4.0 size= 7824kB time=00:01:32.50 bitrate= 692.9kbits/s speed=0.96x ^Mframe= 194 fps=2.0 q=4.0 size= 7863kB time=00:01:33.02 bitrate= 692.4kbits/s speed=0.96x ^Mav_interleaved_write_frame(): Broken pipe
[flv @ 0xaaaac2364160] Failed to update header with correct duration.
[flv @ 0xaaaac2364160] Failed to update header with correct filesize.
Error writing trailer of rtmp://bvc.live-send.acg.tv/live-bvc/?streamname=live_1577484_9987261&key=ed8e756bfbee7dbdaec24756cd6242a2: Broken pipe
frame= 195 fps=2.0 q=4.0 Lsize= 7863kB time=00:01:33.50 bitrate= 688.9kbits/s speed=0.962x
video:4186kB audio:3636kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.525476%
[libx264 @ 0xaaaac232e440] frame I:1 Avg QP:20.00 size:254591
[libx264 @ 0xaaaac232e440] frame P:194 Avg QP: 4.22 size: 21428
[libx264 @ 0xaaaac232e440] mb I I16..4: 100.0% 0.0% 0.0%
[libx264 @ 0xaaaac232e440] mb P I16..4: 0.0% 0.0% 0.0% P16..4: 74.4% 0.0% 0.0% 0.0% 0.0% skip:25.5%
[libx264 @ 0xaaaac232e440] coded y,uvDC,uvAC intra: 93.5% 73.3% 48.1% inter: 31.2% 2.9% 2.4%
[libx264 @ 0xaaaac232e440] i16 v,h,dc,p: 26% 28% 27% 18%
[libx264 @ 0xaaaac232e440] i8c dc,h,v,p: 34% 31% 23% 11%
[libx264 @ 0xaaaac232e440] kb/s:361.98
Conversion failed!
第二首歌只播了一半,不知道有没有记录全需要的信息= =完整的放在附件了 谢谢! play.log
这个是play.py脚本打印的log??? ??????????????????????
这个是play.py脚本打印的日志 ?????????????????????
我不太确定……就是运行play.py的那个终端显示的东西,我直接重定向到play.log文件了 没找到专门打印的日志0.0在哪啊?
另外重写计划预计今年都不会开始。
请直接自行手动抓取跳过那首歌时的log日志
手动抓取不会……登录日志不知道是啥…… 我是不是不适合这种有一定难度的项目……
python3 play.py输出的东西有那么难复制出来吗
我真的没懂……我知道的输出就是显示到屏幕上的字,都传在上面了,好像并不对TAT 大佬愿意详细指点一下吗0.0 不管怎样先谢过了!
这并不是输出的那些东西,该有的东西都没有
直接执行python3 play.py
然后复制所有输出的东西很难吗
如果输出指的就是输出到屏幕的话,我真的只看到了上面那些啊 不过直接截图确实比&>重定向要多了开头一些内容,是那些吗
是多了一些吗。。。。关键的东西都是那些。。。
我错了……但为什么直接重定向的时候那些内容不会写进文件啊?
我要的是输出日志。。。。。
是我太菜了……于是解决bug需要我提供的信息都全了吗,还需要什么吗
哪里全了?我没看到我要的东西啊
那我真的不明白了……输出日志哪里有啊
描述bug 当有人点歌后,系统会下载并加入播放队列,此时查看点播列表,会正常显示这首歌; 当前正在播放的歌播放结束后,直播画面会连续断线转圈几次,此时后台bilibiliClient.py会连续显示两三“直播开始。。。”(我感觉点播队列里的歌曲在这里被跳过了) 然后系统会继续从默认歌曲里随机选一首播放,而不是播放刚刚点播的歌曲,此时查看点播列表,显示无点播歌曲
而且点播的歌曲会留在default_mp3中,不会在播放完毕后删除,是本来就设计成这样的吗
复现步骤 按如下步骤可以复现bug:
本应出现的正常状态 正常情况应该是播放刚刚点播的歌曲
截屏或log记录 bilibiliClient.py的记录:(小菠萝2367是机器人)
环境信息
其他说明 话说大佬代码重写的怎么样了,不会开发的未毕业菜鸡运维等待抱大腿中(