[FFmpeg-user] AVCodecContext profile not being set

Wear, Tyler twear at quicinc.com
Wed Jul 3 00:30:43 CEST 2013


A little more information.

MiniDLNA is using avformat_open_input to retrieve the AVFormatContext, but when the AVCodecContext for the video stream is taken from the AVFormatContext the profile value is always -99 instead of 66 for the h.264 encoded aac 520 file.

The more I look into this the more it looks like a possible FFMPEG error. 

Thanks,
Tyler

-----Original Message-----
From: ffmpeg-user-bounces at ffmpeg.org [mailto:ffmpeg-user-bounces at ffmpeg.org] On Behalf Of Wear, Tyler
Sent: Monday, July 01, 2013 6:07 PM
To: ffmpeg-user at ffmpeg.org
Subject: [FFmpeg-user] AVCodecContext profile not being set

So I'm using MiniDLNA, but I'm seeing the the DLNA.ORG_PN is not being set correctly for AVC_MP4_BL_CIF15_AAC_520 files.  That is mpeg4 files with AAC audio.

After some tracing in their code, I found that this is because the AVCodecContext->profile value is set to -99, which is not valid.  My understanding is that avcodec is responsible for setting this.  I disable a lot of options in ffmpeg to reduce the size as much as possible, I'm worried that I indirectly disabled the option for setting the profile...

Any help would be much appreciated.

Thanks,
Tyler

Tyler Wear | Software Engineer
Qualcomm Innovation Center, INC
Office: (858) 658-3440
Mobile: (574) 904-6777<tel:828.430.1124> twear at quicinc.com<mailto:twear at quicinc.com>

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


More information about the ffmpeg-user mailing list