Giter Club home page Giter Club logo

kpplayer's Introduction

KPplayer

KPplayer是一个带混淆的推流/拉流工具,原理为打乱每一帧的像素

中文使用教程请参见/windows/使用教程.txt

KPplayer is an obscure streaming player/publisher.

The publisher random shuffle pixels on each frame.

The player reshuffle pixels to recover frames.

Requirements

ffmpeg

streamlink, plz use the latest version

Compile

sudo apt-get install libglib2.0-dev libfftw3-dev
sudo apt-get install git ffmpeg x264 mplayer


git clone https://github.com/kzoacn/KPplayer
cd KPplayer
make

#Encode

ffmpeg -i input.flv -f rawvideo - | ./kpenc -s 1280x720 -q 6 --qmin 1 --qmax 4 |x264 --input-res 1280x720 --fps 23.98 --profile high --level 5.1 --tune stillimage --crf 22 --colormatrix bt709 --me dia --merange 0 -o tmp.mkv -
ffmpeg -i input.flv -f mp3 tmp.mp3
ffmpeg -i tmp.mp3 -i tmp.mkv output.flv

#Decode

ffmpeg -i output.flv -f rawvideo - | ./kpdec -s 1280x720 -q 6 --qmin 1 --qmax 4 | mplayer - -demuxer rawvideo -rawvideo w=1280:h=720:fps=23.98

#Push stream

ffmpeg  -re -i output.flv -c:v libx264  -f flv  "rtmp://0.0.0.0"

#Pull stream

streamlink <url> best -O | tee -i >(cvlc - --no-video) >(ffmpeg -i - -f rawvideo - | ./kpdec -s 1280x720 -q 6 --qmin 1 --qmax 4 | mplayer - -demuxer rawvideo -rawvideo w=1280:h=720:fps=23.98) > /dev/null 


# choose your resolution and fps!!!!
# choose your resolution and fps!!!!
# choose your resolution and fps!!!!

Usage

Acknowledgement

lvdo

kpplayer's People

Contributors

kzoacn 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.