Giter Club home page Giter Club logo

simplest_encoder's Introduction

## 利用ffmpeg制造标准测试数据
参考
https://blog.csdn.net/lifei092/article/details/114312975

yuv文件转vp9编码ivf文件
ffmpeg -s 1280x720  -i 10s.yuv -vcodec vp9 10s_vp9.ivf

yuv文件转h264编码的avi文件
ffmpeg -s 1280x720  -i 10s.yuv -vcodec h264 10s_h264.avi

转换mp4为yuv文件
ffmpeg -i 10s.mp4 -s 1280x720 -pix_fmt yuv420p 10s.yuv

按时间剪辑mp4
ffmpeg -ss 0:0:00 -t 0:0:10 -i 5.mp4 -vcodec copy -acodec copy 10s.mp4



说明:red.mp4,red.yuv是标准红色测试视频
生成 red.ivf是vp8编码的流媒体文件
转换的 red_vp9.ivf 是vp9编码的流媒体文件

simplest_encoder's People

Contributors

aliceljm1 avatar leixiaohua1020 avatar

Watchers

James Cloos 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.