Git Product home page Git Product logo

lumang / tblive Goto Github PK

View Code? Open in Web Editor NEW

This project forked from alibaba/tblive

11.0 2.0 4.0 50.74 MB

基于tblive开发于PC上录屏录音直播采集、推流的整体解决方案.

License: GNU General Public License v3.0

CMake 2.78% C 57.97% Shell 0.02% C++ 32.43% Objective-C 5.00% Objective-C++ 1.43% Batchfile 0.02% CSS 0.25% HTML 0.02% Rich Text Format 0.08%
record record-video record-audio

tblive's Introduction

项目说明

本项目基于tblive 将添加单独录制的功能,可以

  • [√] 一键开始,
  • [√] 结束,
  • 暂停
  • [√] 配置录制文件格式,
  • [√] 保存路径

千牛主播(tblive)

tblive开源项目对应的产品是千牛主播,是一个独立的PC端主播工具,基于开源软件OBS Studio来修改定制.

Windows下开发环境搭建

1、 安装VS2013 + Update4

安装 Qt5.6_vs2013

http://download.qt.io/official_releases/qt/5.6/5.6.0/qt-opensource-windows-x86-msvc2013-5.6.0.exe

并设置环境变量 QTDIR: C:\Qt\Qt5.6.0\5.6\msvc2013

安装qt-vs-addin

http://mirrors.ustc.edu.cn/qtproject/archive/vsaddin/qt-vs-addin-1.2.5.exe

VS2013中,QT5 - [Qt-option],设置qt版本

2、 安装cmake

https://cmake.org/files/v3.5/cmake-3.5.0-rc3-win32-x86.msi

并将cmake的bin路径添加到PATH

3、 使用cmake-gui生成工程编译

设置code source:比如 D:/src/alibaba/tblive

设置build目录:D:/src/alibaba/build

avatar 点击'Configure',然后选中COPY_DEPENDENCIES选项,再点击'Configure',最后点击'Generate'


常见cmake错误

Policy CMP0071

Policy CMP0071 is not set: Let AUTOMOC and AUTOUIC process GENERATED files. Run "cmake --help-policy CMP0071" for policy details. Use the cmake_policy command to set the policy and suppress this warning. 删除HAVE_OBSCONFIG_H avatar

用vs2013打开build目录下的obs-studio.sln,然后生成;生成的可执行程序在rundir目录下。 avatar

运行效果

avatar avatar


常见编译错误

error C2275

错误 1 error C2275: “int64_t”: 将此类型用作表达式非法 D:\src\alibaba\tblive\libobs\util\platform.c 291 1 libobs avatar

修改代码作为录屏软件

1、禁用登录操作,此处可改为自己的登录方式

2、将直播改为录制操作

3、修改配置文件在安装目录下

修改 obs-app.cpp 文件

  static bool portable_mode = true;//false ->true

avatar

obs-studio 模块图

avatar

tblive's People

Contributors

lumang avatar alibaba-oss avatar

Stargazers

 avatar  avatar Will avatar WangJianjun avatar Aaron avatar 煎饼果子 avatar  avatar  avatar robertluo avatar  avatar EngineerZhi avatar

Watchers

James Cloos avatar  avatar

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.