mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-24 01:34:45 +03:00
detect anamorphic video
This commit is contained in:
@@ -313,7 +313,7 @@ namespace MediaBrowser.Api.Playback.Hls
|
||||
// See if we can save come cpu cycles by avoiding encoding
|
||||
if (codec.Equals("copy", StringComparison.OrdinalIgnoreCase))
|
||||
{
|
||||
return IsH264(state.VideoStream) ? "-codec:v:0 copy -bsf h264_mp4toannexb" : "-codec:v:0 copy";
|
||||
return IsH264(state.VideoStream) ? "-codec:v:0 copy -bsf h264_mp4toannexb -bsf dump_extra" : "-codec:v:0 copy";
|
||||
}
|
||||
|
||||
var keyFrameArg = state.ReadInputAtNativeFramerate ?
|
||||
|
||||
Reference in New Issue
Block a user