Closed myrainbowandsky closed 2 months ago
Hi,
For YouTube video the issue is with pytube
library and we need to find the replacement, because it seems YT is blocking this type of requests.
For local video, I can't seem to figure out the issue because Error occurred while getting video stream. Retrying ...
message is only shown if video_url
contains youtube link, if you are using video_url <- "./test.mp4"
then I don't know how this can happen at all.
Thanks for reporting this, I'll try to sort out the local file issue first.
The issue with Youtube video downloads has been resolved we moved to pyutbefix
library and it works without issues.
Install the latest github version of the package and everything will be OK
devtools::install_github("atomashevic/transforEmotion")
Regarding the local video, I wasn't able to reproduce the issue, plese check your code once again. Local files are working well, there is no way for that error to reproduce unless video path contains "youtu.be" in it.
I you will be able to use the package normally now.
Ubuntu 24.04 LTS (GNU/Linux 6.8.0-36-generic x86_64) R version 4.3.3 (2024-02-29) -- "Angel Food Cake" Copyright (C) 2024 The R Foundation for Statistical Computing Platform: x86_64-pc-linux-gnu (64-bit)
The text and image detection work fine. But the video detection has following problems:
For a local video:
For Youtube: