Jump to content
Sign in to follow this  
redfenix

Extract audio from video

Recommended Posts

redfenix

How can i extract audio from MP4 video?

I tried to use xVideo UDF but not working...

(advanced version: is possibile extract audio from video WITHOUT video download?)

Share this post


Link to post
Share on other sites
iamtheky

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

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

Share this post


Link to post
Share on other sites
redfenix

 

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

Share this post


Link to post
Share on other sites
capacitorbr

Friends'm wanting a function (Pitch, Time,) using xVideo.dll. someone has something about it

using bass.dll I got more only audio file and I'm in need video MPG1 file

Share this post


Link to post
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
Sign in to follow this  

×