Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
some videos produce unviewable .mkv files #5874
Comments
|
Strange because my testing machine on youtube-dl version 2015.05.20 produces a file that plays just fine - just not an mkv - mine is an mp4 - even though I am using the same version and invocation. |
|
If I run this command manually: And the video does not play in mplayer2: In the video that I manually produced without the optimizing -map options, mplayer2 reports this: And the video plays. My avconv is from Debian Jessie: Hopefully that helps. |
|
Most likely an mplayer2 issue, same for vlc 2.2. mplayer and mpv play it perfectly. |
Downloading this YouTube video http://y2u.be/KLqy_pv1tMo produces an unviewable .mkv file.
$ youtube-dl -k -v KLqy_pv1tMo✌️ 0 -map 1🅰️ 0 'Shellshonic Shag-o-vision Episode 6 [Ali Koehler]-KLqy_pv1tMo.temp.mkv'
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'-k', u'-v', u'KLqy_pv1tMo']
[debug] Encodings: locale ISO-8859-1, fs ISO-8859-1, out ISO-8859-1, pref ISO-8859-1
[debug] youtube-dl version 2015.05.20
[debug] Python version 2.7.9 - Linux-3.16.0-4-686-pae-i686-with-debian-8.0
[debug] exe versions: avconv 11.3-6, avprobe 11.3-6, ffmpeg 0.8.17-6, rtmpdump 2.4
[debug] Proxy map: {}
[youtube] KLqy_pv1tMo: Downloading webpage
[youtube] KLqy_pv1tMo: Extracting video information
[youtube] KLqy_pv1tMo: Downloading DASH manifest
WARNING: Requested formats are incompatible for merge and will be merged into mkv.
[debug] Invoking downloader on 'https://r7---sn-gjo-2iae.googlevideo.com/videoplayback?id=28bab2fe9bf5b4ca&itag=303&source=youtube&requiressl=yes&mm=31&pl=24&mv=m&ms=au&ratebypass=yes&mime=video/webm&gir=yes&clen=262383778&lmt=1425745640195566&dur=730.363&fexp=9406618,9407122,9407943,9408142,9408420,9408710,9408788,9412494,9413039,9413341,9413503,9414851,9414857,9415143,9415304,9415488,9415554,952612&upn=oIMN03v7Tkw&key=dg_yt0&sver=3&signature=0A2B521692C4D97795BF512AB3541A045BDE95CD.4F3A628849DE04AB241873EF52C4843D46448AEF&mt=1433213516&ip=207.172.195.165&ipbits=0&expire=1433235144&sparams=ip,ipbits,expire,id,itag,source,requiressl,mm,pl,mv,ms,ratebypass,mime,gir,clen,lmt,dur'
[download] Destination: Shellshonic Shag-o-vision Episode 6 [Ali Koehler]-KLqy_pv1tMo.f303.webm
[download] 100% of 250.23MiB in 01:12
[debug] Invoking downloader on 'https://r7---sn-gjo-2iae.googlevideo.com/videoplayback?id=28bab2fe9bf5b4ca&itag=141&source=youtube&requiressl=yes&mm=31&pl=24&mv=m&ms=au&ratebypass=yes&mime=audio/mp4&gir=yes&clen=23291264&lmt=1394000544747997&dur=730.522&fexp=9406618,9407122,9407943,9408142,9408420,9408710,9408788,9412494,9413039,9413341,9413503,9414851,9414857,9415143,9415304,9415488,9415554,952612&upn=oIMN03v7Tkw&key=dg_yt0&sver=3&signature=0693C31E6874924FA565672C5CC6D6C156F8922C.5F64805C91BDD3BEE8B347ACCEE609EB2540424B&mt=1433213516&ip=207.172.195.165&ipbits=0&expire=1433235144&sparams=ip,ipbits,expire,id,itag,source,requiressl,mm,pl,mv,ms,ratebypass,mime,gir,clen,lmt,dur'
[download] Destination: Shellshonic Shag-o-vision Episode 6 [Ali Koehler]-KLqy_pv1tMo.f141.m4a
[download] 100% of 22.21MiB in 00:06
[ffmpeg] Merging formats into "Shellshonic Shag-o-vision Episode 6 [Ali Koehler]-KLqy_pv1tMo.mkv"
[debug] ffmpeg command line: avconv -y -i 'Shellshonic Shag-o-vision Episode 6 [Ali Koehler]-KLqy_pv1tMo.f303.webm' -i 'Shellshonic Shag-o-vision Episode 6 [Ali Koehler]-KLqy_pv1tMo.f141.m4a' -c copy -map 0
(failed reverse-i-search)`avcov': ^Cconv -i Shag-O-Vision.3.Shellshonic\ shag-o-vision\ Episode\ 2\ [Laura\ Stevenson]-lhqby1ByPOI.f303.webm -i Shag-O-Vision.3.Shellshonic\ shag-o-vision\ Episode\ 2\ [Laura\ Stevenson]-lhqby1ByPOI.f141.m4a Shag-O-Vision.3.Shellshonic\ shag-o-vision\ Episode\ 2\ [Laura\ Stevenson]-lhqby1ByPOI.new.mkv
[status 130]
Using mplayer2 on both Debian wheezy and Jessie fails to play the video in the .mkv file produced. The audio works fine.
If I manually run this command:
$ avconv -i Shellshonic\ Shag-o-vision\ Episode\ 6\ [Ali\ Koehler]-KLqy_pv1tMo.f303.webm -i Shellshonic\ Shag-o-vision\ Episode\ 6\ [Ali\ Koehler]-KLqy_pv1tMo.f141.m4a Shellshonic\ Shag-o-vision\ Episode\ 6\ [Ali\ Koehler]-KLqy_pv1tMo.new.mkv
Then I can play the video (of course, that command takes "forever" to build an .mkv file).
Most videos convert correctly for me. But this one (and some others) have failed all in the same way (audio works, video fails).