[FFmpeg-devel] How to get fflags

Jk . jankarlitos at hotmail.com
Wed May 11 21:20:04 CEST 2011


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?



Date: Wed, 11 May 2011 15:41:32 +0200
From: michaelni at gmx.at
To: ffmpeg-devel at ffmpeg.org
Subject: Re: [FFmpeg-devel] How to get fflags

On Wed, May 11, 2011 at 12:11:14AM +0000, Jk . wrote:
> 
> I've defined a flag in fflag, how can i get it in sdp.c, specifically in this function:
> 
> 
> static char *sdp_write_media_attributes(char *buff, int size, AVCodecContext *c, int payload_type)
 
Theres no way from these function arguments
you will eithert have to pass the AVFormatContext or something else
to this function or pass the flag differently.
 
what is the flag you add doing btw?
might be easier to suggest something if we know
 
[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
 
Dictatorship naturally arises out of democracy, and the most aggravated
form of tyranny and slavery out of the most extreme liberty. -- Plato

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel at ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel 		 	   		  


More information about the ffmpeg-devel mailing list