\n\nYou've probably seen a bunch of /r/AskReddit narration style videos by now. So I set out to start working on a program to automate the creation of them, for fun :) Its still a work in progress, but the current state of the project allows it to: \n\n- Take screenshots of top level comments of a thread using selenium.\n- Generate audio using the epic Daniel voice for each comment. \n- Have looping background music.\n- Progressively show each sentence as it is spoken for a comment.\n- Composite all of the above into a cool video. Heres a [**sample**.](https://www.youtube.com/watch?v=4PVTzB5H77w)\n- ~~Output high quality content~~\n\nTodo:\n- Ability to curate your own comments/support for replies. \n\nPlease feel free to make a PR with improvements :)\n\n## Installation\n\n```console\n$ pip3 install revvid\n$ pip3 install git+https://github.com/forjr/pyttsx3\n```\n\n1. Go to [reddit apps](https://www.reddit.com/prefs/apps) and create a \"script\" app\n2. Fill it up and `update`\n\n3. Copy the Client ID and Client Secret and set your environment variables\n\n4. How to [Mac](https://www.youtube.com/watch?v=-cASjkF94dc), [Windows](https://www.youtube.com/watch?v=bEroNNzqlF4)\n5. If you are on Windows, [download and install this file](https://drive.google.com/file/d/17X5gNFBUAuNR8LqI--Rgh29-23vT7nB7/view)\n6. If you have a Python 64-bit on Windows, run `DanielWindows64bit.reg` to allow the voice file to work in a 64-bit environment after installing the previous file.\n\n```env\nREDDIT_CLIENT_ID=xxxxxx\nREDDIT_CLIENT_SECRET=xxxxxxx\n```\n\n## Usage\n\n\nNote: Currently, the program does not work on Linux, [nateshmbhat/pyttsx3#30](https://github.com/nateshmbhat/pyttsx3/issues/30)). If it is possible to get Daniel's voice and TTS working, feel free to make a PR.\n\n```\nUsage: revvid [OPTIONS]\n\n This program generates reddit narration videos! If no post ID is provided\n then an interactive session which allows you to choose from hot posts\n from the spcecified subreddit is started.\n\nOptions:\n -p, --postid TEXT The post ID to generate the video from\n -s, --subreddit TEXT The subreddit to display hot posts from.\n -o, --out PATH The file path to output the video to.\n -l, --limit INTEGER The amount of comments to process.\n --night-mode BOOLEAN Whether or not the screenshots are in night mode\n --title TEXT The text to prepend to the submission title.\n --outro TEXT The outro text to be spoken.\n --bg-music PATH Supply your own background music\n --transition PATH Supply your own tv static transition\n --help Show this message and exit.\n\n```\n\n## Examples\n\n```console\n$ revvid -p bxccip --title \"r slash ask men...\"\n```\n\nResults in [**this**](https://youtu.be/x1zPdKgcjv8)\n\n```console\n$ revvid -p bniexw --limit 30\n```\n\nResults in [**this**](https://www.youtube.com/watch?v=x9Rj2tcV5HA)\n\n## License \n\nGNU AGPL v3\n\n## Contributing\n\nFeel free to make contributions, they are always welcome!\n\nWe use a [modified pyttsx3](https://github.com/fourjr/pyttsx3) to support Windows, waiting on [nateshmbhat/pyttsx3#57](https://github.com/nateshmbhat/pyttsx3/pull/57/) to get merged into master.",
"description_content_type": "text/markdown",
"docs_url": null,
"download_url": "",
"downloads": {
"last_day": -1,
"last_month": -1,
"last_week": -1
},
"home_page": "https://github.com/kyb3r/revvid",
"keywords": "",
"license": "",
"maintainer": "",
"maintainer_email": "",
"name": "revvid",
"package_url": "https://pypi.org/project/revvid/",
"platform": "",
"project_url": "https://pypi.org/project/revvid/",
"project_urls": {
"Homepage": "https://github.com/kyb3r/revvid"
},
"release_url": "https://pypi.org/project/revvid/1.2.0/",
"requires_dist": null,
"requires_python": "",
"summary": "",
"version": "1.2.0"
},
"last_serial": 5436094,
"releases": {
"0.1.0": [
{
"comment_text": "",
"digests": {
"md5": "a070bca8f0efb8a96171185b2d24527f",
"sha256": "7d822db5a476b47ea3448ce81700f8107edac504c1d57df64e50a3926db76c5d"
},
"downloads": -1,
"filename": "revvid-0.1.0.tar.gz",
"has_sig": false,
"md5_digest": "a070bca8f0efb8a96171185b2d24527f",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 3715883,
"upload_time": "2019-06-06T08:43:18",
"url": "https://files.pythonhosted.org/packages/ae/76/e93e24d69d278bf6dd127d59f67b05817d2e0e484f81e0ba4655ec9ae311/revvid-0.1.0.tar.gz"
}
],
"1.0.0": [
{
"comment_text": "",
"digests": {
"md5": "29628e3c3dcdc431b84787dc323b5b8f",
"sha256": "4ba30f42a81ba0c317eef737ad3505c286b18244cb309e66362036187b920df7"
},
"downloads": -1,
"filename": "revvid-1.0.0.tar.gz",
"has_sig": false,
"md5_digest": "29628e3c3dcdc431b84787dc323b5b8f",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 2017622,
"upload_time": "2019-06-06T09:06:49",
"url": "https://files.pythonhosted.org/packages/b3/3d/d508ed1f1186263b312f389f61ccf9b1a848024f1e4a43fc1c38af02dce2/revvid-1.0.0.tar.gz"
}
],
"1.0.1": [
{
"comment_text": "",
"digests": {
"md5": "ca1fa00f762f5b2836b2844044a56895",
"sha256": "4e926716df006d166c7c61d26c5d2ff651d0b98104a26e5446f6cfa746631437"
},
"downloads": -1,
"filename": "revvid-1.0.1.tar.gz",
"has_sig": false,
"md5_digest": "ca1fa00f762f5b2836b2844044a56895",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 2017873,
"upload_time": "2019-06-13T03:32:05",
"url": "https://files.pythonhosted.org/packages/06/3c/6e56c992f8a4fdbbf371c8d3b3c435a70faceae3e46a09add217ebe4a7d5/revvid-1.0.1.tar.gz"
}
],
"1.1.0": [
{
"comment_text": "",
"digests": {
"md5": "e8f24c6f2ebbff79be0df4c0509fd74f",
"sha256": "29bc8bf2bad852bc7fe388f7415e68da98d97a52e65bc32368861a5cf0ceb9c7"
},
"downloads": -1,
"filename": "revvid-1.1.0.tar.gz",
"has_sig": false,
"md5_digest": "e8f24c6f2ebbff79be0df4c0509fd74f",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 2018906,
"upload_time": "2019-06-19T16:37:12",
"url": "https://files.pythonhosted.org/packages/e1/35/7785c1c1dc8e0fddd229512d46ea3169f431384cb3803a3a9c121ef0a228/revvid-1.1.0.tar.gz"
}
],
"1.1.1": [
{
"comment_text": "",
"digests": {
"md5": "6a3c123a88b69f834f526532ac960653",
"sha256": "dc157d7f96e470d94360050de82b4134a3cea583ef9316b7a0cece4234c021d1"
},
"downloads": -1,
"filename": "revvid-1.1.1.tar.gz",
"has_sig": false,
"md5_digest": "6a3c123a88b69f834f526532ac960653",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 2018814,
"upload_time": "2019-06-19T18:06:13",
"url": "https://files.pythonhosted.org/packages/35/a0/9c35a7f2be214b098de67e1a8546d1924081d3537dd8b0248fd1336d9b63/revvid-1.1.1.tar.gz"
}
],
"1.1.2": [
{
"comment_text": "",
"digests": {
"md5": "1a4bb227232e227083c381fada30ad71",
"sha256": "74d13d467c8fe0c321aed63c0d0735d5433ba418f3b1fa1a05f9235cc59f1dbd"
},
"downloads": -1,
"filename": "revvid-1.1.2.tar.gz",
"has_sig": false,
"md5_digest": "1a4bb227232e227083c381fada30ad71",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 2018829,
"upload_time": "2019-06-19T18:27:30",
"url": "https://files.pythonhosted.org/packages/ef/c1/6b5df03b8f96b416fd36111bf938681ed3c7772a012126b52108b3495d23/revvid-1.1.2.tar.gz"
}
],
"1.1.3": [
{
"comment_text": "",
"digests": {
"md5": "e65f82fbd7135c81994ee6dff3799236",
"sha256": "212678215d70196add61397c83dcbbce7c7e929efc137684d126def6712edb73"
},
"downloads": -1,
"filename": "revvid-1.1.3.tar.gz",
"has_sig": false,
"md5_digest": "e65f82fbd7135c81994ee6dff3799236",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 2018859,
"upload_time": "2019-06-20T02:28:10",
"url": "https://files.pythonhosted.org/packages/f5/c7/aeb30a1a3991bb75afafea14e3785d96ff27b7b6c8705809a39ed6bc042e/revvid-1.1.3.tar.gz"
}
],
"1.1.4": [
{
"comment_text": "",
"digests": {
"md5": "6b18226f45abdfcebe67e4206763a824",
"sha256": "b557091ebaac9c0fc053e06e4a2beb4df808f35d378a41b17a415bc003caf9f4"
},
"downloads": -1,
"filename": "revvid-1.1.4.tar.gz",
"has_sig": false,
"md5_digest": "6b18226f45abdfcebe67e4206763a824",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 2018849,
"upload_time": "2019-06-20T05:19:34",
"url": "https://files.pythonhosted.org/packages/24/62/f06c2c5460fdb459aab237186fd9e7d192f32cc25b7879994a98acf04d55/revvid-1.1.4.tar.gz"
}
],
"1.1.5": [
{
"comment_text": "",
"digests": {
"md5": "7498397a54964389eb6318c74e16b4ed",
"sha256": "4e089004778733191f85f1787427167f023c03543135a3d95b09daf4e78d5fac"
},
"downloads": -1,
"filename": "revvid-1.1.5.tar.gz",
"has_sig": false,
"md5_digest": "7498397a54964389eb6318c74e16b4ed",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 2018931,
"upload_time": "2019-06-20T08:12:18",
"url": "https://files.pythonhosted.org/packages/1f/1d/93730009cd5f1ef2ba8c8933c93e2e9cd0554bf2174bee975423bd4313fa/revvid-1.1.5.tar.gz"
}
],
"1.1.6": [
{
"comment_text": "",
"digests": {
"md5": "ea026a23b62927cb0c36fb791143f234",
"sha256": "e84f38267016fe845aa29c37284de2fbedc1abd46e07f83b9d248a877d922481"
},
"downloads": -1,
"filename": "revvid-1.1.6.tar.gz",
"has_sig": false,
"md5_digest": "ea026a23b62927cb0c36fb791143f234",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 2019079,
"upload_time": "2019-06-21T04:17:42",
"url": "https://files.pythonhosted.org/packages/45/42/17a53b2001288ccae00011fe9a76c4aa5ba420cf571ce6de7cf99c3852d2/revvid-1.1.6.tar.gz"
}
],
"1.2.0": [
{
"comment_text": "",
"digests": {
"md5": "73da40ac3a44abb3d929ce81412af3c7",
"sha256": "af80053a09678824c13b1e21130338625e2898144e6d673cd5f1e12bc802031b"
},
"downloads": -1,
"filename": "revvid-1.2.0.tar.gz",
"has_sig": false,
"md5_digest": "73da40ac3a44abb3d929ce81412af3c7",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 2019733,
"upload_time": "2019-06-23T02:29:20",
"url": "https://files.pythonhosted.org/packages/4a/b0/1b6333ce677a31a8fc1e748e4d2bc852bccd453d5bd2ee7bc46db82c15f3/revvid-1.2.0.tar.gz"
}
]
},
"urls": [
{
"comment_text": "",
"digests": {
"md5": "73da40ac3a44abb3d929ce81412af3c7",
"sha256": "af80053a09678824c13b1e21130338625e2898144e6d673cd5f1e12bc802031b"
},
"downloads": -1,
"filename": "revvid-1.2.0.tar.gz",
"has_sig": false,
"md5_digest": "73da40ac3a44abb3d929ce81412af3c7",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 2019733,
"upload_time": "2019-06-23T02:29:20",
"url": "https://files.pythonhosted.org/packages/4a/b0/1b6333ce677a31a8fc1e748e4d2bc852bccd453d5bd2ee7bc46db82c15f3/revvid-1.2.0.tar.gz"
}
]
}