Giter Club home page Giter Club logo

ffmpeg_h264_video_player's Introduction

这是什么东西?

这是一个基于C++/CLI和FFMPEG的视频播放器——但是不包含音频。或许我有一天会做一个播放音频的东西也说不定。

原理:

两个线程。一个控制UI,另一个控制播放。

播放时,FFMPEG进行解码,并计算出,对于该文件的码率,每绘制完一帧需要sleep多久。

然后,当没有停止,且播放的文件没有放完前,对于每一帧,进行转码,转为bmp格式,并用控件显示在UI上。

显示后,解码播放的线程sleep一段时间。

========================================================= 目录说明:

libs_zip目录:FFMPEG的共享库(DLL)和开发库(LIB),2012/9/11当前版本。包括x86和x64.

program_files目录:源代码。

test_video_file目录:测试用视频文件,目前只有一个,H264的视频。

=========================================================

一些遇到的问题和说明,请看blog:http://www.cnblogs.com/slayercat/archive/2012/09/11/CPP-CLI_FFMPEG.html

ffmpeg_h264_video_player's People

Watchers

 avatar  avatar  avatar

Forkers

jerky168

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.