Flv文件提取声音和视频C#源码

作者:http://moitah.net/

运行环境:需要.Net Framework 2.0支持

开发语言:C#

编译器:VS2005

使用方法很简单将FLV文件拖上去即呀,特点速度快。由于C#不熟悉,大细看了一下Source,MP3和AVI部分用好像用了第三方的类库,如果想了解FLV的格式的,要以参考一下。

flv_extract运行界面

Extracts video and audio from FLV files without decompressing or recompressing. The video is saved to AVI (H.263/FLV1 and VP6/VP6F are supported) and the audio is saved to MP3.

NOTE: If you simply want to convert FLV to AVI including audio, the FLV Input Plugin for VirtualDub (see below) is most likely a better choice. FLV Extract currently writes out separate video/audio files which you would have to join. Also, FLV Input Plugin is able to maintain synch in variable framerate videos by inserting drop frames.

NOTE: The AVIs will not play unless you have the right decoders. ffdshow-tryouts can decode both FLV1 and VP6F, make sure they’re enabled in its configuration dialog.

NOTE: The extracted MP3s may appear to have an incorrect duration in your audio player. This is because FLV Extract doesn’t generate a VBR header, but the files are perfectly valid nonetheless. To add a VBR header you can load an MP3 in foobar2000, right click on it, go to Utils, and click “Fix VBR MP3 Header”.

Changes:

1.3.0 (2008-Feb-26):

  • Added dialog that lists the status of all files, replaces the message box that was shown for each file.
  • Doesn’t leave files open upon error.
  • Better handling of incomplete files.
  • Changed VP6 FourCC from FLV4 to VP6F.
  • A few fixes for rare files.

  FLV_Extract.zip (49.8 KiB, 860 hits)

发表评论





XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>