Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

Auto remux DASH video/audio #103

Closed
guysmiley3 opened this issue Apr 18, 2017 · 3 comments
Closed

Auto remux DASH video/audio #103

guysmiley3 opened this issue Apr 18, 2017 · 3 comments

Comments

@guysmiley3
Copy link

guysmiley3 commented Apr 18, 2017

Currently more and more youtube and others are topping out at 720p as the "best" and using DASH for 1080p+ forcing you to download twice and remux yourself

Instead of relying on "best" tag either let the user select the video/audio they want and remux on the fly for them similar to running -f with two IDs

Note I did try passing IDs via the config.yml but it didn't really like that and I don't consider this a bug... more like option in future

@Rudloff
Copy link
Owner

Rudloff commented Apr 19, 2017

We can probably remux on the fly by using pipes:
avconv -y -i <(curl videourl) -i <(curl audiourl) -c copy -map 0:v:0 -map 1:a:0 'file:remux.mkv'

But when I try that with a Youtube video, I get a broken result (audio is not correctly synced to video).

Rudloff added a commit that referenced this issue Apr 24, 2017
@Rudloff
Copy link
Owner

Rudloff commented Apr 24, 2017

@guysmiley3 I added an experimental feature that allows you to download bestvideo+bestaudio.
If you want to test it, you can use the develop branch and add remux: true to your config.yml file.

@Rudloff Rudloff closed this as completed Apr 28, 2017
Rudloff added a commit that referenced this issue Apr 28, 2017
Basic playlist support (#58)
Alltube does not use curl anymore (#105)
New experimental remux option (#103)
youtube-dl updated to 2017.04.28
getURL() now returns an array
Tests have been refactored
@guysmiley3
Copy link
Author

Works well!

Only issue I had was mpc refused to play the remux with video+audio... video or audio alone was fine
VLC was a skipping/non seeking mess but VLC usually has issues I find
Potplayer worked fine

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants