• 各种视频编码器的命令行格式


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

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

    注意:输入为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


  • 相关阅读:
    猜数字和楼层扔鸡蛋问题
    python+selenium+unittest----skip(跳过用例)
    python+selenium+unittest----常用属性详解(框架属性详解)
    php----等比缩放图片
    Vue----生命周期
    js----定义变量的几种方式
    quartz(7)-源码分析
    quartz(6)--集群
    quartz(5)--作业管理和存储
    quartz(4)--quartz.properties文件
  • 原文地址:https://www.cnblogs.com/james1207/p/3323075.html
Copyright © 2020-2023  润新知