you might try something like ffmpeg -i input.flv -vn -c:a copy output
use a file extension to match the current audio codec… > On Mar 25, 2015, at 8:37 PM, [email protected] wrote: > > Hi, > > is there a way to copy the audio track from a video file > into another file without changing the codec of the audio track? > > I found this on the net: > ffmpeg -i video.flv -ab 160k -ac 2 -ar 44100 -vn audio.mp3 > > but this reencodes to mp3... > > Or this one > ffmpeg.exe -i input.flv -vcodec copy -an output.h264 > > which /seems/ to create a file with h264 codec... > > Or am I simply only confused here ... ? ;) > > What is the right way to do this? > > Thank you very much in advance for any help! > Best regards, > Meino > > > _______________________________________________ > ffmpeg-user mailing list > [email protected] > http://ffmpeg.org/mailman/listinfo/ffmpeg-user _______________________________________________ ffmpeg-user mailing list [email protected] http://ffmpeg.org/mailman/listinfo/ffmpeg-user
