【问题标题】:FFMPEG Audio streaming over RTPRTP 上的 FFMPEG 音频流
【发布时间】:2018-03-01 11:23:25
【问题描述】:

我有一个编码的音频文件(.aac 文件)。我想使用 FFMPEG 通过 RTP 流式传输此文件,无需任何转码。我正在使用以下命令:

ffmpeg -i input_file.aac -re -vn -acodec copy -strict experimental -f rtp rtp://225.0.0.1:1234

但上面的命令给出以下错误:

AAC with no global headers is currently not supported

谁能指出任何更正?

感谢您的帮助。

【问题讨论】:

    标签: audio ffmpeg rtp


    【解决方案1】:

    警告意味着它希望在您的音频流上设置全局标头,如下所示:

    ffmpeg -re -i input_file.aac -c:a copy -flags:a +global_headers -f rtp rtp://225.0.0.1:1234
    

    【讨论】:

    • 添加了全局标题标志。还是同样的问题。
    猜你喜欢
    • 2015-08-24
    • 1970-01-01
    • 1970-01-01
    • 2020-03-01
    • 1970-01-01
    • 2017-04-11
    • 1970-01-01
    • 2019-03-13
    • 1970-01-01
    相关资源
    最近更新 更多