Recherche avancée

Médias (3)

Mot : - Tags -/collection

Autres articles (25)

  • (Dés)Activation de fonctionnalités (plugins)

    18 février 2011, par

    Pour gérer l’ajout et la suppression de fonctionnalités supplémentaires (ou plugins), MediaSPIP utilise à partir de la version 0.2 SVP.
    SVP permet l’activation facile de plugins depuis l’espace de configuration de MediaSPIP.
    Pour y accéder, il suffit de se rendre dans l’espace de configuration puis de se rendre sur la page "Gestion des plugins".
    MediaSPIP est fourni par défaut avec l’ensemble des plugins dits "compatibles", ils ont été testés et intégrés afin de fonctionner parfaitement avec chaque (...)

  • Activation de l’inscription des visiteurs

    12 avril 2011, par

    Il est également possible d’activer l’inscription des visiteurs ce qui permettra à tout un chacun d’ouvrir soit même un compte sur le canal en question dans le cadre de projets ouverts par exemple.
    Pour ce faire, il suffit d’aller dans l’espace de configuration du site en choisissant le sous menus "Gestion des utilisateurs". Le premier formulaire visible correspond à cette fonctionnalité.
    Par défaut, MediaSPIP a créé lors de son initialisation un élément de menu dans le menu du haut de la page menant (...)

  • Support de tous types de médias

    10 avril 2011

    Contrairement à beaucoup de logiciels et autres plate-formes modernes de partage de documents, MediaSPIP a l’ambition de gérer un maximum de formats de documents différents qu’ils soient de type : images (png, gif, jpg, bmp et autres...) ; audio (MP3, Ogg, Wav et autres...) ; vidéo (Avi, MP4, Ogv, mpg, mov, wmv et autres...) ; contenu textuel, code ou autres (open office, microsoft office (tableur, présentation), web (html, css), LaTeX, Google Earth) (...)

Sur d’autres sites (3923)

  • Extract part of a video using ffmpeg_extract_subclip - black frames

    20 août 2020, par albert1905

    I'm trying to use : "ffmpeg_extract_subclip" for extracting part of a video.

    


    And I'm facing a few problems :

    


    1.when I'm cutting a small video (1-3seconds) I'm getting black frames, only audio is working.
2.when I'm cutting longer video, the output video is stuck 2-3 seconds before the end.

    


    This is my simple code :

    


    from moviepy.video.io.ffmpeg_tools import ffmpeg_extract_subclip

input_video_path = 'myPath/vid1.mp4'
output_video_path = 'myPath/output/vid1.mp4'
t1 = 6.5
t2 = 16    # random numbers, my last attempt..
    
ffmpeg_extract_subclip(input_video_path, t1, t2, targetname=output_video_path)


    


    I tried to look inside the code :
ffmpeg_extract_subclip Function

    


    But still couldn't understand what's wrong.. :(

    


    I'm still trying, and if anyone knows the problem or have a different approach, that will be amazing.

    


    Thanks a lot for your help !

    


  • using ffmpeg to resize video with black bars

    23 juillet 2018, par Jens S

    i have a video with resolution 720:576 and i want it to have the ratio 16:9, e.g. 1024:576 with black bars on the sides. don’t know if it matters, but i am working with ffmpeg for windows. After research i tried the solution i found on 2 related questions :

    -i .\video.mp4 -vf scale=1024:576:force_original_aspect_ratio=decrease,pad=1024:576:(ow-iw)/2:(oh-ih)/2,setsar=1 out.mp4

    but i get an output that "ow-iw" was not recognized. Here is the complete output. unfortunatly it is in german(as am i) if u tell me how to change the output language i will provide it in english :

    ow-iw : Die Benennung "ow-iw" wurde nicht als Name eines Cmdlet, einer Funktion, einer Skriptdatei oder eines ausführbaren Programms erkannt. Überprüfen Sie die Schreibweise des
    Namens, oder ob der Pfad korrekt ist (sofern enthalten), und wiederholen Sie den Vorgang.
    In Zeile:1 Zeichen:119
    + ... :576:force_original_aspect_ratio=decrease,pad=1024:576:(ow-iw)/2:(oh- ...
    +                                                             ~~~~~
       + CategoryInfo          : ObjectNotFound: (ow-iw:String) [], CommandNotFoundException
       + FullyQualifiedErrorId : CommandNotFoundException
  • ffmpeg puts black frames in the first few seconds of the video

    30 juin 2018, par Joe T. Boka

    I am adding an audio file to a video file, using ffmpy, which is a python wrapper for ffmpeg.

    The input audio file voice.wave and the input video file video.avi are the same length.

    When I use the below code, the output video output.ts contains both audio and video, as expected. The problem : the audio is running fine, but the first few seconds of the output video output.ts is black.

    from ffmpy import FFmpeg
    ff = FFmpeg(inputs={'video.avi': None, 'voice.wav': None}, outputs={'output.ts': '-c:v h264 -c:a ac3'})
    ff.cmd
    'ffmpeg  -i voice.wave -i video.avi -c:v h264 -c:a ac3 output.ts'
    ff.run()