gpt4 book ai didi

ffmpeg - 使用 FFMPEG 更改 H264 配置文件

转载 作者:行者123 更新时间:2023-12-04 23:17:31 24 4
gpt4 key购买 nike

我有以下详细信息的 H264 流

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 baseline -preset slow -b:v 500k -maxrate 500k -bufsize 1000k -vf scale=-1:480 -threads 0 -acodec libvo_aacenc -b:a 128k output_file.mp4

关于ffmpeg - 使用 FFMPEG 更改 H264 配置文件,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/12912645/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com