Audio/video stream recording forums (http://stream-recorder.com/forum/index.php)
-   Video stream recording (http://stream-recorder.com/forum/forumdisplay.php?f=4)
-   -  

How to save/xtract audio only from this mp4 video

(http://stream-recorder.com/forum/showthread.php?t=18107)

peterpan 03-29-2014 02:32 AM

How to save/xtract audio only from this mp4 video


 
Hi Guys,

Need help extracting audio only from this mp4 video... (wav, wma, or mp3 -- smallest file size with good quality audio)

http://vimeo.com/82975217

I used this code, but it stops after 1 min or so of recording!!!

Code:

ffmpeg -i "http://pdl.vimeocdn.com/77860/400/215693077.mp4?token2=1396085006_c4c11d1cb33b45ee6465d1b0a4a60413&aksessionid=d8ffb0675ba2de45" -acodec copy
out.wav

Thank you

drbmn 03-29-2014 10:07 PM

Re: How to save/xtract audio only from this mp4 video


 
Best option would be to download the video and then run it through FFmpeg.

guestly 03-31-2014 03:44 AM

Re: How to save/xtract audio only from this mp4 video


 
Use m4a as the output extension.

peterpan 03-31-2014 08:15 AM

Re: How to save/xtract audio only from this mp4 video


 
Thanks guestly! I did that, but I get the same result...it basically freezes after a few seconds, then errors out and shuts down!

hasomaso 03-31-2014 10:29 AM

Re: How to save/xtract audio only from this mp4 video


 
use mplayer

Code:

mplayer -ao pcm "http://pdl.vimeocdn.com/77860/400/215693077.mp4?token2=1396287536_6f2b034d24fa4eda92c9fd3f71c70236&aksessionid=865df142852edb67" -ao pcm:file="output.mp3"





Code:



guestly 03-31-2014 05:35 PM

Re: How to save/xtract audio only from this mp4 video


 
Have you tried saving the video first and doing it locally? Maybe that's the problem, or your version or build of ffmpeg. I had no problem with the following line and version N-60710-g61d5970.

Code:

ffmpeg -i shaykh.mp4 -vn -acodec copy shaykh.m4a
That is a completely lossless operation which simply puts the original audio stream in a new container, in this case M4A, so there is no loss in quality.

bat999 03-31-2014 06:00 PM

Re: How to save/xtract audio only from this mp4 video


 
Quote:

Originally Posted by guestly (Post 66760)
Have you tried saving the video first and doing it locally?

That's how youtube-dl does it.
Quote:

@Xubuntu:~$ youtube-dl -x http://vimeo.com/82975217
[vimeo] 82975217: Downloading webpage
[vimeo] 82975217: Extracting information
[vimeo] 82975217: Downloading webpage
[download] Destination: Shaykh Hamza Yusuf - The Devil's Traps - The Occult's impact on Pop Culture-82975217.mp4
[download] 100% of 77.13MiB in 00:32
[ffmpeg] Destination: Shaykh Hamza Yusuf - The Devil's Traps - The Occult's impact on Pop Culture-82975217.m4a
Deleting original file Shaykh Hamza Yusuf - The Devil's Traps - The Occult's impact on Pop Culture-82975217.mp4 (pass -k to keep)

guestly 03-31-2014 06:33 PM

Re: How to save/xtract audio only from this mp4 video


 
The bad thing about youtube-dl is that it just gives its output files the extension of the format you want them in. Unfortunately they are still DASH streams and have to be muxed.

peterpan 03-31-2014 07:32 PM

Re: How to save/xtract audio only from this mp4 video


 
@hasomaso: I will try that... what's teh command to do a batch job? (i.e. execute several links in parallel, and have a different output file name for each) Thanks.

@guestly: Yes I have downloaded the who video 1st, then used FormatFactory to rip the audio. I waas hoping to do it with directly form the stream. I will try ver N-60710-g61d5970 and see if that does it. Thanks.

@bat999 What tools or programs do I need to use youtube-dl command? I use Windows8...Thanks

bat999 04-01-2014 12:09 AM

Re: How to save/xtract audio only from this mp4 video


 
Quote:

Originally Posted by peterpan (Post 66763)
... use youtube-dl command? I use Windows8...

I don't know. :confused:


All times are GMT -6. The time now is 06:31 AM.