
Recherche avancée
Médias (1)
-
Rennes Emotion Map 2010-11
19 octobre 2011, par
Mis à jour : Juillet 2013
Langue : français
Type : Texte
Autres articles (101)
-
MediaSPIP 0.1 Beta version
25 avril 2011, parMediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
The zip file provided here only contains the sources of MediaSPIP in its standalone version.
To get a working installation, you must manually install all-software dependencies on the server.
If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...) -
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 (...) -
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 (11608)
-
inotifywait -m does not process more than 1 file after long running process
2 mai 2022, par Yllier123I have a script that detects files on close_write and runs an 5 minute process on them. These files are written to the directory in batches of up to 100. The issue is that inotifywait only detects the first file in the batch and does not process the subsequent files unless they are removed from the directory by hand and put back. Here is my script :


#!/bin/bash

inotifywait -r -e close_write -e moved_to --format "%f" $TARGET -m | while read file
 do
 if [[ "$file" =~ .*mp4$ ]]; then
 echo "Detected $file"
 /usr/bin/python3 LongRunningProgram.py -i $TARGET/$file -o $PROCESSED -u $UPLOADPATH -c $C
 fi
 done



it is maintained by a systemctl service written like so :


[Unit]
Description=Description
After=network.target

[Service]
Type=idle
user=pi
WorkingDirectory=/home/pi
ExecStart=/bin/bash /home/pi/notify.sh OutPath C
Restart=on-failure

[Install]
WantedBy=multi-user.target



I am confused as to why it only seems to recognize the first file but not subsequent files when run like this, however if I replace the long running program with sleep 300 it seems to work fine.


-
lavf/vplayerdec : support time durations with no ms specified
7 mars 2016, par Clément Bœsch -
convert youtube video to mp3
31 août 2015, par Try Mersiantoi want to convert video from youtube to mp3 format ,
i have try to get real path and i got url like this (http://r9---sn-npo7en7d.googlevideo.com/videoplayback?mm=31&mn=sn-npo7en7d&ratebypass=yes&mime=video/webm&source=youtube&pl=18&dur=0.000&sver=3&expire=1440995594&mt=1440973944&mv=m&ms=au&sparams=dur,id,initcwndbps,ip,ipbits,itag,lmt,mime,mm,mn,ms,mv,pl,ratebypass,source,upn,expire&signature=27B5A991402F61990D7D97C423D167C51B984E11.FA358ECCB3BAC29953749463A37659BB4ADDF4AB&fexp=9405997,9408214,9408511,9408710,9409069,9413318,9415365,9415485,9416023,9416105,9416126,9416524,9417097,9417126,9417707,9418153,9418409,9418448,9418700,9419239,9420020,9420056&ipbits=0&ip=128.199.181.252&key=yt5&lmt=1413466470642964&initcwndbps=15202500&itag=43&id=010d2b7ac9d709c1&upn=ZmvSS1PBRW0&signature=%20%27&title=%27Hardwell-feat-Chris-Jones---Young-Again-Official-Video-HD%27)i tried to convert it with ffmpeg command like ffmpeg -i the-url play.mp3 but it fail,
am i wrong when getting the URL or wrong when using ffmpeg command ?
anyone can help me ? ,
i cant using youtube-dl because i do this for my project
thanks