Recherche avancée

Médias (91)

Autres articles (112)

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

  • 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

  • Personnaliser les catégories

    21 juin 2013, par

    Formulaire de création d’une catégorie
    Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
    Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
    On peut modifier ce formulaire dans la partie :
    Administration > Configuration des masques de formulaire.
    Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
    Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...)

Sur d’autres sites (11321)

  • Anomalie #4634 (Fermé) : Supprimer la classe .album ?

    8 février 2021, par nicod _
  • Need Help PRO ffmpeg Python input multi video type in folder for overlay logo and output to only mp4 with same or random name please

    29 août 2021, par noobherepleasehelpme

    I need help please
I'm new to python and ffmpeg.

    


    Now I use this basic command To use ffmpeg add a logo overlay to the video file.

    


    import ffmpeg
main = ffmpeg.input('1.mkv')
logo = ffmpeg.input('logo.png')
(
    ffmpeg
    .filter([main, logo], 'overlay', 10, 10)
    .output('2.mp4')
    .run(overwrite_output=True)
)



    


    It works very well, I found it on here.
But is it possible to have ffmpeg to input all mp4 or mkv files in a folder ?

    


    or command ffmpeg Find all types of video files in the folder. (if possible)

    


    and insert the logo with filter overlay as usual

    


    and output to the original file name or random name

    


    thanks please help me

    


  • playing part of audio of video/audio file from a specific point(second) to another point

    13 avril 2021, par Farhang Amaji

    I want to play audio from a specific point(second) to another point of a video or an audio file.

    


    I know there are some libraries like Pymedia or audioclipextractor but I can't find the way of doing this because their documentations seem to be vague or incomplete. for instance from example of audioclipextractor I can't understand where is '/path/to/ffmpeg'.

    


    or any other way of playing audio from a point to point is appreciated.

    


    from audioclipextractor import AudioClipExtractor, SpecsParser

# Inicialize the extractor
ext = AudioClipExtractor('/path/to/audio/file.mp3', '/path/to/ffmpeg')

# Define the clips to extract
# It's possible to pass a file instead of a string
specs = '''
    3.5     17      Winter is coming.
    26      32.4    Summer child.
    40      58.9    Hodor. Hodor. Hodor.
'''

# Extract the clips according to the specs and save them as a zip archive
ext.extract_clips(specs, '/path/to/output/directory', zip_output=True)


    


    also I would love to know straight way of playing audio from a video file in from point to point if its possible to do except converting it first.