Avideo: Media Playback issue

Created on 4 May 2020  路  30Comments  路  Source: WWBN/AVideo

I have several videos all in a .mp4 format that are having an issue where they won't play: The media playback was aborted due to a corruption problem or because the media used features your browser did not support. I have checked several computers and cleared cookies and cache both on the server end and on my browser. I tried for one where I re-encoded the video and the new video works just fine.

Is there a way to make sure this doesn't happen again or a way to fix it without having to reupload all the videos? Is there a way to just re-encode the video?

image

bug wontfix

All 30 comments

@DanielnetoDotCom this is what I got when I ran the command to search for the video

ls -lah /var/www/html/YouPHPTube/videos/_YPTuniqid_5e95d2192cf8a0.79528414_Low.mp4

-rw------- 1 www-data www-data 238M Apr 14 18:06 /var/www/html/YouPHPTube/videos/_YPTuniqid_5e95d2192cf8a0.79528414_Low.mp4

This is the error message in the console

video.js:84 VIDEOJS: ERROR: (CODE:3 MEDIA_ERR_DECODE) The media playback was aborted due to a corruption problem or because the media used features your browser did not support.
MediaError
code: 3
message: "The media playback was aborted due to a corruption problem or because the media used features your browser did not support."
__proto__: Object

I tried downloading the video and the video file is corrupted. Wasn't that way last week.

image

If you download the mp4 file with ftp of sftp is it then also corrupt ?

@ronaldod yes. The downloaded file was also corrupt

then the video is corrupt

try without another video

if the video is corrupted, probably the source is also corrupted

another thing that may reflect is the file permission.

I notice this

-rw------- 1 www-data www-data 238M Apr 14 18:06 /var/www/html/YouPHPTube/videos/_YPTuniqid_5e95d2192cf8a0.79528414_Low.mp4

try this command and then play the video again to see if there is any difference

chmod 777 /var/www/html/YouPHPTube/videos/_YPTuniqid_5e95d2192cf8a0.79528414*

I tried that and it is still not working. Getting this error now:

Media resource https://cdn.greensmoothiegirl.com/videos/_YPTuniqid_5e95d2192cf8a0.79528414_HD.mp4 could not be decoded, error: Error Code: NS_ERROR_DOM_MEDIA_DECODE_ERR (0x806e0004)
Details: mozilla::MediaResult mozilla::AppleATDecoder::DecodeSample(mozilla::MediaRawData *): Error decoding audio sample: 1650549857 @ 917333

The original media file is still good. I can re-encode the videos but is there a way to make it so this doesn't happen again?

Can you try another browser ?
Can you try Chrome ?

in Summary. You encoded some video's mp4 with an encoder. After that it was working fine. And from last week you have data errors. Looking at the data stamp of the file it was created on 14 April. So no changes by the OS/website after that.
That can mean there is a disk corruption. Did you do a file check or looked for other errors on your disk?

@joshuanoyce it really looks like to me the source file is corrupted, where did you get this video from?

is it a local file?

test it if it plays with no problem.
try to upload again.

As @ronaldod said, there is a good chance to be a disk corruption.

yep , I've downloaded the video , and it's corrupted

it was a local file that I have encoded. I re-encoded it and now it is working.

another video got corrupted. using digital ocean. any way to stop this from keep happening?

We have to find out why is corrupting.

Maybe it is the video source that is already corrupted. make sure the source file is playing fine.

If is your encoder, you may find something on the encoder log file.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

hrt644 picture hrt644  路  3Comments

ganddser picture ganddser  路  3Comments

syldri picture syldri  路  3Comments

matthall1998 picture matthall1998  路  4Comments

willpower68 picture willpower68  路  3Comments