AVideo-Encoder icon indicating copy to clipboard operation
AVideo-Encoder copied to clipboard

Video Files vanish after converting

Open jakesullyneytiri opened this issue 4 years ago • 5 comments

I cannot get this encoder to submit the videos to main script. It uploads but when it finish the converting it disappears and video files also disappears.

So i check the main site and no videos there. So i'm clueless and i have now been going through script for over 1 hour without finding any errors or anything that is behind the problem.

I really need to know what am i missing or doing wrong???

Since error log isn't saying anything and process of converting does not say any error as well it creates the 3 required files and then once it's done the 3 files disappears and i also checked folders on both scripts but find nothing.

So yeah i'm stuck and cannot get this thing to even work!

jakesullyneytiri avatar Feb 24 '21 16:02 jakesullyneytiri

Can you please detail and provide some screenshots of what you are talking about?

DanielnetoDotCom avatar Feb 25 '21 11:02 DanielnetoDotCom

Can you please detail and provide some screenshots of what you are talking about?

Problem is already fixed. It was json files it was pointing at start name such as YouPHPTube instead of AVideo which was why submitting didn't work. Once I corrected the names in a php file from encoder it successfully submitted the videos to AVideo script and is working fine now.

Update: after re-checking i can only see Master as one build on here https://github.com/WWBN/AVideo-Encoder and some other but no latest one. So Master is one i downloaded.

jakesullyneytiri avatar Feb 25 '21 12:02 jakesullyneytiri

I have the same issue, could you please tell me which file(s) you have edited?

gurc4n avatar Feb 26 '21 05:02 gurc4n

I have the same issue, could you please tell me which file(s) you have edited?

I edited file Encoder.php in objects folder from encoder script. Search up the youPHPTubeEncoder.json and do same on every other json with youPHPTube tags and replace them with new name. You can find new names through .htaccess file which should be following lines:

aVideoEncoderNotifyIsDone.json aVideoEncoderReceiveImage.json aVideoEncoder.json

these 3 would be having following name instead: youPHPTubeEncoderNotifyIsDone.json youPHPTubeEncoderReceiveImage.json youPHPTubeEncoder.json

this is what caused my encoder to fail on submitting it's videos to my aVideo script, because it was looking for files with youPHPTube names and not aVideo ones. but once i corrected this part it submits fine and videos are working as well :)

jakesullyneytiri avatar Feb 26 '21 22:02 jakesullyneytiri

Now that is really weird, apparently my encoder was version 2.3 not latest as github claimed it to be when i picked matser branch and then download ---> zip. so i manually git cloned it and uploaded new version over old one but after that it won't convert anymore. it just sits there. i uploaded 5 videos and they are in videos folder but not being converted. So now i'm clueless :/

I tried to execute update method but idk how to get script to run update by importing .sql files.

If i run the update.php i get following error:

AH01071: Got error 'PHP message: PHP Fatal error: Uncaught Error: Call to a member function getVersion() on null in update.php line 2

Update: i removed whole encoder and uploaded latest and setted it up. But now when uploading videos to it, it just tries to access a page that doesen't exists for an odd reason. So now uploading videos won't work anymore. everything is correctly set yet it nags in log file about page does not exists but it does not even tell me what exactly page it want's to access.

Update 2: Nvm it seems logging out then in via streamers fixed it :)

jakesullyneytiri avatar Feb 27 '21 20:02 jakesullyneytiri