Recherche avancée

Médias (91)

Autres articles (16)

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

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

  • Why Do Some of the Codecs in FFMPEG's Supported Codec List Show "encoders :" or "decoders :" in Parenthesis ?

    4 mai 2020, par spaceman

    If you open the Command Prompt, and run ffmpeg -codecs,
    
you will get a long list of Codecs that FFMPEG supports.

    



    Here's a small sample of the list :

    



     DEV.L. h261                 H.261
 DEV.L. h263                 H.263 / H.263-1996, H.263+ / H.263-1998 / H.263 version 2
 D.V.L. h263i                Intel H.263
 DEV.L. h263p                H.263+ / H.263-1998 / H.263 version 2
 DEV.LS h264                 H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 (encoders: libx264 libx264rgb)
 D.V.LS hevc                 H.265 / HEVC


    



    Now If you briefly go over the whole list,
    
you see that most Codecs in this list appear with their Name and Description,
    
but some of the Codecs also include parenthesis in the Description, and in the parenthesis,
    
they specify "encoders :" or "decoders :".

    



    For example :

    



    1)

    



     DEV.LS h264                 H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 (encoders: libx264 libx264rgb)


    



    2)

    



     DEVILS jpeg2000             JPEG 2000 (decoders: jpeg2000 libopenjpeg) (encoders: jpeg2000 libopenjpeg)


    



    3)

    



     DEV.L. msmpeg4v3            MPEG-4 part 2 Microsoft variant version 3 (decoders: msmpeg4) (encoders: msmpeg4)


    



    4)

    



     DEA.L. aac                  AAC (Advanced Audio Coding) (encoders: aac libvo_aacenc)


    



    5)

    



     DEA.L. amr_nb               AMR-NB (Adaptive Multi-Rate NarrowBand) (decoders: amrnb libopencore_amrnb) (encoders: libopencore_amrnb)
 DEA.L. amr_wb               AMR-WB (Adaptive Multi-Rate WideBand) (decoders: amrwb libopencore_amrwb) (encoders: libvo_amrwbenc)


    



    My question :

    



    Why do some Codecs have those parenthesis, specifying Encoders/Decoders,
    
while other (in fact : most) codecs don't have these parenthesis ?

    


  • ffmpeg : edit metadata and automatically increment their name + set the value of "Title" based on "Name"

    29 décembre 2018, par J. Does

    This PowerShell code divides a large audio file (sound1) in 5 minutes parts and saves them as sound100_1.mp3, sound1_002.mp3...

    ffmpeg -i $file_name_complete -f segment -segment_time 300 -c copy $fileNameOnly"_"%03d$fileExtensionOnly
    • How can I set the metadata title to be the same than the file name ?

    • And how can I also (on the same time) edit the Album metadata with an incremental name (it’s useless, but it’s to understand how that work). It should be alb_1, alb_2.

    I have seen on the docs that I should use :

    -metadata title="my title"

    But :

    • should I repeat each time -metadata for each metadata ? EDIT : yes according to this

    • how can I increment the number since the title need to be quoted (-metadata title="$fileNameOnly""_"%03d won’t work since the last quote is missing)

    • how can I set the title field so it take the same value than the Name ?


    This did not work :

    ffmpeg -i $file_name_complete -f segment -segment_time 300
          -metadata title="$fileNameOnly""_"%03d album="test"
          -c copy $fileNameOnly"_"%03d$fileExtensionOnly

    I get this error :

    -metadata : The term ’-metadata’ is not recognized as the name of a cmdlet

  • FFMPEG Batch Copy Metadata from "Folder1File1.mp3" to "Folder2File1.mp3" in different folders

    27 février 2020, par Vektorz

    I have two separate files in separate folders with the same name and I would like to transfer the metadata from the file in "folder1" to "folder2".
    Then I would like to add a whole bunch of files fitting this same format and batch transfer all of the metadata information.

    From a stack exchange thread I’ve tried :

    "The following script will loop through the the files in one directory, find corresponding files in a second directory and then combine these two files into a third output directory

    dir1=FIRST DIRECTORY
    dir2=SECOND DIRECTORY
    output=OUTPUT DIRECTORY
    for file in $(ls $dir1); do
     ffmpeg -i "$dir1/$file" -i "$dir2/$file" -map 1 -c copy \
      # copies all global metadata from in0.mkv to out.mkv  
      -map_metadata 0 \
      # copies video stream metadata from in0.mkv to out.mkv
      -map_metadata:s:v 0:s:v \
      # copies audio stream metadata from in0.mkv to out.mkv
      -map_metadata:s:a 0:s:a \
      "$outdir/$file"
    done"

    But for the life of me I cannot get this to work properly and it is a bit overkill. He continues on saying :

    If you want to make something reuseable you could put this in a script with the following header (remove the assignment for dir1, dir2 and output in the script above). And then call it as script.sh dir1 dir2 outdir

    #!/bin/bash
    set -x errexit # exit immediately on error
    dir1="$1"
    dir2="$2"
    output="$3"

    And I am totally lost. Can someone please help me to get this to work and walk me through it a bit easier as I’m fairly inexperienced with code/FFMPEG.

    Thank you.