mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-07-16 05:43:54 +03:00
[PR #675] [CLOSED] A fix for incorrect segment_time_delta given to ffmpeg #8439
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/jellyfin/jellyfin/pull/675
Author: @Tthecreator
Created: 1/23/2019
Status: ❌ Closed
Base:
dev← Head:ffmpeg-bugs-delta_time📝 Commits (10+)
2d90df9Presenting a fix for incorrect segment_time_delta given to ffmpeg #6745646efbRevert "removed excess newlines"eae5117Revert "Set EnableRaisingEvents correctly for SubtitleEncoder"efeebe2Presenting a fix for incorrect segment_time_delta given to ffmpeg #674ee8566dMove the definition to base of base class, give it a shorter namee566cdfMerge branch 'ffmpeg-bugs-delta_time' of https://github.com/hawken93/jellyfin into hawken93-ffmpeg-bugs-delta_time2a94beaMerge pull request #3 from Tthecreator/hawken93-ffmpeg-bugs-delta_time4cfe1b7Revert "Merge branch 'ffmpeg-bugs-delta_time' of https://github.com/hawken93/jellyfin into hawken93-ffmpeg-bugs-delta_time"38a57ceRevert "Hawken93 ffmpeg bugs delta time"bbb2e76Merge pull request #4 from Tthecreator/revert-3-hawken93-ffmpeg-bugs-delta_time📊 Changes
28 files changed (+395 additions, -533 deletions)
View changed files
📝
.dockerignore(+0 -2)📝
.gitmodules(+3 -0)📝
CONTRIBUTORS.md(+1 -2)📝
Dockerfile.arm(+3 -6)➖
Dockerfile.arm64(+0 -33)📝
Emby.Photos/Emby.Photos.csproj(+1 -4)📝
Emby.Server.Implementations/Data/SqliteItemRepository.cs(+1 -13)📝
Emby.Server.Implementations/Diagnostics/CommonProcess.cs(+11 -7)📝
MediaBrowser.Api/Playback/BaseStreamingService.cs(+7 -0)📝
MediaBrowser.Api/Playback/Hls/DynamicHlsService.cs(+29 -4)📝
MediaBrowser.Api/Playback/MediaInfoService.cs(+4 -16)📝
MediaBrowser.Api/Playback/StreamState.cs(+1 -1)📝
MediaBrowser.Api/Playback/UniversalAudioService.cs(+2 -24)📝
MediaBrowser.Api/Subtitles/SubtitleService.cs(+2 -7)📝
MediaBrowser.Controller/Entities/Audio/MusicAlbum.cs(+1 -1)📝
MediaBrowser.MediaEncoding/Subtitles/SubtitleEncoder.cs(+2 -2)📝
MediaBrowser.Model/Dlna/AudioOptions.cs(+10 -10)📝
MediaBrowser.Model/Dlna/ConditionProcessor.cs(+11 -13)📝
MediaBrowser.Model/Dlna/DeviceProfile.cs(+9 -3)📝
MediaBrowser.Model/Dlna/StreamBuilder.cs(+274 -184)...and 8 more files
📄 Description
Changes
There seem to be a lot of issues that have problems with either negative numbers, or numbers with wrong decimal points given to ffmpeg as segment_time_delta argument. This may be due to string conversions working differently between systems and configurations. I've created a NumberFormatInfo class that should better define what the segment_time_delta parameter for ffmpeg.
Issues
#674
Things to consider
If this problem also exists on other arguments, my code may have to be rewritten a little bit.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.