
Recherche avancée
Autres articles (112)
-
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 ;
-
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 (...) -
Soumettre améliorations et plugins supplémentaires
10 avril 2011Si vous avez développé une nouvelle extension permettant d’ajouter une ou plusieurs fonctionnalités utiles à MediaSPIP, faites le nous savoir et son intégration dans la distribution officielle sera envisagée.
Vous pouvez utiliser la liste de discussion de développement afin de le faire savoir ou demander de l’aide quant à la réalisation de ce plugin. MediaSPIP étant basé sur SPIP, il est également possible d’utiliser le liste de discussion SPIP-zone de SPIP pour (...)
Sur d’autres sites (7448)
-
adb screenrecord display only screenshot, it does not stream the screen [closed]
28 avril 2024, par hexolsI have an Android TV, I want to stream its screen in my Ubuntu PC.
I used this command :


adb shell screenrecord --output-format=h264 - | ffplay -



and after waiting for a while it displays the screenshot of the TV. But I want to display live stream of the Android TV.
I also used the following command as well but got the same result :


adb exec-out screenrecord --bit-rate=16m --output-format=h264 --size 800x600 - | ffplay -framerate 60 -framedrop -bufsize 16M -



How can I achieve this using this command ?
Or is there a way to achieve it with another way by using VLC/Gstreamer/FFMPEG except using scrcpy/vysor ?


-
How to prevent overwriting fifo while playing local file with ffmpeg ?
21 juillet 2013, par frankishI use av_read_frame() to read and push frames to fifo. In another thread, I read from this fifo. So, reading and writing does not interfere that much.
However, I found out that when playing from a local file, audio suddenly skips to somewhere else.. I tried to open recorded file with VLC player and it worked. So the file(recording) is not broken.
I tried (just to see if it works) the following and it works but it has other problems.
...
if(localFile){
while(av_fifo_size(fifoPlayback)>2000000){
pthread_mutex_unlock(&fifoPlaybackMutex);
usleep(1000000);
pthread_mutex_lock(&fifoPlaybackMutex);
// Waiting before writing to fifo, it's not empty enough");
}
}
av_fifo_generic_write(fifoPlayback,...)Since the above block at least does not skip, I think my problem is really overwriting on the fifo. But how should I correctly manage this situation ?
-
ffmpeg motion snapshot not publishing [duplicate]
18 mars 2021, par Ali GökkayaI wrote a pip that I broadcast with rtsp with ffmpeg and I can convert it to rtmp broadcast only when there is a movement, the problem is that since my frame count is low, it needs to broadcast after the movement, but when a new movement comes, it takes the old movement to the top, that is, the first movement does not broadcast immediately, it is waiting for the second motion to broadcast. I need help with this issue too


ffmpeg \
-rtsp_transport tcp -skip_frame bidir -i rtsp://........ \
-b:v 100k \
-bufsize 1000k \
-maxrate 200k \
-preset veryslow \
-tune zerolatency \
-an -f flv -hide_banner \
-r 3 -g 40 -s 848x480 -c:v libx264 \
-filter_complex "select='gt(scene,0.005)',setpts='if(eq(N\,0),0,PREV_OUTPTS+if(lte(T-PREV_INT\,3)\,(T-PREV_INT)/TB\,N*3/TB))',drawtext=fontfile=monofonto.ttf: fontsize=50: box=1: boxcolor=white@0.99: boxborderw=4: fontcolor=black: x=50: y=50: text='%{localtime\:%H\\\\\:%M\\\\\:%S}'" \
-loglevel error rtmp://.....