Recherche avancée

Médias (0)

Mot : - Tags -/page unique

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

Autres articles (29)

  • Other interesting software

    13 avril 2011, par

    We don’t claim to be the only ones doing what we do ... and especially not to assert claims to be the best either ... What we do, we just try to do it well and getting better ...
    The following list represents softwares that tend to be more or less as MediaSPIP or that MediaSPIP tries more or less to do the same, whatever ...
    We don’t know them, we didn’t try them, but you can take a peek.
    Videopress
    Website : http://videopress.com/
    License : GNU/GPL v2
    Source code : (...)

  • ANNEXE : Les plugins utilisés spécifiquement pour la ferme

    5 mars 2010, par

    Le site central/maître de la ferme a besoin d’utiliser plusieurs plugins supplémentaires vis à vis des canaux pour son bon fonctionnement. le plugin Gestion de la mutualisation ; le plugin inscription3 pour gérer les inscriptions et les demandes de création d’instance de mutualisation dès l’inscription des utilisateurs ; le plugin verifier qui fournit une API de vérification des champs (utilisé par inscription3) ; le plugin champs extras v2 nécessité par inscription3 (...)

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

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

  • Discord bot not playing any audio and immediately terminates once joined channel (Python)

    28 novembre 2024, par MrPwnageLegend

    I am trying to create a small discord bot for me and my friends. Currently, I tried several examples online for a music bot using ffmpeg. I added the path to environment variables as well. I simplified the code to make it easier to debug. Below is the code :

    


    voice_client = await msg.author.voice.channel.connect()
print(voice_client.is_playing())
FFMPEG_OPTIONS = {'before_options': '-reconnect 1 -reconnect_streamed 1 -reconnect_delay_max 5','options': '-vn'}
voice_client.play(discord.FFmpegPCMAudio(source="test.mp3", **FFMPEG_OPTIONS))


    


    The moment the bot enters the channel, it displays this on the terminal and nothing else happens :
discord.player ffmpeg process 18792 successfully terminated with return code of 2880417800

    


    I originally tried Youtube videos, but that did not work. So, I tried local files, and that did not work as well. Tried bypassing the ffmpeg path using executable = "C:\\ffmpeg\\ffmpeg.exe", still the same error. Is there some other reasons for the error such as firewalls etc ? I have set the intents to all(). Could that be a problem as well ?