-
Notifications
You must be signed in to change notification settings - Fork 969
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Encoder generating 404 thumbnails from uploaded videos #684
Comments
this is not a bug, this is a commercial plugin, i think (the preview-picture make it a little unclear, but i think it's also valid for upload via encoder): MP4ThumbsAndGif @ https://easytube.club but @DanielnetoDotCom , can you confirm this works also for uploaded via encoder (the picture on easytube only mark the mp4-upload-button)? |
I believe that plugin is only for automatically extracting from direct uploads. The encoder is supposed to perform this function automatically. It is performing it at some stage, otherwise the images wouldn't have been generated in the videos directory. I was under the assumption that this function wasn't being executed, and that when an img src was missing, a 404 replaced it. This is not the case though - each video does indeed have a respecitive image file, however that image file itself is the 404 image posted above. Whatever process is attempting to get the thumbs from the video file (ffmpeg?) is having some issue there and resorting to the 404 image. Quite probably a PHP module or setting I don't have. |
My apologies, this should be on the encoder issue tracker. Found the function: YouPHPTube-Encoder/objects/Encoder.php line 884
The issue is this part here:
Should be:
The < should be >, otherwise it's taking input from /dev/null to ffmpeg and will throw an error. Thus returning something other than 0 and triggering the 404 file. |
just rechecked it, you're right with the plugin, it's not needed. my wrong. that's great when it works, i just tried and it generate me the pictures (can not reproduce it), but maybe that would be nice as a pull-request instead of a issue on youphptube-encoder? :) |
I've found a few little ones like that here and there so once I've gotten
them together I'll submit a pull request.
Is it worth putting these changes in a branch?
…On Wed, 16 May 2018 05:11 Vinzenz Hersche ***@***.***> wrote:
just rechecked it, you're right with the plugin, it's not needed. my wrong.
that's great when it works, i just tried and it generate me the pictures
(can not reproduce it), but maybe that would be nice as a pull-request
instead of a issue on youphptube-encoder? :)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#684 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ATD0K4ntIJ3EXvasPMPNMBst3_pT2lCLks5tyyhUgaJpZM4T-y04>
.
|
when you find some of them, it sounds to me, like it is worth to make a fork. there, it's unimportant, if you are on the master-branch or create a new. but it's definently worth to commit them. you can also edit in github directly, but then you do a PR for every file automatic (as well as one fork and there a branch for every PR). |
I really should have forked it to be honest.
I'm interested in adding image support as well, but think this might be
more usable to the community as a plugin. I haven't really looked at the
plugin system yet; do you think it will be able to achieve what I'm
thinking?
Basically I'd like to be able to upload (directly or via the encoder) high
res images and view them in place of the video player. Similar to flickr or
deviantart.
I'm happy to start poking about in source code but a plug-in would be ideal.
…On Wed, 16 May 2018 09:51 Vinzenz Hersche ***@***.***> wrote:
when you find some of them, it sounds to me, like it is worth to make a
fork. there, it's unimportant, if you are on the master-branch or create a
new.
but it's definently worth to commit them. you can also edit in github
directly, but then you do a PR for every file automatic (as well as one
fork and there a branch for every PR).
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#684 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ATD0K74NXSQANGPVcJKGIgqyYBEMf-Ruks5ty2oMgaJpZM4T-y04>
.
|
nope, you have 0 repos yet :) just click on the "Fork"-button.. to be honest, i cant really imagine how to place it. the plugin-structure allows a lot, and i think you would be able doing a plugin for another startpage or adding a link to new site (picture-gallery for example) easily. also entrys to admin-menus are partialy possible. on the other hand, there's a lot of infos about the type, in category and on media, but only for audio/video.. why not add picture/image there (in the core)? or just modify a plugin like youphpflix.. that decision is up to you :) |
Yeah sorry I mean forking it would have been a better decision earlier on.
Cheers for the tips, I'll have a look at some other plugins and see what's
possible.
…On Wed, 16 May 2018 10:01 Vinzenz Hersche ***@***.***> wrote:
nope, you have 0 repos yet :) just click on the "Fork"-button..
to be honest, i cant really imagine how to place it.
the plugin-structure allows a lot, and i think you would be able doing a
plugin for another startpage or adding a link to new site (picture-gallery
for example) easily. also entrys to admin-menus are partialy possible.
on the other hand, there's a lot of infos about the type, in category and
on media, but only for audio/video.. why not add picture/image there (in
the core)?
or just modify a plugin like youphpflix..
that decision is up to you :)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#684 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ATD0K6M6UrPYJanI6JPHDYEZGRrHb-7Xks5ty2xbgaJpZM4T-y04>
.
|
How do I replace the 404 thumbnails which have already been generated by the Encoder? |
Edit it on the videos manager (streamer site) |
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. |
I have this problem too |
@BartManX you have to provide some details, make sure you have the latest version and provide us your log file at the moment the error occurs |
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. |
First of all cheers for the brilliant product. Secondly I just realised I posted this on the streamer repo not the encoder - many apologies. Please let me know if I should close and move this thread.
Just to be clear I'm NOT using direct uploads, this is entirely related to uploading to the encoder.
I've found that when using the encoder to download from YouTube, thumbnails are generating properly. However, whenever a video is uploaded to the encoder, it always results in the 404 Not Found error being generated for the video.
Initially I thought that there was a folder permissions error and that the images were not being created for each video. Upon closer inspection I can see that each video has indeed had an image generated for it, though that image is the actual 404 image.
I'm guessing that this is coming from ffmpeg? Or is it passing a call to youtube-dl even for videos that are uploaded?
Here's a copy of the image being generated:
I'm still looking to find where these are generated so apologies if i'm missing something simple. I can't seem to find anyone else having this exact issue with the encoder.
This is occurring with all file sizes, which are well under those limits. And with mp3's which is obviously to be expected.
The text was updated successfully, but these errors were encountered: