Recherche avancée

Médias (0)

Mot : - Tags -/gis

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (51)

  • La sauvegarde automatique de canaux SPIP

    1er avril 2010, par

    Dans le cadre de la mise en place d’une plateforme ouverte, il est important pour les hébergeurs de pouvoir disposer de sauvegardes assez régulières pour parer à tout problème éventuel.
    Pour réaliser cette tâche on se base sur deux plugins SPIP : Saveauto qui permet une sauvegarde régulière de la base de donnée sous la forme d’un dump mysql (utilisable dans phpmyadmin) mes_fichiers_2 qui permet de réaliser une archive au format zip des données importantes du site (les documents, les éléments (...)

  • Des sites réalisés avec MediaSPIP

    2 mai 2011, par

    Cette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
    Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.

  • Les statuts des instances de mutualisation

    13 mars 2010, par

    Pour des raisons de compatibilité générale du plugin de gestion de mutualisations avec les fonctions originales de SPIP, les statuts des instances sont les mêmes que pour tout autre objets (articles...), seuls leurs noms dans l’interface change quelque peu.
    Les différents statuts possibles sont : prepa (demandé) qui correspond à une instance demandée par un utilisateur. Si le site a déjà été créé par le passé, il est passé en mode désactivé. publie (validé) qui correspond à une instance validée par un (...)

Sur d’autres sites (6452)

  • ffmpeg-concat created almost 80GB of raw files to merge 3 videos with 500ms crossfade of total size about 42MB. how to reduce storage requirement ?

    2 février 2023, par Mayank Kumar Chaudhari

    Yes, I was quite shocked when I found out that my videos were not concatenated due to lack of storage. Then I tried to debug and on the bash terminal I found location of temp files that ffmpeg-concat created.

    


    Good thing is that it deletes these files automatically once the conversion is done but the amount of disk space it used is shocking. It took almost 70-80GB of storage for creating video of about 42MB and probably this is the reason why it takes about 15-20min to create video of about 3-6min.

    


    I tried a lot of other ways like ffmpeg -safe 0 -f concat -i mylist.txt -c copy o.mp4, but it created very bad video — all I could see on video is random colors.

    


    Can anyone suggest a better alternative to concat 3 videos, if possible with crossfade transition.

    


  • TypeError at /api/v1/file/86370b91-8e25-4833-bbc6-a4b833363893/ 'module' object is not callable

    16 avril 2023, par Olyx

    Please help me, I'm writing a patch request that should change the video resolution, but I can't get the file back from celery
views.py

    


    def patch(self, request, id = None):
    file = File.objects.get(id = id)
    width =  request.data.get('width')
    height = request.data.get('height')
    file.width = width
    file.height = height 
   
    file.video = change_video_extension.delay(file.video.path, width, height).get()
    file.save()
    return Response({'width':width, 'height':height})


    


    tasks.py

    


    import os
from demo.celery import app

@app.task(name = "change_video_extension")
def change_video_extension(input_file, width, height):
    output_file = "abc123.mp4"
    os.system(f"ffmpeg -i {input_file} -s {width}x{height} {output_file}")
    return output_file


    


    TypeError

    


    TypeError at /api/v1/file/86370b91-8e25-4833-bbc6-a4b833363893/
'module' object is not callable
Request Method : PATCH
Request URL : http://127.0.0.1:8000/api/v1/file/86370b91-8e25-4833-bbc6-a4b833363893/
Django Version : 4.2
Exception Type : TypeError
Exception Value :
    
'module' object is not callable

    


  • anyone had success with OpenFP ? [closed]

    30 mai 2013, par Robert Shaw

    http://sourceforge.net/projects/open-fp/

    Built and ran openfp - a sound fingerprinting project available in many places. Includes :
    openfp_extract (calls ffmpeg) _server and _match.

    Hours today fiddling with the samples but I always get MATCH RESULTS 0, even with identical afp files in the signatures directory. What is the trick to get a match ?

    Usings PCM 16 mono 22kHz . Do endian and signed matter as long as its always the same ?

    I hope to try and match bird or animal sounds, anybody think it can work ?

    Thanks in advance ! - Robert