{"action":"created","issue":{"url":"https://api.github.com/repos/iizukanao/picam/issues/32","labels_url":"https://api.github.com/repos/iizukanao/picam/issues/32/labels{/name}","comments_url":"https://api.github.com/repos/iizukanao/picam/issues/32/comments","events_url":"https://api.github.com/repos/iizukanao/picam/issues/32/events","html_url":"https://github.com/iizukanao/picam/issues/32","id":124597794,"number":32,"title":"Displaying multiple text overlays simultaneously","user":{"login":"Linkaan","id":11377980,"avatar_url":"https://avatars.githubusercontent.com/u/11377980?v=3","gravatar_id":"","url":"https://api.github.com/users/Linkaan","html_url":"https://github.com/Linkaan","followers_url":"https://api.github.com/users/Linkaan/followers","following_url":"https://api.github.com/users/Linkaan/following{/other_user}","gists_url":"https://api.github.com/users/Linkaan/gists{/gist_id}","starred_url":"https://api.github.com/users/Linkaan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Linkaan/subscriptions","organizations_url":"https://api.github.com/users/Linkaan/orgs","repos_url":"https://api.github.com/users/Linkaan/repos","events_url":"https://api.github.com/users/Linkaan/events{/privacy}","received_events_url":"https://api.github.com/users/Linkaan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-01-02T16:23:18Z","updated_at":"2016-01-05T18:39:08Z","closed_at":null,"body":"Hi Nao,\r\n\r\nI have switched over to a RPi 2 because the text overlay was unfortunately too CPU intensive for an RPI A+. This feature is very useful to me and I think it could be further improved by having the option to display multiple text overlays simultaneously. I'd like to be able to write a subtitle hook in this manner:\r\n```\r\n{\r\ntext=●REC\r\nfont_name=FreeSans\r\npt=40\r\nlayout_align=top,right\r\nhorizontal_margin=30\r\nvertical_margin=30\r\ncolor=000000\r\nstroke_width=0\r\nduration=0\r\n}\r\n{\r\ntext=OUTSIDE 25'C\\\\nCPU 30'C\r\nfont_name=FreeMono:style=Bold\r\npt=20\r\nlayout_align=top,left\r\ntext_align=left\r\nhorizontal_margin=30\r\nvertical_margin=30\r\nduration=0\r\n}\r\n``` \r\nOr even to have a directory `subtitle` to which you can write multiple subtitle hooks dynamically.\r\nI understand this might be hard to implement and there are workarounds I could do to overcome this but if it is possible to implement I think it would be a good improvement!\r\n\r\nAnother improvement I'd love to see which could be very useful is to have an option, like `show_in_video=true|false`, to display the text overlay in the recorded video or only on the livestream. This I understand might be extremely difficult to implement and it is not really necessary. I think it is somehow possible to add overlays in ffmpeg dynamically anyway?"},"comment":{"url":"https://api.github.com/repos/iizukanao/picam/issues/comments/169092177","html_url":"https://github.com/iizukanao/picam/issues/32#issuecomment-169092177","issue_url":"https://api.github.com/repos/iizukanao/picam/issues/32","id":169092177,"user":{"login":"iizukanao","id":10234,"avatar_url":"https://avatars.githubusercontent.com/u/10234?v=3","gravatar_id":"","url":"https://api.github.com/users/iizukanao","html_url":"https://github.com/iizukanao","followers_url":"https://api.github.com/users/iizukanao/followers","following_url":"https://api.github.com/users/iizukanao/following{/other_user}","gists_url":"https://api.github.com/users/iizukanao/gists{/gist_id}","starred_url":"https://api.github.com/users/iizukanao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iizukanao/subscriptions","organizations_url":"https://api.github.com/users/iizukanao/orgs","repos_url":"https://api.github.com/users/iizukanao/repos","events_url":"https://api.github.com/users/iizukanao/events{/privacy}","received_events_url":"https://api.github.com/users/iizukanao/received_events","type":"User","site_admin":false},"created_at":"2016-01-05T18:39:08Z","updated_at":"2016-01-05T18:39:08Z","body":"Thanks for the suggestion. That would be a nice improvement! Overlaying text with ffmpeg should be a last resort."}}