AVideo icon indicating copy to clipboard operation
AVideo copied to clipboard

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

Open hnagasawa opened this issue 1 year ago • 26 comments

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

hnagasawa avatar Jan 16 '24 01:01 hnagasawa

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

DanielnetoDotCom avatar Jan 16 '24 13:01 DanielnetoDotCom

@Danielneto

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

hnagasawa avatar Jan 16 '24 16:01 hnagasawa

Please do on both

DanielnetoDotCom avatar Jan 16 '24 19:01 DanielnetoDotCom

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 ?

hnagasawa avatar Jan 22 '24 07:01 hnagasawa

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?

DanielnetoDotCom avatar Jan 22 '24 13:01 DanielnetoDotCom

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.

hnagasawa avatar Jan 22 '24 14:01 hnagasawa

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

DanielnetoDotCom avatar Jan 22 '24 14:01 DanielnetoDotCom

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

hnagasawa avatar Jan 22 '24 14:01 hnagasawa

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

DanielnetoDotCom avatar Jan 22 '24 14:01 DanielnetoDotCom

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

hnagasawa avatar Jan 22 '24 14:01 hnagasawa

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

DanielnetoDotCom avatar Jan 22 '24 14:01 DanielnetoDotCom

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

KrzysioMisio avatar Jan 22 '24 15:01 KrzysioMisio

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

DanielnetoDotCom avatar Jan 22 '24 15:01 DanielnetoDotCom

no special characters or spaces 11

KrzysioMisio avatar Jan 22 '24 15:01 KrzysioMisio

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

DanielnetoDotCom avatar Jan 22 '24 15:01 DanielnetoDotCom

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

hnagasawa avatar Jan 23 '24 06:01 hnagasawa

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

please send it to my email [email protected]

DanielnetoDotCom avatar Jan 23 '24 13:01 DanielnetoDotCom

Update your encoder with the latest git pull

DanielnetoDotCom avatar Jan 23 '24 18:01 DanielnetoDotCom

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

hnagasawa avatar Jan 24 '24 00:01 hnagasawa

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

DanielnetoDotCom avatar Jan 25 '24 18:01 DanielnetoDotCom

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

hnagasawa avatar Jan 26 '24 12:01 hnagasawa

The Ajax is not a real issue.

if the file is encoding. do not worry about it

DanielnetoDotCom avatar Jan 26 '24 12:01 DanielnetoDotCom

Not encode.What do we check ?

hnagasawa avatar Jan 26 '24 12:01 hnagasawa

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

DanielnetoDotCom avatar Jan 27 '24 14:01 DanielnetoDotCom

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?

hnagasawa avatar Feb 01 '24 07:02 hnagasawa

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

DanielnetoDotCom avatar Feb 01 '24 12:02 DanielnetoDotCom

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

hnagasawa avatar Mar 19 '24 02:03 hnagasawa

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
    

DanielnetoDotCom avatar Mar 19 '24 11:03 DanielnetoDotCom

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

hnagasawa avatar Apr 03 '24 02:04 hnagasawa