
Recherche avancée
Autres articles (35)
-
Encodage et transformation en formats lisibles sur Internet
10 avril 2011MediaSPIP transforme et ré-encode les documents mis en ligne afin de les rendre lisibles sur Internet et automatiquement utilisables sans intervention du créateur de contenu.
Les vidéos sont automatiquement encodées dans les formats supportés par HTML5 : MP4, Ogv et WebM. La version "MP4" est également utilisée pour le lecteur flash de secours nécessaire aux anciens navigateurs.
Les documents audios sont également ré-encodés dans les deux formats utilisables par HTML5 :MP3 et Ogg. La version "MP3" (...) -
Monitoring de fermes de MediaSPIP (et de SPIP tant qu’à faire)
31 mai 2013, parLorsque l’on gère plusieurs (voir plusieurs dizaines) de MediaSPIP sur la même installation, il peut être très pratique d’obtenir d’un coup d’oeil certaines informations.
Cet article a pour but de documenter les scripts de monitoring Munin développés avec l’aide d’Infini.
Ces scripts sont installés automatiquement par le script d’installation automatique si une installation de munin est détectée.
Description des scripts
Trois scripts Munin ont été développés :
1. mediaspip_medias
Un script de (...) -
Publier sur MédiaSpip
13 juin 2013Puis-je poster des contenus à partir d’une tablette Ipad ?
Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir
Sur d’autres sites (5397)
-
Matomo SSO options and why is it useful ?
8 novembre 2017, par Matomo Core Team — PluginsBored with typing again and again different logins and passwords for each service you have access to ? Would you like to add hundreds or thousands of users with different roles to your Matomo (Piwik) at once ? Would you like to save time and effort of managing your users while increasing the security in your business ? Guess what, Matomo has come up with great features to do just that.
But what is a SSO ?
Before introducing you to new Matomo (Piwik) features, let me explain what a SSO is.
SSO is the acronym for Single Sign On. As its name suggests this authentication process allows a user to access multiple applications with one set of login credentials.Advantages of using a SSO are numerous :
- improving security, for example when an employee is leaving your company, how can you check that all his credentials have been removed ?
- reducing employees time-wasters such as having to enter logins/passwords each time.
- providing a centralized database for administrators. They can then easily manage permissions of all employees saving them heaps of time.
- reduces support costs related to authentication / accounts management.
In order to provide SSO options, two Matomo (Piwik) plugins have been developed and are available on the marketplace :
SAML
SAML stands for “Security Assertion Markup Language”, it is a standard in order to exchange authentication and authorization between an identity provider (OneLogin, Okta, Ping Identity, ADFS, Google, Salesforce, SharePoint…) and a service provider.
An identity provider is an online service that authenticates users on the Internet by using security tokens.Are you wondering if your business or organization is using any of these providers ? We recommend to ask your operations team or sysadmin.
At InnoCraft, we developed a plugin in order to allow SSO with SAML for Matomo (Piwik). It can ensure consistent access control across the enterprise and external providers, potentially reducing support costs related to authentication and accounts management.
The installation process is straightforward. All you need is to get the SAML premium feature from the marketplace. Once installed, you will access the SAML configuration interface through the admin where you can configure various settings :
- SAML Status
- Identity Provider (Entity ID, SSO endpoint info, Public x509 certificate)
- Just-in-time provisioning and Mapping attributes
- Access Synchronization
- Advanced settings
From there you will need to follow our detailed documentation to have it up and running :
https://matomo.org/docs/login-saml/.
Once finished, you will then be able to use SAML to authenticate to your Matomo (Piwik) account :As all premium features, SAML is eligible to a 30-day period money back guarantee, so do not hesitate to have it a try.
LDAP
LDAP stands for Lightweight Directory Access Protocol. As its names implies LDAP is a directory, hosted on a server, which organizes the data about people in your company.
Thanks to the LDAP plugin, Matomo (Piwik) can be connected to your LDAP infrastructure and then use all its power in order to give each individual an access with different rights according to their needs.Let’s say that you have 1,000 employees within a company and they all need right now an access to the analytics reports in Matomo (Piwik) with different roles. This is what LDAP can do.
Moreover if your business or organization is already using LDAP, we recommend using the LDAP connector for Matomo (Piwik) for better security, to stop wasting time of your users and sysadmins, and to reduce the costs related to account management.
You understood it well. LDAP is a plugin which saves a LOT of time within an organization. Here is a preview of the settings part :
LDAP has been developed by the Matomo (Piwik) core team and is available as a Free plugin on the marketplace.
If you are surprised by the possibilities that Matomo (Piwik) is offering in terms of plugins, the good news is that many other plugins are waiting for you on the marketplace. Check out our premium marketplace which offers state-of-the-art plugins to get the most out of Matomo.
And if you are a developer feel free to create your own plugin, a detailed documentation is available at : https://developer.matomo.org/guides/getting-started-part-1.
-
Cut video command producing only audio
12 février 2018, par SandeepI am using
ffmpeg
in Android app and my command code looks like :final String[] command=new String[]{"-i",inputFileName , "-ss",
String.valueOf(duration) , "-codec","copy", "-t",String.valueOf(start) , outputFileName};The logcat contains following ffmpeg output which shows video as
0kB
in last line. Where should I look for fixing this because the final output file is a mp4 file but the video content is missing and only audio is present for the trimmed duration :02-12 17:22:43.837 25335-25335/service D/FFmpeg: Started command : ffmpeg ffmpeg version n3.4.1 Copyright (c) 2000-2017 the FFmpeg developers
02-12 17:22:43.837 25335-25335/service D/FFmpeg: Started command : ffmpeg built with gcc 4.9.x (GCC) 20150123 (prerelease)
02-12 17:22:43.837 25335-25335/service D/FFmpeg: Started command : ffmpeg configuration: --target-os=linux --cross-prefix=/root/bravobit/ffmpeg-android/toolchain-android/bin/i686-linux-android- --arch=x86 --cpu=i686 --enable-runtime-cpudetect --sysroot=/root/bravobit/ffmpeg-android/toolchain-android/sysroot --disable-asm --enable-pic --enable-libx264 --enable-libfreetype --enable-libmp3lame --enable-libvorbis --enable-libvpx --enable-libopus --enable-pthreads --disable-debug --disable-ffserver --enable-version3 --enable-hardcoded-tables --disable-ffplay --disable-linux-perf --disable-doc --disable-shared --enable-static --enable-runtime-cpudetect --enable-nonfree --enable-network --enable-avresample --enable-avformat --enable-avcodec --enable-indev=lavfi --enable-hwaccels --enable-ffmpeg --enable-zlib --enable-gpl --enable-small --disable-asm --pkg-config=/root/bravobit/ffmpeg-android/ffmpeg-pkg-config --prefix=/root/bravobit/ffmpeg-android/build/x86 --extra-cflags='-I/root/bravobit/ffmpeg-android/toolchain-android/include -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fno-strict-overflow -fstack-protector-all -march=i686' --extra-ldflags='-L/root/bravobit/ffmpeg-android/toolchain-android/lib -Wl,-z,relro -Wl,-z,now -pie' --extra-cxxflags= --extra-libs='-lpng -lx264 -lm -logg'
02-12 17:22:43.837 25335-25335/service D/FFmpeg: Started command : ffmpeg libavutil 55. 78.100 / 55. 78.100
02-12 17:22:43.837 25335-25335/service D/FFmpeg: Started command : ffmpeg libavcodec 57.107.100 / 57.107.100
02-12 17:22:43.837 25335-25335/service D/FFmpeg: Started command : ffmpeg libavformat 57. 83.100 / 57. 83.100
02-12 17:22:43.837 25335-25335/service D/FFmpeg: Started command : ffmpeg libavdevice 57. 10.100 / 57. 10.100
02-12 17:22:43.837 25335-25335/service D/FFmpeg: Started command : ffmpeg libavfilter 6.107.100 / 6.107.100
02-12 17:22:43.838 25335-25335/service D/FFmpeg: Started command : ffmpeg libavresample 3. 7. 0 / 3. 7. 0
02-12 17:22:43.838 25335-25335/service D/FFmpeg: Started command : ffmpeg libswscale 4. 8.100 / 4. 8.100
02-12 17:22:43.838 25335-25335/service D/FFmpeg: Started command : ffmpeg libswresample 2. 9.100 / 2. 9.100
02-12 17:22:43.838 25335-25335/service D/FFmpeg: Started command : ffmpeg libpostproc 54. 7.100 / 54. 7.100
02-12 17:22:43.902 25335-25335/service D/FFmpeg: Started command : ffmpeg Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/storage/emulated/0/DCIM/SampleVideo_1280x720_1mb.mp4':
02-12 17:22:43.902 25335-25335/service D/FFmpeg: Started command : ffmpeg Metadata:
02-12 17:22:43.902 25335-25335/service D/FFmpeg: Started command : ffmpeg major_brand : isom
02-12 17:22:43.902 25335-25335/service D/FFmpeg: Started command : ffmpeg minor_version : 512
02-12 17:22:43.902 25335-25335/service D/FFmpeg: Started command : ffmpeg compatible_brands: isomiso2avc1mp41
02-12 17:22:43.902 25335-25335/service D/FFmpeg: Started command : ffmpeg creation_time : 1970-01-01T00:00:00.000000Z
02-12 17:22:43.902 25335-25335/service D/FFmpeg: Started command : ffmpeg encoder : Lavf53.24.2
02-12 17:22:43.902 25335-25335/service D/FFmpeg: Started command : ffmpeg Duration: 00:00:05.31, start: 0.000000, bitrate: 1589 kb/s
02-12 17:22:43.902 25335-25335/service D/FFmpeg: Started command : ffmpeg Stream #0:0(und): Video: h264 (avc1 / 0x31637661), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 1205 kb/s, 25 fps, 25 tbr, 12800 tbn, 50 tbc (default)
02-12 17:22:43.902 25335-25335/service D/FFmpeg: Started command : ffmpeg Metadata:
02-12 17:22:43.902 25335-25335/service D/FFmpeg: Started command : ffmpeg creation_time : 1970-01-01T00:00:00.000000Z
02-12 17:22:43.902 25335-25335/service D/FFmpeg: Started command : ffmpeg handler_name : VideoHandler
02-12 17:22:43.902 25335-25335/service D/FFmpeg: Started command : ffmpeg Stream #0:1(und): Audio: aac (mp4a / 0x6134706D), 48000 Hz, 5.1, fltp, 384 kb/s (default)
02-12 17:22:43.902 25335-25335/service D/FFmpeg: Started command : ffmpeg Metadata:
02-12 17:22:43.902 25335-25335/service D/FFmpeg: Started command : ffmpeg creation_time : 1970-01-01T00:00:00.000000Z
02-12 17:22:43.902 25335-25335/service D/FFmpeg: Started command : ffmpeg handler_name : SoundHandler
02-12 17:22:43.902 25335-25335/service D/FFmpeg: Started command : ffmpeg Output #0, mp4, to '/storage/emulated/0/VideoTriming/20180212_172243SampleVideo_1280x720_1mb.mp4':
02-12 17:22:43.902 25335-25335/service D/FFmpeg: Started command : ffmpeg Metadata:
02-12 17:22:43.902 25335-25335/service D/FFmpeg: Started command : ffmpeg major_brand : isom
02-12 17:22:43.902 25335-25335/service D/FFmpeg: Started command : ffmpeg minor_version : 512
02-12 17:22:43.903 25335-25335/service D/FFmpeg: Started command : ffmpeg compatible_brands: isomiso2avc1mp41
02-12 17:22:43.903 25335-25335/service D/FFmpeg: Started command : ffmpeg encoder : Lavf57.83.100
02-12 17:22:43.903 25335-25335/service D/FFmpeg: Started command : ffmpeg Stream #0:0(und): Video: h264 (avc1 / 0x31637661), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], q=2-31, 1205 kb/s, 25 fps, 25 tbr, 12800 tbn, 12800 tbc (default)
02-12 17:22:43.903 25335-25335/service D/FFmpeg: Started command : ffmpeg Metadata:
02-12 17:22:43.903 25335-25335/service D/FFmpeg: Started command : ffmpeg creation_time : 1970-01-01T00:00:00.000000Z
02-12 17:22:43.903 25335-25335/service D/FFmpeg: Started command : ffmpeg handler_name : VideoHandler
02-12 17:22:43.903 25335-25335/service D/FFmpeg: Started command : ffmpeg Stream #0:1(und): Audio: aac (mp4a / 0x6134706D), 48000 Hz, 5.1, fltp, 384 kb/s (default)
02-12 17:22:43.903 25335-25335/service D/FFmpeg: Started command : ffmpeg Metadata:
02-12 17:22:43.903 25335-25335/service D/FFmpeg: Started command : ffmpeg creation_time : 1970-01-01T00:00:00.000000Z
02-12 17:22:43.903 25335-25335/service D/FFmpeg: Started command : ffmpeg handler_name : SoundHandler
02-12 17:22:43.903 25335-25335/service D/FFmpeg: Started command : ffmpeg Stream mapping:
02-12 17:22:43.903 25335-25335/service D/FFmpeg: Started command : ffmpeg Stream #0:0 -> #0:0 (copy)
02-12 17:22:43.903 25335-25335/service D/FFmpeg: Started command : ffmpeg Stream #0:1 -> #0:1 (copy)
02-12 17:22:43.903 25335-25335/service D/FFmpeg: Started command : ffmpeg Press [q] to stop, [?] for help
02-12 17:22:43.910 25335-25335/service D/FFmpeg: Started command : ffmpeg frame= 0 fps=0.0 q=-1.0 Lsize= 46kB time=00:00:00.98 bitrate= 387.1kbits/s speed= 115x
02-12 17:22:43.910 25335-25335/service D/FFmpeg: Started command : ffmpeg video:0kB audio:46kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 2.145508%My input file is the first 1MB mp4 sample video downloaded from following website :
-
Video parameters for best web scrolling performance [duplicate]
22 février 2018, par bivenThis question already has an answer here :
There is web application which provides next workflow. User uploads video -> backend(by using ffmpeg) transform this video for smaller size(320x240) -> web browser plays transformed video. Key feature of this application should be excellent scrolling possibility of video by progress bar. I mean that video should be scrolled as smoothly as possible (without any jumps) when user moves progress bar position back and forward.
I thought that small size of video helps to provide good scrolling possibility. But that’s incorrect. I have 2 different videos, one scrolling perfect(as I want), second has same resolotion(320x240), but it is scrolling with jumps and breaks.
By ffprobe I compared both videos and I have next results :
Video 1(good scrolling) :
libavutil 56. 7.100 / 56. 7.100
libavcodec 58. 9.100 / 58. 9.100
libavformat 58. 5.100 / 58. 5.100
libavdevice 58. 0.101 / 58. 0.101
libavfilter 7. 11.101 / 7. 11.101
libswscale 5. 0.101 / 5. 0.101
libswresample 3. 0.101 / 3. 0.101
libpostproc 55. 0.100 / 55. 0.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'spacetestSMALL_512kb.mp4':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: mp41
creation_time : 1970-01-01T00:00:00.000000Z
title : small test video - http://www.archive.org/details/alanoakleysmalltestvideo
encoder : Lavf51.10.0
comment : license: http://www.copyright.gov/
Duration: 00:00:48.32, start: 0.000000, bitrate: 555 kb/s
Stream #0:0(und): Video: h264 (Constrained Baseline) (avc1 / 0x31637661), yuv420p, 320x240, 505 kb/s, 25 fps, 25 tbr, 25 tbn, 50 tbc (default)
Metadata:
creation_time : 1970-01-01T00:00:00.000000Z
handler_name : VideoHandler
Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 45 kb/s (default)
Metadata:
creation_time : 1970-01-01T00:00:00.000000Z
handler_name : SoundHandlerVideo 2(bad scrolling) :
libavutil 56. 7.100 / 56. 7.100
libavcodec 58. 9.100 / 58. 9.100
libavformat 58. 5.100 / 58. 5.100
libavdevice 58. 0.101 / 58. 0.101
libavfilter 7. 11.101 / 7. 11.101
libswscale 5. 0.101 / 5. 0.101
libswresample 3. 0.101 / 3. 0.101
libpostproc 55. 0.100 / 55. 0.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'e10b1c93-5325-4500-ae7c-12ccd0f617bd.mp4':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
encoder : Lavf58.5.100
Duration: 00:00:07.96, start: 0.000000, bitrate: 428 kb/s
Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 320x240 [SAR 4:3 DAR 16:9], 391 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, mono, fltp, 33 kb/s (default)
Metadata:
handler_name : SoundHandlerWhat is the key parameter of video which provide possibility for good scrolling in web browser ?