taengstagram / instagram-livestream-downloader

Instagram Live Stream Downloader
MIT License
119 stars 37 forks source link

Max resolution? #2

Closed DreamCatcher0107 closed 7 years ago

DreamCatcher0107 commented 7 years ago

Please read the following instructions carefully


Before submitting an issue, make sure you have:

Purpose of your issue:

For a bug report, you must include the command used and a complete output/error log.

Command:

# Paste your command here.
# Remember not to include sensitive info such as passwords. Example:
livestream_dl -u "myusername" -collectcomments -o "/path/to/dl_folder/" "myfavigacct"

Complete Output/Error Log:

# Paste the error/output log here

Describe your issue

// Moved my question from tumblr to here. Didn't notice the P/S, my apologies. I've fully installed the downloader and have tried on a few livestreams. I noticed that sometimes the downloader downloads in max resolution but other times only in 396x704. Is there a possibility of including a command to always download the max res? Thank you.

taengstagram commented 7 years ago

Instagram for whatever reason, doesn't always provide a higher resolution stream. If a higher res stream doesn't exist, the downloader will just use the standard available stream which, as you've noticed, is just 396x704.

You can verify this for the stream you downloaded by checking the accompanying .json file that was generated along with the mp4. Open that file in any text editor, look for dash_abr_playback_url

"dash_abr_playback_url": null,  # or a url like "https://scontent-xxx-1.cdninstagram.com/..."

if dash_abr_playback_url value is null (not a url), it means that at the time of the stream, there wasn't a better quality option available.

DreamCatcher0107 commented 7 years ago

Alright, understood. Checked on a few streams and got the same null result for streams in 386x704. Much thanks!