Originally Posted by
PDA1
Thanks for helping me but I got an error message when I tried to get the mp3 from a video file.
Below is the entire results from the command line input to the end;
Code:
echo@echo-laptop:~/Downloads$ ffmpeg -i rrr.mp4 dkdik.mp3
[snip]
Stream #0:1(und): Audio: aac (mp4a / 0x6134706D), 44100 Hz, stereo, s16, 95 kb/s
[snip]
Any idea how to fix it?
I've asked this question 10,000 times and it never gets easier for me to understand but all I want to do is take any video (usually off of Y T) and put it on my iPod 160 G Classic. Everyone has a code line that works for them but only a few times have those lines worked for me. This is so frustrating.
As the readout showed, the audio stream in the file is AAC. iPods support that format, so you don't have to convert anything (although it might need to be run through qtfaststart).
For instance,
Code:
ffmpeg -i inputfile.mp4 -vn -acodec copy outputfile.m4a
The -vn disables the video, and -acodec copy transfers the audio to a new, smaller file. If you know the audio is MP3 and not AAC, then just change the .m4a on the output filename to .mp3 (because while it's totally standard-compliant to put MP3 into the MP4 container, I have no clue whether devices are weird about that).
Bookmarks