[FFmpeg-user] convert video to mp3
Reindl Harald
h.reindl at thelounge.net
Wed Dec 11 14:39:23 CET 2013
Am 11.12.2013 14:32, schrieb Moritz Barsnick:
> On Wed, Dec 11, 2013 at 14:58:43 +0800, ???????????? wrote:
>> hello,
>> how can i convert video 2 mp3 file?
>
> I consider this impossible
why?
> If you are referring to what we usually understand under "mp3"
> this is an audio format
so what
> You cannot "convert" video to audio
says who?
the video has a seperate audio- and video-stream
if hwat you are saying would be true options line -an
for skip the audio stream of a video would be impossible
ffmpeg -i yourvideo -f mp3 -acodec libmp3lame youraudio.mp3
even the other direction works but while technically nothing
is easier than take the audio-stream and convert it to whatever
while ignore the video you need a image-loop for the length
of your target video - been there, done that, implementation
in a php-cli-wrapper took around 1 hour
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 263 bytes
Desc: OpenPGP digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-user/attachments/20131211/4a0d82f3/attachment.asc>
More information about the ffmpeg-user
mailing list