
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 (89)
-
Organiser par catégorie
17 mai 2013, parDans MédiaSPIP, une rubrique a 2 noms : catégorie et rubrique.
Les différents documents stockés dans MédiaSPIP peuvent être rangés dans différentes catégories. On peut créer une catégorie en cliquant sur "publier une catégorie" dans le menu publier en haut à droite ( après authentification ). Une catégorie peut être rangée dans une autre catégorie aussi ce qui fait qu’on peut construire une arborescence de catégories.
Lors de la publication prochaine d’un document, la nouvelle catégorie créée sera proposée (...) -
Récupération d’informations sur le site maître à l’installation d’une instance
26 novembre 2010, parUtilité
Sur le site principal, une instance de mutualisation est définie par plusieurs choses : Les données dans la table spip_mutus ; Son logo ; Son auteur principal (id_admin dans la table spip_mutus correspondant à un id_auteur de la table spip_auteurs)qui sera le seul à pouvoir créer définitivement l’instance de mutualisation ;
Il peut donc être tout à fait judicieux de vouloir récupérer certaines de ces informations afin de compléter l’installation d’une instance pour, par exemple : récupérer le (...) -
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 (9840)
-
mediastreamsegmenter stops sending id3 metadata using HLS
9 mai 2013, par alawson421I am using a combination of
ffmpeg
and Apple'smediastreamsegmenter
andid3taggenerator
to create a HLS stream with metadata (ID3) embedded in it. I have all of the applications running and am able to retrieve the metadata out of the stream on the client side, but the issue is that after what seems like a random amount of time, the client stops receiving metadata on the stream.Here is what I have working now :
This is the
ffmpeg
andmediastreamsegmenter
part :ffmpeg -i udp://@:5010 -c:v libx264 -crf:v 22 -b:v 500k -preset:v veryfast -c:a libfdk_aac -b:a 64k -f mpegts - | mediastreamsegmenter -b http://localhost/stream -f /usr/local/nginx/html/stream/ -t 10 -s 4 -S 1 -D -y id3 -m -M 4242 -l log.txt
This is taking a udp stream on the localhost on port 5010 and encoding the video and audio to H.264 and AAC, respectively. It is pipping the MPEG-2 transport stream segments to the
mediastreamsegmenter
, which in turn is generating the.M3U8
file and associated.ts
files and placing them on aNGINX
webserver. Themediastreamsegmenter
is also listening on port 4242 for tcp traffic from theid3taggenerator
which I will show how I am using it now :id3taggenerator -text '{"x":"12","y":"36"}' -a localhost:4242
As you can see, I am sending some simple x-y coordinates in JSON as text to the
mediastreamsegmenter
listening on port 4242. I am actually using a Python script to send some test data at the moment. Here is the script :#!/usr/local/bin/python3
from subprocess import call
from time import sleep
for i in range(0, 10):
for j in range(0, 10):
x = str(20 * i)
y = str(20 * j)
print("X: " + x + " - Y: " + y)
call(["id3taggenerator", "-text", "{\"x\":\"" + x + "\",\"y\":\"" + y + "\"}", "-a", "localhost:4242"])
sleep(1.0)This script is just sending a bunch of x-y coordinates using the
id3taggenerator
CLI. I have adjusted thesleep
amount from 0.1 to 15 and it doesn't seem to make any difference. The client application that is getting the metadata out of the stream only prints out anywhere from 4 to 35 points, but never has it ever received all of the x-y coordinates.I am wondering if there is a limit to the amount of metadata that can sent per frame, but I cannot seem to find anything that specifies a hard-limit value for any of these tools...
-
avcodec/dca_parser : export profile information
10 juillet 2017, par foo86 -
Batch screenshots with FFmpeg
20 juillet 2017, par cCanuckI have this bat file that works with another software and I would like to modify it to work with FFmpeg but I haven’t been able to get the syntax or arguments correct
I essentially have a series of 1hr videos on an external HDD I want to extract an screenshot every 15mins to folder on my computer. I could do it successfully with FFmpeg from the CMD but not in a bat file.
@echo off
pause
FOR /F "tokens=*" %%A IN ('dir E:\BIW\*.asf /b') DO "c:\Program Files (x86)\FrameShots3\fsconsole.exe" -ms 900000 -width 1920 -height 1080 -filetype JPEG -filename BIW_ -filecounter 0000 "E:\BIW\%%A" "C:\timelapse\BIW\"
pause