peterpan
03-29-2014, 02:32 AM
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!!!
ffmpeg -i "http://pdl.vimeocdn.com/77860/400/215693077.mp4?token2=1396085006_c4c11d1cb33b45ee64 65d1b0a4a60413&aksessionid=d8ffb0675ba2de45" -acodec copy
out.wav
Thank you
drbmn
03-29-2014, 10:07 PM
Best option would be to download the video and then run it through FFmpeg.
guestly
03-31-2014, 03:44 AM
Use m4a as the output extension.
peterpan
03-31-2014, 08:15 AM
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
use mplayer
mplayer -ao pcm "http://pdl.vimeocdn.com/77860/400/215693077.mp4?token2=1396287536_6f2b034d24fa4eda92 c9fd3f71c70236&aksessionid=865df142852edb67" -ao pcm:file="output.mp3"
http://img5.fotos-hochladen.net/uploads/1dgz1x83clu.png (http://www.fotos-hochladen.net)
http://img5.fotos-hochladen.net/uploads/24tx0f83zca.png (http://www.fotos-hochladen.net)
http://img5.fotos-hochladen.net/uploads/3lywvdh8e7u.png (http://www.fotos-hochladen.net)
guestly
03-31-2014, 05:35 PM
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.
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
Have you tried saving the video first and doing it locally?
That's how youtube-dl does it.
@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
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
@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
... use youtube-dl command? I use Windows8...
I don't know. :confused:
vBulletin® , Copyright ©2000-2025, Jelsoft Enterprises Ltd.