使用FFMPEG更改H264配置文件
我有H264流与以下细节使用FFMPEG更改H264配置文件,ffmpeg,streaming,video-streaming,h.264,http-live-streaming,Ffmpeg,Streaming,Video Streaming,H.264,Http Live Streaming,我有H264流与以下细节 video stream type : AVC resolution : 640x368 profile:level : High:4.0 aspect ratio : 40x23(1:1) chroma format : 4:2:0 interla
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设备。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:submi=6:8x8dct=0:grills=0
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:128k输出_文件。mp4您几乎肯定想重新编码原始源材料,而不是您给出规格的h.264流。