Recherche avancée

Médias (3)

Mot : - Tags -/Valkaama

Autres articles (41)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-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 Player : problèmes potentiels

    22 février 2011, par

    Le lecteur ne fonctionne pas sur Internet Explorer
    Sur Internet Explorer (8 et 7 au moins), le plugin utilise le lecteur Flash flowplayer pour lire vidéos et son. Si le lecteur ne semble pas fonctionner, cela peut venir de la configuration du mod_deflate d’Apache.
    Si dans la configuration de ce module Apache vous avez une ligne qui ressemble à la suivante, essayez de la supprimer ou de la commenter pour voir si le lecteur fonctionne correctement : /** * GeSHi (C) 2004 - 2007 Nigel McNie, (...)

  • Ajouter notes et légendes aux images

    7 février 2011, par

    Pour pouvoir ajouter notes et légendes aux images, la première étape est d’installer le plugin "Légendes".
    Une fois le plugin activé, vous pouvez le configurer dans l’espace de configuration afin de modifier les droits de création / modification et de suppression des notes. Par défaut seuls les administrateurs du site peuvent ajouter des notes aux images.
    Modification lors de l’ajout d’un média
    Lors de l’ajout d’un média de type "image" un nouveau bouton apparait au dessus de la prévisualisation (...)

Sur d’autres sites (6934)

  • Evolution #4417 : Augmenter la longueur du mot de passe demandé pour créer un nouvel auteur

    24 décembre 2019, par cy_altern -

    complémentairement, pour compliquer le "brut force" des mots de passes, il y aurait l’utilisation d’un algorithme de hashage de type Argon2 (cf https://fr.wikipedia.org/wiki/Argon2) qui est conçu pour imposer un coût mémoire.
    Voir https://github.com/p-h-c/phc-winner-argon2 pour les implémentations disponibles de Argon2 (PHP > 7.2 et JavaScript OK)

  • avformat/mxfdec : Read color metadata from MXF

    31 juillet 2020, par Harry Mallon
    avformat/mxfdec : Read color metadata from MXF
    

    Reads color_primaries, color_trc and color_space from mxf
    headers. ULs are from https://registry.smpte-ra.org/ site.

    Signed-off-by : Harry Mallon <harry.mallon@codex.online>

    • [DH] libavformat/mxf.c
    • [DH] libavformat/mxf.h
    • [DH] libavformat/mxfdec.c
    • [DH] tests/ref/fate/mxf-d10-user-comments
    • [DH] tests/ref/fate/mxf-opatom-user-comments
    • [DH] tests/ref/fate/mxf-probe-d10
    • [DH] tests/ref/fate/mxf-probe-dnxhd
    • [DH] tests/ref/fate/mxf-probe-dv25
    • [DH] tests/ref/fate/mxf-reel_name
    • [DH] tests/ref/fate/mxf-user-comments
  • FileNotFoundError on aws Lambda when concatenating videos with ffmpeg

    2 juillet 2021, par Shibu Menon

    Goal :

    &#xA;&#xA;

      &#xA;
    • Concat 2 videos (both are in an s3 bucket) via aws Lambda using ffmpeg
    • &#xA;

    • Upload the resultant output.mp4 to another S3 bucket
    • &#xA;

    • Python 3+
    • &#xA;

    &#xA;&#xA;

    I've already created a layer containing a static ffmpeg

    &#xA;&#xA;

    The Error :

    &#xA;&#xA;

    {&#xA;  "errorMessage": "[Errno 2] No such file or directory: &#x27;/tmp/output.mp4&#x27;",&#xA;  "errorType": "FileNotFoundError",&#xA;  "stackTrace": [&#xA;    [&#xA;      "/var/task/lambda_function.py",&#xA;      19,&#xA;      "lambda_handler",&#xA;      "s3.Object(bucketLowRes, mp4OutputFileName).put(Body=open(new_file_key, &#x27;rb&#x27;))"&#xA;    ]&#xA;  ]&#xA;}&#xA;

    &#xA;&#xA;

    My Lambda function :

    &#xA;&#xA;

    import json&#xA;import os&#xA;import subprocess&#xA;import boto3&#xA;&#xA;s3 = boto3.resource(&#x27;s3&#x27;)&#xA;bucketLowRes = s3.Bucket("bucket-conc-lowres")&#xA;&#xA;def lambda_handler(event, context):&#xA;    # TODO implement&#xA;&#xA;    mp4OutputFileName = &#x27;output.mp4&#x27;&#xA;&#xA;    new_file_key = os.path.abspath(os.path.join(os.sep, &#x27;tmp&#x27;, mp4OutputFileName))&#xA;    subprocess.call( [&#x27;/opt/ffmpeg&#x27;, &#x27;-i&#x27;, &#x27;concat:s3://bucket-word-clips/00th76kqwfs915hbixycb77y9v3riwsj30.mp4|s3://bucket-word-clips/00uoakp6jyafbu13ycvl6w2i9tj42eux30.mp4&#x27;, new_file_key ] )&#xA;&#xA;    s3.Object(bucketLowRes, mp4OutputFileName).put(Body=open(new_file_key, &#x27;rb&#x27;))&#xA;&#xA;    return {&#xA;        &#x27;statusCode&#x27;: 200,&#xA;        &#x27;body&#x27;: json.dumps(&#x27;Hello from Lambda!&#x27;)&#xA;    }&#xA;

    &#xA;&#xA;

    Question :

    &#xA;&#xA;

      &#xA;
    • FileNotFoundError : Where is the output mp4 file of my ffmpeg concat being saved ??
    • &#xA;

    • And if it is being saved to /tmp/output.mp4 , then why the FileNotFoundError ??
    • &#xA;

    &#xA;&#xA;

    thanks

    &#xA;