up2university / eduoer

0 stars 0 forks source link

Videos From Plymouth University don't play #21

Closed lionick closed 5 years ago

lionick commented 5 years ago

I saw that in console

screenshot from 2019-02-07 12-01-25

Can we fix that? @vgoya

rubenrua commented 5 years ago

Links:

ffprobe output ``` ffprobe "http://content.upmedia.plymouth.ac.uk/upmedia/flash/f8ba3ee673e4f48d_hi.mp4" ffprobe version 3.4.4-0ubuntu0.18.04.1 Copyright (c) 2007-2018 the FFmpeg developers built with gcc 7 (Ubuntu 7.3.0-16ubuntu3) configuration: --prefix=/usr --extra-version=0ubuntu0.18.04.1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --enable-gpl --disable-stripping --enable-avresample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librubberband --enable-librsvg --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-omx --enable-openal --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libopencv --enable-libx264 --enable-shared WARNING: library configuration mismatch avcodec configuration: --prefix=/usr --extra-version=0ubuntu0.18.04.1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --enable-gpl --disable-stripping --enable-avresample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librubberband --enable-librsvg --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-omx --enable-openal --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libopencv --enable-libx264 --enable-shared --enable-version3 --disable-doc --disable-programs --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libtesseract --enable-libvo_amrwbenc libavutil 55. 78.100 / 55. 78.100 libavcodec 57.107.100 / 57.107.100 libavformat 57. 83.100 / 57. 83.100 libavdevice 57. 10.100 / 57. 10.100 libavfilter 6.107.100 / 6.107.100 libavresample 3. 7. 0 / 3. 7. 0 libswscale 4. 8.100 / 4. 8.100 libswresample 2. 9.100 / 2. 9.100 libpostproc 54. 7.100 / 54. 7.100 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'http://content.upmedia.plymouth.ac.uk/upmedia/flash/f8ba3ee673e4f48d_hi.mp4': Metadata: major_brand : 3gs6 minor_version : 0 compatible_brands: 3gs63gr63gg63gp5isom Duration: 00:01:44.79, start: 0.000000, bitrate: 857 kb/s Stream #0:0(und): Video: h264 (Baseline) (avc1 / 0x31637661), yuv420p, 640x360, 680 kb/s, 25 fps, 25 tbr, 90k tbn, 180k tbc (default) Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 127 kb/s (default) Stream #0:2(und): Data: none (rtp / 0x20707472), 28 kb/s (default) Stream #0:3(und): Data: none (rtp / 0x20707472), 18 kb/s (default) Unsupported codec with id 0 for input stream 2 Unsupported codec with id 0 for input stream 3 ```
rubenrua commented 5 years ago

Tested:

rubenrua commented 5 years ago

About firefox:

HTTP “Content-Type” of “video/3gpp” is not supported. Load of media resource https://eduoer.up2university.eu/trackfile/5c5ac546e11a28045d8b4aa3.mp4 failed.
Alfro commented 5 years ago

To sum up, this format is not supported by firefox (video/3gpp). Also, the ARIADNE endpoint says the format is video/mp4.

Normally we hide unsupported formats (like .flv videos) but in this case we can't because we are trusting the ARIADNE info.

Could ARIADNE figure out the real mimetype? That way those videos would be hidden in the platform.

Alfro commented 5 years ago

To sum up, this format is not supported by firefox (video/3gpp). Also, the ARIADNE endpoint says the format is video/mp4.

Normally we hide unsupported formats (like .flv videos) but in this case we can't because we are trusting the ARIADNE info.

Could ARIADNE figure out the real mimetype? That way those videos would be hidden in the platform.

Tested:

* Google Chrome 72: ✓

* Firefox 65: ✗

* Safari: ✓

* Edge: TODO

Also, they can't be played on the eduOER android app either.

lionick commented 5 years ago

Hello @Alfro, I removed PLYMOUTH_UNIVERSITY from ARIADNE as all videos have video/3gpp format. Thanks. So you can remove it from eduOER also.

lionick commented 5 years ago

When you remove PLYMOUTH_UNIVERSITY, please remove also NSF repository as its videos seem to be broken links.

Alfro commented 5 years ago

Hi @lionick both repositories should now be removed.

lionick commented 5 years ago

Thank you Alfonso!