[FFmpeg-trac] #5357(undetermined:new): support for options of VideoToolbox H.264 Encoder

FFmpeg trac at avcodec.org
Mon Mar 21 23:39:04 CET 2016


#5357: support for options of VideoToolbox H.264 Encoder
-------------------------------------+-------------------------------------
             Reporter:  ponpon       |                     Type:  defect
               Status:  new          |                 Priority:  normal
            Component:               |                  Version:
  undetermined                       |  unspecified
             Keywords:               |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
 thank ffmpeg team for the good app.

 i have comments and requests on  VideoToolbox H.264 Encoder.


 comment and request
 comment
 doesn't VideoToolbox H.264 Encoder output a proper size to display?
 probably VideoToolbox H.264 doesn't set par or sar on a video stream.
 i tried
 {{{
 ffmpeg  -y -i city_4cif.y4m -c:v h264_videotoolbox -profile:v high -vf
 scale=720:480 -aspect 4:3 h264_videotoolbox.264
 ffmpeg  -y -i city_4cif.y4m -c:v h264_videotoolbox -profile:v high -vf
 scale=720:480 -aspect 4:3 h264_videotoolbox.mp4
 ffmpeg  -y -i city_4cif.y4m -c:v libx264 -profile:v high -vf scale=720:480
 -aspect 4:3 libx264.264
 }}}
 only h264_videotoolbox.264 isn't properly displayed with mpv. can't
 confirm display aspect ratio.
 seeing {{{videotoolboxenc.c}}},
 {{{kVTCompressionPropertyKey_CleanAperture}}} and
 {{{kVTCompressionPropertyKey_PixelAspectRatio}}} aren't supported. is it a
 cause?

 request of support for the below properties in
 {{{VTCompressionSession.h}}}.
 in particular, i strongly request {{{kVTCompressionPropertyKey_Quality}}},
 {{{kVTCompressionPropertyKey_FieldCount}}}, and
 {{{kVTCompressionPropertyKey_FieldDetail}}}.

 for options of general encoding
 {{{kVTCompressionPropertyKey_MaxKeyFrameIntervalDuration}}}
 {{{kVTCompressionPropertyKey_AllowTemporalCompression}}}
 {{{kVTCompressionPropertyKey_DataRateLimits}}}
 {{{kVTCompressionPropertyKey_Quality}}}
 {{{kVTCompressionPropertyKey_H264EntropyMode}}}

 for capture or real-time distribution? i don't well understand the below.
 {{{kVTCompressionPropertyKey_MoreFramesBeforeStart}}}
 {{{kVTCompressionPropertyKey_MoreFramesAfterEnd}}}
 {{{kVTCompressionPropertyKey_MaxH264SliceBytes}}}

 for capture or real-time distribution
 {{{kVTCompressionPropertyKey_RealTime}}}

 for confirming whether hardware encoding or not
 {{{kVTCompressionPropertyKey_UsingHardwareAcceleratedVideoEncoder}}}

 for interlaced encoding
 {{{kVTCompressionPropertyKey_FieldCount}}}
 {{{kVTCompressionPropertyKey_FieldDetail}}}

 for proper color to display
 {{{kVTCompressionPropertyKey_ColorPrimaries}}}
 {{{kVTCompressionPropertyKey_TransferFunction}}}
 {{{kVTCompressionPropertyKey_YCbCrMatrix}}}

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


More information about the FFmpeg-trac mailing list