[FFmpeg-devel] How to get fflags

Michael Niedermayer michaelni at gmx.at
Wed May 11 22:48:27 CEST 2011


On Wed, May 11, 2011 at 07:20:04PM +0000, Jk . wrote:
> 
> Please forget my last post, i already solved it.
> 
> 
> I have defined "-fflags +latm", to enable MP4A-LATM payload.
> 
> 
> But i have another question. When the user sets the output codec to CODEC_ID_AAC, and the format output is 'rtp', and '+latm' fflag is enabled, i want to explicitly change the codec_id to CODEC_ID_AAC_LATM. In ffmpeg.c where would you advice me to do this? opt_output_file()? new_audio_stream()? or somewhere else?

opt_output_file() wont work with mutiple streams so try
new_audio_stream().

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Democracy is the form of government in which you can choose your dictator
-------------- 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/20110511/ac2d3827/attachment.asc>


More information about the ffmpeg-devel mailing list