id	summary	reporter	owner	description	type	status	priority	component	version	resolution	keywords	cc	blockedby	blocking	reproduced	analyzed
1548	avcodec ignores profile when using ffmpeg C API	TheSHEEEP		"I first posted this on stackoverflow as I thought this was my mistake (maybe it is), but was encouraged that this might be a bug in ffmpeg.

I am encoding an h264 mp4 in code using the latest ffmpeg libraries on Windows. I definitely set the profile property of the AVCodecContext to FF_PROFILE_H264_CONSTRAINED_BASELINE.

However, no matter what I set the profile property to, the video always ends up using the ""High"" profile instead of ""Constrained Baseline"".

As the command line ""-profile:v baseline"" works, this is either a bug in the libraries. Or something else must be set from the user, in addition to the profile. In the latter case, this must definitely be communicated to people using this. Like me ;)

See the link for more info:
http://stackoverflow.com/questions/11537830/ffmpeg-api-h264-encoded-video-does-not-play-on-all-platforms

I have also attached the *.cpp that includes the functions used to encode the video."	defect	closed	important	avcodec	0.10.4	invalid	libx264				0	0
