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

Embed Bitchute Videos #6063

Closed JoshWho closed 2 years ago

JoshWho commented 2 years ago

Looks like embedding from Bitchute is a thing. Did a test here. https://www.joshwhotv.com/video/.QDAnxQ/61b3080b89b6d

Just needs to be able to grab the thumbnail title and description.

DanielnetoDotCom commented 2 years ago

Thumbnail and description from embed content comes from youtube-dl

if it cannot grab that info there is nothing I can do.

JoshWho commented 2 years ago

When we import from Bitchute it grabs the thumbnail title and description. What is the difference?

DanielnetoDotCom commented 2 years ago

Why did you close, was it resolved?

JoshWho commented 2 years ago

I thought it was but I guess it still hangs when I try to embed. I am trying this link https://www.bitchute.com/video/6ybqW223hmFz/

The importer grabs the video info with no problem not sure why embed hangs

DanielnetoDotCom commented 2 years ago

I just embedded it on demo site and it works with no problem

image

https://demo.avideo.com/video/368/strange-death-timing-of-kary-mullis-inventor-of-pcr-test---exposing-the-lie

JoshWho commented 2 years ago

Why does it hang on mine and not complete? It hangs on the info grab part

DanielnetoDotCom commented 2 years ago

check encoder and streamer logs

JoshWho commented 2 years ago

image

JoshWho commented 2 years ago

Not seeing anything in the logs. I even looked through apoache's error and access

DanielnetoDotCom commented 2 years ago

error 403 is a problem.

means your javascript is not loading correctly

this definitely is something on your side.

JoshWho commented 2 years ago

found somthing

[13-Dec-2021 11:10:16 America/Chicago] getThumbsFromLink: yt-dlp   --no-check-certificate --no-playlist --force-ipv4 --write-thumbnail --skip-download  -o "/tmp/thumbsi1bdKo.jpg" "https://www.bitchute.com/video/6ybqW223hmFz/"
[13-Dec-2021 11:10:16 America/Chicago] getThumbsFromLink: Error: ["WARNING: Assuming --restrict-filenames since file system encoding cannot encode all characters. Set the LC_ALL environment variable to fix this.","[BitChute] 6ybqW223hmFz: Downloading webpage","[BitChute] 6ybqW223hmFz: Checking video URL","[info] 6ybqW223hmFz: Downloading 1 format(s): 0","[info] Downloading video thumbnail 0 ...","WARNING: Unable to download video thumbnail 0: <urlopen error timed out>"]
[13-Dec-2021 11:10:25 America/Chicago] getThumbsFromLink: yt-dlp   --no-check-certificate --no-playlist --force-ipv4 --write-thumbnail --skip-download  -o "/tmp/thumbsLZ8moT.jpg" "https://www.bitchute.com/video/6ybqW223hmFz/"
[13-Dec-2021 11:10:25 America/Chicago] getThumbsFromLink: Error: ["WARNING: Assuming --restrict-filenames since file system encoding cannot encode all characters. Set the LC_ALL environment variable to fix this.","[BitChute] 6ybqW223hmFz: Downloading webpage","[BitChute] 6ybqW223hmFz: Checking video URL","[info] 6ybqW223hmFz: Downloading 1 format(s): 0","[info] Downloading video thumbnail 0 ...","WARNING: Unable to download video thumbnail 0: <urlopen error timed out>"]
JoshWho commented 2 years ago

https://joshwho-cdn.com/node_modules/tinymce-langs/langs/us.js missing?

JoshWho commented 2 years ago

yours is missing too https://demo.avideo.com/node_modules/tinymce-langs/langs/us.js

can't be the problem

JoshWho commented 2 years ago

Here I made a us one

make file us.js

tinymce.addI18n('us',{
"Redo": "Redo",
"Undo": "Undo",
"Cut": "Cut",
"Copy": "Copy",
"Paste": "Paste",
"Select all": "Select all",
"New document": "New document",
"Ok": "Ok",
"Cancel": "Cancel",
"Visual aids": "Visual aids",
"Bold": "Bold",
"Italic": "Italic",
"Underline": "Underline",
"Strikethrough": "Strike-through",
"Superscript": "Superscript",
"Subscript": "Subscript",
"Clear formatting": "Clear formatting",
"Align left": "Align left",
"Align center": "Align centre",
"Align right": "Align right",
"Justify": "Justify",
"Bullet list": "Bullet list",
"Numbered list": "Numbered list",
"Decrease indent": "Decrease indent",
"Increase indent": "Increase indent",
"Close": "Close",
"Formats": "Formats",
"Your browser doesn't support direct access to the clipboard. Please use the Ctrl+X\/C\/V keyboard shortcuts instead.": "Your browser doesn't support direct access to the clipboard. Please use the Ctrl+X\/C\/V keyboard shortcuts instead.",
"Headers": "Headers",
"Header 1": "Header 1",
"Header 2": "Header 2",
"Header 3": "Header 3",
"Header 4": "Header 4",
"Header 5": "Header 5",
"Header 6": "Header 6",
"Headings": "Headings",
"Heading 1": "Heading 1",
"Heading 2": "Heading 2",
"Heading 3": "Heading 3",
"Heading 4": "Heading 4",
"Heading 5": "Heading 5",
"Heading 6": "Heading 6",
"Preformatted": "Preformatted",
"Div": "Div",
"Pre": "Pre",
"Code": "Code",
"Paragraph": "Paragraph",
"Blockquote": "Blockquote",
"Inline": "Inline",
"Blocks": "Blocks",
"Paste is now in plain text mode. Contents will now be pasted as plain text until you toggle this option off.": "Paste is now in plain text mode. Contents will now be pasted as plain text until you toggle this option off.",
"Font Family": "Font Family",
"Font Sizes": "Font Sizes",
"Class": "Class",
"Browse for an image": "Browse for an image",
"OR": "OR",
"Drop an image here": "Drop an image here",
"Upload": "Upload",
"Block": "Block",
"Align": "Align",
"Default": "Default",
"Circle": "Circle",
"Disc": "Disc",
"Square": "Square",
"Lower Alpha": "Lower Alpha",
"Lower Greek": "Lower Greek",
"Lower Roman": "Lower Roman",
"Upper Alpha": "Upper Alpha",
"Upper Roman": "Upper Roman",
"Anchor": "Anchor",
"Name": "Name",
"Id": "ID",
"Id should start with a letter, followed only by letters, numbers, dashes, dots, colons or underscores.": "ID should start with a letter, followed only by letters, numbers, dashes, dots, colons or underscores.",
"You have unsaved changes are you sure you want to navigate away?": "You have unsaved changes are you sure you want to navigate away?",
"Restore last draft": "Restore last draft",
"Special character": "Special character",
"Source code": "Source code",
"Insert\/Edit code sample": "Insert\/Edit code sample",
"Language": "Language",
"Code sample": "Code sample",
"Color": "Colour",
"R": "R",
"G": "G",
"B": "B",
"Left to right": "Left to right",
"Right to left": "Right to left",
"Emoticons": "Emoticons",
"Document properties": "Document properties",
"Title": "Title",
"Keywords": "Keywords",
"Description": "Description",
"Robots": "Robots",
"Author": "Author",
"Encoding": "Encoding",
"Fullscreen": "Full-screen",
"Action": "Action",
"Shortcut": "Shortcut",
"Help": "Help",
"Address": "Address",
"Focus to menubar": "Focus to menubar",
"Focus to toolbar": "Focus to toolbar",
"Focus to element path": "Focus to element path",
"Focus to contextual toolbar": "Focus to contextual toolbar",
"Insert link (if link plugin activated)": "Insert link (if link plugin activated)",
"Save (if save plugin activated)": "Save (if save plugin activated)",
"Find (if searchreplace plugin activated)": "Find (if searchreplace plugin activated)",
"Plugins installed ({0}):": "Plugins installed ({0}):",
"Premium plugins:": "Premium plugins:",
"Learn more...": "Learn more...",
"You are using {0}": "You are using {0}",
"Plugins": "Plugins",
"Handy Shortcuts": "Handy Shortcuts",
"Horizontal line": "Horizontal line",
"Insert\/edit image": "Insert\/edit image",
"Image description": "Image description",
"Source": "Source",
"Dimensions": "Dimensions",
"Constrain proportions": "Constrain proportions",
"General": "General",
"Advanced": "Advanced",
"Style": "Style",
"Vertical space": "Vertical space",
"Horizontal space": "Horizontal space",
"Border": "Border",
"Insert image": "Insert image",
"Image": "Image",
"Image list": "Image list",
"Rotate counterclockwise": "Rotate counterclockwise",
"Rotate clockwise": "Rotate clockwise",
"Flip vertically": "Flip vertically",
"Flip horizontally": "Flip horizontally",
"Edit image": "Edit image",
"Image options": "Image options",
"Zoom in": "Zoom in",
"Zoom out": "Zoom out",
"Crop": "Crop",
"Resize": "Resize",
"Orientation": "Orientation",
"Brightness": "Brightness",
"Sharpen": "Sharpen",
"Contrast": "Contrast",
"Color levels": "Colour levels",
"Gamma": "Gamma",
"Invert": "Invert",
"Apply": "Apply",
"Back": "Back",
"Insert date\/time": "Insert date\/time",
"Date\/time": "Date\/time",
"Insert link": "Insert link",
"Insert\/edit link": "Insert\/edit link",
"Text to display": "Text to display",
"Url": "URL",
"Target": "Target",
"None": "None",
"New window": "New window",
"Remove link": "Remove link",
"Anchors": "Anchors",
"Link": "Link",
"Paste or type a link": "Paste or type a link",
"The URL you entered seems to be an email address. Do you want to add the required mailto: prefix?": "The URL you entered seems to be an email address. Do you want to add the required mailto: prefix?",
"The URL you entered seems to be an external link. Do you want to add the required http:\/\/ prefix?": "The URL you entered seems to be an external link. Do you want to add the required http:\/\/ prefix?",
"Link list": "Link list",
"Insert video": "Insert video",
"Insert\/edit video": "Insert\/edit video",
"Insert\/edit media": "Insert\/edit media",
"Alternative source": "Alternative source",
"Poster": "Poster",
"Paste your embed code below:": "Paste your embed code below:",
"Embed": "Embed",
"Media": "Media",
"Nonbreaking space": "Non-breaking space",
"Page break": "Page break",
"Paste as text": "Paste as text",
"Preview": "Preview",
"Print": "Print",
"Save": "Save",
"Find": "Find",
"Replace with": "Replace with",
"Replace": "Replace",
"Replace all": "Replace all",
"Prev": "Prev",
"Next": "Next",
"Find and replace": "Find and replace",
"Could not find the specified string.": "Could not find the specified string.",
"Match case": "Match case",
"Whole words": "Whole words",
"Spellcheck": "Spell-check",
"Ignore": "Ignore",
"Ignore all": "Ignore all",
"Finish": "Finish",
"Add to Dictionary": "Add to Dictionary",
"Insert table": "Insert table",
"Table properties": "Table properties",
"Delete table": "Delete table",
"Cell": "Cell",
"Row": "Row",
"Column": "Column",
"Cell properties": "Cell properties",
"Merge cells": "Merge cells",
"Split cell": "Split cell",
"Insert row before": "Insert row before",
"Insert row after": "Insert row after",
"Delete row": "Delete row",
"Row properties": "Row properties",
"Cut row": "Cut row",
"Copy row": "Copy row",
"Paste row before": "Paste row before",
"Paste row after": "Paste row after",
"Insert column before": "Insert column before",
"Insert column after": "Insert column after",
"Delete column": "Delete column",
"Cols": "Cols",
"Rows": "Rows",
"Width": "Width",
"Height": "Height",
"Cell spacing": "Cell spacing",
"Cell padding": "Cell padding",
"Caption": "Caption",
"Left": "Left",
"Center": "Centre",
"Right": "Right",
"Cell type": "Cell type",
"Scope": "Scope",
"Alignment": "Alignment",
"H Align": "H Align",
"V Align": "V Align",
"Top": "Top",
"Middle": "Middle",
"Bottom": "Bottom",
"Header cell": "Header cell",
"Row group": "Row group",
"Column group": "Column group",
"Row type": "Row type",
"Header": "Header",
"Body": "Body",
"Footer": "Footer",
"Border color": "Border colour",
"Insert template": "Insert template",
"Templates": "Templates",
"Template": "Template",
"Text color": "Text colour",
"Background color": "Background colour",
"Custom...": "Custom...",
"Custom color": "Custom colour",
"No color": "No colour",
"Table of Contents": "Table of Contents",
"Show blocks": "Show blocks",
"Show invisible characters": "Show invisible characters",
"Words: {0}": "Words: {0}",
"{0} words": "{0} words",
"File": "File",
"Edit": "Edit",
"Insert": "Insert",
"View": "View",
"Format": "Format",
"Table": "Table",
"Tools": "Tools",
"Powered by {0}": "Powered by {0}",
"Rich Text Area. Press ALT-F9 for menu. Press ALT-F10 for toolbar. Press ALT-0 for help": "Rich Text Area. Press ALT-F9 for menu. Press ALT-F10 for toolbar. Press ALT-0 for help"
});
DanielnetoDotCom commented 2 years ago

yours is missing too https://demo.avideo.com/node_modules/tinymce-langs/langs/us.js

can't be the problem

No this is not the problem

JoshWho commented 2 years ago

That still did not solve the issue

JoshWho commented 2 years ago

I am changing my local to utf miaybe do it

dpkg-reconfigure locales

Select all

Then select any english with utf in it

JoshWho commented 2 years ago

That didn't solve it neither. Not sure what is causing it. Glad I got UTF now though.

DanielnetoDotCom commented 2 years ago

image

First resolve the 403 error here

JoshWho commented 2 years ago
[13-Dec-2021 14:01:54 America/Chicago] getTitleFromLink: Get Title: LC_ALL=en_US.UTF-8 torsocks yt-dlp   --no-check-certificate --no-playlist --force-ipv4 --skip-download -e "https://www.bitchute.com/video/6ybqW223hmFz/" 
Array
(
    [0] => Strange Death Timing of Kary Mullis Inventor of PCR Test - Exposing the Lie
)

[13-Dec-2021 14:01:59 America/Chicago] Could not get duration Array
(
    [0] => WARNING: Assuming --restrict-filenames since file system encoding cannot encode all characters. Set the LC_ALL environment variable to fix this.
)

[13-Dec-2021 14:02:04 America/Chicago] getTitleFromLink: Get Title: LC_ALL=en_US.UTF-8 torsocks yt-dlp   --no-check-certificate --no-playlist --force-ipv4 --skip-download -e "https://www.bitchute.com/video/6ybqW223hmFz/" 
Array
(
    [0] => Strange Death Timing of Kary Mullis Inventor of PCR Test - Exposing the Lie
)

[13-Dec-2021 14:02:09 America/Chicago] Could not get duration Array
(
    [0] => WARNING: Assuming --restrict-filenames since file system encoding cannot encode all characters. Set the LC_ALL environment variable to fix this.
)

[13-Dec-2021 14:02:10 America/Chicago] getThumbsFromLink: torsocks yt-dlp   --no-check-certificate --no-playlist --force-ipv4 --write-thumbnail --skip-download  -o "/tmp/thumbsuXuViE.jpg" "https://www.bitchute.com/video/6ybqW223hmFz/"
[13-Dec-2021 14:02:10 America/Chicago] getThumbsFromLink: Error: ["WARNING: Assuming --restrict-filenames since file system encoding cannot encode all characters. Set the LC_ALL environment variable to fix this.","[BitChute] 6ybqW223hmFz: Downloading webpage","[BitChute] 6ybqW223hmFz: Checking video URL","[info] 6ybqW223hmFz: Downloading 1 format(s): 0","[info] Downloading video thumbnail 0 ...","[info] Writing video thumbnail 0 to: \/tmp\/thumbsuXuViE.jpg.jpg"]
[13-Dec-2021 14:02:20 America/Chicago] getThumbsFromLink: torsocks yt-dlp   --no-check-certificate --no-playlist --force-ipv4 --write-thumbnail --skip-download  -o "/tmp/thumbsi9ZXLN.jpg" "https://www.bitchute.com/video/6ybqW223hmFz/"
[13-Dec-2021 14:02:20 America/Chicago] getThumbsFromLink: Error: ["WARNING: Assuming --restrict-filenames since file system encoding cannot encode all characters. Set the LC_ALL environment variable to fix this.","[BitChute] 6ybqW223hmFz: Downloading webpage","[BitChute] 6ybqW223hmFz: Checking video URL","[info] 6ybqW223hmFz: Downloading 1 format(s): 0","[info] Downloading video thumbnail 0 ...","[info] Writing video thumbnail 0 to: \/tmp\/thumbsi9ZXLN.jpg.jpg"]
JoshWho commented 2 years ago

image

First resolve the 403 error here

That is not correct. WHy is it trying to load resources from my encoder server? ww2 is just a encoder server no active avideo install on there anymore

DanielnetoDotCom commented 2 years ago

maybe it is a yt-dlp issue??

I am using youtube-dl and I have no problem.

Is correct to get the info from the encoder due to youtube-dl is not required on the streamer.

JoshWho commented 2 years ago

No yt-dpl is exactly a clone of youtube-dl it does not change the functions it just adds the human verification

JoshWho commented 2 years ago

the youtube-dl just times out from my server

JoshWho commented 2 years ago
[13-Dec-2021 14:02:10 America/Chicago] getThumbsFromLink: torsocks yt-dlp   --no-check-certificate --no-playlist --force-ipv4 --write-thumbnail --skip-download  -o "/tmp/thumbsuXuViE.jpg" "https://www.bitchute.com/video/6ybqW223hmFz/"
[13-Dec-2021 14:02:10 America/Chicago] getThumbsFromLink: Error: ["WARNING: Assuming --restrict-filenames since file system encoding cannot encode all characters. Set the LC_ALL environment variable to fix this.","[BitChute] 6ybqW223hmFz: Downloading webpage","[BitChute] 6ybqW223hmFz: Checking video URL","[info] 6ybqW223hmFz: Downloading 1 format(s): 0","[info] Downloading video thumbnail 0 ...","[info] Writing video thumbnail 0 to: \/tmp\/thumbsuXuViE.jpg.jpg"]
[13-Dec-2021 14:02:20 America/Chicago] getThumbsFromLink: torsocks yt-dlp   --no-check-certificate --no-playlist --force-ipv4 --write-thumbnail --skip-download  -o "/tmp/thumbsi9ZXLN.jpg" "https://www.bitchute.com/video/6ybqW223hmFz/"
[13-Dec-2021 14:02:20 America/Chicago] getThumbsFromLink: Error: ["WARNING: Assuming --restrict-filenames since file system encoding cannot encode all characters. Set the LC_ALL environment variable to fix this.","[BitChute] 6ybqW223hmFz: Downloading webpage","[BitChute] 6ybqW223hmFz: Checking video URL","[info] 6ybqW223hmFz: Downloading 1 format(s): 0","[info] Downloading video thumbnail 0 ...","[info] Writing video thumbnail 0 to: \/tmp\/thumbsi9ZXLN.jpg.jpg"]
[13-Dec-2021 14:03:11 America/Chicago] getSpritsFromVideo: /usr/bin/php "/var/www/html/YouPHPTube/upl2/objects/createSpiritsFromVideo.php" "https://static.joshwhotv.com/file/joshwhotv/_YPTuniqid_5dfc337c726b25.08752362_Low.mp4" "14.99" "150" "84" "/var/www/html/YouPHPTube/upl2/videos/sprit_7f1f559e8010bd228f9735c107acf918.jpg" "100" "7f1f559e8010bd228f9735c107acf918"
[13-Dec-2021 14:03:11 America/Chicago] CreateSpirits:  creating directory /var/www/html/YouPHPTube/upl2/videos/thumbs_7f1f559e8010bd228f9735c107acf918/
[13-Dec-2021 14:03:11 America/Chicago] CreateSpirits: ffmpeg   -i "https://static.joshwhotv.com/file/joshwhotv/_YPTuniqid_5dfc337c726b25.08752362_Low.mp4" -map 0:v:0 -vf fps=1/14.99 -s 150x84 "/var/www/html/YouPHPTube/upl2/videos/thumbs_7f1f559e8010bd228f9735c107acf918/out%03d.png"  2>&1 
[13-Dec-2021 14:03:27 America/Chicago] getSpritsFromVideo: /usr/bin/php "/var/www/html/YouPHPTube/upl2/objects/createSpiritsFromVideo.php" "https://static.joshwhotv.com/file/joshwhotv/_YPTuniqid_5dfc337c726b25.08752362_Low.mp4" "14.99" "150" "84" "/var/www/html/YouPHPTube/upl2/videos/sprit_7f1f559e8010bd228f9735c107acf918.jpg" "100" "7f1f559e8010bd228f9735c107acf918"
[13-Dec-2021 14:03:27 America/Chicago] CreateSpirits:  we are working on it, please wait
[13-Dec-2021 14:03:27 America/Chicago] CreateSpirits:  removing directory /var/www/html/YouPHPTube/upl2/videos/thumbs_7f1f559e8010bd228f9735c107acf918/
[13-Dec-2021 14:11:05 America/Chicago] getSpritsFromVideo: /usr/bin/php "/var/www/html/YouPHPTube/upl2/objects/createSpiritsFromVideo.php" "https://static.joshwhotv.com/file/joshwhotv/_YPTuniqid_5c4c05053cc2c8.89248849_Low.mp4" "1.44" "150" "84" "/var/www/html/YouPHPTube/upl2/videos/sprit_68d9d21065d7efac0163403a8bc5adb7.jpg" "100" "68d9d21065d7efac0163403a8bc5adb7"
[13-Dec-2021 14:11:05 America/Chicago] CreateSpirits:  creating directory /var/www/html/YouPHPTube/upl2/videos/thumbs_68d9d21065d7efac0163403a8bc5adb7/
[13-Dec-2021 14:11:05 America/Chicago] CreateSpirits: ffmpeg   -i "https://static.joshwhotv.com/file/joshwhotv/_YPTuniqid_5c4c05053cc2c8.89248849_Low.mp4" -map 0:v:0 -vf fps=1/1.44 -s 150x84 "/var/www/html/YouPHPTube/upl2/videos/thumbs_68d9d21065d7efac0163403a8bc5adb7/out%03d.png"  2>&1 
[13-Dec-2021 14:11:05 America/Chicago] CreateSpirits:  removing directory /var/www/html/YouPHPTube/upl2/videos/thumbs_68d9d21065d7efac0163403a8bc5adb7/
[13-Dec-2021 14:11:13 America/Chicago] getTitleFromLink: Get Title: LC_ALL=en_US.UTF-8 torsocks yt-dlp   --no-check-certificate --no-playlist --force-ipv4 --skip-download -e "https://www.bitchute.com/video/6ybqW223hmFz/" 
Array
(
    [0] => Strange Death Timing of Kary Mullis Inventor of PCR Test - Exposing the Lie
)

[13-Dec-2021 14:11:18 America/Chicago] Could not get duration Array
(
    [0] => WARNING: Assuming --restrict-filenames since file system encoding cannot encode all characters. Set the LC_ALL environment variable to fix this.
)

[13-Dec-2021 14:11:24 America/Chicago] getTitleFromLink: Get Title: LC_ALL=en_US.UTF-8 torsocks yt-dlp   --no-check-certificate --no-playlist --force-ipv4 --skip-download -e "https://www.bitchute.com/video/6ybqW223hmFz/" 
Array
(
    [0] => Strange Death Timing of Kary Mullis Inventor of PCR Test - Exposing the Lie
)

[13-Dec-2021 14:11:28 America/Chicago] getThumbsFromLink: torsocks yt-dlp   --no-check-certificate --no-playlist --force-ipv4 --write-thumbnail --skip-download  -o "/tmp/thumbsXpa1pl.jpg" "https://www.bitchute.com/video/6ybqW223hmFz/"
[13-Dec-2021 14:11:28 America/Chicago] getThumbsFromLink: Error: ["WARNING: Assuming --restrict-filenames since file system encoding cannot encode all characters. Set the LC_ALL environment variable to fix this.","[BitChute] 6ybqW223hmFz: Downloading webpage","[BitChute] 6ybqW223hmFz: Checking video URL","[info] 6ybqW223hmFz: Downloading 1 format(s): 0","[info] Downloading video thumbnail 0 ...","[info] Writing video thumbnail 0 to: \/tmp\/thumbsXpa1pl.jpg.jpg"]
[13-Dec-2021 14:11:28 America/Chicago] Could not get duration Array
(
    [0] => WARNING: Assuming --restrict-filenames since file system encoding cannot encode all characters. Set the LC_ALL environment variable to fix this.
)

[13-Dec-2021 14:11:38 America/Chicago] getThumbsFromLink: torsocks yt-dlp   --no-check-certificate --no-playlist --force-ipv4 --write-thumbnail --skip-download  -o "/tmp/thumbsDNEkSC.jpg" "https://www.bitchute.com/video/6ybqW223hmFz/"
[13-Dec-2021 14:11:38 America/Chicago] getThumbsFromLink: Error: ["WARNING: Assuming --restrict-filenames since file system encoding cannot encode all characters. Set the LC_ALL environment variable to fix this.","[BitChute] 6ybqW223hmFz: Downloading webpage","[BitChute] 6ybqW223hmFz: Checking video URL","[info] 6ybqW223hmFz: Downloading 1 format(s): 0","[info] Downloading video thumbnail 0 ...","[info] Writing video thumbnail 0 to: \/tmp\/thumbsDNEkSC.jpg.jpg"]
[13-Dec-2021 14:11:47 America/Chicago] getSpritsFromVideo: /usr/bin/php "/var/www/html/YouPHPTube/upl2/objects/createSpiritsFromVideo.php" "https://static.joshwhotv.com/file/joshwhotv/video_211004071225_1554_HD.mp4" "70.94" "150" "84" "/var/www/html/YouPHPTube/upl2/videos/sprit_a6003961150c86dc54d2e50652d394f5.jpg" "100" "a6003961150c86dc54d2e50652d394f5"
[13-Dec-2021 14:11:47 America/Chicago] CreateSpirits:  creating directory /var/www/html/YouPHPTube/upl2/videos/thumbs_a6003961150c86dc54d2e50652d394f5/
[13-Dec-2021 14:11:47 America/Chicago] CreateSpirits: ffmpeg   -i "https://static.joshwhotv.com/file/joshwhotv/video_211004071225_1554_HD.mp4" -map 0:v:0 -vf fps=1/70.94 -s 150x84 "/var/www/html/YouPHPTube/upl2/videos/thumbs_a6003961150c86dc54d2e50652d394f5/out%03d.png"  2>&1 
[13-Dec-2021 14:13:22 America/Chicago] getSpritsFromVideo: /usr/bin/php "/var/www/html/YouPHPTube/upl2/objects/createSpiritsFromVideo.php" "https://static.joshwhotv.com/file/joshwhotv/video_210820114312_13c8_HD.mp4" "14.83" "150" "84" "/var/www/html/YouPHPTube/upl2/videos/sprit_5c8ab01e2f7d23d23600fff2ef2db9fa.jpg" "100" "5c8ab01e2f7d23d23600fff2ef2db9fa"
[13-Dec-2021 14:13:22 America/Chicago] CreateSpirits:  creating directory /var/www/html/YouPHPTube/upl2/videos/thumbs_5c8ab01e2f7d23d23600fff2ef2db9fa/
[13-Dec-2021 14:13:22 America/Chicago] CreateSpirits: ffmpeg   -i "https://static.joshwhotv.com/file/joshwhotv/video_210820114312_13c8_HD.mp4" -map 0:v:0 -vf fps=1/14.83 -s 150x84 "/var/www/html/YouPHPTube/upl2/videos/thumbs_5c8ab01e2f7d23d23600fff2ef2db9fa/out%03d.png"  2>&1 
[13-Dec-2021 14:13:45 America/Chicago] CreateSpirits:  removing directory /var/www/html/YouPHPTube/upl2/videos/thumbs_a6003961150c86dc54d2e50652d394f5/
JoshWho commented 2 years ago

Everything looks like it is working fine Above in log I just posted but on my side it still shows 29040638-7415-4756-8dfd-179107f8b477

JoshWho commented 2 years ago

I cheated and installed avideo on that server so it doesn't show those 403 errors anymore still same problem

DanielnetoDotCom commented 2 years ago

what happen if you run this manually on your encoder server?

yt-dlp --no-check-certificate --no-playlist --force-ipv4 --skip-download -e "https://www.bitchute.com/video/6ybqW223hmFz/"

JoshWho commented 2 years ago

it shows

Strange Death Timing of Kary Mullis Inventor of PCR Test - Exposing the Lie then ends

JoshWho commented 2 years ago

root@mail3:~# yt-dlp --no-check-certificate --no-playlist --force-ipv4 --skip-download -e "https://www.bitchute.com/video/6ybqW223hmFz/" Strange Death Timing of Kary Mullis Inventor of PCR Test - Exposing the Lie You have new mail in /var/mail/root

DanielnetoDotCom commented 2 years ago

What about this

torsocks yt-dlp --no-check-certificate --no-playlist --force-ipv4 --write-thumbnail --skip-download -o "/tmp/thumbsXpa1pl.jpg" "https://www.bitchute.com/video/6ybqW223hmFz/"

JoshWho commented 2 years ago
root@mail3:~# torsocks yt-dlp --no-check-certificate --no-playlist --force-ipv4 --write-thumbnail --skip-download -o "/tmp/thumbsXpa1pl.jpg" "https://www.bitchute.com/video/6ybqW223hmFz/"
[BitChute] 6ybqW223hmFz: Downloading webpage
[BitChute] 6ybqW223hmFz: Checking video URL
[info] 6ybqW223hmFz: Downloading 1 format(s): 0
[info] Downloading video thumbnail 0 ...
[info] Writing video thumbnail 0 to: /tmp/thumbsXpa1pl.jpg.jpg
root@mail3:~#
DanielnetoDotCom commented 2 years ago

So does the file /tmp/thumbsXpa1pl.jpg exists?

or it is creating /tmp/thumbsXpa1pl.jpg.jpg ??

I guess yt-dlp is giving an extra extension for it

JoshWho commented 2 years ago

yeah I seen that, not sure why

DanielnetoDotCom commented 2 years ago

try this update to see if will resolve the issue

JoshWho commented 2 years ago

It does it with the regular yt-dl also

root@mail3:~# torsocks youtube-dl --no-check-certificate --no-playlist --force-ipv4 --write-thumbnail --skip-download -o "/tmp/thumbsXpa1pl.jpg" "https://www.bitchute.com/video/6ybqW223hmFz/"
[BitChute] 6ybqW223hmFz: Downloading webpage
[BitChute] 6ybqW223hmFz: Checking video URL
[BitChute] 6ybqW223hmFz: Downloading thumbnail ...
[BitChute] 6ybqW223hmFz: Writing thumbnail to: /tmp/thumbsXpa1pl.jpg.jpg
root@mail3:~#
JoshWho commented 2 years ago

try this update to see if will resolve the issue

k giving it a try

JoshWho commented 2 years ago

I keep seeing this in the inspect element

jquery.min.js?cache=1635402916_1635402916:2 POST https://www.joshwhotv.com/objects/videoAddNew.json.php 500 (Internal Server Error)

DanielnetoDotCom commented 2 years ago

I keep seeing this in the inspect element

jquery.min.js?cache=1635402916_1635402916:2 POST https://www.joshwhotv.com/objects/videoAddNew.json.php 500 (Internal Server Error)

This is another problem.

check your streamer log

JoshWho commented 2 years ago
[13-Dec-2021 15:00:06 America/Chicago] getThumbsFromLink: torsocks yt-dlp   --no-check-certificate --no-playlist --force-ipv4 --write-thumbnail --skip-download  -o "/tmp/thumbsEaV94c.jpg" "https://www.bitchute.com/video/6ybqW223hmFz/"
[13-Dec-2021 15:00:06 America/Chicago] getThumbsFromLink: Error: ["WARNING: Assuming --restrict-filenames since file system encoding cannot encode all characters. Set the LC_ALL environment variable to fix this.","[BitChute] 6ybqW223hmFz: Downloading webpage","[BitChute] 6ybqW223hmFz: Checking video URL","[info] 6ybqW223hmFz: Downloading 1 format(s): 0","[info] Downloading video thumbnail 0 ...","WARNING: Unable to download video thumbnail 0: <urlopen error _ssl.c:835: The handshake operation timed out>"]
[13-Dec-2021 15:01:02 America/Chicago] getReturn_vars {"videos_id":49944,"video_id_hash":"OTFQclFpSVBqU2xPeHUybDMzaFdXcHU3cGhiR0JBY0hRUHcvdHJzcFZRUT0="}
[13-Dec-2021 15:01:02 America/Chicago] Encoder::send() order_id=76
[13-Dec-2021 15:01:02 America/Chicago] Encoder::multiResolutionSend(HD, mp4, 49944)
[13-Dec-2021 15:01:11 America/Chicago] Duration found: 0:05:40
[13-Dec-2021 15:01:11 America/Chicago] Encoder::sendFileToDownload [file=/var/www/html/YouPHPTube/upl2/videos/avideoTmpFile_65_streamers_id_484__HD.mp4], [download=https://ww2.joshwhotv.com/upl2/videos/avideoTmpFile_65_streamers_id_484__HD.mp4]
[13-Dec-2021 15:01:21 America/Chicago] Encoder::sendFileToDownload {"error":false,"format":"mp4","file":"\/var\/www\/html\/YouPHPTube\/upl2\/videos\/avideoTmpFile_65_streamers_id_484__HD.mp4","resolution":"HD","videoDownloadedLink":"","target":"https:\/\/www.joshwhotv.com\/aVideoEncoder.json","postFields":13,"videoFileSize":"53.72MB","response_raw":"{\"error\":false,\"video_id\":49944,\"video_id_hash\":\"OTFQclFpSVBqU2xPeHUybDMzaFdXcHU3cGhiR0JBY0hRUHcvdHJzcFZRUT0=\"}","response":{"error":false,"video_id":49944,"video_id_hash":"OTFQclFpSVBqU2xPeHUybDMzaFdXcHU3cGhiR0JBY0hRUHcvdHJzcFZRUT0="}}
[13-Dec-2021 15:01:21 America/Chicago] Encoder:sendFileChunk no need, we could download
[13-Dec-2021 15:01:21 America/Chicago] getReturn_vars {"videos_id":49944,"video_id_hash":"OTFQclFpSVBqU2xPeHUybDMzaFdXcHU3cGhiR0JBY0hRUHcvdHJzcFZRUT0="}
[13-Dec-2021 15:01:21 America/Chicago] AVideo-Encoder sending confirmation to https://www.joshwhotv.com/objects/aVideoEncoderNotifyIsDone.json.php
[13-Dec-2021 15:01:22 America/Chicago] getSpritsFromVideo: /usr/bin/php "/var/www/html/YouPHPTube/upl2/objects/createSpiritsFromVideo.php" "https://static.joshwhotv.com/file/joshwhotv/video_211213145942_v4534_HD.mp4" "3.4" "150" "84" "/var/www/html/YouPHPTube/upl2/videos/sprit_450acf3f9387db20a65fc69802848711.jpg" "100" "450acf3f9387db20a65fc69802848711"
[13-Dec-2021 15:01:22 America/Chicago] CreateSpirits:  creating directory /var/www/html/YouPHPTube/upl2/videos/thumbs_450acf3f9387db20a65fc69802848711/
[13-Dec-2021 15:01:22 America/Chicago] CreateSpirits: ffmpeg   -i "https://static.joshwhotv.com/file/joshwhotv/video_211213145942_v4534_HD.mp4" -map 0:v:0 -vf fps=1/3.4 -s 150x84 "/var/www/html/YouPHPTube/upl2/videos/thumbs_450acf3f9387db20a65fc69802848711/out%03d.png"  2>&1 
[13-Dec-2021 15:01:22 America/Chicago] AVideo-Streamer confirmation answer {"error":false,"video_id":49944}
[13-Dec-2021 15:01:22 America/Chicago] {"error":false,"target":"https:\/\/www.joshwhotv.com\/objects\/aVideoEncoderNotifyIsDone.json.php","postFields":{"videos_id":49944,"video_id_hash":"OTFQclFpSVBqU2xPeHUybDMzaFdXcHU3cGhiR0JBY0hRUHcvdHJzcFZRUT0=","user":"peterquiggins1","password":"0bd923eea3c53c6ca893818478bf5d73","fail":0},"response_raw":"{\"error\":false,\"video_id\":49944}","response":{"error":false,"video_id":49944}}
DanielnetoDotCom commented 2 years ago

what about the thumbnail does it appear?

maybe I am now confused about what is exactly the issue. because as I can see you could get the title and now the thumbnail

JoshWho commented 2 years ago

if it suppose to be videos/thumbs_450acf3f9387db20a65fc69802848711/out%03d.png I do not see it

DanielnetoDotCom commented 2 years ago

I reverted, the last update was wrong.

Please detail what is exactly missing?

if it is hanging, the problem is probably your JS

also you must check the errorjquery.min.js?cache=1635402916_1635402916:2 POST https://www.joshwhotv.com/objects/videoAddNew.json.php 500 on your streamer logs

JoshWho commented 2 years ago

jquery.min.js?cache=1635402916_1635402916:2 GET https://ww4.joshwhotv.com/status net::ERR_CONNECTION_TIMED_OUT

I removed the ww4 server from the encoder network a week ago why is it still trying to use it?

image

DanielnetoDotCom commented 2 years ago

You suppose to look for the error 500 on your streamer site

I do not know about https://ww4.joshwhotv.com/status, you probably still have a reference somewhere

JoshWho commented 2 years ago

Well when I try to import it looks like it is trying to check for the fastest encoder server and it is picking ww4.joshwhotv.com which is no longer in service

JoshWho commented 2 years ago

Ok I cleared all logs and did a fresh test this is what it did

[13-Dec-2021 15:33:54 America/Chicago] getTitleFromLink: Get Title: LC_ALL=en_US.UTF-8 torsocks yt-dlp   --no-check-certificate --no-playlist --force-ipv4 --skip-download -e "https://www.bitchute.com/video/6ybqW223hmFz/" 
Array
(
    [0] => Strange Death Timing of Kary Mullis Inventor of PCR Test - Exposing the Lie
)

[13-Dec-2021 15:33:58 America/Chicago] Could not get duration Array
(
    [0] => WARNING: Assuming --restrict-filenames since file system encoding cannot encode all characters. Set the LC_ALL environment variable to fix this.
)

[13-Dec-2021 15:34:06 America/Chicago] getTitleFromLink: Get Title: LC_ALL=en_US.UTF-8 torsocks yt-dlp   --no-check-certificate --no-playlist --force-ipv4 --skip-download -e "https://www.bitchute.com/video/6ybqW223hmFz/" 
Array
(
    [0] => Strange Death Timing of Kary Mullis Inventor of PCR Test - Exposing the Lie
)

[13-Dec-2021 15:34:09 America/Chicago] getThumbsFromLink: torsocks yt-dlp   --no-check-certificate --no-playlist --force-ipv4 --write-thumbnail --skip-download  -o "/tmp/thumbsoCQkxb.jpg" "https://www.bitchute.com/video/6ybqW223hmFz/"
[13-Dec-2021 15:34:09 America/Chicago] getThumbsFromLink: Error: ["WARNING: Assuming --restrict-filenames since file system encoding cannot encode all characters. Set the LC_ALL environment variable to fix this.","[BitChute] 6ybqW223hmFz: Downloading webpage","[BitChute] 6ybqW223hmFz: Checking video URL","[info] 6ybqW223hmFz: Downloading 1 format(s): 0","[info] Downloading video thumbnail 0 ...","[info] Writing video thumbnail 0 to: \/tmp\/thumbsoCQkxb.jpg.jpg"]
[13-Dec-2021 15:34:11 America/Chicago] Could not get duration Array
(
    [0] => WARNING: Assuming --restrict-filenames since file system encoding cannot encode all characters. Set the LC_ALL environment variable to fix this.
)

[13-Dec-2021 15:34:22 America/Chicago] getThumbsFromLink: torsocks yt-dlp   --no-check-certificate --no-playlist --force-ipv4 --write-thumbnail --skip-download  -o "/tmp/thumbsXur9ga.jpg" "https://www.bitchute.com/video/6ybqW223hmFz/"
[13-Dec-2021 15:34:22 America/Chicago] getThumbsFromLink: Error: ["WARNING: Assuming --restrict-filenames since file system encoding cannot encode all characters. Set the LC_ALL environment variable to fix this.","[BitChute] 6ybqW223hmFz: Downloading webpage","[BitChute] 6ybqW223hmFz: Checking video URL","[info] 6ybqW223hmFz: Downloading 1 format(s): 0","[info] Downloading video thumbnail 0 ...","[info] Writing video thumbnail 0 to: \/tmp\/thumbsXur9ga.jpg.jpg"]
DanielnetoDotCom commented 2 years ago

Please detail what is exactly missing?

if it is hanging, the problem is probably your JS

also you must check the errorjquery.min.js?cache=1635402916_1635402916:2 POST https://www.joshwhotv.com/objects/videoAddNew.json.php 500 on your streamer logs

@JoshWho please!!

JoshWho commented 2 years ago

It is not showing the 500 error. That is the whole log from the test

DanielnetoDotCom commented 2 years ago

check this update for a better log

but I still do not see anything wrong in your logs. you need to detail to me what exactly is missing. is the problem only hanging?