

Ubuntu 14.04 does not have ffmpeg in standard repositories, but you could add ppa:mc3man/trusty-media repository and install ffmpeg package to get the needed software. Following that, I’ll utilize FFMPEG (an open-source framework) python commands to demonstrate the various parts of the transcoding process. For other codecs than mp3 and vorbis it converts audio to ogg.

Notes: the output files are created in sub-directory output it creates in the beginning (if necessary). Video assumes FFmpeg is already installed. To convert many files: for vid in *.mp4 do ffmpeg -i "$vid" -vn -acodec libvorbis "$".ogg A quick demo on how to use FFmpeg to convert multiple video files to a different format. This project consists of two scripts: an interactive bash script for one-off batch processing FFmpeg-Batch-Convert.sh AND a script optimized for use as a cron job, FFmpeg-Cron-Convert. FFMpeg bash script to batch convert video and audio files. FFmpeg Batch AV Converter is a free universal audio and video encoder, that allows to use the full potential of ffmpeg command line with a few mouse clicks. To convert one file: ffmpeg -i videofile.mp4 -vn -acodec libvorbis audiofile.ogg Hi all, just for your information, I am developing an ffmpeg batch converter for Windows, so you can have the convenience of a windows graphical interface, file listing, drag and drop and batch processing, while keeping total control of ffmpeg parameters. FFmpeg-Batch-Convert FFmpeg-Cron-Convert. So why not leave the audio format detection up to ffmpeg?
But what if the audio in the mp4 file is not one of those? you'd have to transcode anyway. ffmpeg -ss 00:15:30.000 -iYou say you want to "extract audio from them (mp3 or ogg)".
