[GH-ISSUE #844] Youtube saves the media as mkv and thus cannot be played inside a browser #525

Closed
opened 2026-03-01 14:44:18 +03:00 by kerem · 4 comments
Owner

Originally created by @tio-trom on GitHub (Sep 12, 2021).
Original GitHub issue: https://github.com/ArchiveBox/ArchiveBox/issues/844

https://archive.trom.tf/archive/1631457418.479981/www.youtube.com/watch@v=8iTrm7Wnhas.html

This is an example. I wonder why it saves as mkv since that cannot play in the browser, thus making it difficult to use the link as a reference.

Also, as you can see, it doesn't save the youtube page properly.

Cheers!

Originally created by @tio-trom on GitHub (Sep 12, 2021). Original GitHub issue: https://github.com/ArchiveBox/ArchiveBox/issues/844 https://archive.trom.tf/archive/1631457418.479981/www.youtube.com/watch@v=8iTrm7Wnhas.html This is an example. I wonder why it saves as mkv since that cannot play in the browser, thus making it difficult to use the link as a reference. Also, as you can see, it doesn't save the youtube page properly. Cheers!
kerem closed this issue 2026-03-01 14:44:19 +03:00
Author
Owner

@pirate commented on GitHub (Sep 16, 2021):

You can change this by tweaking the archivebox config option YOUTUBEDL_ARGS. By default it saves in the highest quality format that's available directly so that it doesn't waste CPU re-encoding video.

<!-- gh-comment-id:920540764 --> @pirate commented on GitHub (Sep 16, 2021): You can change this by tweaking the archivebox config option `YOUTUBEDL_ARGS`. By default it saves in the highest quality format that's available directly so that it doesn't waste CPU re-encoding video.
Author
Owner

@tio-trom commented on GitHub (Sep 18, 2021):

How about the fact that it cannot save the youtube page properly?

<!-- gh-comment-id:922269856 --> @tio-trom commented on GitHub (Sep 18, 2021): How about the fact that it cannot save the youtube page properly?
Author
Owner

@pirate commented on GitHub (Sep 18, 2021):

Seems like you disabled singlefile, which has much better fidelity for youtube: https://archive.trom.tf/archive/1631457418.479981/index.html

<!-- gh-comment-id:922360900 --> @pirate commented on GitHub (Sep 18, 2021): Seems like you disabled singlefile, which has much better fidelity for youtube: https://archive.trom.tf/archive/1631457418.479981/index.html
Author
Owner

@tio-trom commented on GitHub (Oct 19, 2021):

Can you please tell me what to exactly add to the config file?

<!-- gh-comment-id:947126973 --> @tio-trom commented on GitHub (Oct 19, 2021): Can you please tell me what to exactly add to the config file?
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/ArchiveBox#525
No description provided.