Recherche avancée

Médias (0)

Mot : - Tags -/alertes

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

Autres articles (49)

  • Modifier la date de publication

    21 juin 2013, par

    Comment changer la date de publication d’un média ?
    Il faut au préalable rajouter un champ "Date de publication" dans le masque de formulaire adéquat :
    Administrer > Configuration des masques de formulaires > Sélectionner "Un média"
    Dans la rubrique "Champs à ajouter, cocher "Date de publication "
    Cliquer en bas de la page sur Enregistrer

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

  • Encoding and processing into web-friendly formats

    13 avril 2011, par

    MediaSPIP automatically converts uploaded files to internet-compatible formats.
    Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
    Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
    Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
    All uploaded files are stored online in their original format, so you can (...)

Sur d’autres sites (5914)

  • Using FFmpeg AutoGen save to bitmap works on Windows but not on Linux

    5 décembre 2024, par Chris

    I'm using FFmpeg.AutoGen to decrypt video and save the frames as bitmaps. Code is using dotnet core and I'd like to get it working for both Windows and Linux.

    


    The code is similar to the example provided : https://github.com/Ruslan-B/FFmpeg.AutoGen/blob/db9bcd4b9dfad5d117ffd71fe1a2d073e96a3520/FFmpeg.AutoGen.Example/Program.cs

    


    AVFrame convertedFrame = this.converter.Convert(frame);
Bitmap image = new Bitmap(convertedFrame.width, convertedFrame.height, convertedFrame.linesize[0], PixelFormat.Format24bppRgb, (IntPtr)convertedFrame.data[0]);


    


    When saving the image using :

    


    image.Save($"returned-image-{DateTime.Now.Ticks}.png", ImageFormat.Bmp);


    


    The image looks fine on Windows, but is corrupted in Linux.

    


  • Optimized timestamp retrieval to take advantage of faster Date.now() available in all modern browsers, with backwards compatable option for IE 9

    26 mars 2013
    m js/jquery.fileupload.js
    
    Optimized timestamp retrieval to take advantage of faster Date.now() available in all modern browsers, with backwards compatable option for IE < 9
  • assign date and time to output file

    3 avril 2014, par Maged E William

    i am working on ffmpeg screen capture and i wan't it to start recording on start up, so i need to give the output video file a name that is different every time i start recording i did find this question very close to what i need, so i ended up with this commands in a batch file :

    @echo off
    For /f "tokens=2-4 delims=/ " %%a in (&#39;date /t&#39;) do (set mydate=%%c-%%a-%%b)
    For /f "tokens=1-2 delims=/" %%a in (&#39;time /t&#39;) do (set mytime=%%a%%b)

    cd /d E:\ffmpeg\bin

    ffmpeg -f dshow -i video="screen-capture-recorder"
    -c:v libx264 -r 10 -crf 37 -pix_fmt yuv420p E:\%mydate%_%mytime%.flv

    now i get an error in ffmpeg cmd : [NULL @ 0270d2c01] Unable to find a suitable output format for 'E :-04-2014_02:35'

    E :-04-2014_02:35 Invalid argument

    i know it because the special characters in mytime : but i don't know how to change it.