Closed floridabricks closed 2 years ago
You can change the resolution in the final_video.py
You can change the resolution in the final_video.py
Thanks! Will this also resize the reddit screenshots to fit on widescreen?
I think so
You might have to change that in screenshot downloader.py
Is this issue solved?
Is this issue solved?
I'm assuming I have not tested it yet. But do you know how to fix errors when trying to use specific post id?
"playwright._impl._api_types.TimeoutError: Timeout 30000ms exceeded. =========================== logs =========================== waiting for selector "[data-test-id="post-content"]""
When using specific post id
Do you have the correct post id?
Do you have the correct post id?
Yes, you can test it if you want. v98o6f post id CryptoCurrency subreddit
Every post id I use it keeps giving me this. But if I enter no id it works fine
The error means that it can't find the title in html. If you visit the website in your normal browser, does it load and view the page?
The error means that it can't find the title in html. If you visit the website in your normal browser, does it load and view the page?
Yes the title and page is loading in the browser. But no ID is working for downloading the posts and comments and I'm not sure why. If I leave the ID blank it works perfectly fine.
I did all of the the stps to make it wide but now it comes out like this
:
I did all of the the stps to make it wide but now it comes out like this
:
Change the resolution that the screenshots are taken at
Go to video_creation/screenshot_downloader.py:40 . I don't know what the correct value is for 16:9 resolution but you can try different values.
I did this and it worked, Go to video creation, final_video.py Change line 21 to W, H = 1920, 1080 Change line 33 to .crop(x1=0, y1=0, x2=2246.6, y2=0) I am using an older version so the lines might be in a different number but find them and change them to this and itll work
I did this and it worked, Go to video creation, final_video.py Change line 21 to W, H = 1920, 1080 Change line 33 to .crop(x1=0, y1=0, x2=2246.6, y2=0) I am using an older version so the lines might be in a different number but find them and change them to this and itll work
Thanks for that I will add it when I can
.crop(x1=0, y1=0, x2=2246.6, y2=0)
Please make the Title and comments smaller in the wide screen video Thank you
I did this and it worked, Go to video creation, final_video.py Change line 21 to W, H = 1920, 1080 Change line 33 to .crop(x1=0, y1=0, x2=2246.6, y2=0) I am using an older version so the lines might be in a different number but find them and change them to this and itll work
Thanks for that I will add it when I can
No problem!
Is it possible to have 2 formats? 1 vertical for tiktok and the other option widescreen for youtube?