PDA

View Full Version : [ubuntu] .MP3 to .MPEG Need help!!



Lollating
July 12th, 2009, 02:31 PM
Hi, I need to convert a .MP3 to .MPEG
please help me!!

:p

credobyte
July 12th, 2009, 02:34 PM
MPEG - video
MP3 - audio

Audio to Video is .. impossible ? :roll:

Lollating
July 12th, 2009, 02:46 PM
Hmm..

sorry close this :s

zerhacke
July 12th, 2009, 03:30 PM
It's not impossible. Look into a howto for mencoder.

credobyte
July 12th, 2009, 05:07 PM
It's not impossible. Look into a howto for mencoder.

Don't mind is revealing the secret ? I thought you can't create a video without actually having it :roll:

DGortze380
July 12th, 2009, 05:10 PM
Don't mind is revealing the secret ? I thought you can't create a video without actually having it :roll:

You can certainly create an MPEG (Video File) that contains only an audio track (MP3).

I unfortunately do this on my Mac (way easier), so I don't have any program recommendations for you. But good luck.

vinutux
July 12th, 2009, 05:30 PM
Mp3 is already mpeg ......means Mp3=mpeg layer 3

credobyte
July 12th, 2009, 05:40 PM
Mp3 is already mpeg ......means Mp3=mpeg layer 3

Thnx - I'm not very well orientated in media formats :roll: So, converting mp3 to mpeg with ffmpeg would do the job ?

FakeOutdoorsman
July 12th, 2009, 07:37 PM
To do this with FFmpeg:

1. Enable restricted encoders (such as libmp3lame) in FFmpeg:
HOWTO: Easily enable MP3, MPEG4, AAC, and other restricted encoding in FFmpeg (http://ubuntuforums.org/showthread.php?t=1117283) [ubuntuforums.org]

2. The command:

ffmpeg -i input.mpeg -acodec libmp3lame -ab 128k -ac 2 output.mp3
You can adjust the options as you like. The -ab option is audio bitrate, and -ac is number of audio channels (1 being mono, 2 generally for stereo).

If you want to convert a large number of files at once, then refer to andrew.46's guide:
Linux Basics: A gentle introduction to 'find' (http://ubuntuforums.org/showthread.php?t=1128937) [ubuntuforums.org]

oldos2er
July 12th, 2009, 07:51 PM
1. Enable restricted encoders (such as libmp3lame) in FFmpeg:
HOWTO: Easily enable MP3, MPEG4, AAC, and other restricted encoding in FFmpeg (http://ubuntuforums.org/showthread.php?t=1117283) [ubuntuforums.org]


Thank you so much for that!

FakeOutdoorsman
July 12th, 2009, 11:12 PM
Thank you so much for that!

Glad I could help. I knew my video nerdism would come in useful someday.