{"id":2155,"date":"2010-01-28T07:59:33","date_gmt":"2010-01-28T15:59:33","guid":{"rendered":"http:\/\/multimedia.cx\/eggs\/?p=2155"},"modified":"2010-01-28T07:59:33","modified_gmt":"2010-01-28T15:59:33","slug":"ffmpeg-introspection","status":"publish","type":"post","link":"https:\/\/multimedia.cx\/eggs\/ffmpeg-introspection\/","title":{"rendered":"FFmpeg Introspection"},"content":{"rendered":"<p>I accidentally used the main &#8216;ffmpeg&#8217; binary as an input to itself. Its best guess is that it&#8217;s an MP3 container with MPEG-1, layer 1 audio data:<\/p>\n<pre>\r\n[NULL @ 0x1002600]Format detected only with low score of 25, misdetection possible!\r\n[mp1 @ 0x1003600]Header missing\r\n    Last message repeated 35 times\r\n[mp3 @ 0x1002600]max_analyze_duration reached\r\n[mp3 @ 0x1002600]Estimating duration from bitrate, this may be inaccurate\r\nInput #0, mp3, from 'ffmpeg_g':\r\n  Duration: 00:03:20.29, start: 0.000000, bitrate: 256 kb\/s\r\n    Stream #0.0: Audio: mp1, 32000 Hz, 2 channels, s16, 256 kb\/s\r\nAt least one output file must be specified\r\n<\/pre>\n<p>What an Easter egg it would be if the compiled binary could actually decode to something &#8212; anything &#8212; valid.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>What happens when FFmpeg tries to process itself?<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-2155","post","type-post","status-publish","format-standard","hentry","category-general"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/multimedia.cx\/eggs\/wp-json\/wp\/v2\/posts\/2155","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/multimedia.cx\/eggs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/multimedia.cx\/eggs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/multimedia.cx\/eggs\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/multimedia.cx\/eggs\/wp-json\/wp\/v2\/comments?post=2155"}],"version-history":[{"count":2,"href":"https:\/\/multimedia.cx\/eggs\/wp-json\/wp\/v2\/posts\/2155\/revisions"}],"predecessor-version":[{"id":2157,"href":"https:\/\/multimedia.cx\/eggs\/wp-json\/wp\/v2\/posts\/2155\/revisions\/2157"}],"wp:attachment":[{"href":"https:\/\/multimedia.cx\/eggs\/wp-json\/wp\/v2\/media?parent=2155"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/multimedia.cx\/eggs\/wp-json\/wp\/v2\/categories?post=2155"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/multimedia.cx\/eggs\/wp-json\/wp\/v2\/tags?post=2155"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}