Recherche avancée

Médias (2)

Mot : - Tags -/doc2img

Autres articles (104)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

  • Le profil des utilisateurs

    12 avril 2011, par

    Chaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
    L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...)

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

Sur d’autres sites (10946)

  • How to create thumbnail about torrent without downloading video files ? [on hold]

    1er septembre 2019, par tty78

    Most of time, torrent sites like RARBG/The Pirate Bay/KickAss would return many query results even through I have typed in many detailed keywords, which is not strange because there are many people upload it.

    So, when i want to watch/download a torrent movie, it’s better to check the video first to find out that :

    • is it a fake video
    • is the video watermarked
    • is there some AD in the video
    • is it 1980*1080 or 640*480 ??

    What i want to do is creating thumbnail of the videos without download them, so that i can save a lot of broadband, disk space and time.

    Now I can create thumbnail with a python tool - vcsi, but it depends on the video file stored in disk.
    In fact, vcsi get meta information with ffprobe and create thumbnail using ffmpeg.

    def probe_media(self, path):
       """Probe video file using ffprobe
       """
       ffprobe_command = [
           "ffprobe",
           "-v", "quiet",
           "-print_format", "json",
           "-show_format",
           "-show_streams",
           path
       ]

       try:
           output = subprocess.check_output(ffprobe_command)
           self.ffprobe_dict = json.loads(output.decode("utf-8"))
       except FileNotFoundError:
           error = "Could not find 'ffprobe' executable. Please make sure ffmpeg/ffprobe is installed and is in your PATH."
           error_exit(error)
    ffmpeg_command = [
           "ffmpeg",
           "-ss", skip_time,
           "-i", self.path,
           "-ss", skip_delay,
           "-vframes", "1",
           "-s", "%sx%s" % (width, height),
       ]

    WebTorrent may be a solution but it’s not good because I have a lot of torrent file to scan.
    I want to create thumbnail on a ubuntu VPS because it can run day and night, and i can post thumbnail under the torrent comments.
    Some key frame, resolution and duration are enough, maybe.
    vcsi sample

  • C++ code for ffmpeg terminal command [on hold]

    17 janvier 2018, par KingWealth

    Platform - Linux
    I created a v4l2loopback device by following the guide.
    The following terminal command is used to write the video testsrc.avi into the loopback device /dev/video1

    ffmpeg -re -i testsrc.avi -f v4l2 /dev/video1

    Now the question is, I want the c++ code for the above mentioned to terminal comment.

    Note - c++ code for -f v4l2 /dev/video1 is enough too.

    The actual program and logic is really long and irrelevant to explain.
    The problem is, i want to write ffmpeg avframes into the loopback device but using fwrite is giving disturbed output.

  • I would make the fadeout this code go to the volume 0.1 is possible

    18 décembre 2015, par wildson

    I would make the fadeout this code go to the volume 0.1 is possible ?

    exec("ffmpeg -i audio.mp3 -af 'afade=t=out:st=30:d=5' out.mp3");