{"action":"created","issue":{"url":"https://api.github.com/repos/grepper/tovid/issues/150","labels_url":"https://api.github.com/repos/grepper/tovid/issues/150/labels{/name}","comments_url":"https://api.github.com/repos/grepper/tovid/issues/150/comments","events_url":"https://api.github.com/repos/grepper/tovid/issues/150/events","html_url":"https://github.com/grepper/tovid/issues/150","id":62084406,"number":150,"title":"Invoking ffmpeg with /dev/zero for input causes it to die from SIGFPE","user":{"login":"grepper","id":2165188,"avatar_url":"https://avatars.githubusercontent.com/u/2165188?v=3","gravatar_id":"","url":"https://api.github.com/users/grepper","html_url":"https://github.com/grepper","followers_url":"https://api.github.com/users/grepper/followers","following_url":"https://api.github.com/users/grepper/following{/other_user}","gists_url":"https://api.github.com/users/grepper/gists{/gist_id}","starred_url":"https://api.github.com/users/grepper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/grepper/subscriptions","organizations_url":"https://api.github.com/users/grepper/orgs","repos_url":"https://api.github.com/users/grepper/repos","events_url":"https://api.github.com/users/grepper/events{/privacy}","received_events_url":"https://api.github.com/users/grepper/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/grepper/tovid/labels/imported","name":"imported","color":"FFFFFF"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-03-16T13:41:01Z","updated_at":"2015-03-16T13:41:23Z","closed_at":null,"body":"_From [virtuale...@gmail.com](https://code.google.com/u/108639885618215100917/) on November 18, 2011 01:04:00_\n\nIt seems that, when a silent menu is requested, tovid attempts to generate a silent audio file by invoking ffmpeg as:\r\n\r\nffmpeg -f s16le -i /dev/zero -ac 2 -ar 48000 -ab 224k -t 4 -acodec ac3 -y audio.ac3\r\n\r\nThis causes ffmpeg (tested with both 0.7.7 and 0.8.6) to die on start-up from SIGFPE, because it attempts to divide by zero. I reported the issue to ffmpeg ( https://ffmpeg.org/trac/ffmpeg/ticket/666 ), but tovid may need a different approach to reliably generating silence...\n\n_Original issue: http://code.google.com/p/tovid/issues/detail?id=150_"},"comment":{"url":"https://api.github.com/repos/grepper/tovid/issues/comments/81669796","html_url":"https://github.com/grepper/tovid/issues/150#issuecomment-81669796","issue_url":"https://api.github.com/repos/grepper/tovid/issues/150","id":81669796,"user":{"login":"grepper","id":2165188,"avatar_url":"https://avatars.githubusercontent.com/u/2165188?v=3","gravatar_id":"","url":"https://api.github.com/users/grepper","html_url":"https://github.com/grepper","followers_url":"https://api.github.com/users/grepper/followers","following_url":"https://api.github.com/users/grepper/following{/other_user}","gists_url":"https://api.github.com/users/grepper/gists{/gist_id}","starred_url":"https://api.github.com/users/grepper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/grepper/subscriptions","organizations_url":"https://api.github.com/users/grepper/orgs","repos_url":"https://api.github.com/users/grepper/repos","events_url":"https://api.github.com/users/grepper/events{/privacy}","received_events_url":"https://api.github.com/users/grepper/received_events","type":"User","site_admin":false},"created_at":"2015-03-16T13:41:23Z","updated_at":"2015-03-16T13:41:23Z","body":"_From [grepper@gmail.com](https://code.google.com/u/grepper@gmail.com/) on November 27, 2011 22:52:49_\n\nFor users of current tovid: 0.34.  Here is the patch for this issue, affecting makemenu and makempg.  It was already added to todisc in this release, but didn't make it into these 2 scripts. https://code.google.com/p/tovid/downloads/detail?name=tovid-0.34_ffmpeg_silence.patch&can=2&q="}}