
Recherche avancée
Autres articles (66)
-
MediaSPIP v0.2
21 juin 2013, parMediaSPIP 0.2 est la première version de MediaSPIP stable.
Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Comme pour la version précédente, 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 (...) -
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 (...) -
Contribute to translation
13 avril 2011You can help us to improve the language used in the software interface to make MediaSPIP more accessible and user-friendly. You can also translate the interface into any language that allows it to spread to new linguistic communities.
To do this, we use the translation interface of SPIP where the all the language modules of MediaSPIP are available. Just subscribe to the mailing list and request further informantion on translation.
MediaSPIP is currently available in French and English (...)
Sur d’autres sites (6519)
-
Evolution #3488 : Stocker globalement toutes les requetes passées
30 juin 2015, par nico dÇa semble bien pour le plugin dev, mais du coup il faut ajouter un compteur de requêtes en global dans req/mysql (et dans req/sqlite), par exemple :
function spip_mysql_query($query, $serveur=’’,$requeter=true)
...
$GLOBALS[’compteur_requetes’]++ ;
...Moi j’ai ça dans mon code en local, mais dans le code dist ça fait pas un peu crado ?
Je vois pas où insérer ce compteur sinon.Et pour afficher le temps de calcul de la page, il faut stocker le microtime dès le démarrage.
Moi je le mets dans mes_options au tout début : $GLOBALS[’_start’] = microtime(true) ;
Une meilleure idée pour que ce soit plus générique ? -
ffmpeg process stops for no reason at random position
29 septembre 2021, par Peter HammiI have a encoding script which can re-encode/repack h264, h265, acc, ac3, mp3, flac etc. using ffmpeg version 4.4 into HLS (http-live-stream). Actually the script is working pretty awesome and I have very nice results but for some reason my conversion process breaks if it simply runs long.


Basically the ffmpeg process gets executed within docker using a
simple command call like so :


def exec_command(string):
 """
 Shell command interface

 Returns returnCode, stdout, stderr
 """
 log('DEBUG', f'[Command] {string}')
 output = run(string, shell=True, check=True, capture_output=True)
 return output.returncode, output.stdout, output.stderr



I sadly can't get to much into detail as the code is closed source and more than 1000 lines long, anyways the string parameter that gets passed and containing the command to be executed looks like this :


command += f' -map 0:{stream["index"]} {build_command_encode(stream, job["config"])} -map_metadata -1 -map_chapters -1 -f hls -hls_time 6 -hls_list_size 0 -hls_segment_filename "{path}/f-%04d.m4s" -hls_fmp4_init_filename "init-{name}.m4s" -hls_segment_type fmp4 -movflags frag_keyframe -hls_flags independent_segments "{path}/master.m3u8"'



Can maybe someone imagine why the ffmpeg process break for no reason ?


Thanks in advance


-
Read and Save rtsp stream using FFMPEG using python with less memory size
25 août 2022, par Vishak RajI am trying to read a rtsp stream and save in a file, for that I am using the
ffmpeg
in python

import ffmpeg

stream = ffmpeg.input(rtsp_link, t=10)
print(stream)

file = stream.output("test.mp4")
testfile = file.run()#capture_stdout=True, capture_stderr=True



but this save the video file in high space, for 10 second video, the file occupies around 3 Mb, how to reduce the file size


thanks