Recherche avancée

Médias (2)

Mot : - Tags -/map

Autres articles (88)

  • Amélioration de la version de base

    13 septembre 2013

    Jolie sélection multiple
    Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
    Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

  • Ecrire une actualité

    21 juin 2013, par

    Présentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
    Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
    Vous pouvez personnaliser le formulaire de création d’une actualité.
    Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)

Sur d’autres sites (9912)

  • using file info from txt file to bull trim audio with ffmpeg

    26 juin 2018, par thirtylightbulbs

    I have found how to trim individual audio files with ffmpeg. Is there any way to do it on bulk ? I have thousands of audio files each with different segments that need to be saved separately. The input file, time to start clipping, and duration are all in separate columns, row by row, in a text/excel file.

  • Programmatically sending bytes to ffmpeg via STDIN to create still image file

    8 octobre 2019, par Sam Marrocco

    I am attempting to use vb.net code to send individual pixel information as bytes to ffmpeg with the purpose of saving a still DPX image file. I have already successfully read DPX files and output them via STDOUT into vb.net code.

    There seem to be many examples out there of piping movie files but there are also discrepancies, such as some people using image2pipe and others using rawvideo. I am uncertain when to use one over the other. The various methods I’ve tried result in ffmpeg returned errors such as "Packet too small for DPX header" or "Error while decoding stream #0:0 : Invalid data found when processing input". As I understand it, I am not providing a header, only the raw individual pixel RGBRGBRGB.... values as a byte array.

    The arguments sent to ffmpeg via command line are :

    -f image2pipe -pix_fmt rgb24 -s 16x16 -bits_per_raw_sample 8 -c:v dpx -i - \MyPath\MyFilename.dpx

    My vb.net code is as follows :

    Dim P As New Process
    P.StartInfo.FileName = m_FFMPEGExecutable_PathFile
    P.StartInfo.Arguments = (see above arguments)
    P.StartInfo.UseShellExecute = False
    P.StartInfo.CreateNoWindow = True
    P.StartInfo.RedirectStandardInput = True
    p.Start


    'Test image: A single red, green, blue, black and white pixel followed by all black

    Dim Tiny((16 * 16) - 1) As Byte

    Tiny(0) = 255
    Tiny(1) = 0
    Tiny(2) = 0

    Tiny(3) = 0
    Tiny(4) = 255
    Tiny(5) = 0

    Tiny(6) = 0
    Tiny(7) = 0
    Tiny(8) = 255

    For i As byte = 9 To ((16x16)-1)
      Tiny(i) = 255
    Next

    'Send the rgb byte array to ffmpeg:
    P.StandardInput.BaseStream.Write(Tiny, 0, Tiny.Length)
    P.StandardInput.Flush()
    P.StandardInput.Close()

    I have tried many variations on the above ffmpeg arguments but cannot seem to avoid these errors. Any suggestions would be appreciated, including information on when to use image2pipe vs. rawvideo.

  • Changing x264 settings on the fly

    22 décembre 2018, par S Red

    I am curious to know if anyone has experience with modifying x264 settings during encoding (this is for testing live streaming hence I need to be able to modify settings based on cpu and upload characteristics).

    I saw an API for encoder_reconfig() in x264.h, curious if folks have used that, and if its accessible from ffmpeg ? Is it possible to modify a high-level option like ’preset’, or do I need to modify individual options like chroma-me, trellis etc.