
Recherche avancée
Médias (3)
-
Exemple de boutons d’action pour une collection collaborative
27 février 2013, par
Mis à jour : Mars 2013
Langue : français
Type : Image
-
Exemple de boutons d’action pour une collection personnelle
27 février 2013, par
Mis à jour : Février 2013
Langue : English
Type : Image
-
Collections - Formulaire de création rapide
19 février 2013, par
Mis à jour : Février 2013
Langue : français
Type : Image
Autres articles (26)
-
MediaSPIP v0.2
21 juin 2013, parMediaSPIP 0.2 est la première version de MediaSPIP stable.
Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Comme pour la version précédente, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...) -
Mise à disposition des fichiers
14 avril 2011, parPar défaut, lors de son initialisation, MediaSPIP ne permet pas aux visiteurs de télécharger les fichiers qu’ils soient originaux ou le résultat de leur transformation ou encodage. Il permet uniquement de les visualiser.
Cependant, il est possible et facile d’autoriser les visiteurs à avoir accès à ces documents et ce sous différentes formes.
Tout cela se passe dans la page de configuration du squelette. Il vous faut aller dans l’espace d’administration du canal, et choisir dans la navigation (...) -
MediaSPIP version 0.1 Beta
16 avril 2011, parMediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)
Sur d’autres sites (4432)
-
Anomalie #3814 : Onglet {Mes articles} erroné en SPIP3.0
9 août 2016, par Olivier DutertreJ’ai effectivement un ensemble de plugins installés, mais j’ai déja pu
évacuer agenda et inscription 2.5 comme source puisqu’un autre
internaute à testé avec ces deux plugins et ne reproduis pas.Le 09/08/2016 21:01, redmine@spip.org a écrit :
La demande #3814 a été mise à jour par Pierre KUHN.
Bonsoir,
Tu utilises des plugins précis pour avoir ce problème ?
Anomalie #3814 : Onglet Mes articles erroné en SPIP3.0
<https://core.spip.net/issues/3814#change-11946>- Auteur : Olivier Dutertre
- Statut : Nouveau
- Priorité : Normal
- Assigné à :
- Catégorie : base de données
- Version cible : 3.0
- Resolution :
- Navigateur :
Je rencontre le soucis avec SPIP 3.0.22 reproduis sur deux versions du
même site (prod et dev). Je n’ai pas eu de réponse sur la liste.
J’ignore si ici est le bon endroit pour signaler ce genre de problème,
alors merci de votre bienveillance.Dans la partie privée, l’onglet /mes articles/ de la page /articles/
affiche des information incorrectes, c’est à dire des article qui ne
sont pas forcément de l’auteur passé en paramètre.En explorant avec le mode debug, voila ce que j’ai découvert :
la boucle telle que prévue initialement est :
Elle donne le code suivant :
SELECT articles.id_article, 0 as points, ’’, articles.titre, articles.statut, articles.id_rubrique, articles.titre AS titre_rang, articles.lang, articles.date, articles.id_rubrique, articles.id_article
FROM info_articles AS `articles`
INNER JOIN info_evenements AS L2 ON ( L2.id_article = articles.id_article )
WHERE (L2.id_auteur = 3)
AND ((articles.statut IN (’prepa’,’publie’,’refuse’,’prepa’)))
GROUP BY articles.id_article
ORDER BY articles.date DESC, articles.titreJe ne comprends pas la raison du recours à la table événements. et j’y
vois une raison des résultats aberrant de la boucleSi par contre Je modifie la boucle avec une jointure :
auteurs_liens)id_article ?id_rubrique ?id_mot ?id_auteur ?where ?statut ?recherche ?tri #ENVpar,date,#GETdefaut_tripar titrepagination #ENVnb,10 !lang_select>
Cela me donne un code plus encourageant :
SELECT articles.id_article, 0 as points, ’’, articles.titre, articles.statut, articles.id_rubrique, articles.titre AS titre_rang, articles.lang, articles.date, articles.id_rubrique, articles.id_article
FROM info_articles AS `articles`
INNER JOIN info_auteurs_liens AS L2 ON ( L2.id_objet = articles.id_article AND L2.objet=’article’)
WHERE (L2.id_auteur = 3)
AND ((articles.statut IN (’prepa’,’publie’,’refuse’,’prepa’)))
GROUP BY articles.id_article
ORDER BY articles.date DESC, articles.titreet surtout le résultat est conforme à mes attentes.
Quelqu’un pourra-t’il éclaircir la raison de ce mystère ?
Vous recevez ce mail car vous êtes impliqués sur ce projet.
Pour changer les préférences d’envoi de mail, allez sur
http://core.spip.org/my/account -
FFmpeg : jpeg scaling on amazone linux
8 août 2016, par VovikI have a need to rescale a jpg image in command line. And I use ffmpeg for that :
ffmpeg -loglevel debug -i photo.jpg -vf scale=1920:1080 photo_scaled.jpg
It works perfectly on my work Mac and gives following output :
Splitting the commandline.
Reading option '-loglevel' ... matched as option 'loglevel' (set logging level) with argument 'debug'.
Reading option '-i' ... matched as input file with argument 'photo.jpg'.
Reading option '-vf' ... matched as option 'vf' (set video filters) with argument 'scale=1920:1080'.
Reading option 'photo_scaled.jpg' ... matched as output file. Finished splitting the commandline.
Parsing a group of options: global .
Applying option loglevel (set logging level) with argument debug. Successfully parsed a group of options.
Parsing a group of options: input file photo.jpg. Successfully parsed a group of options.
Opening an input file: photo.jpg.
[png_pipe @ 0x7fd221810600] Format png_pipe probed with size=2048 and score=99
[png_pipe @ 0x7fd221810600] Before avformat_find_stream_info() pos: 0 bytes read:32768 seeks:0
[png_pipe @ 0x7fd221810600] After avformat_find_stream_info() pos: 303755 bytes read:303755 seeks:0 frames:1 Input #0, png_pipe, from 'photo.jpg':
Duration: N/A, bitrate: N/A
Stream #0:0, 1, 1/25: Video: png, 1 reference frame, rgb24(pc), 905x509 (0x0), 1/25, 25 tbr, 25 tbn, 25 tbc
Successfully opened the file.
Parsing a group of options: output file photo_scaled.jpg.
Applying option vf (set video filters) with argument scale=1920:1080. Successfully parsed a group of options.
Opening an output file: photo_scaled.jpgBut on amazone server it gives me the following :
Splitting the commandline.
Reading option '-loglevel' ... matched as option 'loglevel' (set logging level) with argument 'debug'.
Reading option '-i' ... matched as input file with argument 'photo.jpg'.
Reading option '-vf' ... matched as option 'vf' (set video filters) with argument 'scale=1920:1080'.
Reading option 'photo_scaled.jpg' ... matched as output file.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option loglevel (set logging level) with argument debug.
Successfully parsed a group of options.
Parsing a group of options: input file photo.jpg.
Successfully parsed a group of options.
Opening an input file: photo.jpg.
[AVIOContext @ 0x372f700] Statistics: 303755 bytes read, 0 seeks
[mjpeg @ 0x372c6a0] marker=f9 avail_size_in_buf=303444
[mjpeg @ 0x372c6a0] marker parser used 0 bytes (0 bits)
[mjpeg @ 0x372c6a0] marker=de avail_size_in_buf=303438
[mjpeg @ 0x372c6a0] marker parser used 0 bytes (0 bits)
[mjpeg @ 0x372c6a0] marker=fd avail_size_in_buf=302501
[mjpeg @ 0x372c6a0] marker parser used 0 bytes (0 bits)
[mjpeg @ 0x372c6a0] marker=f3 avail_size_in_buf=298342
[mjpeg @ 0x372c6a0] marker parser used 0 bytes (0 bits)
[mjpeg @ 0x372c6a0] marker=f8 avail_size_in_buf=297965
[mjpeg @ 0x372c6a0] invalid id 248
[image2 @ 0x372b880] decoding for stream 0 failed
[image2 @ 0x372b880] Could not find codec parameters for stream 0 (Video: mjpeg): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
photo.jpg: could not find codec parametersAs I checked, the configuration of ffmpeg is different.
On linux :ffmpeg version N-63893-gc69defd
built on Jul 16 2014 05:38:01 with gcc 4.6 (Debian 4.6.3-1)
configuration: --prefix=/root/ffmpeg-static/64bit --extra-cflags='-I/root/ffmpeg-static/64bit/include -static' --extra-ldflags='-L/root/ffmpeg-static/64bit/lib -static' --extra-libs='-lxml2 -lexpat -lfreetype' --enable-static --disable-shared --disable-ffserver --disable-doc --enable-bzlib --enable-zlib --enable-postproc --enable-runtime-cpudetect --enable-libx264 --enable-gpl --enable-libtheora --enable-libvorbis --enable-libmp3lame --enable-gray --enable-libass --enable-libfreetype --enable-libopenjpeg --enable-libspeex --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-version3 --enable-libvpx
libavutil 52. 89.100 / 52. 89.100
libavcodec 55. 66.101 / 55. 66.101
libavformat 55. 43.100 / 55. 43.100
libavdevice 55. 13.101 / 55. 13.101
libavfilter 4. 8.100 / 4. 8.100
libswscale 2. 6.100 / 2. 6.100
libswresample 0. 19.100 / 0. 19.100
libpostproc 52. 3.100 / 52. 3.100On Mac :
ffmpeg version 2.8.5 Copyright (c) 2000-2016 the FFmpeg developers
built with Apple LLVM version 7.0.2 (clang-700.1.81)
configuration: --prefix=/usr/local/Cellar/ffmpeg/2.8.5 --enable-shared --enable-pthreads --enable-gpl --enable-version3 --enable-hardcoded-tables --enable-avresample --cc=clang --host-cflags= --host-ldflags= --enable-opencl --enable-libx264 --enable-libmp3lame --enable-libvo-aacenc --enable-libxvid --enable-vda
libavutil 54. 31.100 / 54. 31.100
libavcodec 56. 60.100 / 56. 60.100
libavformat 56. 40.101 / 56. 40.101
libavdevice 56. 4.100 / 56. 4.100
libavfilter 5. 40.101 / 5. 40.101
libavresample 2. 1. 0 / 2. 1. 0
libswscale 3. 1.101 / 3. 1.101
libswresample 1. 2.101 / 1. 2.101
libpostproc 53. 3.100 / 53. 3.100But what is specific to image scaling in the difference ? And how to make amazone linux’s version of ffmpeg work same way as Mac’s version (at least, in the case) ?
-
h264/aac encoded video not playing in Edge, but working Chrome and Firefox
7 août 2016, par FlaiI am trying to encode a video to use in the HTML5 video-Element. However, it doesn’t work in IE Edge on my PC. It does, however, work on :
- Chrome, Firefox
- My android smartphone (Chrome, Firefox)
I have two very similar files (one being the big bucks bunny trailer, the second being the video I’m trying to encode) :
Picture : Encoding-Settings
As you can see "1.mp4" is playing correctly, and "3.mp4" is not.
You can download the files here : 3.mp4 - change 3.mp4 to 1.mp4 to get the other video.
My ffmpeg-commandline is this :
ffmpeg.exe -i in.mp4 -c:v libx264 -movflags faststart -profile:v baseline -level 3.1 -preset slower -crf 30 -c:a copy 3.mp4
However, I have also tried :
ffmpeg.exe -i in.mp4 -c:v libx264 -profile:v baseline -level 3.1 -preset slower -crf 30 -c:a copy 3.mp4
and
ffmpeg.exe -i in.mp4 -c:v libx264 -preset slower -crf 30 -c:a copy 3.mp4
The output of ffprobe of the result is (for the file that works) :
$ ffprobe.exe 1.mp4
ffprobe version N-81045-g450cf40 Copyright (c) 2007-2016 the FFmpeg developers
built with gcc 5.4.0 (GCC)
configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-dxva2 --enable-libmfx --enable-nvenc --enable-avisynth --enable-bzlib --enable-libebur128 --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libzimg --enable-lzma --enable-decklink --enable-zlib
libavutil 55. 28.100 / 55. 28.100
libavcodec 57. 50.100 / 57. 50.100
libavformat 57. 42.100 / 57. 42.100
libavdevice 57. 0.102 / 57. 0.102
libavfilter 6. 47.100 / 6. 47.100
libswscale 4. 1.100 / 4. 1.100
libswresample 2. 1.100 / 2. 1.100
libpostproc 54. 0.100 / 54. 0.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '1.mp4':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
encoder : Lavf55.12.102
Duration: 00:00:33.05, start: 0.000000, bitrate: 891 kb/s
Stream #0:0(und): Video: h264 (Constrained Baseline) (avc1 / 0x31637661), yuv420p, 512x288, 770 kb/s, 25 fps, 25 tbr, 12800 tbn, 50 tbc (default)
Metadata:
handler_name : VideoHandler
Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 127 kb/s (default)
Metadata:
handler_name : SoundHandlerand for the file that doesn’t work :
$ ffprobe.exe 3.mp4
ffprobe version N-81045-g450cf40 Copyright (c) 2007-2016 the FFmpeg developers
built with gcc 5.4.0 (GCC)
configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-dxva2 --enable-libmfx --enable-nvenc --enable-avisynth --enable-bzlib --enable-libebur128 --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libzimg --enable-lzma --enable-decklink --enable-zlib
libavutil 55. 28.100 / 55. 28.100
libavcodec 57. 50.100 / 57. 50.100
libavformat 57. 42.100 / 57. 42.100
libavdevice 57. 0.102 / 57. 0.102
libavfilter 6. 47.100 / 6. 47.100
libswscale 4. 1.100 / 4. 1.100
libswresample 2. 1.100 / 2. 1.100
libpostproc 54. 0.100 / 54. 0.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '3.mp4':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
encoder : Lavf57.42.100
Duration: 00:00:13.10, start: 0.000000, bitrate: 2317 kb/s
Stream #0:0(und): Video: h264 (Constrained Baseline) (avc1 / 0x31637661), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 2143 kb/s, 60 fps, 60 tbr, 15360 tbn, 120 tbc (default)
Metadata:
handler_name : VideoHandler
Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 163 kb/s (default)
Metadata:
handler_name : SoundHandlerCan anyone point me in the right direction what the difference between the two videos is and how I can fix my ffmpeg command-line to play "3.mp4" in IE Edge ?