dm6467T平台,TI原装的开发板,用的dvsdk版本是dvsdk_3_10_00_19, 执行" ./encode -v hh.264 -a aa.aac -l ",aac设的默认参数是64000,44100,但为什么录出来的aac文件总是在60kbps以下呢?
打印出来的数据如下:
Encode demo ARM Load: 7% DSP Load: 35% Display Type: 720P 60Hz Video Codec: H.264 HP Video fps: 30 fps Video bit rate: 1277 kbps Video resolution: 1280×720 Sound codec: N/A Sound bit rate: 60 kbps Sampling freq: 44100 Time: 00:10:53
Encode demo ARM Load: 1% DSP Load: 35% Display Type: 720P 60Hz Video Codec: H.264 HP Video fps: 30 fps Video bit rate: 1289 kbps Video resolution: 1280×720 Sound codec: N/A Sound bit rate: 59 kbps Sampling freq: 44100 Time: 00:10:54
Encode demo ARM Load: 5% DSP Load: 35% Display Type: 720P 60Hz Video Codec: H.264 HP Video fps: 30 fps Video bit rate: 1035 kbps Video resolution: 1280×720 Sound codec: N/A Sound bit rate: 59 kbps Sampling freq: 44100 Time: 00:10:55
Encode demo ARM Load: 8% DSP Load: 35% Display Type: 720P 60Hz Video Codec: H.264 HP Video fps: 30 fps Video bit rate: 977 kbps Video resolution: 1280×720 Sound codec: N/A Sound bit rate: 59 kbps Sampling freq: 44100 Time: 00:10:57
Encode demo ARM Load: 11% DSP Load: 35% Display Type: 720P 60Hz Video Codec: H.264 HP Video fps: 28 fps Video bit rate: 983 kbps Video resolution: 1280×720 Sound codec: N/A Sound bit rate: 60 kbps Sampling freq: 44100 Time: 00:10:58
Encode demo ARM Load: 7% DSP Load: 35% Display Type: 720P 60Hz Video Codec: H.264 HP Video fps: 30 fps Video bit rate: 1203 kbps Video resolution: 1280×720 Sound codec: N/A Sound bit rate: 59 kbps Sampling freq: 44100 Time: 00:10:59
Encode demo ARM Load: 3% DSP Load: 35% Display Type: 720P 60Hz Video Codec: H.264 HP Video fps: 30 fps Video bit rate: 1030 kbps Video resolution: 1280×720 Sound codec: N/A Sound bit rate: 59 kbps Sampling freq: 44100 Time: 00:11:00
Encode demo ARM Load: 5% DSP Load: 35% Display Type: 720P 60Hz Video Codec: H.264 HP Video fps: 30 fps Video bit rate: 1013 kbps Video resolution: 1280×720 Sound codec: N/A Sound bit rate: 60 kbps Sampling freq: 44100 Time: 00:11:01
Encode demo ARM Load: 5% DSP Load: 35% Display Type: 720P 60Hz Video Codec: H.264 HP Video fps: 31 fps Video bit rate: 1120 kbps Video resolution: 1280×720 Sound codec: N/A Sound bit rate: 59 kbps Sampling freq: 44100 Time: 00:11:03
Encode demo ARM Load: 4% DSP Load: 35% Display Type: 720P 60Hz Video Codec: H.264 HP Video fps: 30 fps Video bit rate: 1148 kbps Video resolution: 1280×720 Sound codec: N/A Sound bit rate: 59 kbps Sampling freq: 44100 Time: 00:11:04
Encode demo ARM Load: 5% DSP Load: 35% Display Type: 720P 60Hz Video Codec: H.264 HP Video fps: 30 fps Video bit rate: 1379 kbps Video resolution: 1280×720 Sound codec: N/A Sound bit rate: 60 kbps Sampling freq: 44100 Time: 00:11:05
Encode demo ARM Load: 9% DSP Load: 35% Display Type: 720P 60Hz Video Codec: H.264 HP Video fps: 30 fps Video bit rate: 1459 kbps Video resolution: 1280×720 Sound codec: N/A Sound bit rate: 59 kbps Sampling freq: 44100 Time: 00:11:06
Tuff Li:
codec码率有波动很正常吧? 录下来的文件播放有杂音吗?
jm luo:
回复 Tuff Li:
没有杂音,但音调变了。跟实际对比,完全是两个人的声音。
jm luo:
回复 Tuff Li:
这不是正常的波动,是一直在60kbps以下,但我设的是64kbps,造成录出来的文件播放时音调变快了,本来2分钟的录音,不到90秒就播完了。
这个问题是在H264和AAC同时编码时出现,单独AAC编码就不会。
Tuff Li:
回复 jm luo:
"造成录出来的文件播放时音调变快了,本来2分钟的录音,不到90秒就播完了"
encode录像出来的是ES流,没有帧率信息,播放的时候需要强制加上帧率播放
你用什么软件播放视频的? 如果编码帧率和播放帧率前后不一致,就会出现音调变化
jm luo:
回复 Tuff Li:
用暴风影音和VLC播放录出来的AAC文件,问题就是我设了是64kbps,录出来只有60kbps左右。用VLC播放时可以看到当前的内容位率的。
而且我想问的是,单独编AAC是正常(设64kbps,录出来在63和65间波动),
但为什么同时编H264和AAC就会出现这个问题?
"./encode -v hh.264 -a aa.aac -l"
Encode demo ARM Load: 6% DSP Load: 35% Display Type: 720P 60Hz Video Codec: H.264 BP Video fps: 31 fps Video bit rate: 563 kbps Video resolution: 1280×720 Sound codec: N/A Sound bit rate: 60 kbps Sampling freq: 44100 Time: 00:02:19
Encode demo ARM Load: 7% DSP Load: 35% Display Type: 720P 60Hz Video Codec: H.264 BP Video fps: 30 fps Video bit rate: 1149 kbps Video resolution: 1280×720 Sound codec: N/A Sound bit rate: 59 kbps Sampling freq: 44100 Time: 00:02:20
Encode demo ARM Load: 9% DSP Load: 35% Display Type: 720P 60Hz Video Codec: H.264 BP Video fps: 30 fps Video bit rate: 1105 kbps Video resolution: 1280×720 Sound codec: N/A Sound bit rate: 59 kbps Sampling freq: 44100 Time: 00:02:22
Encode demo ARM Load: 9% DSP Load: 35% Display Type: 720P 60Hz Video Codec: H.264 BP Video fps: 30 fps Video bit rate: 975 kbps Video resolution: 1280×720 Sound codec: N/A Sound bit rate: 59 kbps Sampling freq: 44100 Time: 00:02:23
Encode demo ARM Load: 3% DSP Load: 35% Display Type: 720P 60Hz Video Codec: H.264 BP Video fps: 30 fps Video bit rate: 518 kbps Video resolution: 1280×720 Sound codec: N/A Sound bit rate: 59 kbps Sampling freq: 44100 Time: 00:02:24