
Recherche avancée
Médias (2)
-
Valkaama DVD Label
4 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Image
-
Podcasting Legal guide
16 mai 2011, par
Mis à jour : Mai 2011
Langue : English
Type : Texte
Autres articles (78)
-
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 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 (...) -
Amélioration de la version de base
13 septembre 2013Jolie sélection multiple
Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)
Sur d’autres sites (13064)
-
FFMPEG Windows : need to add mix audio to this code
28 mai 2020, par a4n6cI have this and now I wish to add a background sound from mp3 in the area where I am removing audio.



ffmpeg -i "demo.mp4" -vcodec copy -af "volume=enable='between(t,67,69)':volume=0" -y "output1.mp4"




this is just one simple example shown the list of (between) can be larger than 1 line. an example will help me progress further thank you.


-
how to explain this C language code from ffmpeg remuxing
20 avril 2017, par Fidonacan someone help me what the meaning of this code ? this is a code from ffmpeg remuxing code.
static void log_packet(const AVFormatContext *fmt_ctx, const AVPacket *pkt, const char *tag, int hours, int mins, int secs, int us, int *time )
{
AVRational *time_base = &fmt_ctx->streams[pkt->stream_index]->time_base;
total = total + pkt->duration;
// printf( "%d:%d:%d.%d \n", hours, mins, secs, us );
*time = av_q2d(*time_base) * pkt->pts ;
}I’m kind of new to C language. thank you !
-
KeyError : 1 on Python when the code points to a value that exists [closed]
10 décembre 2020, par oo92I am using the following code to traverse a list JSON output. There are about 100 streamers I want to take screens from but the code fails after the first one where I call the ffmpeg. I put a code after the ffmpeg to see if Python is running it at all and it does :


Traceback (most recent call last):
 File "/home/onur/Desktop/pythonProject/main.py", line 12, in <module>
 username = streams_now[i]['channel']['display_name']
KeyError: 1
auronplay it is 
</module>


This is my code :


import streamlink, os
from twitch import TwitchClient

client = TwitchClient(client_id='frl3dqgn21bbpp6tajjvg5pdevczac')

streams_now = client.streams.get_live_streams(limit=100)

print(streams_now[2]['channel']['display_name'])

for i in range(0, 99):
 username = streams_now[i]['channel']['display_name']
 streams_now = streamlink.streams('http://twitch.tv/' + username)
 stream = streams_now["best"].url
 dir_path = os.getcwd() + '/' + username
 os.mkdir(dir_path)
 os.system('ffmpeg -i ' + stream + f' -ss 20 -vframes 10 -r 0.2 -f image2 {dir_path}/' + username + '_output_%09d.jpg')
 print(username + ' it is ')



The line that throws the error is
username = streams_now[i]['channel']['display_name']
. However, this line cannot throw an error because I am testing it before the for loop :

print(streams_now[2]['channel']['display_name'])


and I get this :
shroud