forked from kenzuya/unshackle
fix(remote): match re-parsed manifest tracks by ID before attributes
Match once after every server manifest is parsed, and require range and bitrate in the video fallback, so a per-range ISM ladder no longer hands an HDR10 track the SDR quality level. Pass -xerror to the bsf ffmpeg calls so a failed rewrite keeps the original file instead of a near-empty one.
This commit is contained in:
@@ -497,6 +497,8 @@ class Video(Track):
|
||||
"-hide_banner",
|
||||
"-loglevel",
|
||||
"error",
|
||||
# ffmpeg exits 0 after dropping packets the bsf cannot parse
|
||||
"-xerror",
|
||||
"-i",
|
||||
str(original_path),
|
||||
"-codec",
|
||||
|
||||
Reference in New Issue
Block a user