Recherche avancée

Médias (1)

Mot : - Tags -/école

Autres articles (40)

  • Les tâches Cron régulières de la ferme

    1er décembre 2010, par

    La gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
    Le super Cron (gestion_mutu_super_cron)
    Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...)

  • Use, discuss, criticize

    13 avril 2011, par

    Talk to people directly involved in MediaSPIP’s development, or to people around you who could use MediaSPIP to share, enhance or develop their creative projects.
    The bigger the community, the more MediaSPIP’s potential will be explored and the faster the software will evolve.
    A discussion list is available for all exchanges between users.

  • Librairies et binaires spécifiques au traitement vidéo et sonore

    31 janvier 2010, par

    Les logiciels et librairies suivantes sont utilisées par SPIPmotion d’une manière ou d’une autre.
    Binaires obligatoires FFMpeg : encodeur principal, permet de transcoder presque tous les types de fichiers vidéo et sonores dans les formats lisibles sur Internet. CF ce tutoriel pour son installation ; Oggz-tools : outils d’inspection de fichiers ogg ; Mediainfo : récupération d’informations depuis la plupart des formats vidéos et sonores ;
    Binaires complémentaires et facultatifs flvtool2 : (...)

Sur d’autres sites (5005)

  • how to give random name to the file in ffmpeg

    18 mars 2020, par amit9867

    How can i give random name to a output file in ffmpeg.

    I want to give the filename as current date_time (ex.2020-3-18-10-13-4.mkv).

    I don’t want to give a fix name such as output.mkv.

    import os
    import subprocess
    import tkinter as tk
    import datetime

    root = tk.Tk()

    os.chdir(f'C://Users/{os.getlogin()}/desktop/')
    def recording_voice():
     global p
     p =subprocess.Popen('ffmpeg -i video.avi -i audio.wav -c:v copy -c:a aac -strict experimental -strftime 1 "%Y-%m-%d_%H-%M-%S.mkv"' ,stdin=subprocess.PIPE)


    rec_btn = tk.Button(text='Start merging', width=20, command=recording_voice)
    rec_btn.pack()


    root.mainloop()
  • How can I add chapters to .mp4 files using a python script ? [duplicate]

    7 mars 2023, par Random

    Is there an easy way to add chapters (i.e. : sections with titles) to .mp4 files using a python script ?

    


    For example, the script could process a 3-minutes video and label the first minute as "Beginning", the second minute as "Middle", and the last minute as "End".

    


    The only solution (link) I stumbled upon so far involves using a ffmpeg command on the command line to extract the original ffmetadata from the video file before appending the chapters to it and updating the video with it.

    


    However, I would like the process to be automated using a python script (instead of having to use the command line each time I have to process a video).

    


  • VLC can read mp3 but FFMPEG "could not find codec parameters"

    9 septembre 2021, par Be Chiller Too

    I'm trying to process some audio with PyDub, but encountered an error, that seems to stem from ffmpeg, so I investigated, tried to process the audio file directly with ffmpeg and I reproduced the error :

    


    PS C:\Users\Me\AppData\Local\Temp\16311759704613> ffmpeg -i .\input.mp3 out.wav
ffmpeg version 2020-12-12-git-5148740e79-essentials_build-www.gyan.dev Copyright (c) 2000-2020 the FFmpeg developers
  built with gcc 10.2.0 (Rev5, Built by MSYS2 project)
  configuration: --enable-gpl --enable-version3 --enable-static --disable-w32threads --disable-autodetect --enable-fontconfig --enable-iconv --enable-gnutls --enable-libxml2 --enable-gmp --enable-lzma --enable-zlib --enable-libsrt --enable-libssh --enable-libzmq --enable-avisynth --enable-sdl2 --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxvid --enable-libaom --enable-libopenjpeg --enable-libvpx --enable-libass --enable-libfreetype --enable-libfribidi --enable-libvidstab --enable-libvmaf --enable-libzimg --enable-amf --enable-cuda-llvm --enable-cuvid --enable-ffnvcodec --enable-nvdec --enable-nvenc --enable-d3d11va --enable-dxva2 --enable-libmfx --enable-libgme --enable-libopenmpt --enable-libopencore-amrwb --enable-libmp3lame --enable-libtheora --enable-libvo-amrwbenc --enable-libgsm --enable-libopencore-amrnb --enable-libopus --enable-libspeex --enable-libvorbis --enable-librubberband
  libavutil      56. 62.100 / 56. 62.100
  libavcodec     58.115.102 / 58.115.102
  libavformat    58. 65.100 / 58. 65.100
  libavdevice    58. 11.103 / 58. 11.103
  libavfilter     7. 93.100 /  7. 93.100
  libswscale      5.  8.100 /  5.  8.100
  libswresample   3.  8.100 /  3.  8.100
  libpostproc    55.  8.100 / 55.  8.100
[mpegts @ 00000220e533d3c0] changing packet size to 188
[mpegts @ 00000220e533d3c0] changing packet size to 204
[mpegts @ 00000220e533d3c0] changing packet size to 192
[mpegts @ 00000220e533d3c0] changing packet size to 188
[mpegts @ 00000220e533d3c0] changing packet size to 204
[mpegts @ 00000220e533d3c0] changing packet size to 192
[mpegts @ 00000220e533d3c0] changing packet size to 188
[mpegts @ 00000220e533d3c0] changing packet size to 204
[mpegts @ 00000220e533d3c0] changing packet size to 192
.\input.mp3: could not find codec parameters
PS C:\Users\Me\AppData\Local\Temp\16311759704613>


    


    I tried to listen to the audio, VLC can open the file :

    


    VLC

    


    And Audacity can too :

    


    Audacity

    


    What can I do to process this file with ffmpeg ?