使用时rtmpsuck
根据元数据视频大小正确~316MB:
INFO: datasize 330537967.00
但当我使用rtmpdump
输出时有880MB,占35%
唯一重要的例外是总码率报告人mediainfo
:
$ diff rtmpsuck rtmpdump -y
File size : 316 MiB | File size : 803 MiB
Duration : 1h 37mn | Duration : 34mn 27s
Overall bit rate mode : Variable Overall bit rate mode : Variable
Overall bit rate : 454 Kbps | Overall bit rate : 3 259 Kbps
Video Video
Duration : 1h 37mn | Duration : 34mn 27s
Bit rate : 293 Kbps Bit rate : 293 Kbps
Stream size : 205 MiB (65%) | Stream size : 205 MiB (26%)
Audio Audio
Duration : 1h 37mn | Duration : 34mn 27s
Bit rate mode : Variable Bit rate mode : Variable
Bit rate : 154 Kbps Bit rate : 154 Kbps
Compression mode : Lossy Compression mode : Lossy
Stream size : 110 MiB (35%) | Stream size : 110 MiB (14%)
知道为什么rtmpdump
输出文件会变大吗?如何避免这种情况?
$ rtmpdump --v
RTMPDump v2.4
也尝试了 Win 版本:RTMP Proxy Server 2.4 git-6230845 2011-9-25