Is there a way to programmatically extract the audio part of a Flash SWF file from .NET?

Are there libraries with this functionality? Any recommendations would be helpful. Thank.

+3
source share
2 answers

there is no such thing as a “sound part” in SWF files. SWF files can include embedded assets such as images, fonts, videos, or audio.

I do not know about .NET solutions here. but I think the easiest way to do this is to use swfmill with swf2xml. you will find nodes DefineSoundthat contain base64-encoded embedded sounds, as well as the format in the node attributes (now you cannot find a link for this). Flash Player supports some weird codecs, so you may need to transcode the data in the worst case.

hope that helps

+2
source

If you can get SWF as FLV, for example, found on sites like Youtube, you can use FFMPEG. Unfortunately, there are several .NET shells, but they are there.

0
source

Source: https://habr.com/ru/post/1736688/


All Articles