Closed ping closed 7 years ago
Changes in 283902741855104c6dc2dd53521c5f031601c82b:
downloader.stitch()
now returns list of generated filenames.<output_filename>-<n>.mp4
The Downloader also has a new property segment_meta
, a dict with a structure similar to:
{
"XXXXXXXXXXXXXXXX-0.m4v": "324p"
"XXXXXXXXXXXXXXXX-1001.m4v": "480p",
"XXXXXXXXXXXXXXXX-1002.m4v": "480p",
"XXXXXXXXXXXXXXXX-1003.m4v": "480p"
}
where the dict keys are the video segment names and the
corresponding value is the resolution label (may vary). You may wish to store this segment meta information if you want to process the segments manually instead of relying on downloader.stitch()
.
Please follow the guide below
x
into all the boxes [ ] relevant to your issue (like so [x]).Before submitting an issue make sure you have:
Purpose of your issue?
Describe your issue
An IG stream sometimes, possibly due to bandwidth, starts with a low resolution for the first second before stepping up to return higher-resolution segments. This results in the first segment saved (usually XXXXX-0.m4v) having a smaller resolution than the rest of the subsequent segments.
This situation causes a corrupted file when the segments are merged.