Recherche avancée

Médias (0)

Mot : - Tags -/publication

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

Autres articles (50)

  • Mise à jour de la version 0.1 vers 0.2

    24 juin 2013, par

    Explications des différents changements notables lors du passage de la version 0.1 de MediaSPIP à la version 0.3. Quelles sont les nouveautés
    Au niveau des dépendances logicielles Utilisation des dernières versions de FFMpeg (>= v1.2.1) ; Installation des dépendances pour Smush ; Installation de MediaInfo et FFprobe pour la récupération des métadonnées ; On n’utilise plus ffmpeg2theora ; On n’installe plus flvtool2 au profit de flvtool++ ; On n’installe plus ffmpeg-php qui n’est plus maintenu au (...)

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

  • Why is ffmpeg-python throwing a codec error here ?

    15 octobre 2019, par TwentyPenguins

    I’m trying out ffmpeg-python for the first time and I’m hitting what looks like a complex error surprisingly early on.

    Here’s my complete code as it stands :

    from tkinter import filedialog
    import ffmpeg

    sourceFile = filedialog.askopenfile()
    targetFile = filedialog.asksaveasfilename()

    stream = ffmpeg.input(sourceFile, ss=0, format='mov')
    stream = ffmpeg.output(stream, targetFile, format='mp4')
    ffmpeg.run(stream)

    In my head, this ought to be simple. The user browses to an existing MOV file (a standard h264 file which ’normal’ FFmpeg.exe can handle no problem on a Windows command line), then selects an output file for an MP4 to be saved, then FFmpeg is called and an MP4 file is converted from the MOV.

    However, regardless of what source file I choose, I am always hitting this error :

     File "C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python37_64\lib\site-packages\ffmpeg\_ffmpeg.py", line 85, in output
     File "C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python37_64\lib\site-packages\ffmpeg\_run.py", line 285, in run_async
       args, stdin=stdin_stream, stdout=stdout_stream, stderr=stderr_stream
     File "C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python37_64\lib\subprocess.py", line 775, in __init__
       restore_signals, start_new_session)
     File "C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python37_64\lib\subprocess.py", line 1119, in _execute_child
       args = list2cmdline(args)
     File "C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python37_64\lib\subprocess.py", line 530, in list2cmdline
       needquote = (" " in arg) or ("\t" in arg) or not arg
     File "C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python37_64\lib\encodings\cp1252.py", line 23, in decode
       return codecs.charmap_decode(input,self.errors,decoding_table)[0]
    UnicodeDecodeError: 'charmap' codec can't decode byte 0x90 in position 41: character maps to <undefined>
    </undefined>

    The position number changes depending on the file but the error is always ’charmap’ codec can’t decode byte 0x90 in position [x] : character maps to < undefined >

    Please can somebody point me to where I may be going wrong on this one ? I feel the answer is staring me in the face but I’m not seeing it.

  • Cycle recording using vlc or ffmpeg

    9 août 2016, par kAldown

    I have Chinese action camera with only 10 minutes of cycle recording.

    But ac have wi-fi so I can catch video stream, and configure recording from pc while camera cycling only 10 mins.

    Need to record video on a same file for every 30 mins loop using vlc or ffmpeg.

    Or should I write a cron script to run every amount of time ?

  • Any way to merge audio and video files in python ?

    23 août 2023, par TobyTheDev

    I have been working on a project and one of the feature is to merge an audio and a video file together. I have no idea on how to approach it.

    &#xA;

    I tried a python package called 'ffmpeg-python' which was recommended but couldn't figure it out how to use it. Also there is another 'ffmpeg' package but it looks suspicious and the repository is in Chinese or something.

    &#xA;

    Would like a solution.

    &#xA;