Page MenuHomePhabricator

Videos identified as audio by MediaWiki
Closed, InvalidPublic

Description

A video I uploaded, 4K Video Of US Fighter Jets in Action F 15, F 16, F 22 & F 35 4K Footage.webm appears to be identified as audio by MediaWiki. Same issue with this file.

Event Timeline

Looks like both video files are just broken?

$:acko\> wget https://upload.wikimedia.org/wikipedia/commons/e/e3/Draining_the_Oceans_NASA_video.webm
$:acko\> ffmpeg -i Draining_the_Oceans_NASA_video.webm 
ffmpeg version 4.2.2 Copyright (c) 2000-2019 the FFmpeg developers
[...]
[matroska,webm @ 0x56430695fa80] 0x00 at pos 64757 (0xfcf5) invalid as first byte of an EBML number
[matroska,webm @ 0x56430695fa80] Duplicate element
[matroska,webm @ 0x56430695fa80] 0x00 at pos 920 (0x398) invalid as first byte of an EBML number
[matroska,webm @ 0x56430695fa80] Duplicate element
[matroska,webm @ 0x56430695fa80] Element at 0x56 ending at 0x2aa6 exceeds containing master element ending at 0x1402
[matroska,webm @ 0x56430695fa80] 0x00 at pos 101 (0x65) invalid as first byte of an EBML number
[matroska,webm @ 0x56430695fa80] 0x00 at pos 5153 (0x1421) invalid as first byte of an EBML number
[matroska,webm @ 0x56430695fa80] 0x00 at pos 64757 (0xfcf5) invalid as first byte of an EBML number
Input #0, matroska,webm, from 'Draining_the_Oceans_NASA_video.webm':
  Metadata:
    encoder         : NewPipe
  Duration: N/A, start: 0.000000, bitrate: N/A
    Stream #0:0: Video: vp9 (Profile 0), yuv420p(tv, bt709), 3840x1920, SAR 1:1 DAR 2:1, 30 fps, 30 tbr, 1k tbn, 1k tbc (default)
    Stream #0:1: Audio: opus, 48000 Hz, stereo, fltp (default)
$:acko\> wget https://upload.wikimedia.org/wikipedia/commons/3/3b/4K_Video_Of_US_Fighter_Jets_in_Action_F_15%2C_F_16%2C_F_22_%26_F_35_4K_Footage.webm
$:acko\> ffmpeg -i 4K_Video_Of_US_Fighter_Jets_in_Action_F_15\,_F_16\,_F_22_\&_F_35_4K_Footage.webm 
ffmpeg version 4.2.2 Copyright (c) 2000-2019 the FFmpeg developers
[...]
[matroska,webm @ 0x55ae30bc8a80] 0x00 at pos 64733 (0xfcdd) invalid as first byte of an EBML number
[matroska,webm @ 0x55ae30bc8a80] Duplicate element
[matroska,webm @ 0x55ae30bc8a80] Element at 0x398 ending at 0x20777948e exceeds containing master element ending at 0x13f4
[matroska,webm @ 0x55ae30bc8a80] Duplicate element
[matroska,webm @ 0x55ae30bc8a80] Element at 0x56 ending at 0x2aa6 exceeds containing master element ending at 0x1402
[matroska,webm @ 0x55ae30bc8a80] 0x00 at pos 101 (0x65) invalid as first byte of an EBML number
[matroska,webm @ 0x55ae30bc8a80] 0x00 at pos 5153 (0x1421) invalid as first byte of an EBML number
[matroska,webm @ 0x55ae30bc8a80] 0x00 at pos 64733 (0xfcdd) invalid as first byte of an EBML number
Input #0, matroska,webm, from '4K_Video_Of_US_Fighter_Jets_in_Action_F_15,_F_16,_F_22_&_F_35_4K_Footage.webm':
  Metadata:
    encoder         : NewPipe
  Duration: N/A, start: 0.000000, bitrate: N/A
    Stream #0:0: Video: vp9 (Profile 0), yuv420p(tv, bt709/unknown/unknown), 3840x2160, SAR 1:1 DAR 16:9, 29 fps, 29 tbr, 1k tbn, 1k tbc (default)
    Stream #0:1: Audio: opus, 48000 Hz, stereo, fltp (default)
$:acko\>

The video runs perfectly from url, only an issue with the player on site. https://upload.wikimedia.org/wikipedia/commons/e/e3/Draining_the_Oceans_NASA_video.webm .
I using Android 10 Chrome/80.0.3987.117. video runs perfect using vlc.

There will always be software which is more lenient than some other software when dealing with broken input... :)

Screenshot from 2020-02-21 00-10-12.png (496×1 px, 112 KB)

@Aklapper , You are right I checked this using Firefox on a macbook, I got the same error. Should I close the task as invalid. Is it fine if I upload the broken videos using video2commons ? The re-encoding done by it seems to fix the video or at least it runs somehow.