Coder Social home page Coder Social logo

blive-raspberry's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

blive-raspberry's Issues

运行python3 main.py命令之后直播间无反应

[2019-10-25 15:44:14,567][Media Service][INFO] [Music] [Mili - Bathtub Mermaid] 播放结束
[2019-10-25 15:44:14,614][Media Service][INFO] [Music] 开始播放[系统]点播的[Mili - Bathtub Mermaid]
[2019-10-25 15:44:17,953][Media Service][DEBUG] ffmpeg -re -loop 1 -r 3 -t 225 - f image2 -i "./resource/img/darksouls.jpg" -i "./resource/music/Mili - Bathtub M ermaid.mp3" -vf ass="./resource/lrc/default.ass" -pix_fmt yuv420p -crf 24 -prese t ultrafast -maxrate 3000k -acodec aac -b:a 192k -c:v h264_omx -f flv "rtmp://bv c.live-send.acg.tv/live-bvc/?streamname=live_13277646_7540798&key=9ff885d4ac6928 d3ccd496a7b192f538" 2>> ./log/ffmpeg.log

使用python3 main.py命令时报错

Traceback (most recent call last):
File "main.py", line 4, in
from service.Media import MediaService
File "/root/blive-raspberry-master/service/Media.py", line 9, in
from util.FFmpeg import *
File "/root/blive-raspberry-master/util/FFmpeg.py", line 2, in
from mutagen.mp3 import MP3
ModuleNotFoundError: No module named 'mutagen'

原理

大佬,能简单讲下2.0的原理吗,
1.0的话是用ffmpeg实时推流合成的视频,这我勉强能理解,可是2.0的原理没太理解,是类似于在docker里面运行了一个web浏览器然后进行了屏幕录制吗?还是跟1.0一样,视频是实时合成的,只不过用golang合成的?

Ass filter error

Stream mapping:
Stream #0:0 -> #0:0 (mjpeg (native) -> h264 (libx264))
Stream #1:0 -> #0:1 (mp3 (mp3float) -> aac (native))
Press [q] to stop, [?] for help
[image2 @ 0x2a65450] Thread message queue blocking; consider raising the thread_queue_size option (current value: 8)
[AVFilterGraph @ 0x2a660a0] No such filter: 'ass'
Error reinitializing filters!
Failed to inject frame into filter network: Invalid argument
Error while processing the decoded data for stream #0:0
Conversion failed!

报错+建议

报错信息:当前登陆存在安全风险,请稍后再试
建议改用cookie.

docker构建镜像报错

使用了git库里下载的文件
服务器系统为centos7
构建镜像提示
Step 3/8 : COPY ./docker/sources.list /etc/apt/sources.list

COPY failed: file not found in build context or excluded by .dockerignore: stat docker/sources.list: file does not exist

应该如何解决

镜像源失效

sources.list中腾讯源 四川电信实测无法使用 请更换阿里源

这个问题不知道如何解决

pi@raspberrypi:~/blive-raspberry $ python3 main.py
Traceback (most recent call last):
File "main.py", line 1, in
from util.Log import Log
File "/home/pi/blive-raspberry/util/Log.py", line 2, in
from colorlog import ColoredFormatter
ImportError: No module named 'colorlog'

那个运行main.py之后报错了

Traceback (most recent call last):
File "main.py", line 2, in
from utit.Log import Log
ImportError: No module named utit.Log
这个怎么解决呀,蟹蟹啦

ImportError: cannot import name 'Random'

报错,百度看了下
crypto装了,site-packges里面第一个字母改成大写了,无效
后来说这个是在pycrypto里面,但是官方网站说这个库根本没有python3.6版本
那么怎么让它跑起来呢

报错+建议

自建api 短信login 400 提示“验证成功后,可进行下一步操作哦”
建议使用二维码/cookie

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.