Recherche avancée

Médias (91)

Autres articles (62)

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

  • Formulaire personnalisable

    21 juin 2013, par

    Cette page présente les champs disponibles dans le formulaire de publication d’un média et il indique les différents champs qu’on peut ajouter. Formulaire de création d’un Media
    Dans le cas d’un document de type média, les champs proposés par défaut sont : Texte Activer/Désactiver le forum ( on peut désactiver l’invite au commentaire pour chaque article ) Licence Ajout/suppression d’auteurs Tags
    On peut modifier ce formulaire dans la partie :
    Administration > Configuration des masques de formulaire. (...)

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

  • mpeg12 : Move finding the best frame rate to common code

    12 septembre 2017, par Mark Thompson
    mpeg12 : Move finding the best frame rate to common code
    

    Previously in the mpeg2_metadata filter. Also adds a test.

    • [DBH] libavcodec/Makefile
    • [DBH] libavcodec/mpeg12.h
    • [DBH] libavcodec/mpeg12framerate.c
    • [DBH] libavcodec/mpeg2_metadata_bsf.c
    • [DBH] libavcodec/tests/mpeg12framerate.c
    • [DBH] tests/fate/libavcodec.mak
  • ffmpeg - how can I capture the timestamp of a screenshot using a seek and finding the nearest iframe ?

    26 août 2018, par Charles Kirk

    I’ve tried various different methods. ffprobe has always shown sensical results, with the pts_time increasing as the frames go on, using this command :

    ffprobe -show_frames video.mp4 > probestats.txt

    I thought about using that data to find the video frame nearest to the seconds I’m seeking to in ffmpeg, but I am trying to keep this performant, as I’m generating thumbnails on uploads that could exceed 5GB, which means I would end up with 50MB+ probe files to parse.

    So, currently, I’m looping over this ffmpeg command, so as to end up with 10 thumbnails total per file, regardless of length :

    ffmpeg -i video.mp4 -ss 00:00:05 -vf select="eq(pict_type\\,I)[s1];[s1]showinfo[out]" -vframes 1 -q:v 1 thumbs/thumb-1.jpg 2>&1

    The aim is to get the nearest iframe of the seconds I’m seeking to, e.g. find the nearest iframe near the 5 second mark and take a thumbnail — which gives some increased performance.

    The issue is, ffmpeg is outputting seemingly random pts_time’s, definitely not correct compared to the pkt_pts_time shown in ffprobe.

    So as the title states, I’m looking for an ffmpeg command to generate a thumbnail at the nearest iframe to a specified seek, and get the timestamp.

  • Finding File Matches & Variable Assignment using a .BAT Script

    6 octobre 2019, par A Person — ,

    I am trying to assign a file to a variable in a and then also assign another 2 files into anoter variable.

    However, I am having an issue.

    From research, I found how I can do the assigning but does anyone know how I can do the below.

    From a folder or text file, (either is fine), find the .m2v video file and assign that to Var1 then find matching audio in .wav and put that in Var2 and the third is also an audio .wav with mathcing name and assign that to Var3.

    The problem I am having is trying to find the matching 2 audio files to the video.

    The video file is named as :

    PAV_PRG_13683Highc450277201906251802090353.m2v

    Audio 1 is :

    PAV_PRG_13683High01c450211201906251802090376.wav

    Audio 2 is :

    PAV_PRG_13683High00c450211201906251802090368.wav

    The file name matches until it sees the word High. Everything after High is not needed, (it is just a random string), so trying to match is an issue.

    Is there a way to find the match by comparing everything before High.

    Also as I will be using the variable and putting them through to merge, is there way to do it so that when the ffmpeg command has completed, it moves to the next matching files and assigns them to the variable.

    The files are store in 2 folders, one folder has all the video files *.m2v and another folder has all the *.wav audio files in pairs of 2. Each video has exactly 2 audios, (left right).

    is there any help on this subject, I have already come up empty in my research and have been checking for this over the last week spent almost 30 hours.