Welcome 微信登录

首页 / 操作系统 / Linux / Linux下从电影(avi)中提取声音

在Linux环境下看了一电影,黎明骑士(AVI格式),觉得片头曲超棒,只是不知道名字,后来从片尾滚动字幕里找到了名字wayfaring stranger 是一首经典的乡村民谣,不知道谁是原唱,不过电影里是george canyon唱的,超沧桑。网上找了一番,都不是很满意,音质低,而且没有多少沧桑感,所以就从电影里直接提取声音了MP3。很简单,一条指令搞定www.linuxidc.com @linux:~$ mplayer -dumpaudio DAWN.RIDER.2012.480p.BRRip.XviD.AC3-PTpOWeR.avi -dumpfile linuxidc.mp3
MPlayer2 UNKNOWN (C) 2000-2011 MPlayer Team
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.Playing DAWN.RIDER.2012.480p.BRRip.XviD.AC3-PTpOWeR.avi.
Detected file format: AVI format (libavformat)
[mpeg4 @ 0x7f79aa26c300]Invalid and inefficient vfw-avi packed B frames detected
[lavf] stream 0: video (mpeg4), -vid 0
[lavf] stream 1: audio (ac3), -aid 0
VIDEO:  [MP4V]  720x304  24bpp  23.976 fps    0.0 kbps ( 0.0 kbyte/s)
dump: 235714100 bytes written (~78.0%)
dump: 301267343 bytes written to "linuxidc.mp3".
Stream dump complete.Exiting... (End of file)www.linuxidc.com @linux:~$Ubuntu 12.04下升级Nvidia后Bumblebee无法工作解决Ubuntu 12.04下wine提示找不到 /usr/lib/i386-linux-gnu/pkcs11/gnome-keyring-pkcs11.so的解决办法相关资讯      Linux使用教程 
  • 如何在 Linux 中安全擦除删除的文  (04/10/2014 06:12:05)
  • Linux中profile的执行说明  (09/28/2012 06:16:01)
  • Mac/Linux 多线程下载解决方案  (08/30/2012 07:39:07)
  • Linux下AutoTools工具集使用教程  (11/20/2012 12:13:57)
  • Linux下根据端口号查询对应进程  (09/05/2012 06:14:34)
  • Linux平台下HD 2000/3000/4000性能  (08/28/2012 06:28:48)
本文评论 查看全部评论 (0)
表情: 姓名: 字数