[FFmpeg-trac] #1548(avcodec:new): avcodec ignores profile when using ffmpeg C API

FFmpeg trac at avcodec.org
Thu Jul 19 10:48:04 CEST 2012


#1548: avcodec ignores profile when using ffmpeg C API
-------------------------------------+-------------------------------------
             Reporter:  TheSHEEEP    |                    Owner:
                 Type:  defect       |                   Status:  new
             Priority:  important    |                Component:  avcodec
              Version:  0.10.4       |               Resolution:
             Keywords:  Profile,     |               Blocked By:
  h264, Baseline                     |  Reproduced by developer:  0
             Blocking:               |
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------

Comment (by TheSHEEEP):

 Well, according to this ( http://mewiki.project357.com/wiki/X264_Settings
 ), "baseline" should do the trick. But I get the same error message, just
 with "baseline" instead of "base". I also tried with Baseline, Constrained
 Baseline, etc. All the same error message.

 I also tried this:
 av_opt_set_int(codecContext, "profile",
 (int64_t)FF_PROFILE_H264_CONSTRAINED_BASELINE, AV_OPT_SEARCH_CHILDREN);

 The result was: No error, but still "High" profile.

-- 
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/1548#comment:7>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list