Converting 6 audio channels to 2 in ffmpeg -
im doing 2 pass encode on uploads site.
unfortunately when user uploads 6 audio channel .mkv files (5.1 surround), ffmpeg spits out following error:
resampling input channels greater 2 unsupported.
im running latest version of ffmpeg. doing -ac 6
instead of usual - ac 2
proceeds encoding, creates larger file useless data, creates step in long file processing script, , i'd rather avoid modifying conversion command.
is there can make -ac 2
work?
it known bug/limitation of current ffmpeg.
in experience concluded can't done ffmpeg alone.
you have transcode audio/video separately.
1) extract .wav file source movie.
2) resample 2ch stereo audio editing tool such audacity.
3) encode audio stream
3) transcode video stream
4) mux audio/video target format
Comments
Post a Comment