Skip to content

Commit

Permalink
This seems to have given issues after it was removed from here
Browse files Browse the repository at this point in the history
  • Loading branch information
thomaserlang committed Dec 10, 2023
1 parent 9f1ad31 commit b4b8c95
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions seplis_play_server/transcoders/video.py
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,8 @@ async def set_ffmpeg_args(self):
{'-map_metadata': '-1'},
{'-map_chapters': '-1'},
{'-threads': '0'},
{'-start_at_zero': None},
{'-avoid_negative_ts': 'disabled'},
{'-max_delay': '5000000'},
{'-max_muxing_queue_size': '2048'},
])
Expand Down Expand Up @@ -238,11 +240,6 @@ def set_video(self):
self.ffmpeg_args.insert(i+1, {'-noaccurate_seek': None})

self.ffmpeg_args.insert(i+2, {'-fflags': '+genpts'})

self.ffmpeg_args.extend([
{'-start_at_zero': None},
{'-avoid_negative_ts': 'disabled'},
])
else:
if config.ffmpeg_hwaccel_enabled:
codec = f'{self.settings.transcode_video_codec}_{config.ffmpeg_hwaccel}'
Expand Down

0 comments on commit b4b8c95

Please sign in to comment.