manoharys / VideoTube

Implemented dedicated video uploading site like YouTube using JavaScript, PHP, MySql which includes features such as video uploading, video server-side conversion, launch of video player, video thumbnail creation, liked and disliked video capabilities, comment system, edit video details, create account etc
MIT License
27 stars 9 forks source link

Can't upload videos #5

Open konatelo opened 4 months ago

konatelo commented 4 months ago

I set up the database configurations, and the website is up and running the only problem I click upload video it just refreshes the page but the video doesn't upload I can't see it anywhere, how can I fix this?

image

robloxboy100058 commented 4 months ago

I think you have to add this directory at the root of VideoTube: uploads/videos also for thumbnails to work: uploads/videos/thumbnails FFmpeg and FFprobe also needs to be in this directory: ffmpeg/windows also, the max file upload size is around ~42 MB. If you get any errors anywhere, please reply.

konatelo commented 4 months ago

I think you have to add this directory at the root of VideoTube: uploads/videos also for thumbnails to work: uploads/videos/thumbnails FFmpeg and FFprobe also needs to be in this directory: ffmpeg/windows also, the max file upload size is around ~42 MB. If you get any errors anywhere, please reply.

@robloxboy100058 @manoharys

https://scontent.xx.fbcdn.net/v/t1.15752-9/448873737_1380071912822502_158035264126039240_n.png?_nc_cat=103&ccb=1-7&_nc_sid=0024fc&_nc_ohc=Ckf0NnQ4VfcQ7kNvgHPcn4p&_nc_ad=z-m&_nc_cid=0&_nc_ht=scontent.xx&oh=03_Q7cD1QHCmWCrdEAU_ujb7eXetKW5LczYkAxctxhsnxTw-OuAPQ&oe=66AAF2BF

https://scontent.xx.fbcdn.net/v/t1.15752-9/449079560_1011431093655598_4060196462229211677_n.png?stp=dst-png_p403x403&_nc_cat=109&ccb=1-7&_nc_sid=0024fc&_nc_ohc=yNIrnpe1m9EQ7kNvgFV1unA&_nc_ad=z-m&_nc_cid=0&_nc_ht=scontent.xx&oh=03_Q7cD1QGjDIBUlU3z5jl_cSNn882igHd-UuAzJ6dC9lPC_JpMGA&oe=66AAFC99

Hi, first of all that was a quick reply, I have done as instructed, I created these folders in the project root uploads/videos/thumbnails & ffmpeg/windows and I set the max file upload to 1000:, Also re installed ffmpeg and place both two exe files in the specified path. when I click upload it redirects me to the proccessing.php page

https://scontent.xx.fbcdn.net/v/t1.15752-9/449409512_1914254425672421_3369337393748074023_n.png?stp=dst-png_p403x403&_nc_cat=100&ccb=1-7&_nc_sid=0024fc&_nc_ohc=lCWzSsYCeOkQ7kNvgFOxp5e&_nc_ad=z-m&_nc_cid=0&_nc_ht=scontent.xx&oh=03_Q7cD1QGWrp3X4fM4d-9nawroVL8IyhwehOF7vqDcUX2VhCpiJw&oe=66AB0934

It doesn't show me any errors even if I don't add anything in the description and also it doesn't upload the videos but the database for users is working only for videos and I would love to seek guidance on how to trouble shoot it.