Recherche avancée

Médias (2)

Mot : - Tags -/rotation

Autres articles (89)

  • Qu’est ce qu’un éditorial

    21 juin 2013, par

    Ecrivez votre de point de vue dans un article. Celui-ci sera rangé dans une rubrique prévue à cet effet.
    Un éditorial est un article de type texte uniquement. Il a pour objectif de ranger les points de vue dans une rubrique dédiée. Un seul éditorial est placé à la une en page d’accueil. Pour consulter les précédents, consultez la rubrique dédiée.
    Vous pouvez personnaliser le formulaire de création d’un éditorial.
    Formulaire de création d’un éditorial Dans le cas d’un document de type éditorial, les (...)

  • Multilang : améliorer l’interface pour les blocs multilingues

    18 février 2011, par

    Multilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
    Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela.

  • 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

Sur d’autres sites (11312)

  • How to open and view an image stored in .yuv format ?

    20 juin 2018, par Electrix

    I have an image(grayscale) stored as a .yuv file. How do i open the image to see with any viewer or preferably opencv ??
    Using on command line -
    display -size 640x480 -colorspace gray -depth 8 4:2:0 -interlace plane 0001.yuv shows the image in a blurred form.
    ffmpeg -i 0001.bmp.yuv -f rawvideo -pix_fmt gray out.jpg gives -

    Output file #0 does not contain any stream

    Its a 640x480 image. All the related questions talk about .yuv videos.

  • Using ffplay to open a video at a specific window location [on hold]

    18 août 2014, par Willette Lynch

    I need to use ffplay to open a video file, but i need to pass it x,y coordinates so i can have it play the video where I want it to.

    As default ffplay simply opens the video at the top left corner.

    I’ve tried searching for options in ffplay but i couldnt find it.
    Also tried using window managers like fluxbox, again couldnt find the command)

    Please note that I need to run it as a shell command.

    Any Help would be appreciated.

    Thanks in Advance

  • ImageMagick unable to open Paperclip upload

    4 décembre 2014, par Mark Boulder

    Why is ImageMagick unable to open my Paperclip upload ?

    I need to be able to run a few checks on it.

    Magick::ImageMagickError in TopicsController#create
    unable to open image `file.png': No such file or directory @ error/blob.c/OpenBlob/2638
    Extracted source (around line #18):
    file = Magick::ImageList.new(attachment.instance_read(:file_name))

    app/models/photo.rb:18:in `new'
    app/models/photo.rb:18:in `is_something?'
    app/models/photo.rb:3:in `block in '

    photo.rb

    class Photo < ActiveRecord::Base
     ATTACHMENT_STYLES = lambda do |attachment|
       if is_something?(attachment)
         ...
       else
         ...
       end
     end
     ATTACHMENT_PROCESSORS = lambda { |attachment| is_something?(attachment) ? [:some_processor] : [:thumbnail] }

     ...

     def self.is_animated_gif?(attachment)
       file = Magick::ImageList.new(attachment.instance_read(:file_name))

       true if file.something
     end
    end