
Recherche avancée
Autres articles (62)
-
L’agrémenter visuellement
10 avril 2011MediaSPIP est basé sur un système de thèmes et de squelettes. Les squelettes définissent le placement des informations dans la page, définissant un usage spécifique de la plateforme, et les thèmes l’habillage graphique général.
Chacun peut proposer un nouveau thème graphique ou un squelette et le mettre à disposition de la communauté. -
Les autorisations surchargées par les plugins
27 avril 2010, parMediaspip core
autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs -
Personnaliser les catégories
21 juin 2013, parFormulaire de création d’une catégorie
Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
On peut modifier ce formulaire dans la partie :
Administration > Configuration des masques de formulaire.
Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...)
Sur d’autres sites (12667)
-
Users Flow for Piwik : discover the most popular paths your users take through your website or app
14 décembre 2016, par InnoCraft — PluginsHi, this is Tom from InnoCraft. The company of the makers of Piwik.
Do you know how your visitors navigate through your website or app ? Well, we thought we did, but it turned out we didn’t until we actually were able to visualize those paths over several steps in an easy to understand graph. We were really surprised by some paths our users took every day. We discovered new popular pages where we totally under-estimated their importance. We found that many users actually had a problem on our home page so they had to reload it and we improved some popular paths we didn’t expect users were going. Now these paths are much more straight-forward for our users.
-> Read the rest of the story on the Users Flow Marketplace page.
What does the new Users Flow report look like ?
Here is below just a little preview of the Users Flow report. The plugin includes more reports and goodies !
Where do I get Users Flow ?
Users Flow is available on the Piwik Marketplace :
Users Flow is premium plugin for Piwik and comes with our 14 day money back guarantee and 1-click installation & updates (all product updates come for free).
You can also signup for a free Piwik Cloud-hosted trial to discover the power of Users Flow !
Happy Analytics,
-
Plex DVR File Rename on FFMPEG Encoding
11 juillet 2021, par Brent JohnsonI'm currently using a bash shell script to encode all of my Plex DVR recordings to H.264 using FFMPEG. I'm using this little for loop I found online to encode all of the files in a single directory :


for i in *.ts;
 do echo "$i" && ffmpeg -i "$i" -vf yadif -c:v libx264 -preset veryslow -crf 22 -y "/mnt/d/Video/DVR Stash/Seinfeld/${i%.*}.mp4";
done



This has served its purposes well but in the process I would like to rename the file to my preferred naming convention so that the original filename
Seinfeld (1989) - S01E01 - Pilot.ts
is renamed toSeinfeld S01 E01 Pilot.mp4
in the encoded file. While I am already using a regular expression to change the.ts
extension to.mp4
, but I'm no expert with regex, especially in the bash shell so any help would be appreciated.

For anyone that's interested in my Plex setup, I'm using an old machine running Linux Mint as my dedicated DVR and actually accessing it over the network with my daily driver which is a gaming machine, so more processing power for video encodes. While that one is a Windows machine, I'm using the Ubuntu bash under WSL2 to run my script, as I prefer it over the Windows command prompt or Powershell (my day job is a web developer on a company issued Mac). So here's a sample of my code for anyone that might consider doing something similar.


if [[ -d "/mnt/sambashare/Seinfeld (1989)" ]]
then
 cd "/mnt/sambashare/Seinfeld (1989)"
 echo "Seinfeld"
 for dir in */; do
 echo "$dir/"
 cd "$dir"
 for i in *.ts;
 do echo "$i" && ffmpeg -i "$i" -vf yadif -c:v libx264 -preset veryslow -crf 22 -y "/mnt/d/Video/DVR Stash/Seinfeld/${i%.*}.mp4";
 done
 cd ..
 done
fi



While I've considered doing a for loop for all shows, for now I am doing each show like this individually as there are a few shows I have custom encoding settings for


-
ffmpeg encoder streaming issues
8 août 2017, par bobsingh1I am trying to build ffmpeg encoder on linux. I started with a custom built server Dual 1366 2.6 Ghz Xeon CPUs (6 cores) with 16 GB RAM with Ubuntu 16.04 minimal install. Built ffmpeg with h264 and aac. I am taking live source OTA channels and encoding/streaming them with following parameters
-vcodec libx264 -preset superfast -crf 25 -x264opts keyint=60:min-keyint=60:scenecut=-1 -bufsize 7000k -b:v 6000k -maxrate 6300k -muxrate 6000k -s 1920x1080 -format yuv420p -g 60 -sn -c:a aac -b:a 384k -ar 44100
And I am able to successfully udp out using mpegts. My problem starts with 5th stream. The server can handle four streams and as soon as I introduce 5th stream I start seeing hiccups in output. Looking at my cpu usage using top I still see only 65% to 75% usage with occasional 80% hit. Memory usage is well within acceptable parameters. So I am wondering either top is not giving me accurate cpu usage or something is not right with ffmpeg. The server is isolated for udp in/out on a 1 Gbps network.
I decided to up the cpu power and installed two 3.5 Ghz CPUs (6 cores) thinking it was perhaps the cpu clock. To my surprise the results were no different. So now I am wondering is there some built in limit I am hitting when I process at 1080p. If I change the resolution to 720p it is able to process 8 streams but 720 is not acceptable.
My target is 10 1080p streams per server.
So my questions are
1. If I use a quad motherboard and up the cpu count to 4 (6 or 8 cores) will I get 10 1080p streams ? Is there any theoretical max I can go with ffmpeg per machine ?
2. Do cores matter more or does clock matter more ?
3. Any suggestions in improvement with my options. I have tried ultrafast preset but the output quality is unacceptable.Thanks in advance