Recherche avancée

Médias (91)

Autres articles (67)

  • 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 (...)

  • Création définitive du canal

    12 mars 2010, par

    Lorsque votre demande est validée, vous pouvez alors procéder à la création proprement dite du canal. Chaque canal est un site à part entière placé sous votre responsabilité. Les administrateurs de la plateforme n’y ont aucun accès.
    A la validation, vous recevez un email vous invitant donc à créer votre canal.
    Pour ce faire il vous suffit de vous rendre à son adresse, dans notre exemple "http://votre_sous_domaine.mediaspip.net".
    A ce moment là un mot de passe vous est demandé, il vous suffit d’y (...)

  • Le profil des utilisateurs

    12 avril 2011, par

    Chaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
    L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...)

Sur d’autres sites (5543)

  • Batch script calling its own name instead of files of a certain type ?

    27 juin 2020, par R. Elias
    cd %cd%
ffmpeg -i %cd%/%04d.png out.mp4


    



    A script with just this in it works completely fine and outputs exactly what I need it to, but :

    



    :: A simple script to convert a png or jpg image sequence to an         
mp4 file with ffmpeg
cls
@echo off
title PNG2MP4
color C
echo Ensure you have ffmpeg installed and setup in your environment variables or this script won't work.


:QUERY
echo This will convert all image files in the following directory to a single mp4, 
echo %cd%
echo are the files PNGs or JPEGs(PNG/P/JPG/J/CANCEL)?
set/p "ch=>"
if /I %ch%==PNG goto CONVERTPNG
if /I %ch%==P goto CONVERTPNG
if /I %ch%==JPG goto CONVERTJPG
if /I %ch%==J goto CONVERTJPG
if /I %ch%==CANCEL goto :eof
echo Invalid choice & goto QUERY

:CONVERTPNG
cd %cd%
ffmpeg -i %cd%/%04d.png out.mp4

:CONVERTJPG
cd %cd%
ffmpeg -i %cd%/%04d.jpg out.mp4


    



    This more complex version of the script fails, outputting :

    



    C:\tmp/img2mp4.bat4d.jpg: No such file or directory


    



    Why is it no longer calling the files that it did before and is there an easy fix for this ?

    


  • PHP script to close the ffmpeg session

    14 octobre 2016, par Kiran Kumar S

    We’ve made a PHP script to run the ffmpeg on a Windows 7 machine in background as below :

    <?php
    date_default_timezone_set('Asia/Kolkata');
    $date = date('dmY_His', time());
    $outputdst = ("C:/Users/test/Desktop/$date");
    $cmd = "ffmpeg -f dshow -i video=screen-capture-recorder -r 15 -t 360 $outputdst.avi ";

    $WshShell = new COM("WScript.Shell");
    $WshShell->Run($cmd, 0, false);
    ?>

    The script is able to start the screen recording. Now the issue is if I kill the process, then the recorded file is not playing. How to stop ffmpeg without corrupting the recorded file ?

  • Revision 69908 : inserer avant ou car peut etre un script inline et ...

    14 février 2013, par cedric@… — Log

    inserer avant &lt ;link&gt ; ou &lt ;/head&gt ; car &lt ;script&gt ; peut etre un script inline et il devient bloquant derriere ne css