Skip to content

Commit

Permalink
Update: [Server][LiveEncodingTask] rkmppenc でも H.264 high profile を選択…
Browse files Browse the repository at this point in the history
…するよう戻す。

rkmppenc の更新により、 high profile でもヘッダが正常に出力されるようになったため。
  • Loading branch information
rigaya committed Apr 25, 2023
1 parent dd7c9b0 commit 805d820
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/app/tasks/LiveEncodingTask.py
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ def buildHWEncCOptions(self,
options.append('--preset balanced')
elif encoder_type == 'rkmppenc':
options.append('--preset best')
if QUALITY[quality].is_hevc is True or encoder_type == 'rkmppenc':
if QUALITY[quality].is_hevc is True:
options.append('--profile main')
else:
options.append('--profile high')
Expand Down

0 comments on commit 805d820

Please sign in to comment.