[FFmpeg-user] How to extract audio from video without re-encoding?

Android PowerUser tschikruma at gmail.com
Mon Oct 11 11:38:01 EEST 2021


-vn -c:a copy

Mp4 kann als container bleiben

inhahe <inhahe at gmail.com> schrieb am Mo., 11. Okt. 2021, 10:35:

> I want to extract audio from any arbitrary video file and have it save to
> an audio file without re-encoding and without me knowing ahead of time
> which audio file format to use.
>
> I don't know how to do it because ffmpeg requires an output filename with
> an extension, which means I have to specify the audio file format within
> the command. I want ffmpeg to choose the audio file format for me based on
> the type of audio embedded in the video, much like the -x parameter does in
> youtube-dl.
>
> How can I do this? Thanks.
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".
>


More information about the ffmpeg-user mailing list