WWBN / AVideo

Create Your Own Broadcast Network With AVideo Platform Open-Source. OAVP OVP
https://avideo.tube/AVideo_OpenSource
Other
1.92k stars 972 forks source link

Video files uploaded after updating from Ver12.9 to Ver14.2 cannot be played on AVideo. #8796

Closed hnagasawa closed 8 months ago

hnagasawa commented 10 months ago

I updated AVideo form Ver12.9 to Ver14.2. After updating, videos uploaded from Avideo-Encoder no longer play. Video Files uploaded with Ver12.9 can be played with AVideo.

20240111_Problem with posted videos after AVideo version update.xlsx

I check AVideo.log and AVideo-encoder's avideo.log. I can not find error in both logs.

What do I check again.

Updates will be made after 13:00 on 1/11. Videos will be uploaded to AVideo-Encoder after 15:30 on 1/11.

20240111.zip

DanielnetoDotCom commented 10 months ago

I see, can you please make another git pull and try again?

hnagasawa commented 10 months ago

@Danielneto

Do I git pull both AVideo an AVideo-Enconder again ?

DanielnetoDotCom commented 10 months ago

Please do on both

hnagasawa commented 10 months ago

Updated today 13:00(JST). There were no plugin updates. When I upload a video to AVideo-Encoder, it is queuing and does not proceed. Free disk is There is sufficient free disk space. It was the same even after clearing the all caches.

after "start upload"

queing1 queing2 avideoencoder20240122.log avideostreamer20240122.log

What do we check ?

DanielnetoDotCom commented 10 months ago

I am not 100% sure what it is, but it may be related to the filename. can you please rename the uploaded video to a simple name and try again?

hnagasawa commented 10 months ago

Do you think it's a problem because the file name is Japanese? Up to Ver12.9, there was no problem even if the file name was in Japanese.

DanielnetoDotCom commented 10 months ago

I guess it is, but please try, I am not 100%.

hnagasawa commented 10 months ago

Like #8802, isn't there a bug with 2byte code?

DanielnetoDotCom commented 10 months ago

the error can be the same, but I need you to test

hnagasawa commented 10 months ago

Do you need 2 byte code file name file for test ?

DanielnetoDotCom commented 10 months ago

just use regular chars, try to not use Chinese or special chars

KrzysioMisio commented 10 months ago

my encoder stopped working too stops at the stage as in the photo for many months everything was fine I have version 12.9 and I don't want to update because the changes you introduced don't suit me

11

DanielnetoDotCom commented 10 months ago

looks like I am in circles, I am asking to use regular chars for testing.

No Special chars and no space. use the simplest file name as possible

I will be back once someone tests it as I am requesting

KrzysioMisio commented 10 months ago

no special characters or spaces 11

DanielnetoDotCom commented 10 months ago

@KrzysioMisio in your case, open a new issue and share the encoder and streamer logs

hnagasawa commented 10 months ago

After changing the video file name to English and uploading it from AVideo-Encoder, I was able to successfully upload it to streamer. Next, I tried uploading the video file name to Japanese using AVideo-Encoder, but I could not upload it to the streamer. This issue is bug of Ver14.2. I will send you an mp4 file with a Japanese file name for debugging.

https://github.com/WWBN/AVideo/assets/46562199/2e5bdc0a-bfe0-426a-9d97-15d7767ff021

DanielnetoDotCom commented 10 months ago

Hi, ok, thanks the video with a Japanese name helps to find the issue

please send it to my email developer@youphptube.com

DanielnetoDotCom commented 10 months ago

Update your encoder with the latest git pull

hnagasawa commented 10 months ago

I updated AVideo and AVideo-Enconder but no improvement.(I use same mp4 file. you send last night). It seems that AVideo-econder cannot recognize mp4 files with Japanese file names as mp4 files. (english file name mp4 did not this error) No logs are recorded in avideo.log of AVideo-enconder. I have sent the mp4 file name that I sent to you to your email address. 20240124error

steramerlog20240124.txt

DanielnetoDotCom commented 10 months ago

Hi, it is definitely something with the filename.

The last fix I made with your file.

If the error persists, it may be something specific in your environment

hnagasawa commented 10 months ago

I have uploaded an mp4 with another Japanese file name. AVideo-enconder display next messages."Error occured during AJAX request" encoder20240126

What do I need to install ?

avideoencoder20240126.log

DanielnetoDotCom commented 10 months ago

The Ajax is not a real issue.

if the file is encoding. do not worry about it

hnagasawa commented 10 months ago

Not encode.What do we check ?

DanielnetoDotCom commented 10 months ago

for now, you should just rename the file. I may review the filename issue in the future

hnagasawa commented 10 months ago

I tried to upload rename video file name(japanaese) again. But same error ocurred. I uploaded your demo site same video file(次雲.mp4). It seems that the upload was successful, but I can't watch it on streamer and I do not check avideo.log of AVideo-Encoder. The upload time is February 1st at 16:10 (JST). (February 1st 4:10 in your local time) Could you please check if it has been uploaded to the streamer?

DanielnetoDotCom commented 10 months ago

When I say rename, I mean, use regular characters, ABC....

hnagasawa commented 8 months ago

We have prepared two AVideo servers. The OS is Ubuntu 18.04. AVideo1 Below is /var/www/html:

drwxr-xr-x 20 www-data www-data 4096 3月 18 11:13 AVideo drwxr-xr-x 14 www-data www-data 4096 4月 21 2023 AVideo-Encoder

AVideo2 Below is /var/www/html: drwxr-xr-x 20 www-data www-data 4096 3月 19 09:12 AVideo AVideo-Encoder was installed under the AVideo directory and AVideo-Encoder change name upload

First,I uploaded video files with alphabetical file names to both AVideo servers through Encoder. Both were successfully uploaded to AVideo Stremer

Next, I uploaded video files with Japanese file names to both AVideo servers through Encoder. AVideo1 could not upload to AVideo streamer.

AVideo2 was successfully uploaded to AVideo stremer.

The attached log is avideo.log of AVideo-Encoder of AVideo1 and AVideo2.

What do you think is the problem?

AVideo1fail.txt

AVideo2success.txt

DanielnetoDotCom commented 8 months ago

I found something, you will need to update the encoder

but you need to make sure you have the php-mbstring installed

  1. Update Package Lists: Open a terminal and update the package lists to ensure you install the latest versions of packages:

    sudo apt update
  2. Install PHP mbstring Extension: The mb_detect_encoding function is part of the mbstring extension. Install it using the following command:

    sudo apt install php-mbstring
  3. Restart Apache or PHP-FPM: If you're using Apache, restart it to apply the changes:

    sudo systemctl restart apache2
hnagasawa commented 8 months ago

@DanielnetoDotCom Yesterday, I installed all patches. This issue fix. Thank you for your support.