[Search]swf 转mp4,未成功
知道recordmydesktop 和 xvidcap 两个录像软件。
在尝试了自己的净土 下面的 ADShareit SWF to Video Converter Pro 成功转换成AVI,但是音量小了很多,输出设置是默认设置的。
----2016-03-24 15:07 更新
1. 尝试了Recool swf to Html5 Converter这个工具,swf转成的清晰度倒是高了,不知怎么的,转了几次之后,声音没有了。。。。又失败了,尝试了一个上午3个半钟+下午一个小时,得放弃了。。。
SWF转换器转换Flash后没有声音的解决方案 这里了解到,swf转其它视频格式的原理:是边播放边录制 swf的图形和声音,然后再通过ffmpeg 装成需要的格式。
Recool swf to Html5 Converter 工具转换画面的"播放和获取"按钮的title是:start movie playing and capture at the same time
Log:
1 14:52:26 CProfileManager::Instance()->LoadProfiles(). 2 14:52:26 COptions::Instance()->LoadState(). 3 14:52:26 GetNumberOfProcesseors()=4. 4 14:52:26 pFrame->LoadFrame(). 5 14:52:27 CPlayer::Attach(). 6 14:53:07 CPlayer::SetMovie("F:\項目\v\1.swf"). 7 14:53:07 CProfileManager::Instance()->LoadCurrentProfile(). 8 14:53:07 CSWFConverterApp::InitInstance() Out. 9 14:53:10 CSheet::LoadSWF("F:\項目\v\1.swf"). 10 14:53:10 SWF Information:500 x 180,438 frames,24.000000 fps,flash 10. 11 14:53:10 CPlayer::Detach(). 12 14:53:10 CPlayer::SetMovieEx(":",FALSE). 13 14:53:10 CSheet::Capture(). 14 14:53:10 Watermark:not set. 15 14:53:10 Crop:(0,0)-(500,180). 16 14:53:10 CFlashManager::AttachAll(). 17 14:53:12 Capture thread mode:MUILT. 18 14:53:30 CFlashManager::DetachAll(). 19 14:53:30 CPlayer::Attach(). 20 14:53:30 CPlayer::SetMovieEx("F:\項目\v\1.swf",TRUE). 21 14:53:30 CSheet::Convert("C:\Users\ADMINI~1\AppData\Local\Temp\tmpCD9F.frv"). 22 14:53:30 Add file:C:\Users\ADMINI~1\AppData\Local\Temp\tmpCD9F.frv. 23 14:53:30 StartTask: C:\Users\ADMINI~1\AppData\Local\Temp\tmpCD9F.frv. 24 14:53:30 PrepareConversion(): C:\Users\ADMINI~1\AppData\Local\Temp\tmpCD9F.frv 25 14:53:30 PrepareConversion(): GetDimension() = 1920x1080 26 14:53:30 PrepareConversion(): done. 27 14:53:31 CreateThread: CTask::ConvThread()... 28 14:53:31 Enter CTask::ConvProc(): C:\Users\ADMINI~1\AppData\Local\Temp\tmpCD9F.frv 29 14:53:31 CreateThread: CTask::ConvThread() created. 30 14:53:31 Enter CEncode::Start() 31 14:53:31 "C:\Program Files (x86)\Recool SWF to HTML5 Converter\encoder\ffmpeg.exe" -i "C:\Users\ADMINI~1\AppData\Local\Temp\{3725d16a-bb1a-41a0-a3a2-820728bbff76}\Encoding0.avs" -vcodec libx264 -flags +loop -partitions all -subq 3 -me_method hex -qmax 51 -threads 4 -coder 1 -level 41 -bf 0 -refs 1 -r 24.000 -b 4000k -s 1920x1080 -aspect 1.777778 -acodec libfaac -ar 44100 -ab 128k -ac 2 -title "" -album "" -author "" -copyright "" -comment "SWF to HTML5 转换器" -f mp4 -y "F:\項目\v\1-2.mp4" 32 14:53:31 CreateProcess(): Done 33 14:53:31 WaitForInputIdle(): Done 34 14:53:31 Encoder exit code: 1 35 14:53:31 Exit CEncoder::Start() 36 14:53:31 Convert failed. 37 14:53:31 Exit CTask::ConvProc().