Recherche avancée

Médias (1)

Mot : - Tags -/getid3

Autres articles (80)

  • L’utiliser, en parler, le critiquer

    10 avril 2011

    La première attitude à adopter est d’en parler, soit directement avec les personnes impliquées dans son développement, soit autour de vous pour convaincre de nouvelles personnes à l’utiliser.
    Plus la communauté sera nombreuse et plus les évolutions seront rapides ...
    Une liste de discussion est disponible pour tout échange entre utilisateurs.

  • Récupération d’informations sur le site maître à l’installation d’une instance

    26 novembre 2010, par

    Utilité
    Sur le site principal, une instance de mutualisation est définie par plusieurs choses : Les données dans la table spip_mutus ; Son logo ; Son auteur principal (id_admin dans la table spip_mutus correspondant à un id_auteur de la table spip_auteurs)qui sera le seul à pouvoir créer définitivement l’instance de mutualisation ;
    Il peut donc être tout à fait judicieux de vouloir récupérer certaines de ces informations afin de compléter l’installation d’une instance pour, par exemple : récupérer le (...)

  • XMP PHP

    13 mai 2011, par

    Dixit Wikipedia, XMP signifie :
    Extensible Metadata Platform ou XMP est un format de métadonnées basé sur XML utilisé dans les applications PDF, de photographie et de graphisme. Il a été lancé par Adobe Systems en avril 2001 en étant intégré à la version 5.0 d’Adobe Acrobat.
    Étant basé sur XML, il gère un ensemble de tags dynamiques pour l’utilisation dans le cadre du Web sémantique.
    XMP permet d’enregistrer sous forme d’un document XML des informations relatives à un fichier : titre, auteur, historique (...)

Sur d’autres sites (5411)

  • FFMPEG running slow, any ideas how to speed up the process ?

    24 mars 2021, par Ryan Emanuel
    frame_count = 1200 
frame_dur = 12
def color_array_ext(folder_path, window):
    c_array =np.zeros((1,3))
    for frame in range(frame_count)):
         if (frame + .5 * frame_dur) % frame_dur == 0:
         cmd = 'ffmpeg -i {} -ss {} -vframes 1 C:\\Users\Owner\\Color_Sequence\\test{}.png'.format(folder_path, .5 * frame / frame_dur, frame)
         subprocess.call(cmd.split())
         sample = image.imread('C:\\Users\\Ryan\\Color_Sequence\\test%s.png' %frame)
         h_center = sample.shape[0]/2
         w_center = sample.shape[1]/2
         frame_window = sample[h_center - window:h_center + window, w_center-window: w_center+window]
         transformed_frame_window = frame_window.reshape(-1,3)
         window_avg = np.mean(transformed_frame_window, axis=0)
         c_array = np.concatenate((c_array, np.array([window_avg])), axis=0)
  c_array_A = c_array[1:]


    


    I have a QuickTime video that just cycles through colors every 12 frames for 1200 frames. I'm trying to create a script to extract an average RGB value of the center of the frame for every color in the video and store it in a NumPy array.

    


    I tried to avoid storing an entire image sequence of PNGs and then iterating through them to get the RGB values. Right now the current code only saves the images to disk it needs, but I'm sure there's a better way to do this where the execution doesn't take so long. Currently, the process takes a 10 minutes for 125 samples on my machine, which is unacceptably slow. How can I speed this up ?

    


  • Revision 36538 : On ajoute en base hasaudio et hasvideo ’oui’ ou ’’ On détecte mieux les ...

    22 mars 2010, par kent1@… — Log

    On ajoute en base hasaudio et hasvideo ’oui’ ou
    On détecte mieux les codes audio et videos sur les flv

  • avcodec/pngdec : improve handling of bad cICP range tags

    12 décembre 2023, par Leo Izen
    avcodec/pngdec : improve handling of bad cICP range tags
    

    FFmpeg doesn't support tv-range RGB throughout most of its pipeline, so
    we should keep the warning. However, in case something does support it
    we should at least keep it tagged properly. Additionally, the encoder
    writes this tag if the space is tagged as such so this makes a round
    trip work as it should.

    Also, PNG doesn't support nonzero matrices but we only warn and ignore
    in that case, so we have no reason to error out for illegal cICP ranges
    either (i.e. greater than 1).

    Signed-off-by : Leo Izen <leo.izen@gmail.com>
    Reported-by : Kacper Michajłow <kasper93@gmail.com>

    • [DH] libavcodec/pngdec.c