[FFmpeg-trac] #7556(ffmpeg:new): -pass 1 option change the x264 profile to 'main'

FFmpeg trac at avcodec.org
Tue Nov 20 16:11:44 EET 2018

#7556: -pass 1 option change the x264 profile to 'main'
             Reporter:               |                     Type:  defect
  roberto.belardo                    |                 Priority:  important
               Status:  new          |                  Version:
            Component:  ffmpeg       |  unspecified
             Keywords:  x264         |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
 I am trying to obtain an mp4 with profile HIGH and level 4.0 from a
 XDCAMHD mxf input.

 '''Summary of the bug:'''
 Using the option '-pass 1' change the x264 profile to 'Main' even if the
 option '-profile:v high" is set.

 Removing the '-pass 1' option correctly set the profile to High 4.0.

 '''How to reproduce:'''
  ./ffmpeg -y -hide_banner -v info -i ./in/XDCAMHD_30sec.mxf -c:v libx264
 -s 1920x1080 -aspect 16:9 -r 25 -g 25 -bf -1 -b:v 3000k -minrate 3000k
 -maxrate 3000k -bufsize 3000k -nal-hrd cbr -profile:v high -level:v 4.0
 -coder ac -x264-params ref=4 -pass 1 -f mp4 -filter_complex
 '[0:a:0][0:a:1] amerge=inputs=2 [aout]' -map 0:0 -map '[aout]' -c:a aac
 -q:a 0 -ar 44100 -write_tmcd 0 -movflags +faststart -vf "format=yuv420p"

Ticket URL: <https://trac.ffmpeg.org/ticket/7556>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker

More information about the FFmpeg-trac mailing list