Format
下的40kb/s还是Stream
下的16kb/s?格式和流之间有什么关系?以下输出是在iPhone上使用音频单元(Core Audio)生成文件时产生的,输出格式由
AudioStreamBasicDescription
描述符指定。
更新:
使用ffprobe -v error -show_format -show_streams 123_1429602551009.051025.m4a
命令产生的输出:[STREAM]
index=0
codec_name=aac
codec_long_name=AAC (Advanced Audio Coding)
profile=LC
codec_type=audio
codec_time_base=1/8000
codec_tag_string=mp4a
codec_tag=0x6134706d
sample_fmt=fltp
sample_rate=8000
channels=1
channel_layout=mono
bits_per_sample=0
id=N/A
r_frame_rate=0/0
avg_frame_rate=0/0
time_base=1/8000
start_pts=0
start_time=0.000000
duration_ts=43008
duration=5.376000
bit_rate=16501
max_bit_rate=N/A
bits_per_raw_sample=N/A
nb_frames=42
nb_read_frames=N/A
nb_read_packets=N/A
DISPOSITION:default=1
DISPOSITION:dub=0
DISPOSITION:original=0
DISPOSITION:comment=0
DISPOSITION:lyrics=0
DISPOSITION:karaoke=0
DISPOSITION:forced=0
DISPOSITION:hearing_impaired=0
DISPOSITION:visual_impaired=0
DISPOSITION:clean_effects=0
DISPOSITION:attached_pic=0
TAG:creation_time=1970-04-16 22:36:01
TAG:language=eng
[/STREAM]
[FORMAT]
filename=123_1429602551009.051025.m4a
nb_streams=1
nb_programs=0
format_name=mov,mp4,m4a,3gp,3g2,mj2
format_long_name=QuickTime / MOV
start_time=0.000000
duration=5.376000
size=27473
bit_rate=40882
probe_score=100
TAG:major_brand=M4A
TAG:minor_version=0
TAG:compatible_brands=M4A mp42isom
TAG:creation_time=1970-04-16 22:36:01
TAG:iTunSMPB= 00000000 00000840 00000361 0000000000009C5F 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[/FORMAT]
ffprobe -v error -show_format -show_streams input.m4a
。然后突出显示文本并按下“command”+“k”或使用代码按钮进行正确的格式化。然后,您可以删除先前的命令和输出。 - llogan