{"action":"created","issue":{"url":"https://api.github.com/repos/mps-youtube/mps-youtube/issues/513","repository_url":"https://api.github.com/repos/mps-youtube/mps-youtube","labels_url":"https://api.github.com/repos/mps-youtube/mps-youtube/issues/513/labels{/name}","comments_url":"https://api.github.com/repos/mps-youtube/mps-youtube/issues/513/comments","events_url":"https://api.github.com/repos/mps-youtube/mps-youtube/issues/513/events","html_url":"https://github.com/mps-youtube/mps-youtube/issues/513","id":167235101,"number":513,"title":"da broken (results in invalid 430 byte webm file)?","user":{"login":"lol768","id":2552726,"avatar_url":"https://avatars.githubusercontent.com/u/2552726?v=3","gravatar_id":"","url":"https://api.github.com/users/lol768","html_url":"https://github.com/lol768","followers_url":"https://api.github.com/users/lol768/followers","following_url":"https://api.github.com/users/lol768/following{/other_user}","gists_url":"https://api.github.com/users/lol768/gists{/gist_id}","starred_url":"https://api.github.com/users/lol768/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lol768/subscriptions","organizations_url":"https://api.github.com/users/lol768/orgs","repos_url":"https://api.github.com/users/lol768/repos","events_url":"https://api.github.com/users/lol768/events{/privacy}","received_events_url":"https://api.github.com/users/lol768/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2016-07-24T14:07:02Z","updated_at":"2016-07-30T21:56:24Z","closed_at":null,"body":"**Steps to reproduce:**\r\n\r\n1. Launch mpsyt\r\n2. Search for `cxGYHnTRMAw`\r\n3. `da 1`\r\n4. Observe the stream download URL is similar to `https://r5---sn-aigllnss.googlevideo.com/videoplayback?nh=IgpwcjA1LmxocjI1KgkxMjcuMC4wLjE&gir=yes&requiressl=yes&source=youtube&gcr=gb&dur=209.241&initcwndbps=2585000&pl=24&itag=251&ipbits=0&lmt=1449585933849749&sver=3&expire=1469389604&mime=audio%2Fwebm&key=yt6&upn=brifIlMqRF4&mm=31&mn=sn-aigllnss&mt=1469367312&mv=m&ms=au&fexp=9416891%2C9419452%2C9422596%2C9428398%2C9431012%2C9432564%2C9433092%2C9433096%2C9433221%2C9433424%2C9433946%2C9435524%2C9435526%2C9435876%2C9436607%2C9436834%2C9437066%2C9437085%2C9437552%2C9437742%2C9438140%2C9438527%2C9438663%2C9438871%2C9439327%2C9439580%2C9439652%2C9439688%2C9439882%2C9440545%2C9440881%2C9441371%2C9442424&sparams=clen%2Cdur%2Cei%2Cgcr%2Cgir%2Cid%2Cinitcwndbps%2Cip%2Cipbits%2Citag%2Ckeepalive%2Clmt%2Cmime%2Cmm%2Cmn%2Cms%2Cmv%2Cnh%2Cpl%2Crequiressl%2Csource%2Cupn%2Cexpire&ei=xMaUV_yuGYnPWfT_pZAB&ip=xxx.xxx.xxx.xxx&clen=3329073&id=o-AEaToQWep3lvHLahVIuK7PQ8xniylwzl19ziEniLelwo&keepalive=yes&signature=7B1D69815955DDD28DB39D4D32066B50DF2F6D31.1EA963C3D4DE2BA6C07A8EE5FE0ABD50B14F7C42&ratebypass=yes`\r\n6. Observe the download finishes successfully.\r\n7. `ls -lha` the downloaded file, it is 430 bytes:\r\n```\r\n-rw-rw-r-- 1 adam adam 430 Jul 24 14:58 Vixen - Cryin'.webm\r\n``` \r\nAttempt to play the file with mpv:\r\n\r\n```\r\n➜  music mpv Vixen\\ -\\ Cryin\\'.webm \r\nmpv: Symbol `av_pix_fmt_descriptors' has different size in shared object, consider re-linking\r\nPlaying: Vixen - Cryin'.webm\r\n[mkv] Refusing to read element over 100 MB in size\r\nDetected file format: Matroska\r\nClip info:\r\n TITLE: Cryin'\r\nVideo: no video\r\nAudio: no audio\r\nNo video or audio streams selected.\r\n```\r\n\r\n**Versions:**\r\n\r\n```\r\n➜  mpsytv3 git:(develop)  git show HEAD | grep commit\r\ncommit 8508c46dae26ee04ea0f7ddcbb1bc0feb69add2a\r\n➜  mpsytv3 git:(develop) ✗ sudo pip3 show pafy\r\n---\r\nName: Pafy\r\nVersion: 0.3.72\r\nLocation: /usr/local/lib/python3.4/dist-packages\r\nRequires: \r\n➜  mpsytv3 git:(develop) ✗ sudo pip3 show youtube-dl\r\n---\r\nName: youtube-dl\r\nVersion: 2016.7.24\r\nLocation: /usr/local/lib/python3.4/dist-packages\r\nRequires: \r\n```\r\n\r\n**Other notes:**\r\n\r\n* Downloading the 160k webm stream with `d 1` works.\r\n* Hexdump of invalid file: https://gist.github.com/8ac13d24bed8e0439f4560f482e88858"},"comment":{"url":"https://api.github.com/repos/mps-youtube/mps-youtube/issues/comments/236392052","html_url":"https://github.com/mps-youtube/mps-youtube/issues/513#issuecomment-236392052","issue_url":"https://api.github.com/repos/mps-youtube/mps-youtube/issues/513","id":236392052,"user":{"login":"lol768","id":2552726,"avatar_url":"https://avatars.githubusercontent.com/u/2552726?v=3","gravatar_id":"","url":"https://api.github.com/users/lol768","html_url":"https://github.com/lol768","followers_url":"https://api.github.com/users/lol768/followers","following_url":"https://api.github.com/users/lol768/following{/other_user}","gists_url":"https://api.github.com/users/lol768/gists{/gist_id}","starred_url":"https://api.github.com/users/lol768/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lol768/subscriptions","organizations_url":"https://api.github.com/users/lol768/orgs","repos_url":"https://api.github.com/users/lol768/repos","events_url":"https://api.github.com/users/lol768/events{/privacy}","received_events_url":"https://api.github.com/users/lol768/received_events","type":"User","site_admin":false},"created_at":"2016-07-30T21:56:24Z","updated_at":"2016-07-30T21:56:24Z","body":"Interesting find! I did some searching online of  `A_OPUS/EXPERIMENTAL` and found an ffmpeg patch related to it. I took another look at this today and saw it was executing this command to do the remuxing:\r\n\r\n`/usr/bin/ffmpeg -y -i /media/adam/ssd/music/Vixen - Cryin'.webm.89290 -acodec copy -metadata title=Cryin' -metadata artist=Vixen -vn /media/adam/ssd/music/Vixen - Cryin'.webm`\r\n\r\nSo next, I checked the ffmpeg version:\r\n\r\n```\r\n$ ffmpeg -h\r\nffmpeg version 1.2.6-7:1.2.6-1~trusty1 Copyright (c) 2000-2014 the FFmpeg developers\r\n  built on Apr 26 2014 18:52:58 with gcc 4.8 (Ubuntu 4.8.2-19ubuntu1)\r\n```\r\n\r\nThis seemed old, so I did an `apt install ffmpeg` after adding a PPA and then redid all of the original steps.\r\n\r\n```\r\n$ ffmpeg -v\r\nffmpeg version N-80901-gfebc862 Copyright (c) 2000-2016 the FFmpeg developers\r\n  built with gcc 4.8 (Ubuntu 4.8.4-2ubuntu1~14.04.3)\r\n```\r\n\r\nThis gave me a 3.2M file that I could successfully play with `mpv`, so it would appear this is a (fixed) ffmpeg bug present in Ubuntu Trusty's repository? In any case, it seems fixed now.\r\n\r\nThanks a bunch for looking into this for me."}}
{"actor":{"display_login":"lol768"}}