如何从 FLV 中提取音频?
我需要从使用 FMS 录制的 FLV 文件中提取音频。我在 Flash 应用程序中使用了 SPEEX 编码,将音频和视频传输到 FMS。
我尝试过使用 FFMPEG,但没有成功。这是我的 FLV 的 -i 输出:
FFmpeg 版本 SVN-rUNKNOWN,版权所有 (c) 2000-2007 Fabrice Bellard 等人。 配置: --enable-gpl --enable-pp --enable-swscaler --enable-pthreads --enable-libvorbis --enable-libtheora --enable-libogg --enable-libgsm --enable-dc1394 --disable -debug --enable-shared --prefix=/usr libavutil 版本:1d.49.3.0 libavcodec版本:1d.51.38.0 libavformat 版本:1d.51.10.0 建于 2010 年 4 月 23 日 15:11:13,gcc:4.2.4(Ubuntu 4.2.4-1ubuntu3) [flv @ 0xb7ed7110]不支持的音频编解码器 (b) [flv @ 0xb7ed7110]不支持的音频编解码器 (b) 输入#0,flv,来自“m.flv”: 持续时间:00:00:05.0,开始:0.000000,比特率:N/A 流 #0.0:视频:flv、yuv420p、288x203、1000.00 fps(r) Stream #0.1:音频:0x000b,11025 Hz,单声道
我需要一个命令行实用程序,因为这将从服务器执行。
提前致谢。
I need to extract the audio from a FLV file recorded using FMS. I used the SPEEX coded in my flash application that streams the audio and video to FMS.
I have tried using FFMPEG, with no luck. This is the -i outputs of my FLV:
FFmpeg version SVN-rUNKNOWN, Copyright (c) 2000-2007 Fabrice Bellard, et al.
configuration: --enable-gpl --enable-pp --enable-swscaler --enable-pthreads --enable-libvorbis --enable-libtheora --enable-libogg --enable-libgsm --enable-dc1394 --disable-debug --enable-shared --prefix=/usr
libavutil version: 1d.49.3.0
libavcodec version: 1d.51.38.0
libavformat version: 1d.51.10.0
built on Apr 23 2010 15:11:13, gcc: 4.2.4 (Ubuntu 4.2.4-1ubuntu3)
[flv @ 0xb7ed7110]Unsupported audio codec (b)
[flv @ 0xb7ed7110]Unsupported audio codec (b)
Input #0, flv, from 'm.flv':
Duration: 00:00:05.0, start: 0.000000, bitrate: N/A
Stream #0.0: Video: flv, yuv420p, 288x203, 1000.00 fps(r)
Stream #0.1: Audio: 0x000b, 11025 Hz, mono
I need a command line utility, since this will be executed from a server.
Thanks in advance.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
典型的flv:
要读取此内容,必须使用其他选项编译 ffmpeg:
然后,
Typical flv:
To read this, ffmpeg must be compiled with additional options:
Then,
试试这个网站: flv2mp3.com
更新:抱歉,我没有阅读您问题的命令行部分。
Try this site: flv2mp3.com
Update: Sorry, I didn't read the command line part of your question.