WWBN / AVideo

Create Your Own Broadcast Network With AVideo Platform Open-Source. OAVP OVP
https://avideo.tube/AVideo_OpenSource
Other
1.91k stars 972 forks source link

Problem with Encoder in 4.1 #127

Closed winklov closed 7 years ago

winklov commented 7 years ago

Good Day

I have a problem with my encoder

Attach is screenshots.

Can you help please

pip youphptube encoder 1

mikweb2017 commented 7 years ago

try sudo pip install youtube-dl sudo pip install --upgrade youtube-dl

winklov commented 7 years ago

its install and up to date but im still getting that error

winklov commented 7 years ago

how do i set the LC_ALL environment

winklov commented 7 years ago

any help

DanielnetoDotCom commented 7 years ago

Hi sorry for delay, can you please. try again and paste your encoder, error log here? should be in the [encoder-path]/videos/youphptube.log

winklov commented 7 years ago

[02-Oct-2017 08:27:23 UTC] PHP Fatal error: Uncaught Error: Call to undefined function curl_init() in /var/www/html/plugin/Live/Live.php:82 Stack trace:

0 /var/www/html/plugin/Live/Live.php(77): Live->get_data('http://noticias...')

1 /var/www/html/plugin/Live/stats.json.php(18): Live->getStatsObject()

2 {main}

thrown in /var/www/html/plugin/Live/Live.php on line 82

winklov commented 7 years ago

We could not get the title of your video (WARNING: Assuming --restrict-filenames since file system encoding cannot encode all characters. Set the LC_ALL environment variable to fix this.) go to to fix it

winklov commented 7 years ago

[02-Oct-2017 09:49:01 UTC] PHP Fatal error: Uncaught Error: Call to undefined function curl_init() in /var/www/html/plugin/Live/Live.php:82 Stack trace:

0 /var/www/html/plugin/Live/Live.php(77): Live->get_data('http://noticias...')

1 /var/www/html/plugin/Live/stats.json.php(18): Live->getStatsObject()

2 {main}

thrown in /var/www/html/plugin/Live/Live.php on line 82

DanielnetoDotCom commented 7 years ago

for sure you need to fix this "Call to undefined function curl_init()"

If you're on Windows:

Go to your php.ini file and remove the ; mark from the beginning of the following line:

;extension=php_curl.dll After you have saved the file you must restart your HTTP server software (e.g. Apache) before this can take effect.

For Ubuntu 13.0 and above, simply use the debundled package. In a terminal type the following to install it and do not forgot to restart server.

sudo apt-get install php-curl Or if you're using the old PHP5

sudo apt-get install php5-curl

https://stackoverflow.com/questions/6382539/call-to-undefined-function-curl-init

just one thing, if you are using PHP7, you may use this command: sudo apt-get install php7.0-curl

DanielnetoDotCom commented 7 years ago

This issue was closed due to inactivity. Feel free to reopen if you have more feedback or are interested it working on it