[FFmpeg-user] Using FFMPEG to encode multiple outputs in 'parallel' (doesn't work?)

Moritz Barsnick barsnick at gmx.net
Thu Jul 6 15:12:10 EEST 2017

On Thu, Jul 06, 2017 at 03:44:45 -0700, DopeLabs wrote:
> Option 2 in your question looks fine to me... 
> I have used ffmpeg to transcode audio and video streams before to achieve adaptive streaming.
> Here is an example of an audio transcode... input is 256k mp3, output is 128k, 64k, and 24k
> $ ffmpeg -i http://stream.dubstep.fm -c:a mp3 -b:a 128k -f null /dev/null -c:a mp3 -b:a 64k -f null /dev/null -c:a mp3 -b:a 24k -ar 22050 -f null /dev/null

Shalin did confirm in the original posting that this does work and is
the preferred method. The complaint was that it doesn't optimally make
use of parallelism to load all CPUs to the max (and thereby possibly
reduce processing time even more).


More information about the ffmpeg-user mailing list