[FFmpeg-devel] Fix unknown channel layouts

Nicolas George nicolas.george at normalesup.org
Wed Nov 28 16:50:19 CET 2012


(Sorry for the missing Subject.)

L'octidi 8 frimaire, an CCXXI, Carl Eugen Hoyos a écrit :
> I may simply misunderstand, but how is the fact that in some (most, 
> nearly all) cases the layout is set is related to the fact that 
> currently everything fails if the layout is not set (but the 
> number of channels)?

That is just what I said: in lavfi, the channel layout is mandatory.

If the channel layout is set and valid, it works.

If the channel layout is not set but there are <=8 channels, then ffmpeg
"guesses" a channel layout, and it works (more or less).

If the channel layout is not set and there are >8 channels, then the channel
layout stays not set, and lavfi fails.

And lavfi is now mandatory for ffmpeg when transcoding, even if the filter
graph has no filters.

Does this answer your question, or did I misunderstand it?

Regards,

-- 
  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20121128/aaffffcd/attachment.asc>


More information about the ffmpeg-devel mailing list