Closed cgavaller2 closed 4 years ago
The default streamer is the first one in the database
You can edit the streamers table to put the one you want first
same problem, i can't change it even on plugin like u see here :
i'ts my personal youtube encoder
but when i lunch it :
i come on y website :
Why is not changed and how to changed it :
and i try to changed it in the plugin to :
what is wrong why my avideo website don't send me to my Encoder website
thanks
You asking the same thing , one and one more time Do not change parameters from admin panel , only from plugins and configuration Your last picture , read ( NETWORK ENCODER ) , that's another feature that you're not using : https://github.com/WWBN/AVideo-Encoder-Network
Solution for your problem : Log as admin , Site Configuration , Advanced Configuration
PS : Clear the cache and refresh
When I go to the encoder and enter my streamer and credentials, it just says "Processing" endlessly. I can confirm this is an allowed streamer because if I enter a different URL it says it is dissalowed.
Check your streamer log and your encoder log file
here is my encoder log:
[11-Apr-2020 00:36:32 America/New_York] http://localhost/YouPHPTube/ == http://localhost/YouPHPTube/ [11-Apr-2020 00:36:32 America/New_York] login.json: Login::run [11-Apr-2020 00:36:32 America/New_York] Login::run (root, , http://localhost/YouPHPTube/, false) [11-Apr-2020 00:36:39 America/New_York] http://localhost/YouPHPTube/ == http://localhost/YouPHPTube/ [11-Apr-2020 00:36:39 America/New_York] login.json: Login::run [11-Apr-2020 00:36:39 America/New_York] Login::run (admin, , http://localhost/YouPHPTube/, false) [11-Apr-2020 00:36:39 America/New_York] Verification Start http://localhost/YouPHPTube/ [11-Apr-2020 00:36:39 America/New_York] Verification Creating the Cache http://localhost/YouPHPTube/ [11-Apr-2020 00:36:39 America/New_York] Verification Response (https://search.avideo.com/verify.php?url=http%3A%2F%2Flocalhost%2FYouPHPTube%2F): {"msg":["Start","http:\/\/localhost\/YouPHPTube\/ Site does not exist"],"verified":true,"status":false} [11-Apr-2020 01:46:39 America/New_York] ERROR on get http://localhost/YouPHPTube/plugin/CustomizeAdvanced/advancedCustom.json.php [11-Apr-2020 14:04:06 America/New_York] http://freetube.us.to/freetube/ == http://freetube.us.to/freetube/ [11-Apr-2020 14:04:06 America/New_York] login.json: Login::run [11-Apr-2020 14:04:06 America/New_York] Login::run (root, , http://freetube.us.to/freetube/, false) [11-Apr-2020 14:06:05 America/New_York] http://localhost/freetube/ == http://freetube.us.to/freetube/ [11-Apr-2020 14:06:05 America/New_York] http://localhost/freetube/ == http://localhost/AVideo/ [11-Apr-2020 14:06:05 America/New_York] http://localhost/freetube/ == http://127.0.0.1/AVideo/ [11-Apr-2020 14:06:05 America/New_York] http://localhost/freetube/ == https://localhost/AVideo/ [11-Apr-2020 14:06:05 America/New_York] http://localhost/freetube/ == https://127.0.0.1/AVideo/ [11-Apr-2020 14:06:16 America/New_York] http://localhost/freet/ == http://freetube.us.to/freetube/ [11-Apr-2020 14:06:16 America/New_York] http://localhost/freet/ == http://localhost/AVideo/ [11-Apr-2020 14:06:16 America/New_York] http://localhost/freet/ == http://127.0.0.1/AVideo/ [11-Apr-2020 14:06:16 America/New_York] http://localhost/freet/ == https://localhost/AVideo/ [11-Apr-2020 14:06:16 America/New_York] http://localhost/freet/ == https://127.0.0.1/AVideo/ [11-Apr-2020 14:06:28 America/New_York] http://localhost/freet/ == http://freetube.us.to/freetube/ [11-Apr-2020 14:06:28 America/New_York] http://localhost/freet/ == http://localhost/AVideo/ [11-Apr-2020 14:06:28 America/New_York] http://localhost/freet/ == http://127.0.0.1/AVideo/ [11-Apr-2020 14:06:28 America/New_York] http://localhost/freet/ == https://localhost/AVideo/ [11-Apr-2020 14:06:28 America/New_York] http://localhost/freet/ == https://127.0.0.1/AVideo/ [11-Apr-2020 20:46:55 America/New_York] http://freetube.us.to/freetube/ == http://freetube.us.to/freetube/ [11-Apr-2020 20:46:55 America/New_York] login.json: Login::run [11-Apr-2020 20:46:55 America/New_York] Login::run (admin, , http://freetube.us.to/freetube, false) [11-Apr-2020 20:48:55 America/New_York] Get Login fail, try again [11-Apr-2020 20:57:04 America/New_York] http://freetube.us.to/freetube/ == http://freetube.us.to/freetube/ [11-Apr-2020 20:57:04 America/New_York] login.json: Login::run [11-Apr-2020 20:57:04 America/New_York] Login::run (admin, , http://freetube.us.to/freetube, false) [11-Apr-2020 20:59:04 America/New_York] Get Login fail, try again [11-Apr-2020 21:20:08 America/New_York] http://localhost/freetube/ == http://freetube.us.to/freetube/ [11-Apr-2020 21:20:08 America/New_York] http://localhost/freetube/ == http://localhost/AVideo/ [11-Apr-2020 21:20:08 America/New_York] http://localhost/freetube/ == http://127.0.0.1/AVideo/ [11-Apr-2020 21:20:08 America/New_York] http://localhost/freetube/ == https://localhost/AVideo/ [11-Apr-2020 21:20:08 America/New_York] http://localhost/freetube/ == https://127.0.0.1/AVideo/ [11-Apr-2020 21:20:21 America/New_York] http://freetube.us.to/freetube/ == http://freetube.us.to/freetube/ [11-Apr-2020 21:20:21 America/New_York] login.json: Login::run [11-Apr-2020 21:20:21 America/New_York] Login::run (admin, , http://freetube.us.to/freetube, false) [11-Apr-2020 21:22:21 America/New_York] Get Login fail, try again [11-Apr-2020 21:24:21 America/New_York] Error on Login context [11-Apr-2020 21:24:21 America/New_York] http://freetube.us.to/freetube/login [11-Apr-2020 21:24:21 America/New_York] [11-Apr-2020 21:43:18 America/New_York] http://freetube.us.to/freetube/ == http://freetube.us.to/freetube/ [11-Apr-2020 21:43:18 America/New_York] login.json: Login::run [11-Apr-2020 21:43:18 America/New_York] Login::run (admin, ***, http://freetube.us.to/freetube, false) [11-Apr-2020 21:45:19 America/New_York] Get Login fail, try again [11-Apr-2020 21:47:19 America/New_York] Error on Login context [11-Apr-2020 21:47:19 America/New_York] http://freetube.us.to/freetube/login [11-Apr-2020 21:47:19 America/New_York]
from your encoder, can you ping to freetube.us.to?
can you make a telnet freetube.us.to
?
what do you get when you try to use lynx http://freetube.us.to/freetube/login
Make sure you use all of this from your encoder server.
well, here is the real problem... They both run on the same server on the same network. But if I were to set the streamer site to localhost/freetube, when people connect it would say it isn't allowed because freetube.us.to isn't allowed, localhost is. My router also does not support NAT forwarding, meaning I cannot ping my own external IP. I know this wasn't an issue before because I somehow got it working but that was quite a while ago and I have completely forgot.
the important point is to make sure your server can resolve this domain freetube.us.to and it is pointing correctly into your streamer.
you can try to edit your hosts file to make sure it will be resolved.
I think that's a hosname problem
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
thenetvr@netvrstream-web:/var/www/netvrstream-web/upload/videos$ sudo tail -100 avideo.log [17-Jun-2020 21:21:47 UTC] getWebpImage: Starts [17-Jun-2020 21:21:48 UTC] getWebpImage: takes 1.001051902771 sec to complete [17-Jun-2020 21:21:48 UTC] sendImages: curl_init [17-Jun-2020 21:21:48 UTC] sendImages: curl_exec [17-Jun-2020 21:21:48 UTC] sendImages: AVideo-Streamer answer {"error":false,"video_id":243} [17-Jun-2020 21:21:48 UTC] {"error":false,"file":"\/var\/www\/netvrstream-web\/upload\/videos\/91_tmpFile.mp4","target":"https:\/\/www.netvrstream.com\/objects\/aVideoEncoderReceiveImage.json.php","postFields":7,"response_raw":"{\"error\":false,\"video_id\":243}","response":{"error":false,"video_id":243}} [17-Jun-2020 21:21:48 UTC] Encoder::save id=(91) title=(original_Teston17Jun20212023_YPTuniqid_5eea89692d0069) [17-Jun-2020 21:21:48 UTC] run:runMultiResolution [17-Jun-2020 21:21:48 UTC] AVideo-Encoder Start Encoder [ffmpeg -i /var/www/netvrstream-web/upload/videos/91_tmpFile.mp4 -vf scale=-2:720 -movflags +faststart -preset veryfast -vcodec h264 -acodec aac -strict -2 -max_muxing_queue_size 1024 -y /var/www/netvrstream-web/upload/videos/91_tmpFile_converted_HD.mp4] [17-Jun-2020 21:22:02 UTC] AVideo-Encoder Start Encoder [ffmpeg -i /var/www/netvrstream-web/upload/videos/91_tmpFile.mp4 -vf scale=-2:540 -movflags +faststart -preset veryfast -vcodec h264 -acodec aac -strict -2 -max_muxing_queue_size 1024 -y /var/www/netvrstream-web/upload/videos/91_tmpFile_converted_SD.mp4] [17-Jun-2020 21:22:13 UTC] AVideo-Encoder Start Encoder [ffmpeg -i /var/www/netvrstream-web/upload/videos/91_tmpFile.mp4 -vf scale=-2:360 -movflags +faststart -preset veryfast -vcodec h264 -acodec aac -strict -2 -max_muxing_queue_size 1024 -y /var/www/netvrstream-web/upload/videos/91_tmpFile_converted_Low.mp4] [17-Jun-2020 21:22:24 UTC] getReturn_vars {"videos_id":243} [17-Jun-2020 21:22:24 UTC] Encoder::save id=(91) title=(original_Teston17Jun20212023_YPTuniqid_5eea89692d0069) [17-Jun-2020 21:22:24 UTC] Encoder::send() order_id=80 [17-Jun-2020 21:22:24 UTC] Encoder::send() multiResolutionOrder [17-Jun-2020 21:22:24 UTC] Encoder::sendFileChunk file=/var/www/netvrstream-web/upload/videos/91_tmpFile_converted_HD.mp4 [17-Jun-2020 21:22:24 UTC] AVideo-Streamer chunk answer {"file":"\/tmp\/YTPChunk_Aye9hZ","filesize":1696694} [17-Jun-2020 21:22:24 UTC] {"error":false,"file":"\/var\/www\/netvrstream-web\/upload\/videos\/91_tmpFile_converted_HD.mp4","response":{"file":"\/tmp\/YTPChunk_Aye9hZ","filesize":1696694},"target":"https:\/\/www.netvrstream.com\/aVideoEncoderChunk.json","response_raw":"{\"file\":\"\\/tmp\\/YTPChunk_Aye9hZ\",\"filesize\":1696694}"} [17-Jun-2020 21:22:24 UTC] Duration found: 0:01:21 [17-Jun-2020 21:22:24 UTC] Encoder::sendFile videos_id=243, format=mp4 [17-Jun-2020 21:22:24 UTC] Encoder::sendFile sending file to https://www.netvrstream.com/aVideoEncoder.json [17-Jun-2020 21:22:24 UTC] Encoder::sendFile reading file from [17-Jun-2020 21:22:24 UTC] AVideo-Streamer answer {"error":false,"video_id":243} [17-Jun-2020 21:22:24 UTC] {"error":false,"format":"mp4","file":false,"resolution":"HD","videoDownloadedLink":null,"target":"https:\/\/www.netvrstream.com\/aVideoEncoder.json","postFields":13,"response_raw":"{\"error\":false,\"video_id\":243}","response":{"error":false,"video_id":243}} [17-Jun-2020 21:22:24 UTC] Encoder::save id=(91) title=(original_Teston17Jun20212023_YPTuniqid_5eea89692d0069) [17-Jun-2020 21:22:24 UTC] Encoder::sendFileChunk file=/var/www/netvrstream-web/upload/videos/91_tmpFile_converted_SD.mp4 [17-Jun-2020 21:22:24 UTC] AVideo-Streamer chunk answer {"file":"\/tmp\/YTPChunk_w772v3","filesize":1410222} [17-Jun-2020 21:22:24 UTC] {"error":false,"file":"\/var\/www\/netvrstream-web\/upload\/videos\/91_tmpFile_converted_SD.mp4","response":{"file":"\/tmp\/YTPChunk_w772v3","filesize":1410222},"target":"https:\/\/www.netvrstream.com\/aVideoEncoderChunk.json","response_raw":"{\"file\":\"\\/tmp\\/YTPChunk_w772v3\",\"filesize\":1410222}"} [17-Jun-2020 21:22:24 UTC] Duration found: 0:01:21 [17-Jun-2020 21:22:24 UTC] Encoder::sendFile videos_id=243, format=mp4 [17-Jun-2020 21:22:24 UTC] Encoder::sendFile sending file to https://www.netvrstream.com/aVideoEncoder.json [17-Jun-2020 21:22:24 UTC] Encoder::sendFile reading file from [17-Jun-2020 21:22:24 UTC] AVideo-Streamer answer {"error":false,"video_id":243} [17-Jun-2020 21:22:24 UTC] {"error":false,"format":"mp4","file":false,"resolution":"SD","videoDownloadedLink":null,"target":"https:\/\/www.netvrstream.com\/aVideoEncoder.json","postFields":13,"response_raw":"{\"error\":false,\"video_id\":243}","response":{"error":false,"video_id":243}} [17-Jun-2020 21:22:24 UTC] Encoder::save id=(91) title=(original_Teston17Jun20212023_YPTuniqid_5eea89692d0069) [17-Jun-2020 21:22:24 UTC] Encoder::sendFileChunk file=/var/www/netvrstream-web/upload/videos/91_tmpFile_converted_Low.mp4 [17-Jun-2020 21:22:24 UTC] AVideo-Streamer chunk answer {"file":"\/tmp\/YTPChunk_Oxyrgs","filesize":1193207} [17-Jun-2020 21:22:24 UTC] {"error":false,"file":"\/var\/www\/netvrstream-web\/upload\/videos\/91_tmpFile_converted_Low.mp4","response":{"file":"\/tmp\/YTPChunk_Oxyrgs","filesize":1193207},"target":"https:\/\/www.netvrstream.com\/aVideoEncoderChunk.json","response_raw":"{\"file\":\"\\/tmp\\/YTPChunk_Oxyrgs\",\"filesize\":1193207}"} [17-Jun-2020 21:22:24 UTC] Duration found: 0:01:21 [17-Jun-2020 21:22:24 UTC] Encoder::sendFile videos_id=243, format=mp4 [17-Jun-2020 21:22:24 UTC] Encoder::sendFile sending file to https://www.netvrstream.com/aVideoEncoder.json [17-Jun-2020 21:22:24 UTC] Encoder::sendFile reading file from [17-Jun-2020 21:22:24 UTC] AVideo-Streamer answer {"error":false,"video_id":243} [17-Jun-2020 21:22:24 UTC] {"error":false,"format":"mp4","file":false,"resolution":"Low","videoDownloadedLink":null,"target":"https:\/\/www.netvrstream.com\/aVideoEncoder.json","postFields":13,"response_raw":"{\"error\":false,\"video_id\":243}","response":{"error":false,"video_id":243}} [17-Jun-2020 21:22:24 UTC] Encoder::save id=(91) title=(original_Teston17Jun20212023_YPTuniqid_5eea89692d0069) [17-Jun-2020 21:22:24 UTC] Encoder::save id=(91) title=(original_Teston17Jun20212023_YPTuniqid_5eea89692d0069) [17-Jun-2020 21:22:24 UTC] getReturn_vars {"videos_id":243} [17-Jun-2020 21:22:24 UTC] AVideo-Encoder sending confirmation to https://www.netvrstream.com/objects/aVideoEncoderNotifyIsDone.json.php [17-Jun-2020 21:22:26 UTC] AVideo-Streamer confirmation answer {"error":false,"video_id":243} [17-Jun-2020 21:22:26 UTC] {"error":false,"target":"https:\/\/www.netvrstream.com\/objects\/aVideoEncoderNotifyIsDone.json.php","postFields":{"videos_id":243,"user":"daygon07","password":"6290e3704094a519d215165dee6ea9aa","fail":0},"response_raw":"{\"error\":false,\"video_id\":243}","response":{"error":false,"video_id":243}} [17-Jun-2020 21:22:26 UTC] Encoder::save id=(91) title=(original_Teston17Jun20212023_YPTuniqid_5eea89692d0069) [17-Jun-2020 22:51:01 UTC] getImage Destination get Image from https://www.netvrstream.com:444/live/5ed1ec37853c1/index.m3u8 jpg: /tmp/37c1512a1f9a913f0bf16df7c5306b4d.jpg [17-Jun-2020 22:51:01 UTC] Exec get Image: ffmpeg -i "https://www.netvrstream.com:444/live/5ed1ec37853c1/index.m3u8" -f image2 -s 400x225 -vframes 1 -y /tmp/37c1512a1f9a913f0bf16df7c5306b4d.jpg &> /dev/null & [18-Jun-2020 01:54:31 UTC] getImage Destination get Image from https://www.netvrstream.com:444/live/5ed1ec37853c1/index.m3u8 jpg: /tmp/37c1512a1f9a913f0bf16df7c5306b4d.jpg [18-Jun-2020 01:54:31 UTC] Exec get Image: ffmpeg -i "https://www.netvrstream.com:444/live/5ed1ec37853c1/index.m3u8" -f image2 -s 400x225 -vframes 1 -y /tmp/37c1512a1f9a913f0bf16df7c5306b4d.jpg &> /dev/null & [18-Jun-2020 02:20:39 UTC] getImage Destination get Image from https://www.netvrstream.com:444/live/5ed1ec37853c1/index.m3u8 jpg: /tmp/37c1512a1f9a913f0bf16df7c5306b4d.jpg [18-Jun-2020 02:20:39 UTC] Exec get Image: ffmpeg -i "https://www.netvrstream.com:444/live/5ed1ec37853c1/index.m3u8" -f image2 -s 400x225 -vframes 1 -y /tmp/37c1512a1f9a913f0bf16df7c5306b4d.jpg &> /dev/null & [18-Jun-2020 04:23:36 UTC] getImage Destination get Image from https://www.netvrstream.com:444/live/5ecc96575c35a/index.m3u8 gif: /tmp/d695f483cab171ec4e270466aaad75a2.gif [18-Jun-2020 04:23:36 UTC] getImage Destination get Image from https://www.netvrstream.com:444/live/5ecc96575c35a/index.m3u8 jpg: /tmp/d695f483cab171ec4e270466aaad75a2.jpg [18-Jun-2020 04:23:36 UTC] Create Gif Pallet: ffmpeg -y -t 3 -i "https://www.netvrstream.com:444/live/5ecc96575c35a/index.m3u8" -vf fps=10,scale=320:-1:flags=lanczos,palettegen /tmp/d695f483cab171ec4e270466aaad75a2palette.png &> /dev/null & [18-Jun-2020 04:23:36 UTC] Exec get Image: ffmpeg -i "https://www.netvrstream.com:444/live/5ecc96575c35a/index.m3u8" -f image2 -s 400x225 -vframes 1 -y /tmp/d695f483cab171ec4e270466aaad75a2.jpg &> /dev/null & [18-Jun-2020 04:23:36 UTC] Create Gif with Ppallet: ffmpeg -y -t 3 -i "https://www.netvrstream.com:444/live/5ecc96575c35a/index.m3u8" -vf fps=10,scale=320:-1:flags=lanczos,palettegen /tmp/d695f483cab171ec4e270466aaad75a2palette.png &> /dev/null & [18-Jun-2020 04:25:26 UTC] getImage Destination get Image from https://www.netvrstream.com:444/live/5ecc96575c35a/index.m3u8 jpg: /tmp/d695f483cab171ec4e270466aaad75a2.jpg [18-Jun-2020 04:25:26 UTC] getImage Destination get Image from https://www.netvrstream.com:444/live/5ecc96575c35a/index.m3u8 gif: /tmp/d695f483cab171ec4e270466aaad75a2.gif [18-Jun-2020 04:25:26 UTC] Create Gif Pallet: ffmpeg -y -t 3 -i "https://www.netvrstream.com:444/live/5ecc96575c35a/index.m3u8" -vf fps=10,scale=320:-1:flags=lanczos,palettegen /tmp/d695f483cab171ec4e270466aaad75a2palette.png &> /dev/null & [18-Jun-2020 04:25:26 UTC] Exec get Image: ffmpeg -i "https://www.netvrstream.com:444/live/5ecc96575c35a/index.m3u8" -f image2 -s 400x225 -vframes 1 -y /tmp/d695f483cab171ec4e270466aaad75a2.jpg &> /dev/null & [18-Jun-2020 04:25:26 UTC] Create Gif with Ppallet: ffmpeg -y -t 3 -i "https://www.netvrstream.com:444/live/5ecc96575c35a/index.m3u8" -vf fps=10,scale=320:-1:flags=lanczos,palettegen /tmp/d695f483cab171ec4e270466aaad75a2palette.png &> /dev/null & [20-Jun-2020 20:51:24 UTC] https://www.netvrstream.com/ == https://www.netvrstream.com/ [20-Jun-2020 20:51:24 UTC] login.json: Login::run [20-Jun-2020 20:51:24 UTC] Login::run (Bruin, , https://www.netvrstream.com/, false) [20-Jun-2020 20:53:24 UTC] Get Login fail, try again [20-Jun-2020 20:55:24 UTC] Error on Login context [20-Jun-2020 20:55:24 UTC] https://www.netvrstream.com/login [20-Jun-2020 20:55:24 UTC] [20-Jun-2020 20:58:16 UTC] https://www.netvrstream.com/ == https://www.netvrstream.com/ [20-Jun-2020 20:58:16 UTC] login.json: Login::run [20-Jun-2020 20:58:16 UTC] Login::run (Bruin, , https://www.netvrstream.com/, false) [20-Jun-2020 20:59:26 UTC] https://netvrstream.com/ == https://www.netvrstream.com/ [20-Jun-2020 20:59:26 UTC] https://netvrstream.com/ == http://localhost/AVideo/ [20-Jun-2020 20:59:26 UTC] https://netvrstream.com/ == http://127.0.0.1/AVideo/ [20-Jun-2020 20:59:26 UTC] https://netvrstream.com/ == https://localhost/AVideo/ [20-Jun-2020 20:59:26 UTC] https://netvrstream.com/ == https://127.0.0.1/AVideo/ [20-Jun-2020 20:59:33 UTC] https://www.netvrstream.com/ == https://www.netvrstream.com/ [20-Jun-2020 20:59:33 UTC] login.json: Login::run [20-Jun-2020 20:59:33 UTC] Login::run (Bruin, , https://www.netvrstream.com/, false) [20-Jun-2020 21:00:16 UTC] Get Login fail, try again [20-Jun-2020 21:01:33 UTC] Get Login fail, try again [20-Jun-2020 21:02:16 UTC] Error on Login context [20-Jun-2020 21:02:16 UTC] https://www.netvrstream.com/login [20-Jun-2020 21:02:16 UTC] [20-Jun-2020 21:03:33 UTC] Error on Login context [20-Jun-2020 21:03:33 UTC] https://www.netvrstream.com/login [20-Jun-2020 21:03:33 UTC] [20-Jun-2020 21:09:46 UTC] https://www.netvrstream.com/ == https://www.netvrstream.com/ [20-Jun-2020 21:09:46 UTC] login.json: Login::run [20-Jun-2020 21:09:46 UTC] Login::run (Bruin, , https://www.netvrstream.com/, false) [20-Jun-2020 21:11:46 UTC] Get Login fail, try again [20-Jun-2020 21:13:47 UTC] Error on Login context [20-Jun-2020 21:13:47 UTC] https://www.netvrstream.com/login [20-Jun-2020 21:13:47 UTC] thenetvr@netvrstream-web:/var/www/netvrstream-web/upload/videos$ telnet freetube.us.to Trying 71.239.124.201..
Having same issue, everything was working on the 18th, now its not working... When people go live its sending email notifications but not showing live on website, and the GET Livestreams api times out everytime i try to call it... Not sure what happened but something maybe with our routing is messed up?
How can I change the encoder's default streamer site after installation? On ubuntu 16.04. Thanks!