zoukankan      html  css  js  c++  java
  • 各种视频编码器的命令行格式

    各种编码器命令行工具的简单使用方式

    第一行是编码,第二行是解码

    注意: 输入为YUV420P序列

    分辨率:1920x1080P

    帧率:25

    HEVC:

    //编码器自动输出重建文件

    TappEncoder -c encoder_lowdelay_P_main.cfg -i src01_1920x1080.yuv -wdt 1920 -hgt 1080 -b src01_1920x1080_37.hm10 -o src01_1920x1080_37.yuv
    TAppDecoder -b src01_1920x1080_37.hm10 -o src01_1920x1080_37.yuv


    VP9(libvpx):

    vpxenc -w 1920 -h 1080 --codec=vp9 --fps=25/1 --passes=2 --target-bitrate=7776 -o src01_1920x1080_0.150.vp9 src01_1920x1080.yuv
    vpxdec --i420 -o src01_1920x1080_0.150_vp9.yuv src01_1920x1080_0.150.vp9

    VP8(libvpx):

    vpxenc -w 1920 -h 1080 --codec=vp8 --fps=25/1 --target-bitrate=7776 -o src01_1920x1080_0.150.webm src01_1920x1080.yuv
    vpxdec --i420 -o src01_1920x1080_0.150_vp8.yuv src01_1920x1080_0.150.webm

    H264(libx264):

    ffmpeg -s 1920x1080 -i  src01_1920x1080.yuv -b:v 7776k -r 25 -vcodec libx264 -x264opts ssim src01_1920x1080_0.150.h264
    ffmpeg -i src01_1920x1080_0.150.h264 src01_1920x1080_0.150_264.yuv

    MPEG4(Xvid):

    xvid_encraw -i src01_1920x1080.yuv -w 1920 -h 1080 -csp i420 -type 0  -bitrate 7776 -framerate 25 -o src01_1920x1080_0.150.avi
    ffmpeg -i src01_1920x1080_0.150.avi src01_1920x1080_0.150_xvid.yuv

    MPEG2(ffmpeg):

    ffmpeg -s 1920x1080 -i src01_1920x1080.yuv -b:v 7776k -r 25 -vcodec mpeg2video src01_1920x1080_0.150.mpg
    ffmpeg -i src01_1920x1080_0.150.mpg src01_1920x1080_0.150_mpg2.yuv


  • 相关阅读:
    IDEA下同时使用Git和svn
    IDEA进行activiti-archetype-unittest脚手架的安装
    正则表达式
    关于JS堆栈与拷贝
    按值传递--
    JS---变量、作用域和内存问题
    laod
    待解决
    闭包2
    闭包1
  • 原文地址:https://www.cnblogs.com/leixiaohua1020/p/3902237.html
Copyright © 2011-2022 走看看