Audio/video stream recording forums

Attention Visitor:
You may have to register or log in before you can post:
  • Click the register link to sign up.
  • Registered members please fill in the form below and click the "Log in" button.
To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Audio/video stream recording forums > Streaming media recording forum > Video stream recording
Register FAQ Members List Calendar Mark Forums Read

Reply Post New Thread
 
Thread Tools Display Modes
  #1  
Old 03-29-2014, 03:32 AM
peterpan peterpan is offline
Senior Member
 
Join Date: Jun 2013
Posts: 553
peterpan is on a distinguished road
Default

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

Last edited by peterpan : 03-29-2014 at 12:19 PM.
Reply With Quote
  #2  
Old 03-29-2014, 11:07 PM
drbmn drbmn is offline
Member
 
Join Date: May 2012
Posts: 145
drbmn is on a distinguished road
Default

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.
Reply With Quote
  #3  
Old 03-31-2014, 04:44 AM
guestly guestly is offline
Junior Member
 
Join Date: Mar 2014
Posts: 14
guestly is on a distinguished road
Default

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


Use m4a as the output extension.
Reply With Quote
  #4  
Old 03-31-2014, 09:15 AM
peterpan peterpan is offline
Senior Member
 
Join Date: Jun 2013
Posts: 553
peterpan is on a distinguished road
Default

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!
Reply With Quote
  #5  
Old 03-31-2014, 11:29 AM
hasomaso hasomaso is offline
Senior Member
 
Join Date: Apr 2011
Posts: 943
hasomaso is on a distinguished road
Default

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:
Reply With Quote
  #6  
Old 03-31-2014, 06:35 PM
guestly guestly is offline
Junior Member
 
Join Date: Mar 2014
Posts: 14
guestly is on a distinguished road
Default

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.
Reply With Quote
  #7  
Old 03-31-2014, 07:00 PM
bat999 bat999 is offline
Senior Member
 
Join Date: Apr 2011
Location: UK
Posts: 131
bat999 is on a distinguished road
Default

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


Quote:
Originally Posted by guestly View Post
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)
Reply With Quote
  #8  
Old 03-31-2014, 07:33 PM
guestly guestly is offline
Junior Member
 
Join Date: Mar 2014
Posts: 14
guestly is on a distinguished road
Default

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.
Reply With Quote
  #9  
Old 03-31-2014, 08:32 PM
peterpan peterpan is offline
Senior Member
 
Join Date: Jun 2013
Posts: 553
peterpan is on a distinguished road
Default

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

Last edited by peterpan : 04-01-2014 at 10:22 AM.
Reply With Quote
  #10  
Old 04-01-2014, 01:09 AM
bat999 bat999 is offline
Senior Member
 
Join Date: Apr 2011
Location: UK
Posts: 131
bat999 is on a distinguished road
Default

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


Quote:
Originally Posted by peterpan View Post
... use youtube-dl command? I use Windows8...
I don't know.
Reply With Quote
Reply Post New Thread
Tags: , , ,



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -6. The time now is 06:38 PM.


Powered by All-streaming-media.com; 2006-2011
vB forum hacked with Zoints add-ons