[FFmpeg-trac] #5352(avcodec:open): encoding error with VideoToolbox H.264 Encoder and profile high
FFmpeg
trac at avcodec.org
Mon Mar 21 11:26:47 CET 2016
#5352: encoding error with VideoToolbox H.264 Encoder and profile high
---------------------------------------+-----------------------------------
Reporter: ponpon | Owner: kernrj
Type: defect | Status: open
Priority: important | Component: avcodec
Version: git-master | Resolution:
Keywords: crash SIGSEGV | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
---------------------------------------+-----------------------------------
Comment (by ponpon):
Replying to [comment:7 kernrj]:
excellent!! good results on all profiles. cheers for good work.
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.
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/5352#comment:8>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list