Jump to content

combine audio of one flash file


iamtheky
 Share

Recommended Posts

I was stripping audio (in lieu of being able to start a flash object muted). That turned into stripping video which then turned into this...

needs ffmpeg relative

$NOaudio = inputbox ("VIDEO File" , "Full path of flash file containing VIDEO portion")
$NOvideo = inputbox ("AUDIO File" , "Full path of flash file containing AUDIO portion")

runwait (@ScriptDir & "\ffmpeg.exe -i " & $NOaudio & " -an " & stringtrimright($NOaudio, 4) & "_nosound.swf")
runwait (@ScriptDir & "\ffmpeg.exe -i " & $NOvideo & " -vn " & stringtrimright($NOvideo, 4) & "_novideo.swf")
runwait (@ScriptDir & "\ffmpeg.exe -i " & stringtrimright($NOaudio, 4) & "_nosound.swf" & " -i " & stringtrimright($NOvideo, 4) & "_novideo.swf " & stringtrimright($NOaudio, 4) & "_VS_" & stringtrimright(stringtrimleft($NOvideo, 3), 4) & ".swf")

filedelete (stringtrimright($NOaudio, 4) & "_nosound.swf")
filedelete (stringtrimright($NOvideo, 4) & "_novideo.swf")

shellexecute (stringtrimright($NOaudio, 4) & "_VS_" & stringtrimright(stringtrimleft($NOvideo, 3), 4) & ".swf")

,-. .--. ________ .-. .-. ,---. ,-. .-. .-. .-.
|(| / /\ \ |\ /| |__ __||| | | || .-' | |/ / \ \_/ )/
(_) / /__\ \ |(\ / | )| | | `-' | | `-. | | / __ \ (_)
| | | __ | (_)\/ | (_) | | .-. | | .-' | | \ |__| ) (
| | | | |)| | \ / | | | | | |)| | `--. | |) \ | |
`-' |_| (_) | |\/| | `-' /( (_)/( __.' |((_)-' /(_|
'-' '-' (__) (__) (_) (__)

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...