{"id":63,"date":"2019-07-26T02:18:40","date_gmt":"2019-07-25T23:18:40","guid":{"rendered":"https:\/\/ahiru.eu\/blog\/?p=63"},"modified":"2019-08-07T23:07:31","modified_gmt":"2019-08-07T20:07:31","slug":"bug-of-the-day-2019-07-25","status":"publish","type":"post","link":"https:\/\/ahiru.eu\/blog\/2019\/07\/26\/bug-of-the-day-2019-07-25\/","title":{"rendered":"Bug of the day: 2019-07-25"},"content":{"rendered":"\n<p>This was actually Sebastian&#8217;s bug. He was having a crash caused by an invalid timecode. Now, timecodes are just hours:minutes:seconds:frames labels for each video frame. His code was ending up with a timecode of something like 45:87:84:31. Yes, that&#8217;s 87 minutes and 84 seconds. Also 31 frames at 30 fps.<\/p>\n\n\n\n<p>He wondered where such a very invalid timecode might come from, then he noticed he had LTC input accidentally turned on. LTC gets an audio signal as an input and converts that signal into a timecode. It was turned on accidentally, no microphone connected, so he was picking up the music he was playing as &#8220;Monitor of sound card&#8221;.<\/p>\n\n\n\n<p>He tried reproducing it but failed. Then I looked at him and suggested that he tries the previous song again&#8230; And, kaboom! That particular song had the ability to generate crazy timecodes.<\/p>\n\n\n\n<p>The fix is here: <a href=\"https:\/\/gitlab.freedesktop.org\/gstreamer\/gst-plugins-bad\/commit\/aafda1c76f4089505e16b6128f8b80ab316ab2f0\">https:\/\/gitlab.freedesktop.org\/gstreamer\/gst-plugins-bad\/commit\/aafda1c76f4089505e16b6128f8b80ab316ab2f0<\/a> <\/p>\n","protected":false},"excerpt":{"rendered":"<p>This was actually Sebastian&#8217;s bug. He was having a crash caused by an invalid timecode. Now, timecodes are just hours:minutes:seconds:frames[&#8230;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3,4],"tags":[],"class_list":["post-63","post","type-post","status-publish","format-standard","hentry","category-bug-of-the-day","category-english"],"_links":{"self":[{"href":"https:\/\/ahiru.eu\/blog\/wp-json\/wp\/v2\/posts\/63","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ahiru.eu\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ahiru.eu\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ahiru.eu\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ahiru.eu\/blog\/wp-json\/wp\/v2\/comments?post=63"}],"version-history":[{"count":4,"href":"https:\/\/ahiru.eu\/blog\/wp-json\/wp\/v2\/posts\/63\/revisions"}],"predecessor-version":[{"id":70,"href":"https:\/\/ahiru.eu\/blog\/wp-json\/wp\/v2\/posts\/63\/revisions\/70"}],"wp:attachment":[{"href":"https:\/\/ahiru.eu\/blog\/wp-json\/wp\/v2\/media?parent=63"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ahiru.eu\/blog\/wp-json\/wp\/v2\/categories?post=63"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ahiru.eu\/blog\/wp-json\/wp\/v2\/tags?post=63"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}