Hello Sir,
I am facing one more issue, When I was trying to upload video or 1 hour + duration, It doesn't upload. It shows me it is uploading. after all the process it is giving me the black object of video.
http://167.71.230.113/plugin/API/get.json.php?APIName=video&videos_id=24
{
"id": 24,
"user": "admin",
"name": "",
"email": "[email protected]",
"created": "2020-06-01 08:58:18",
"modified": "2020-06-08 12:17:18",
"isAdmin": 1,
"status": "a",
"photoURL": null,
"lastLogin": "2020-06-09 06:37:51",
"backgroundURL": null,
"canStream": 0,
"canUpload": 0,
"canViewChart": 0,
"about": "",
"channelName": "5ead394d50c6c",
"emailVerified": 0,
"analyticsCode": null,
"externalOptions": {},
"first_name": null,
"last_name": null,
"address": null,
"zip_code": null,
"country": null,
"region": null,
"city": null,
"donationLink": "",
"title": "Medically Yours",
"clean_title": "medically-yours",
"description": "Series 2019,Season 1, all episodes",
"views_count": 2,
"views_count_25": 0,
"views_count_50": 0,
"views_count_75": 0,
"views_count_100": 0,
"users_id": 1,
"categories_id": 1,
"filename": "_YPTuniqid_5ed4c32ad89cd4.13674529",
"duration": "EE:EE:EE",
"type": "video",
"videoDownloadedLink": "",
"order": 1,
"rotation": 0,
"zoom": 1,
"youtubeId": "",
"videoLink": "",
"next_videos_id": null,
"isSuggested": 0,
"trailer1": "",
"trailer2": "",
"trailer3": "",
"rate": 0,
"can_download": 0,
"can_share": 0,
"rrating": "",
"only_for_paid": 0,
"serie_playlists_id": null,
"sites_id": null,
"video_password": "",
"encoderURL": "",
"filepath": "",
"filesize": 1338283,
"next_title": null,
"next_clean_title": null,
"next_filename": null,
"next_id": null,
"category_id": 1,
"iconClass": "fa fa-folder",
"category": "Default",
"clean_category": "default",
"category_description": "",
"category_order": 0,
"videoCreation": "2020-06-01 08:58:18",
"likes": 0,
"dislikes": 0,
"myVote": 0,
"groups": [],
"progress": {
"percent": 0,
"lastVideoTime": 0
},
"tags": [
{
"label": "Paid Content",
"type": "success",
"text": "Free"
},
{
"label": "Status",
"type": "success",
"text": "Active"
},
{
"label": "Category",
"type": "default",
"text": "Default"
},
{
"label": "Source",
"type": "info",
"text": "Local File"
}
],
"images": {
"poster": "http://nishant.golf/videos/_YPTuniqid_5ed4c32ad89cd4.13674529.jpg?1591001907",
"posterPortrait": "http://nishant.golf/view/img/notfound_portrait.jpg",
"posterPortraitPath": "/var/www/YouPHPTube/view/img/notfound_portrait.png",
"posterPortraitThumbs": "http://nishant.golf/view/img/notfound_portrait.jpg",
"posterPortraitThumbsSmall": "http://nishant.golf/view/img/notfound_portrait.jpg",
"thumbsGif": "http://nishant.golf/videos/_YPTuniqid_5ed4c32ad89cd4.13674529.webp",
"gifPortrait": false,
"thumbsJpg": "http://nishant.golf/videos/_YPTuniqid_5ed4c32ad89cd4.13674529_thumbsV2.jpg?1591027042",
"thumbsJpgSmall": "http://nishant.golf/videos/_YPTuniqid_5ed4c32ad89cd4.13674529_thumbsSmallV2.jpg?1591027042"
},
"videos": {},
"Poster": "http://nishant.golf/videos/_YPTuniqid_5ed4c32ad89cd4.13674529.jpg?1591001907",
"Thumbnail": "http://nishant.golf/videos/_YPTuniqid_5ed4c32ad89cd4.13674529_thumbsV2.jpg?1591027042",
"imageClass": "landscape",
"createdHumanTiming": "1 week",
"pageUrl": "http://167.71.230.113/video/medically-yours",
"embedUrl": "http://167.71.230.113/videoEmbeded/medically-yours",
"UserPhoto": "http://167.71.230.113/view/img/userSilhouette.jpg",
"wwbnURL": "http://167.71.230.113/video/medically-yours",
"wwbnEmbedURL": "http://167.71.230.113/videoEmbeded/medically-yours",
"wwbnImgThumbnail": "http://nishant.golf/videos/_YPTuniqid_5ed4c32ad89cd4.13674529_thumbsV2.jpg?1591027042",
"wwbnImgPoster": "http://nishant.golf/videos/_YPTuniqid_5ed4c32ad89cd4.13674529.jpg?1591001907",
"wwbnTitle": "Medically Yours",
"wwbnDescription": "Series 2019,Season 1, all episodes",
"wwbnChannelURL": "http://167.71.230.113/channel/5ead394d50c6c",
"wwbnImgChannel": "http://167.71.230.113/view/img/userSilhouette.jpg",
"wwbnType": "video"
}
Is it not uploading or not encoding?
are you uploading to the encoder or streamer?
it s not encoding the video. uploading was done
Please describe your issue clear and provide the log files. your issue has the title "Not able to upload 1 hour video" and now you are telling me the upload was done.
I am confused.
Sir, I was trying to upload the video through the encoder, the video got uploaded. It was also available in API that a video added. and the duration it shows EEEE. I think there is some problem with encoding. Because it took too much time to encode the video. I tried 2 times.
Ok, I agree the problem should be with the encoder process NOT the upload.
please share your encoder log
Can you please tell me where is the log file? I am unable to find the log file.
Here is the encoder log file
avideo.log
I could not see any errors.
to make it easier to find it do you have any idea of the video title with error? or filename?
also, I can see you are using HLS format. how much RAM do you have?
Acctually I can see this...
[04-Jun-2020 19:41:44 UTC] {"error":true,"file":"\/var\/www\/YouPHPTube\/upload\/videos\/2_tmpFile_converted.zip","response":{"file":"\/tmp\/YTPChunk_BhCjbK","filesize":0},"target":"http:\/\/167.71.230.113\/aVideoEncoderChunk.json","response_raw":"{\"file\":\"\\\/tmp\\\/YTPChunk_BhCjbK\",\"filesize\":0}","msg":"cURL error (0):\n No error \n \/var\/www\/YouPHPTube\/upload\/videos\/2_tmpFile_converted.zip \n http:\/\/167.71.230.113\/aVideoEncoderChunk.json"}
please also share your streamer log.
We have 4GB RAM on the server and here is the log file of streamer
streamer.log
The log you just send looks like the encoder log (same file as before)
please send the correct file.
Even better, before you submit the log again update your streamer and encoder and try again.
we have some updates that may fix the problem and help to find if still any issue.
https://github.com/WWBN/AVideo/wiki/How-to-Update-your-AVideo-Platform
These are two paths of logs:
I shared earlier, when asked to share Encoder log
/var/www/YouPHPTube/upload/videos/avideo.log
Just shared above, streamer log from this path.
/var/www/YouPHPTube/videos/avideo.log
I'll update and confirm to you.
Hello Sir,
I forgot the password, Somehow file got deleted where i saved all the password. Can you please tell me how to get the database password so that i can update?
avideo wiki for admin password
@ronaldod I am asking for the database password.
Check configuration.php if you still have a working configuration else follow the part of the installation to set DB passes.
Hello @DanielnetoDotCom Sir, I updated the system But still, I am getting the same issue,

Hi
do this ...
delete your log files from encoder and streamer. (do not do anything else)
try to submit a file (longer than 1 hour) and do not do anything else.
share here your encoder and streamer files
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.
Most helpful comment
Check configuration.php if you still have a working configuration else follow the part of the installation to set DB passes.