
Recherche avancée
Autres articles (102)
-
Ecrire une actualité
21 juin 2013, parPrésentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
Vous pouvez personnaliser le formulaire de création d’une actualité.
Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...) -
Formulaire personnalisable
21 juin 2013, parCette page présente les champs disponibles dans le formulaire de publication d’un média et il indique les différents champs qu’on peut ajouter. Formulaire de création d’un Media
Dans le cas d’un document de type média, les champs proposés par défaut sont : Texte Activer/Désactiver le forum ( on peut désactiver l’invite au commentaire pour chaque article ) Licence Ajout/suppression d’auteurs Tags
On peut modifier ce formulaire dans la partie :
Administration > Configuration des masques de formulaire. (...) -
Qu’est ce qu’un masque de formulaire
13 juin 2013, parUn masque de formulaire consiste en la personnalisation du formulaire de mise en ligne des médias, rubriques, actualités, éditoriaux et liens vers des sites.
Chaque formulaire de publication d’objet peut donc être personnalisé.
Pour accéder à la personnalisation des champs de formulaires, il est nécessaire d’aller dans l’administration de votre MediaSPIP puis de sélectionner "Configuration des masques de formulaires".
Sélectionnez ensuite le formulaire à modifier en cliquant sur sont type d’objet. (...)
Sur d’autres sites (8833)
-
How to sell Piwik services without any confusion ?
10 octobre 2017, par InnoCraft — PluginsAs you may know, Piwik is a Free software under the GPL license which guarantees you :
- The freedom to run the program for any purpose.
- The freedom to study how it works and change it.
- The freedom to improve the program, and release your changes.
- The freedom to redistribute it under the GPL license, and to sell it if you wish.
In this article we will focus on the Free aspect of Piwik, which is how to rebrand Piwik, how to offer your clients a better experience, and possibly how to make a profit from it ?
How to sell Piwik services as an agency ?
As a web analytics software, Piwik is often installed by web agencies when it comes to designing a brand new website for a given customer.
Most of the time agencies are using Piwik for the following reasons :- free of charge
- data ownership
- user privacy compliance
- feature rich while easy to use
- open source
Most of the agencies are charging their customers for the installation process, tracking code implementation, analysing reports to get insights about users… but do you know that you could also sell the software as your own brand ? This is where the “White Label” plugin, developed by the InnoCraft company, comes into play.
White labelling for Piwik
Creating a “white label” plugin came into the mind of InnoCraft founders when they realized that on any modern Piwik installation, the following components were visible :
- Piwik branded widgets within the dashboards
- Piwik marketplace plugin teasers on the admin page
- Piwik help and support pages
- the “Piwik” word in general
- Piwik Mobile app banners
Example of Piwik branded widgets
In order to remove all those mentions of Piwik and to start selling this web analytics under your own name, you can either hack Piwik on your own (it is going to take you some precious time and money) or have a look at the White Label plugin on the marketplace where InnoCraft has solved all the challenges already for you.
The White Label plugin is straightforward. Once downloaded and installed, you will have access to a dedicated interface where you will be able to change the Piwik name by a new custom brand of your choice :
Piwik White Label settings
Once you click Save, all “Piwik” mentions will be substituted by your company name/service :
Here the Piwik version is changed by the name of the company
How to make your installation even more customized ?
Few Piwik users know about this trick, but since 2014 the Piwik templates can be customized through Themes. You are free to design your own template, installing existing ones, or even monetize them through the marketplace :
A simple example of how Piwik can be easily customized, here fonts and colours are changed
If you want to know how you can tweak your existing template and make it match your brand and image, just follow our theme documentation. A simple theme with your colors can be built in a few minutes simply by defining different color codes. You can also browse the public themes on the Marketplace.
Tell us your story
If you are an agency or any business related in selling Piwik services, we recommend having a look at our FAQ for rebranding, selling, reusing, re-licensing, and including Piwik in my offering. Are you interested or already re-selling Piwik services ? We would love to hear your story and write a blog post about it.
Do not hesitate to contact the Piwik core team, we’re looking forward to hearing from you.
-
mpv / ffplay strungling with —lavfi-complex and -vf
26 novembre 2017, par MarcuzzzThis is what I’m trying to accomplish in mpv.
https://user-images.githubusercontent.com/7437046/33134083-130c2cc0-cf9f-11e7-8f8d-237297dc9c93.pngIt currently works with ffplay.
The code for it looks like this :LAVFI = ("movie='$MOVIE':streams=dv+da [video][audio]; " +
"[video]scale=512:-1, split=3[video1][video2][video3];" +
"[audio]asplit=[audio1][audio2]; " +
"[video1]format=nv12,waveform=graticule=green:mode=column:display=overlay:" +
"mirror=1:components=7:envelope=instant:intensity=0.2, " +
"scale=w=512:h=512:flags=neighbor, " +
"pad=w=812:h=812:color=gray [scopeout]; " +
"[video2]scale=512:-1:flags=neighbor[monitorout]; " +
"[audio1]ebur128=video=1:meter=18:framelog=verbose:peak=true[ebur128out][out1]; " +
"[ebur128out]scale=300:300:flags=fast_bilinear[ebur128scaledout]; " +
"[scopeout][ebur128scaledout]overlay=x=512:eval=init[videoandebu]; " +
"[audio2]avectorscope=s=301x301:r=10:zoom=5, " +
"drawgrid=x=149:y=149:t=2:color=green [vector]; " +
"[videoandebu][monitorout]overlay=y=512:eval=init[comp3]; " +
"[comp3][vector]overlay=x=512:y=300:eval=init, " +
"setdar=1/1, setsar=1/1, " +
"drawtext=fontfile='$FONT':timecode='$TIMECODE':" +
"r=$FPS:x=726:y=0:fontcolor=white[comp]; " +
"[video3]format=nv12,vectorscope=mode=color3, " +
"scale=1:1[vectorout]; "+
"[comp][vectorout]overlay=x=512:y=600:eval=init[out0]")I found it on Github :
https://github.com/Warblefly/FFmpeg-ScopeAfter experimenting a lot. I a came to understand it a bit...
This code works with python and mpv.LAVFI = "[aid1]asplit=3[audio1][audio2][audio3];" + \
"[audio1]avectorscope=s=640x640[audioscope];" + \
"[audio2]ebur128=video=1:meter=18[ebu][ao];" + \
"[audio3]showvolume[showv];" + \
"[vid1]scale=640:-1, split=4[video1][video2][video3][video4];" + \
"[video1]format=nv12[comp];" + \
"[video2]hflip[comp2];" + \
"[video3]format=nv12,[comp3]; " + \
"[comp][audioscope]overlay=y=-160[a];" + \
"[comp2][ebu]overlay[b];" + \
"[comp3][showv]overlay[c];" + \
"[video4][a]hstack=inputs=2[top]; " + \
"[b][c]hstack=inputs=2[bottom]; " + \
"[top][bottom]vstack=inputs=2[vo]"
dos_command = [MPV + 'mpv','--lavfi-complex',LAVFI,filename_raw]
subprocess.check_output(dos_command)But if I change [video3]format=nv12,[comp3] to [video3]waveform[comp3] or
[video3]vectorscope[comp3] it doesn’t work. If I change it to
[video3]negate[comp3] it works...So to explain the above code a bit :
First we split the the incoming audio 3 times.
Then we pass it to 3 measuring outputs... avectorscope, ebur128, showvolume.
I don’t understand ebur128=.....[ebu][ao] the "[ao]" bit...
Then we focus on the video, we split it 4 times.
I use "format", I don’t know exactly why...
Then we start overlay and stacking the "labels". -
Process to preview any video format inside the browser
11 octobre 2017, par NuzzobI have a simple app where the user can upload any video file to my server, come again later and stream the videos he uploaded.
The thing is, depending on the browser he is using, he will be able to play it, or not.
I was thinking of using ffmpeg when I receive a new video, in order to convert it into a format that will be readable by any browser.
- Is it the best option that I can have ?
- What is the most supported video format ? MP4 or WEBM ?
- How does Youtube, for example, handle this problematic ?
( I’m aware that I could also use DASH to adapt the video resolution to the user bandwidth, but for now I do not focus on that part )
If I effectively use ffmpeg, what’s the best command options I can use to make the conversion process faster without loosing to much of the video quality ? Is there a "magical ffmpeg command" that take any video in input and convert it into mp4 or webm ?
I’m also afraid that, with big videos like 700mo or so, it will take so long to convert.
Thank you !