1. <legend id='5Os8p'><style id='5Os8p'><dir id='5Os8p'><q id='5Os8p'></q></dir></style></legend>
      <tfoot id='5Os8p'></tfoot>
    1. <small id='5Os8p'></small><noframes id='5Os8p'>

      • <bdo id='5Os8p'></bdo><ul id='5Os8p'></ul>
      <i id='5Os8p'><tr id='5Os8p'><dt id='5Os8p'><q id='5Os8p'><span id='5Os8p'><b id='5Os8p'><form id='5Os8p'><ins id='5Os8p'></ins><ul id='5Os8p'></ul><sub id='5Os8p'></sub></form><legend id='5Os8p'></legend><bdo id='5Os8p'><pre id='5Os8p'><center id='5Os8p'></center></pre></bdo></b><th id='5Os8p'></th></span></q></dt></tr></i><div id='5Os8p'><tfoot id='5Os8p'></tfoot><dl id='5Os8p'><fieldset id='5Os8p'></fieldset></dl></div>
    2. PHP 从视频中提取音频

      时间:2023-10-10

    3. <small id='8wSLz'></small><noframes id='8wSLz'>

      <i id='8wSLz'><tr id='8wSLz'><dt id='8wSLz'><q id='8wSLz'><span id='8wSLz'><b id='8wSLz'><form id='8wSLz'><ins id='8wSLz'></ins><ul id='8wSLz'></ul><sub id='8wSLz'></sub></form><legend id='8wSLz'></legend><bdo id='8wSLz'><pre id='8wSLz'><center id='8wSLz'></center></pre></bdo></b><th id='8wSLz'></th></span></q></dt></tr></i><div id='8wSLz'><tfoot id='8wSLz'></tfoot><dl id='8wSLz'><fieldset id='8wSLz'></fieldset></dl></div>
    4. <tfoot id='8wSLz'></tfoot>
          • <bdo id='8wSLz'></bdo><ul id='8wSLz'></ul>
                <tbody id='8wSLz'></tbody>
              1. <legend id='8wSLz'><style id='8wSLz'><dir id='8wSLz'><q id='8wSLz'></q></dir></style></legend>
                本文介绍了PHP 从视频中提取音频的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                问题描述

                我需要一种方法来从一些视频中提取音频(在 PHP 中).我有来自 YouTube 的视频流,所以如果它是实时流媒体,我真的很喜欢它,而不是我必须将它保存到临时目录并在那里处理它(尽管这是可以接受的.)谢谢,艾萨克沃勒
                更具体地说,我有一个 MP4,我希望它是 MP3.

                I need a way to extract the audio from some video (in PHP). I have the video streaming in from YouTube, so I would really like it if it were on the fly streaming, not I have to save it to a temp directory and process it there (though that is acceptable.) Thanks, Isaac Waller
                to be more specific, I have a MP4 and I want it to be a MP3.

                推荐答案

                你会想要使用类似 ffmpeg 并使用 php 的 exec 命令调用它.如果您在文档中环顾四周,我相信您可以找出仅用于获取音频的标志.

                You're going to want to use something like ffmpeg and call it using php's exec command. If you look around in the docs, I'm sure you can figure out what flag to use to only get the audio.

                我之前在一个视频实时转码项目中使用过这个应用程序,效果非常好.只需确保您的服务器已正确安装.

                I've used this app before on a project for live transcoding of video, works like a charm. Just make sure your server has it correctly installed.

                这篇关于PHP 从视频中提取音频的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                上一篇:从嵌入的 iframe 代码中获取 YouTube 视频 ID 下一篇:使用 GCM 向多个 Android 设备发送推送通知

                相关文章

                  <tfoot id='a2R9i'></tfoot>
                  1. <small id='a2R9i'></small><noframes id='a2R9i'>

                    <i id='a2R9i'><tr id='a2R9i'><dt id='a2R9i'><q id='a2R9i'><span id='a2R9i'><b id='a2R9i'><form id='a2R9i'><ins id='a2R9i'></ins><ul id='a2R9i'></ul><sub id='a2R9i'></sub></form><legend id='a2R9i'></legend><bdo id='a2R9i'><pre id='a2R9i'><center id='a2R9i'></center></pre></bdo></b><th id='a2R9i'></th></span></q></dt></tr></i><div id='a2R9i'><tfoot id='a2R9i'></tfoot><dl id='a2R9i'><fieldset id='a2R9i'></fieldset></dl></div>

                  2. <legend id='a2R9i'><style id='a2R9i'><dir id='a2R9i'><q id='a2R9i'></q></dir></style></legend>

                      <bdo id='a2R9i'></bdo><ul id='a2R9i'></ul>