Recherche avancée

Médias (3)

Mot : - Tags -/pdf

Autres articles (38)

  • 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

  • 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

  • Encoding and processing into web-friendly formats

    13 avril 2011, par

    MediaSPIP automatically converts uploaded files to internet-compatible formats.
    Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
    Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
    Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
    All uploaded files are stored online in their original format, so you can (...)

Sur d’autres sites (6032)

  • Trying to trim a video using FFMpeg in Python in a loop using variables as the start frame and end frame

    29 juin 2022, par LearningPython

    I'm writing a program using Python. I need to use FFMpeg as part of a loop within my program. I want FFMpeg to take my video file and create a new output each loop, using variables as the start and end point (as specific frames) How can I do this ? I found some other code online which I think is on the right track but I need some help.

    


    ffmpeg_start = start_sample / 29.97
ffmpeg_end = end_sample / 29.97

import os

path = '/Users/a/Downloads/Video'

for filename in os.listdir(path):
    if filename.endswith(".mp4"):
        command = "ffmpeg -fflags +discardcorrupt -i " + os.path.join(path, filename) + " -c copy -map 0 -ss {ffmpeg_start} -t {ffmpeg_end} -f segment -reset_timestamps 1 " + os.path.join(path, "output%03d.mp4")
        os.system(command)
    else:
        continue


    


    The error I'm currently getting is : "Invalid duration specification for ss : ffmpeg_start"
Thanks in advance !

    


  • Removing / Overlaying logo on mp4 video format with ffmpeg on linux

    13 juillet 2016, par SilverShadow

    I’m trying to remove logo from an .mp4 video format with ffmpeg on linux machine without re-encoding (for preserving the same quality) with the following command :

    ffmpeg -i input.mp4 -vf delogo=x=270:y=190:w=40:h=40 -c:a copy output.mp4

    and it give me the following errors :

    Unrecognized option 'vf'

    then a new error came up :

    Unable to find a suitable output format for 'delogo=x=270:y=190:w=40:h=40'

    ffmpeg always updating and it seems that they change command line arguments alot so any material or tutorial i find online seems to get out-dated quickly

    I review their website documentation but can’t get it to work, I think i’m missing something...?

    so what is the correct command line in linux shell also, how to view or find out exactly the area coordinates to be removed before actually removing logo/overlaying it and keep testing every while

    and how to overlay a solid color in certain area instead of removing logo transparently as well ?

  • How to combine a .mp4 video with a .wav audio with an offset in ffmpeg from command line ?

    15 mars 2014, par minder42

    I've got a TV clip in mp4 format containing audio and video, and an WAV audio_commentary track.

    I've been trying to combine them in ffmpeg and then play it online with a flash player (which can only take h264 format)

    What's the best ffmpeg command to accomplish this ? My inputs are MP4 video, WAV audio, and an offset in seconds, the time the audio commentary starts relative to the start of the mp4 video.

    I tried

    ffmpeg -i input_audio.wav -i input_vid.mp4 -vcodec copy output.mp4

    and

    ffmpeg -vcodec copy -ss offset -i input_audio.wav -i input_video.mp4 output.mp4

    nether of these do what I want and output the video in the h264 format that is good for flash players- Is there a way to do this from command line in ffmpeg ?