![](/img/trans.png)
[英]Not able to change H264 profile to High from Main using FFMPEG API
[英]H264 profile change using FFMPEG
我有以下详细信息的H264 Stream
video stream type : AVC
resolution : 640x368
profile:level : High:4.0
aspect ratio : 40x23(1:1)
chroma format : 4:2:0
interlaced : no
frames count : 15
duration : 00:00:02.800
frame size max : 80 088
avg : 14 538
avg/max (I) : 28 361 / 80 088
avg/max (P) : 2 444 / 3 196
avg/max (B) : 0 / 0
min : 1 880
framerate declared : 5.000
real : 5.000
bitrate type : VBR
bitrate declared : 1 259 968
bit allocation max : 1 126 640
avg : 581 520
min : 124 000
是否可以使用FFMPEG或其他工具转换为基准配置文件,或者有办法做自己的事情?
基本想法是将此视频流式传输到android设备。
ffmpeg -i input_file.avi -vcodec libx264 -vprofile基线-预设慢-b:v 500k-最大500k -bufsize 1000k -vf scale = -1:480-线程0 -acodec libvo_aacenc -b:a 128k output_file.mp4
Handbrake是一个出色的工具,具有命令行实用程序(基本上使用FFMpeg),并在此处列出所有当前配置文件的命令。
考虑到您需要基准配置文件,iPhone / iPod touch应该为您提供帮助:
./HandBrakeCLI -i DVD -o〜/ Movies / movie.mp4 -e x264 -q 20.0 -a 1 -E faac -B 128 -6 dpl2 -R Auto -D 0.0 -f mp4 -X 480 -m -x cabac = 0:ref = 2:me = umh:bframes = 0:weightp = 0:subme = 6:8x8dct = 0:网格= 0
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.