Jump to content

Extract audio from video


Go to solution Solved by iamtheky,

Recommended Posts

  • Solution

i use ffmpeg.

Edit:  This also works with a remote source file, but you will be downloading the video (just subsequently discarding it). If you find a utility that manages to do this without actually downloading the video in some fashion I would be interested as well.

$file = FileOpenDialog("Select Video" , @ScriptDir , "ALL(*.*)")
run("ffmpeg -i " & $file & " -vn " &  stringtrimright($file , 4) & "_output.mp3")
Edited by boththose

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

Link to comment
Share on other sites

 

i use ffmpeg.

Edit:  This also works with a remote source file, but you will be downloading the video (just subsequently discarding it). If you find a utility that manages to do this without actually downloading the video in some fashion I would be interested as well.

$file = FileOpenDialog("Select Video" , @ScriptDir , "ALL(*.*)")
run("ffmpeg -i " & $file & " -vn " &  stringtrimright($file , 4) & "_output.mp3")

 

Work perfectly! Thanks!!

Link to comment
Share on other sites

  • 2 years later...

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...