New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

github.com/niceforbear/hdfs-video-player

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/niceforbear/hdfs-video-player

  • v0.0.0-20190921163706-810d887ce58d
  • Source
  • Go
  • Socket score

Version published
Created
Source

HDFS-video-player

  • Play mp4 file in HDFS by Go(Based on Beego framework) and WebHDFS in WebBrowser.
  • Support multi HDFS cluster.

Implements

  • Implement by Go which based on beego.
  • Use HDFS's WebHDFS to fetch HDFS's mp4 file data.
  • Support play jump which use HTTP status code 206 and header Content-Range.

Some tips

Mp4 metadata needs to be in front of the video. Maybe you have to understand ffmpeg and use it to keep the previous condition.

ffmpeg command which could make metadata in front of mp4:

ffmpeg -i input.mp4 -movflags faststart -acodec copy -vcodec copy output.mp4

Usage

  • Exec bee run in this project dir.
  • Visit http://localhost:8082 in your browser, select one cluster which you need to configure it before, then browse hdfs directories and choose one mp4 file to play.
  • You've better use Google Chrome browser, and could drag play button backward by raw player.

Contributing

  • Welcome to have a contributing!
  • Please see CONTRIBUTING for details.

License

The MIT License (MIT). Please see License File for more information.

Reference

FAQs

Package last updated on 21 Sep 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc