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

youtube.com, problem with video 1080p #1773

Closed
astronom84 opened this issue Nov 15, 2013 · 6 comments
Closed

youtube.com, problem with video 1080p #1773

astronom84 opened this issue Nov 15, 2013 · 6 comments

Comments

@astronom84
Copy link

@astronom84 astronom84 commented Nov 15, 2013

Hi all
When i try to download this video: http://www.youtube.com/watch?v=s3XW_NOYrTY with quality 1080p (-f 137), file cannot be played with any video player.

console output:

~$ youtube-dl -v -f 137 s3XW_NOYrTY
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['-v', '-f', '137', 's3XW_NOYrTY']
[debug] youtube-dl version 2013.11.15.1
[debug] Python version 2.7.3 - Linux-3.2.0-4-amd64-x86_64-with-debian-7.2
[debug] Proxy map: {}
[youtube] Setting language
[youtube] s3XW_NOYrTY: Downloading video webpage
[youtube] s3XW_NOYrTY: Downloading video info webpage
[youtube] s3XW_NOYrTY: Extracting video information
[download] Destination: Kylie Minogue - Agent Provocateur (Commercial 2001) [1080 HD]-s3XW_NOYrTY.mp4
[download] 100% of 35.05MiB in 00:26

File size must be equal to 38 Mb

@xanadu
Copy link
Contributor

@xanadu xanadu commented Nov 15, 2013

Try ffplay

@insideTheFlux
Copy link

@insideTheFlux insideTheFlux commented Nov 19, 2013

If you use '-F url' you will notice that it is listed as (DASH Video). Google's new way for youtube. You must merge both Dash Video and Dash Audio using ffmpeg to get a workable mp4 file.

@jaimeMF
Copy link
Collaborator

@jaimeMF jaimeMF commented Nov 21, 2013

As already said, you also have to download the DASH audio format, (for example youtube-dl -v -f 141 s3XW_NOYrTY will download a m4a file), then you'll need to join them with ffmpeg: ffmpeg -i VIDEO_FILE.mp4 -i AUDIO_FILE.m4a -c copy final.mp4. We're planning to do all of this automatically (see #1612).

@jaimeMF jaimeMF closed this Nov 21, 2013
@duduindo
Copy link

@duduindo duduindo commented Jun 15, 2014

mencoder -oac copy -ovc copy -fafmttag 0x706d -of lavf -lavfopts format=mp4 "VIDEO_youtube.mp4" -audiofile "AUDIO_youtube.m4a" -o VIDEO_FULL.mp4

Brasil! 💃

@jaimeMF
Copy link
Collaborator

@jaimeMF jaimeMF commented Jun 18, 2014

@duduindo With the last version of youtube-dl, you can run youtube-dl -f bestvideo+bestaudio URL and it will use ffmpeg or avconv to merge the two files.

@duduindo
Copy link

@duduindo duduindo commented Jun 19, 2014

Obrigado Jaime. Daqui uns dias vou testar com a nova versão. Obrigado! (Thanks!)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
5 participants
You can’t perform that action at this time.