Skip to content

Commit

Permalink
fix movflags
Browse files Browse the repository at this point in the history
  • Loading branch information
SurfaceS committed Jul 18, 2024
1 parent f4823f1 commit 24efb42
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions src/main/java/net/pms/encoders/FFMpegVideo.java
Original file line number Diff line number Diff line change
Expand Up @@ -509,17 +509,7 @@ protected synchronized List<String> getVideoTranscodeOptions(StoreItem item, Med
transcodeOptions.add(FormatConfiguration.MP4);

transcodeOptions.add("-movflags");
if (encodingFormat.isTranscodeToH265()) {
//todo: check if it is the rigth settings
//I splitted it as it break moov on H264 output.
//I don't know about h265 requirements, but faststart
// need seekable output (what pipe streamed is not).
// and frag_keyframe without empty_moov miss the first frame.
//I think it should be frag_keyframe+empty_moov.
transcodeOptions.add("frag_keyframe+faststart");
} else {
transcodeOptions.add("frag_keyframe+empty_moov");
}
transcodeOptions.add("frag_keyframe+faststart+delay_moov");
} else {
transcodeOptions.add("vob");
}
Expand Down

0 comments on commit 24efb42

Please sign in to comment.