Skip to content

Commit

Permalink
Still hls issue with hevc
Browse files Browse the repository at this point in the history
  • Loading branch information
thomaserlang committed Dec 10, 2023
1 parent dc97004 commit 267cfa6
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions seplis_play_server/transcoders/hls.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,10 @@ class Hls_transcoder(video.Transcoder):
media_name: str = 'media.m3u8'

def __init__(self, settings: video.Transcode_settings, metadata: Dict):
if settings.transcode_video_codec not in ('h264', 'hevc'):
settings.transcode_video_codec = 'h264'
settings.supported_video_codecs = ['h264', 'hevc']
#if settings.transcode_video_codec not in ('h264', 'hevc'):
settings.transcode_video_codec = 'h264'
# Still issues with hevc
settings.supported_video_codecs = ['h264',]
super().__init__(settings, metadata)

def ffmpeg_extend_args(self) -> None:
Expand Down

0 comments on commit 267cfa6

Please sign in to comment.