Skip to content

Commit 016b718

Browse files
committed
Extended profile for H.264 is not supported by the firmware
1 parent 874ed33 commit 016b718

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

picamera/camera.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1131,7 +1131,7 @@ def start_recording(
11311131
additional options:
11321132
11331133
* *profile* - The H.264 profile to use for encoding. Defaults to
1134-
'high', but can be one of 'baseline', 'main', 'extended', 'high', or
1134+
'high', but can be one of 'baseline', 'main', 'high', or
11351135
'constrained'.
11361136
11371137
* *level* - The `H.264 level`_ to use for encoding. Defaults to '4',

picamera/encoders.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -630,7 +630,7 @@ def _create_encoder(
630630
profile = {
631631
'baseline': mmal.MMAL_VIDEO_PROFILE_H264_BASELINE,
632632
'main': mmal.MMAL_VIDEO_PROFILE_H264_MAIN,
633-
'extended': mmal.MMAL_VIDEO_PROFILE_H264_EXTENDED,
633+
#'extended': mmal.MMAL_VIDEO_PROFILE_H264_EXTENDED,
634634
'high': mmal.MMAL_VIDEO_PROFILE_H264_HIGH,
635635
'constrained': mmal.MMAL_VIDEO_PROFILE_H264_CONSTRAINED_BASELINE,
636636
}[profile]

0 commit comments

Comments
 (0)