Thread: Music from .MP4
View Single Post
  #7  
Old March 23rd 17, 12:46 AM posted to alt.windows7.general,alt.windows-xp
Shadow
external usenet poster
 
Posts: 1,638
Default Music from .MP4

On Wed, 22 Mar 2017 13:03:47 -0400, Paul
wrote:

WinUser wrote:
I used Win 7 movie maker to extract a portion of a .MP4.
Now I want to extract the music to a windows compatible music file.
Then put on my cell phone.

Can something on Windows 7 or XP do this ?

If not, is there a free application to do this?

TIA


I like FFMPEG. It works with movies, sound and video.


+1

It's command line. The following is an example only, but is
likely to work for your test.MP4 as well.

ffmpeg -i test.m4a -c:a libmp3lame -b:a 192k test.mp3


You typoed (sorry, but the OP might mess up)

ffmpeg -i test.mp4 -c:a libmp3lame -b:a 192k test.mp3

(though I use "-q 2" in the place of "-b:a 192k"

Or he could just copy the stream, see what it is with
Mediainfo and (I'm assuming it's aac)

ffmpeg -i test.mp4 -c:a copy test.aac

It's blinking fast (you blink, it's done) and since no
re-coding is done, there is no quality loss. It just extracts the
original soundtrack as is.
[]'s



FFMPEG is normally available as source, however there are
build-meisters who make available very nice binaries.

https://ffmpeg.zeranoe.com/builds/

(Example of a Static build, a nightly from February...)
https://ffmpeg.zeranoe.com/builds/wi...n32-static.zip

You want 32bit, static, because the static version, the ffmpeg.exe
file (36MB) has all the DLLs baked into the executable. That means
your copy of ffmpeg.exe is portable and can be put anywhere you
need to use it. That's why I prefer static builds.

The included ffplay.exe, plays stuff for you. So you can
verify that at least *something* will play it.

Paul

--
Don't be evil - Google 2004
We have a new policy - Google 2012
Ads