
Recherche avancée
Médias (1)
-
Video d’abeille en portrait
14 mai 2011, par
Mis à jour : Février 2012
Langue : français
Type : Video
Autres articles (65)
-
Personnaliser en ajoutant son logo, sa bannière ou son image de fond
5 septembre 2013, parCertains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;
-
Publier sur MédiaSpip
13 juin 2013Puis-je poster des contenus à partir d’une tablette Ipad ?
Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir -
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 (9108)
-
Android video stream to windows desktop - Latency Issue
5 décembre 2019, par cagneyI am using an android v21 device to stream data to a javafx application. Its working fine but I have about 2 seconds of latency.
As of now the basic transportation goes like this
- android Cameratompegtest.class unkown latency
- android packetizer(udp) 10 millis
- windows depacketizer no buildup of data in buffers
- windows ffmpeg framgrabber unkown latency
- javafx imageview <1 millis
My data stream to my desktop and my packetizer is much faster than my frame rate and is often just waiting. There is no buildup of data anywhere else and therefore I assume no delay in any of my code. My big question is in regards to android MediaEncoder and secondly ffmpeg frame grabber.
How can I determine the cause of the slow down ?
Do you have any suggestions ?
My ffmpeg framgrabber
public RapidDecoder(final InputStream inputStream, final ImageView view)
{
System.out.println(TAG + " starting");
grabber = new FFmpegFrameGrabber(inputStream, 0);
converter = new Java2DFrameConverter();
mView = view;
emptyBuffer = new Runnable() {
@Override
public void run() {
System.out.println(TAG + " emptybuffer thread running");
try {
grabber.setOption("preset", "ultrafast");
grabber.start();
}catch (Exception e)
{
System.out.println(TAG + e);
}
while (true)
{
try{
grabFrame();
Thread.sleep(1);
}catch (Exception e)
{
System.out.println(TAG + " emptybuffer " + e);
}
}
}
};
display = new Runnable() {
@Override
public void run() {
System.out.println(TAG + " display thread running ");
while(true)
{
try{
displayImage();
Thread.sleep(10);
}catch (Exception e)
{
System.out.println(TAG + " display " + e);
}
}
}
};
}
public void generateVideo()
{
System.out.println(TAG + " genvid ");
new Thread(emptyBuffer).start();
new Thread(display).start();
}
public synchronized void grabFrame() throws FrameGrabber.Exception
{
//frame = grabber.grabFrame();
frame = grabber.grab();
//System.out.println("grab");
}
public synchronized void displayImage()
{
bufferedImage = converter.convert(frame);
frame = null;
if (bufferedImage == null) return;
mView.setImage(SwingFXUtils.toFXImage(bufferedImage, null));
//System.out.println("display");
}}
my android code taken from bigflake website can be found here
-
Pydub - problem when changing the directory of ffmpeg
1er mai 2020, par Andy_yeIn the
pydub
library, it looks atC:\\
as a default for searching for theffmpeg
folder.


Because of this, the library works fine when I put the
ffmpeg
folder atC:\\



However, to package FFmpeg with the python code and use it in another computer without
ffmpeg
, I have to point thepydub
library to look forffmpeg
somewhere else, in another path.


I tried to do this with



from pydub import AudioSegment
AudioSegment.converter = "/path/to/ffmpeg.exe"




and also tried



AudioSegment.ffmpeg = "/path/to/ffmpeg.exe"




but both did not work at all when I moved the
ffmpeg
folder fromC:\\



Is there another way to do this ?


-
Revision 124667 : Nouvelle option pour la description .yaml d’une saisie : hériter d’une ...
13 mai 2020, par Maïeul Rouquette — LogNouvelle option pour la description .yaml d’une saisie : hériter d’une
autre saisie.
Possibilité d’avoir des héritages en cascade.
Possibilité de régler précisement les options héritées ou pas, via des
entrées dans le .yaml.
Pour la documentation, voir
https://contrib.spip.net/ecrire/?exec=article&id_article=5272
Pour des exemples :dans ce dossier, les tests (tests/saisies + tests/saisies_heriter)
la saisie nombre :
https://git.spip.net/spip-contrib-extensions/saisie_nombrela saisie calcul : https://git.spip.net/spip-contrib-extensions/saisie_calcul
En bonus :Ajout d’une fonction saisies_supprimer_identifiants() qui supprime récursivement les identifiants d’une saisie. À utiliser sur les tests unitaires pour éviter d’avoir un identifiant qui change à chaque test.
saisies_modifier(), une option ’fusion’, suite à la demande de @Rastapopoulos. en https://git.spip.net/spip-contrib-extensions/formidable/issues/25#issuecomment-691