Coder Social home page Coder Social logo

videoshareplayer's Introduction

OnlineVideoPlayer

这是一款在线视频分享工具,主要用处为上级需要你视频打卡,这个时候你可以将你的视频链接直接发给你的上级,你的上级只需要点击一下链接就可以看到了,由于考虑到服务本身体量不大,而且目前很多视频分享链接都是需要付费,这样的一个简单易用的小工具方便快捷,就能够满足你的需求,后续可以将配置做成一个界面选择性配置的方式,更加的用户友好型。

下面是用户根据自己的需求自定义配置的几个栏目:

  1. 如果需要对外暴露服务且自己的ip是私有ip,则需要通过nat端口映射或者直接把服务部署到公有ip上去;如果自己的本身就是公有ip则不需要
  2. 视频的处理方式,就需要把sample-mp4-file.mp4替换为自己录制的mp4文件,然后按照
ffmpeg -i 你的视频名字.mp4 -profile:v baseline -level 3.0 -s 640x360 -start_number 0 -hls_time 10 -hls_list_size 0 -f hls -strict -2 index.m3u8
并将的到的文件 全部剪切到videos/video1目录下面去
  1. 在启动server之前,可以去server.go里面更改端口号和部署的ip
_ = s.Run(":8000")

// s.Run("你的ip:你想要部署的port")   e.g.    s.Run(201.212.4.10:9000)

videoshareplayer's People

Contributors

fantasticboy19 avatar

Watchers

 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.