
Recherche avancée
Médias (1)
-
The Slip - Artworks
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Texte
Autres articles (103)
-
XMP PHP
13 mai 2011, parDixit Wikipedia, XMP signifie :
Extensible Metadata Platform ou XMP est un format de métadonnées basé sur XML utilisé dans les applications PDF, de photographie et de graphisme. Il a été lancé par Adobe Systems en avril 2001 en étant intégré à la version 5.0 d’Adobe Acrobat.
Étant basé sur XML, il gère un ensemble de tags dynamiques pour l’utilisation dans le cadre du Web sémantique.
XMP permet d’enregistrer sous forme d’un document XML des informations relatives à un fichier : titre, auteur, historique (...) -
HTML5 audio and video support
13 avril 2011, parMediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
For older browsers the Flowplayer flash fallback is used.
MediaSPIP allows for media playback on major mobile platforms with the above (...) -
ANNEXE : Les plugins utilisés spécifiquement pour la ferme
5 mars 2010, parLe site central/maître de la ferme a besoin d’utiliser plusieurs plugins supplémentaires vis à vis des canaux pour son bon fonctionnement. le plugin Gestion de la mutualisation ; le plugin inscription3 pour gérer les inscriptions et les demandes de création d’instance de mutualisation dès l’inscription des utilisateurs ; le plugin verifier qui fournit une API de vérification des champs (utilisé par inscription3) ; le plugin champs extras v2 nécessité par inscription3 (...)
Sur d’autres sites (13017)
-
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 :
-
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.
-
ffmpeg trying to remove the first few seconds of video
4 janvier 2018, par zeroasteriskI’m trying to remove a few seconds off the front of a video stream (audio already excluded), and I’m getting strange results : I would think that for every second I increase -ss by, the resulting file would be a second shorter... that doesn’t seem to be the case.
original ==> 01:04:52.84
-ss 19 ==> 01:04:42.84 (diff = 10) [command history shown below]
-ss 20 ==> 01:04:32.84 (diff = 20) [command history shown below]
-ss 21 ==> 01:04:32.84 (diff = 20)
-ss 25 ==> 01:04:32.84 (diff = 20)
-ss 0:0:25.0 ==> 01:04:32.84 (diff = 20)
-ss 0:0:25.5 ==> 01:04:32.84 (diff = 20) [command history shown below]Command :
ffmpeg -ss # -i temp.mp4 -y -vcodec copy temp_croppedFromStart.mp4
Here’s the command history for 19 & 20
# ffmpeg -ss 19 -i temp.mp4 -y -vcodec copy temp_croppedFromStart.mp4; ffmpeg -i temp.mp4 2>&1 | grep Duration; ffmpeg -i temp_croppedFromStart.mp4 2>&1 | grep Duration
ffmpeg version N-31809-g9acffed, Copyright (c) 2000-2011 the FFmpeg developers
built on Aug 10 2011 21:25:11 with gcc 4.4.5
configuration: --enable-gpl --enable-version3 --enable-nonfree --enable-postproc --enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxvid --enable-x11grab
libavutil 51. 11. 1 / 51. 11. 1
libavcodec 53. 10. 0 / 53. 10. 0
libavformat 53. 6. 0 / 53. 6. 0
libavdevice 53. 2. 0 / 53. 2. 0
libavfilter 2. 28. 1 / 2. 28. 1
libswscale 2. 0. 0 / 2. 0. 0
libpostproc 51. 2. 0 / 51. 2. 0
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'temp.mp4':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
creation_time : 1970-01-01 00:00:00
encoder : Lavf53.6.0
Duration: 01:04:52.84, start: 0.000000, bitrate: 553 kb/s
Stream #0.0(und): Video: h264 (Constrained Baseline), yuv420p, 960x640, 552 kb/s, 25 fps, 25 tbr, 25 tbn, 50 tbc
Metadata:
creation_time : 1970-01-01 00:00:00
Output #0, mp4, to 'temp_croppedFromStart.mp4':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
creation_time : 1970-01-01 00:00:00
encoder : Lavf53.6.0
Stream #0.0(und): Video: libx264, yuv420p, 960x640, q=2-31, 552 kb/s, 25 tbn, 25 tbc
Metadata:
creation_time : 1970-01-01 00:00:00
Stream mapping:
Stream #0.0 -> #0.0
Press [q] to stop, [?] for help
frame=97071 fps=42523 q=-1.0 Lsize= 262684kB time=01:04:33.84 bitrate= 555.5kbits/s
video:261923kB audio:0kB global headers:0kB muxing overhead 0.290418%
Duration: 01:04:52.84, start: 0.000000, bitrate: 553 kb/s
Duration: 01:04:42.84, start: 0.000000, bitrate: 554 kb/s
# ffmpeg -ss 20 -i temp.mp4 -y -vcodec copy temp_croppedFromStart.mp4; ffmpeg -i temp.mp4 2>&1 | grep Duration; ffmpeg -i temp_croppedFromStart.mp4 2>&1 | grep Duration
ffmpeg version N-31809-g9acffed, Copyright (c) 2000-2011 the FFmpeg developers
built on Aug 10 2011 21:25:11 with gcc 4.4.5
configuration: --enable-gpl --enable-version3 --enable-nonfree --enable-postproc --enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxvid --enable-x11grab
libavutil 51. 11. 1 / 51. 11. 1
libavcodec 53. 10. 0 / 53. 10. 0
libavformat 53. 6. 0 / 53. 6. 0
libavdevice 53. 2. 0 / 53. 2. 0
libavfilter 2. 28. 1 / 2. 28. 1
libswscale 2. 0. 0 / 2. 0. 0
libpostproc 51. 2. 0 / 51. 2. 0
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'temp.mp4':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
creation_time : 1970-01-01 00:00:00
encoder : Lavf53.6.0
Duration: 01:04:52.84, start: 0.000000, bitrate: 553 kb/s
Stream #0.0(und): Video: h264 (Constrained Baseline), yuv420p, 960x640, 552 kb/s, 25 fps, 25 tbr, 25 tbn, 50 tbc
Metadata:
creation_time : 1970-01-01 00:00:00
Output #0, mp4, to 'temp_croppedFromStart.mp4':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
creation_time : 1970-01-01 00:00:00
encoder : Lavf53.6.0
Stream #0.0(und): Video: libx264, yuv420p, 960x640, q=2-31, 552 kb/s, 25 tbn, 25 tbc
Metadata:
creation_time : 1970-01-01 00:00:00
Stream mapping:
Stream #0.0 -> #0.0
Press [q] to stop, [?] for help
frame=96821 fps=47168 q=-1.0 Lsize= 262003kB time=01:04:32.84 bitrate= 554.2kbits/s
video:261244kB audio:0kB global headers:0kB muxing overhead 0.290410%
Duration: 01:04:52.84, start: 0.000000, bitrate: 553 kb/s
Duration: 01:04:32.84, start: 0.000000, bitrate: 554 kb/s
# ffmpeg -ss 0:0:25.5 -i temp.mp4 -y -vcodec copy temp_croppedFromStart.mp4; ffmpeg -i temp.mp4 2>&1 | grep Duration; ffmpeg -i temp_croppedFromStart.mp4 2>&1 | grep Duration
ffmpeg version N-31809-g9acffed, Copyright (c) 2000-2011 the FFmpeg developers
built on Aug 10 2011 21:25:11 with gcc 4.4.5
configuration: --enable-gpl --enable-version3 --enable-nonfree --enable-postproc --enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxvid --enable-x11grab
libavutil 51. 11. 1 / 51. 11. 1
libavcodec 53. 10. 0 / 53. 10. 0
libavformat 53. 6. 0 / 53. 6. 0
libavdevice 53. 2. 0 / 53. 2. 0
libavfilter 2. 28. 1 / 2. 28. 1
libswscale 2. 0. 0 / 2. 0. 0
libpostproc 51. 2. 0 / 51. 2. 0
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'temp.mp4':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
creation_time : 1970-01-01 00:00:00
encoder : Lavf53.6.0
Duration: 01:04:52.84, start: 0.000000, bitrate: 553 kb/s
Stream #0.0(und): Video: h264 (Constrained Baseline), yuv420p, 960x640, 552 kb/s, 25 fps, 25 tbr, 25 tbn, 50 tbc
Metadata:
creation_time : 1970-01-01 00:00:00
Output #0, mp4, to 'temp_croppedFromStart.mp4':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
creation_time : 1970-01-01 00:00:00
encoder : Lavf53.6.0
Stream #0.0(und): Video: libx264, yuv420p, 960x640, q=2-31, 552 kb/s, 25 tbn, 25 tbc
Metadata:
creation_time : 1970-01-01 00:00:00
Stream mapping:
Stream #0.0 -> #0.0
Press [q] to stop, [?] for help
frame=96821 fps=45920 q=-1.0 Lsize= 262003kB time=01:04:27.32 bitrate= 555.0kbits/s
video:261244kB audio:0kB global headers:0kB muxing overhead 0.290424%
Duration: 01:04:52.84, start: 0.000000, bitrate: 553 kb/s
Duration: 01:04:32.84, start: 0.000000, bitrate: 554 kb/s