[FFmpeg-trac] #5352(undetermined:new): encoding error with VideoToolbox H.264 Encoder and profile high
FFmpeg
trac at avcodec.org
Sun Mar 20 09:28:04 CET 2016
#5352: encoding error with VideoToolbox H.264 Encoder and profile high
-------------------------------------+-------------------------------------
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 you for the good app.
i face an encoding error with VideoToolbox H.264 Encoder and profile high
under sandybridge and os1095. if profile main, no problem
{{{
ffmpeg -y -i city_4cif.y4m -c:v h264_videotoolbox -profile:v high
h264_videotoolbox.mp4
ffmpeg version N-79091-g0ffa9e6 Copyright (c) 2000-2016 the FFmpeg
developers
built with clang version 3.7.0 (tags/RELEASE_370/final)
configuration: --cc=clang-mp-3.7 --cxx=clang++-mp-3.7 --disable-ffplay
--disable-ffprobe --disable-doc
libavutil 55. 19.100 / 55. 19.100
libavcodec 57. 28.103 / 57. 28.103
libavformat 57. 28.102 / 57. 28.102
libavdevice 57. 0.101 / 57. 0.101
libavfilter 6. 39.102 / 6. 39.102
libswscale 4. 0.100 / 4. 0.100
libswresample 2. 0.101 / 2. 0.101
Input #0, yuv4mpegpipe, from 'city_4cif.y4m':
Duration: 00:00:10.00, start: 0.000000, bitrate: 291965 kb/s
Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 704x576,
SAR 128:117 DAR 1408:1053, 60 fps, 60 tbr, 60 tbn, 60 tbc
Output #0, mp4, to 'h264_videotoolbox.mp4':
Metadata:
encoder : Lavf57.28.102
Stream #0:0: Video: h264 (h264_videotoolbox) ([33][0][0][0] / 0x0021),
yuv420p, 704x576 [SAR 128:117 DAR 1408:1053], q=2-31, 200 kb/s, 60 fps,
15360 tbn, 60 tbc
Metadata:
encoder : Lavc57.28.103 h264_videotoolbox
Stream mapping:
Stream #0:0 -> #0:0 (rawvideo (native) -> h264 (h264_videotoolbox))
Press [q] to stop, [?] for help
[h264_videotoolbox @ 0x7f8fca820400] Color range not set for YUV 4:2:0.
Using MPEG range.
[h264_videotoolbox @ 0x7f8fca820400] Error getting parameter set count:
-12712
[h264_videotoolbox @ 0x7f8fca820400] Could not get parameter sets.
Video encoding failed
Segmentation fault: 11
}}}
{{{
ffmpeg -y -i city_4cif.y4m -c:v h264_videotoolbox -profile:v high
-pix_fmt yuv420p h264_videotoolbox.mp4
ffmpeg version N-79091-g0ffa9e6 Copyright (c) 2000-2016 the FFmpeg
developers
built with clang version 3.7.0 (tags/RELEASE_370/final)
configuration: --cc=clang-mp-3.7 --cxx=clang++-mp-3.7 --disable-ffplay
--disable-ffprobe --disable-doc
libavutil 55. 19.100 / 55. 19.100
libavcodec 57. 28.103 / 57. 28.103
libavformat 57. 28.102 / 57. 28.102
libavdevice 57. 0.101 / 57. 0.101
libavfilter 6. 39.102 / 6. 39.102
libswscale 4. 0.100 / 4. 0.100
libswresample 2. 0.101 / 2. 0.101
Input #0, yuv4mpegpipe, from 'city_4cif.y4m':
Duration: 00:00:10.00, start: 0.000000, bitrate: 291965 kb/s
Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 704x576,
SAR 128:117 DAR 1408:1053, 60 fps, 60 tbr, 60 tbn, 60 tbc
Output #0, mp4, to 'h264_videotoolbox.mp4':
Metadata:
encoder : Lavf57.28.102
Stream #0:0: Video: h264 (h264_videotoolbox) ([33][0][0][0] / 0x0021),
yuv420p, 704x576 [SAR 128:117 DAR 1408:1053], q=2-31, 200 kb/s, 60 fps,
15360 tbn, 60 tbc
Metadata:
encoder : Lavc57.28.103 h264_videotoolbox
Stream mapping:
Stream #0:0 -> #0:0 (rawvideo (native) -> h264 (h264_videotoolbox))
Press [q] to stop, [?] for help
[h264_videotoolbox @ 0x7fda9c020400] Color range not set for YUV 4:2:0.
Using MPEG range.
[h264_videotoolbox @ 0x7fda9c020400] Error getting parameter set count:
-12712
[h264_videotoolbox @ 0x7fda9c020400] Could not get parameter sets.
Video encoding failed
Segmentation fault: 11
]]]
{{{
ffmpeg -y -i city_4cif.y4m -c:v h264_videotoolbox -profile:v high -vf
format=yuv420p h264_videotoolbox.mp4
ffmpeg version N-79091-g0ffa9e6 Copyright (c) 2000-2016 the FFmpeg
developers
built with clang version 3.7.0 (tags/RELEASE_370/final)
configuration: --cc=clang-mp-3.7 --cxx=clang++-mp-3.7 --disable-ffplay
--disable-ffprobe --disable-doc
libavutil 55. 19.100 / 55. 19.100
libavcodec 57. 28.103 / 57. 28.103
libavformat 57. 28.102 / 57. 28.102
libavdevice 57. 0.101 / 57. 0.101
libavfilter 6. 39.102 / 6. 39.102
libswscale 4. 0.100 / 4. 0.100
libswresample 2. 0.101 / 2. 0.101
Input #0, yuv4mpegpipe, from 'city_4cif.y4m':
Duration: 00:00:10.00, start: 0.000000, bitrate: 291965 kb/s
Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 704x576,
SAR 128:117 DAR 1408:1053, 60 fps, 60 tbr, 60 tbn, 60 tbc
Output #0, mp4, to 'h264_videotoolbox.mp4':
Metadata:
encoder : Lavf57.28.102
Stream #0:0: Video: h264 (h264_videotoolbox) ([33][0][0][0] / 0x0021),
yuv420p, 704x576 [SAR 128:117 DAR 1408:1053], q=2-31, 200 kb/s, 60 fps,
15360 tbn, 60 tbc
Metadata:
encoder : Lavc57.28.103 h264_videotoolbox
Stream mapping:
Stream #0:0 -> #0:0 (rawvideo (native) -> h264 (h264_videotoolbox))
Press [q] to stop, [?] for help
[h264_videotoolbox @ 0x7fc400820400] Color range not set for YUV 4:2:0.
Using MPEG range.
[h264_videotoolbox @ 0x7fc400820400] Error getting parameter set count:
-12712
[h264_videotoolbox @ 0x7fc400820400] Could not get parameter sets.
Video encoding failed
Segmentation fault: 11
}}}
--
Ticket URL: <https://trac.ffmpeg.org/ticket/5352>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list