
Recherche avancée
Médias (91)
-
Collections - Formulaire de création rapide
19 février 2013, par
Mis à jour : Février 2013
Langue : français
Type : Image
-
Les Miserables
4 juin 2012, par
Mis à jour : Février 2013
Langue : English
Type : Texte
-
Ne pas afficher certaines informations : page d’accueil
23 novembre 2011, par
Mis à jour : Novembre 2011
Langue : français
Type : Image
-
The Great Big Beautiful Tomorrow
28 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Texte
-
Richard Stallman et la révolution du logiciel libre - Une biographie autorisée (version epub)
28 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Texte
-
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 (...) -
Le profil des utilisateurs
12 avril 2011, parChaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...) -
Sélection de projets utilisant MediaSPIP
29 avril 2011, parLes exemples cités ci-dessous sont des éléments représentatifs d’usages spécifiques de MediaSPIP pour certains projets.
Vous pensez avoir un site "remarquable" réalisé avec MediaSPIP ? Faites le nous savoir ici.
Ferme MediaSPIP @ Infini
L’Association Infini développe des activités d’accueil, de point d’accès internet, de formation, de conduite de projets innovants dans le domaine des Technologies de l’Information et de la Communication, et l’hébergement de sites. Elle joue en la matière un rôle unique (...)
Sur d’autres sites (10195)
-
configure : Force pie for Android.
25 juillet 2018, par Carl Eugen Hoyos -
Efficient way to stream a sequence of frames
3 juin 2020, par DoriHp 0I'm facing with an issue : I implemented a device to detect stranger for my home, which includes inputs from some IP camera and use a tensorflow model to process frame got from them.



Now I want to build a dashboard (use Flask or Django - python framework as backend) to streaming the processed frames I got from the system, and if possible, do some transform on them (such as stack multi frames into one, etc), and run the server so I can watch it from distances. Currently, I'm sending frame by frame as independent images but it costs so much bandwidth. I read how h264 encoder work and felt very exicted about it. Now, the question is, how can I use h264 or any encoder like it transfer my data and reduce the bandwidth ?


-
Ffmpeg does not properly convert videos when run as daemon
20 janvier 2019, par DGoikoI’m using ffmpeg to convert and split videos from a Python process. When I run it from console as a normal user everything works as expected, however, if I run it as a daemon it produces the same amount of files but with silence in almost the whole file.
This is the line I execute from python :
def convert_to_ffmpeg(file, ffmpeg_folder, chunk_length):
res = -1
try:
file_name = os.path.join(ffmpeg_folder, ntpath.basename(file) + ".flac")
res = os.system("ffmpeg -i " + file + " -f segment -segment_time "+str(chunk_length)+" " + file_name + " -y >/dev/null 2>&1")
except Exception as e:
raise MyException(code=210005, detalails=file, cause=e)
if not res == 0:
raise MyException(code=210004, detalails=str(res) + " - " + file)
return file_nameWhen I run it from a normal console it works as expected : it splits the video in chunks of "self._chunk_length" seconds.
However, if I run the program using python-daemon with this code :
if daemon_run:
pid_file = check_unclean_exit(config['pidfile'], log)
context = daemon.DaemonContext(
working_directory=approot,
umask=0o002,
pidfile=pid_file,
)
context.signal_map = {
signal.SIGTERM: programa_cleanup,
signal.SIGHUP: 'terminate',
# signal.SIGUSR1: reload_program_config,
}
with context:
convert_to_ffmpeg("/foo/testfile.mkv", "/foo/ffmpeg", 40)It produces EXACTLY the same chunks, however, most of the content of the chunks is just silence. It splits in the proper point, but doesn’t fill the contents of the audio output properly. Of course, no exception is thrown, as ffmpeg always returns 0
I did even install a completly fresh Debian 9 into a virtual machine to discard problems with ffmpeg and my old-good computer’s setup.
Of course this is a simplified example. The real thing is a multithread application which watches a directory for files to convert.