Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Auto remux DASH video/audio #103

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

Comments

Projects
None yet
2 participants
@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 Rudloff added the enhancement label Apr 18, 2017

@Rudloff

This comment has been minimized.

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

This comment has been minimized.

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 Apr 28, 2017

Rudloff added a commit that referenced this issue Apr 28, 2017

Merge tag '0.9.0' into develop
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

This comment has been minimized.

Copy link
Author

guysmiley3 commented May 10, 2017

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 join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.