Recherche avancée

Médias (0)

Mot : - Tags -/presse-papier

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

Autres articles (74)

  • Organiser par catégorie

    17 mai 2013, par

    Dans MédiaSPIP, une rubrique a 2 noms : catégorie et rubrique.
    Les différents documents stockés dans MédiaSPIP peuvent être rangés dans différentes catégories. On peut créer une catégorie en cliquant sur "publier une catégorie" dans le menu publier en haut à droite ( après authentification ). Une catégorie peut être rangée dans une autre catégorie aussi ce qui fait qu’on peut construire une arborescence de catégories.
    Lors de la publication prochaine d’un document, la nouvelle catégorie créée sera proposée (...)

  • Récupération d’informations sur le site maître à l’installation d’une instance

    26 novembre 2010, par

    Utilité
    Sur le site principal, une instance de mutualisation est définie par plusieurs choses : Les données dans la table spip_mutus ; Son logo ; Son auteur principal (id_admin dans la table spip_mutus correspondant à un id_auteur de la table spip_auteurs)qui sera le seul à pouvoir créer définitivement l’instance de mutualisation ;
    Il peut donc être tout à fait judicieux de vouloir récupérer certaines de ces informations afin de compléter l’installation d’une instance pour, par exemple : récupérer le (...)

  • 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

Sur d’autres sites (4962)

  • ffmpeg streaming camera with directshow

    17 novembre 2015, par atu0830

    I am trying use ffmpeg to streaming one camera. The command is

    ffmpeg.exe -y  -f dshow -i video="AmCam" -c:v copy  -framerate 7.5 -map 0:0 -f ssegment -segment_time 4 -segment_format mpegts  -segment_list "web\stream.m3u8"  -segment_list_size 720  -segment_list_flags live  -segment_wrap 10 -segment_list_type m3u8  "web\segments\s%%d.ts"

    And I create a html in web folder

                                         
                                   
                                       
                                     
       <video controls="controls" width="720" height="405" autoplay="autoplay">  
           <source src="stream.m3u8" type="application/x-mpegURL"></source>          
       </video>                                    
                                       

    All ts file generated but looking Safari on iPad looding but it always show dark player and loading

  • FFMPEG is not executing

    14 juin 2020, par user2397316

    I have installed FFMPEG in my Centos7 dedicated Server, now I want to run the FFMPEG, but it is not executing, can anyone help what could be the reason.

    &#xA;&#xA;

    Note : I have Cpanel installed also.&#xA;My code is below :

    &#xA;&#xA;

        &#xA;&#xA;    &#xA;        &#xA;    &#xA;    &#xA;        <form action="" method="post" enctype="multipart/form-data">&#xA;            <input type="file" />&#xA;            <input type="submit" />&#xA;        </form>&#xA;    &#xA;&#xA;&lt;?php&#xA;if (isset($_POST[&#x27;submit&#x27;])){&#xA;    $currentPath=$_FILES[&#x27;video&#x27;][&#x27;tmp_name&#x27;];&#xA;   $ffmpeg = "/usr/bin/ffmpeg";&#xA;    exec("$ffmpeg -i ".$currentPath." -an output/video.mp4");&#xA;    echo "OK";&#xA;}&#xA;?>&#xA;

    &#xA;

  • 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;