{"id":6773,"date":"2021-09-21T12:25:08","date_gmt":"2021-09-21T09:25:08","guid":{"rendered":"https:\/\/mummila.net\/kommentit\/?p=6773"},"modified":"2021-09-21T12:25:08","modified_gmt":"2021-09-21T09:25:08","slug":"7-hour-long-program-not-downloaded-completely","status":"publish","type":"post","link":"https:\/\/mummila.net\/kommentit\/2021\/09\/21\/7-hour-long-program-not-downloaded-completely\/","title":{"rendered":"7-hour long program not downloaded completely"},"content":{"rendered":"<p>Trying to download\u00a0<a href=\"https:\/\/areena.yle.fi\/1-50934704\" rel=\"nofollow\">this 7-hour long program<\/a> only downloads (about) the first 6 hours and 40 minutes (~ 11 GB), after which the process just stops, and leaves Gnome terminal screwed up (typed characters are invisible until I run\u00a0<code>reset<\/code>). In the web player the video seems to play past that point just fine.<\/p>\n<p>This is on Ubuntu 20.04 with ffmpeg version N-58594-g715f63232f-static (static build from git master on 20210908).<\/p>\n<div class=\"snippet-clipboard-content position-relative\">\n<pre><code>jani@saegusa:Ty\u00f6p\u00f6yt\u00e4$ \/usr\/local\/bin\/yle-dl 'https:\/\/areena.yle.fi\/1-50934704'\r\nyle-dl 20210808: Download media files from Yle Areena and El\u00e4v\u00e4 Arkisto\r\nCopyright (C) 2009-2021 Antti Ajanki &lt;antti.ajanki@iki.fi&gt;, license: GPLv3\r\n\r\nUnsupported codec with id 98313 for input stream 2\r\nUnsupported codec with id 98313 for input stream 5\r\nUnsupported codec with id 98313 for input stream 8\r\nUnsupported codec with id 98313 for input stream 11\r\nUnsupported codec with id 98313 for input stream 14\r\nUnsupported codec with id 98313 for input stream 17\r\nUnsupported codec with id 98313 for input stream 20\r\nUnsupported codec with id 98313 for input stream 23\r\nUnsupported codec with id 98313 for input stream 26\r\nUnsupported codec with id 98313 for input stream 29\r\nOutput file: YleX Esitt\u00e4\u00e4: Yle 95 - syntt\u00e4ribileet Linkkitornista: 2021-09-18T00:00.mkv\r\njani@saegusa:Ty\u00f6p\u00f6yt\u00e4$  size=10814976kB time=06:39:40.68 bitrate=3694.5kbits\/s speed=  44x\r\n<\/code><\/pre>\n<\/div>\n<p>Note the prompt appearing on top of ffmpeg output on the last line. Typing\u00a0<code>echo $?<\/code>\u00a0reveals that the process exited with code 1.<\/p>\n<p>Here&#8217;s\u00a0<a href=\"https:\/\/github.com\/aajanki\/yle-dl\/files\/7197916\/ylex-verbose.log\">the output when run with\u00a0<code>--verbose<\/code><\/a>.<\/p>\n<p>I&#8217;ve only tested this over the past couple of days so I don&#8217;t know if it&#8217;s a temporary error. Since the portion of the stream that I actually care about is all prior to the 6-hour mark, and the partial download is playable, I&#8217;m not too bothered to have the rest download. Reporting this just in case it&#8217;s a useful test of a corner case.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Only the first 6 h 40 min (~ 11 GB) is downloaded, after which the process just stops, and leaves Gnome terminal screwed up.<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8860],"tags":[3386,3406,2679,3005],"class_list":["post-6773","post","type-post","status-publish","format-standard","hentry","category-vianhallintajarjestelmat","tag-ffmpeg","tag-gnome","tag-ubuntu","tag-yle-areena","sijainti-github"],"_links":{"self":[{"href":"https:\/\/mummila.net\/kommentit\/wp-json\/wp\/v2\/posts\/6773","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mummila.net\/kommentit\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mummila.net\/kommentit\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mummila.net\/kommentit\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/mummila.net\/kommentit\/wp-json\/wp\/v2\/comments?post=6773"}],"version-history":[{"count":2,"href":"https:\/\/mummila.net\/kommentit\/wp-json\/wp\/v2\/posts\/6773\/revisions"}],"predecessor-version":[{"id":6777,"href":"https:\/\/mummila.net\/kommentit\/wp-json\/wp\/v2\/posts\/6773\/revisions\/6777"}],"wp:attachment":[{"href":"https:\/\/mummila.net\/kommentit\/wp-json\/wp\/v2\/media?parent=6773"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mummila.net\/kommentit\/wp-json\/wp\/v2\/categories?post=6773"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mummila.net\/kommentit\/wp-json\/wp\/v2\/tags?post=6773"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}