Coder Social home page Coder Social logo

tuke0919 / yingke-simplecodec Goto Github PK

View Code? Open in Web Editor NEW
34.0 3.0 12.0 137.13 MB

FFmpeg音视频库学习实践,包括音频使用mp3lame库实时编码pcm成mp3文件,faac库编码pcm成aac音频文件,使用ffmpeg解码mp4视频使用ANativeWindow简易播放器,ffmpeg解码mp4视频成yuv格式裸流数据,ffmpeg合成封装h264视频编码文件和aac音频编码文件成mp4视频,和逆过程 ffmpeg解封装mp4视频成h264和aac 编码文件,以及常见的yuv图像格式操作,yuv转换rgb(使用libyuv和纯代码),libjpeg-turbo库读取解码jpeg图像,libpng库读取解码png图像并使用ANativeWindow在Android显示,最后使用libjpeg-turbo和libpng库对原始yuv图像编码成jpeg和png图像

Kotlin 0.89% CMake 0.41% C 75.02% C++ 19.22% Objective-C 1.08% Java 3.29% Shell 0.09%
ffmpeg mp3lame faac yuv h264 aac yuv2rgb libjpeg-turbo libpng anativewind

yingke-simplecodec's Introduction

YingKe-SimpleCodeC

FFmpeg音视频库学习实践,包括

  1. 音频使用mp3lame库实时编码pcm成mp3文件,faac库编码pcm成aac音频文件,
  2. 使用ffmpeg解码mp4视频使用ANativeWindow简易播放器,
  3. ffmpeg解码mp4视频成yuv格式裸流数据,
  4. ffmpeg合成封装h264视频编码文件和aac音频编码文件成mp4视频,
  5. 和逆过程 ffmpeg解封装mp4视频成h264和aac 编码文件,
  6. 以及常见的yuv图像格式操作,yuv转换rgb(使用libyuv和纯代码),libjpeg-turbo库读取解码jpeg图像,libpng库读取解码png图像并使用ANativeWindow在Android显示,
  7. 最后使用libjpeg-turbo和libpng库对原始yuv图像编码成jpeg和png图像

项目截图

yingke-simplecodec's People

Contributors

tuke0919 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

yingke-simplecodec's Issues

ffmpeg-muxer-h264-aac-to-mp4 报错

[aac @ 0x7feae2b04080] Qavg: 2178.746
[aac @ 0x7feae2b0a780] Estimating duration from bitrate, this may be inaccurate
Could't write frame[mp4 @ 0x7feae1f049c0] Timestamps are unset in a packet for stream 0. This is deprecated and will stop working in the future. Fix your code to set the timestamps properly
[mp4 @ 0x7feae1f049c0] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 1813776 >= NOPTS

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.