Recherche avancée

Médias (0)

Mot : - Tags -/diogene

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

Autres articles (71)

  • Mise à jour de la version 0.1 vers 0.2

    24 juin 2013, par

    Explications des différents changements notables lors du passage de la version 0.1 de MediaSPIP à la version 0.3. Quelles sont les nouveautés
    Au niveau des dépendances logicielles Utilisation des dernières versions de FFMpeg (>= v1.2.1) ; Installation des dépendances pour Smush ; Installation de MediaInfo et FFprobe pour la récupération des métadonnées ; On n’utilise plus ffmpeg2theora ; On n’installe plus flvtool2 au profit de flvtool++ ; On n’installe plus ffmpeg-php qui n’est plus maintenu au (...)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

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

  • Piwik awarded Gold Prize at Open Source Software World Challenge

    22 décembre 2014, par Matthieu Aubry — About

    We are excited to announce that Piwik has been awarded the Gold Prize in the Open Source Software World Challenge 2014 !

    Winning this award is a testament to the positive impacts of the Piwik platform worldwide. Every day dozens of new people are embracing Piwik to power their web and mobile analytics which gives them full control over their data.

    Every member of the Piwik community, from core developer to beginning user, should be proud to be part of this momentum : congratulations to us all !

    The Open Source World Challenge is the annual competition hosted by the Ministry of Science, ICT and Future Planning of Korea. This competition is mainly intended to promote open source software and expand various exchanges among open source software developers worldwide.

    Piwik Awards

  • Android JavaCV FFmpegFrameRecorder Exception Could not open video codec

    11 décembre 2014, par bakua

    I’m working on some encoding in Android and I use JavaCV FFmpegFrameRecorder for that. Thing is that sometims need to restart that process. I have a restart button and on tap I release everything and create it again.

    I do it like that :

    mVideoRecorder.stop();
    mVideoRecorder.release();

    And then I :

    mVideoRecorder = new FFmpegFrameRecorder(videoPath, outputResolution.getWidth(), outputResolution.getHeight(), 1);
    mVideoRecorder.setFormat(recorderParameters.getVideoOutputFormat());
    mVideoRecorder.setSampleRate(recorderParameters.getAudioSamplingRate());
    mVideoRecorder.setFrameRate(recorderParameters.getVideoFrameRate());
    mVideoRecorder.setVideoCodec(recorderParameters.getVideoCodec());
    mVideoRecorder.setVideoQuality(recorderParameters.getVideoQuality());
    mVideoRecorder.setAudioQuality(recorderParameters.getVideoQuality());
    mVideoRecorder.setAudioCodec(recorderParameters.getAudioCodec());
    mVideoRecorder.setVideoBitrate(1000000);
    mVideoRecorder.setAudioBitrate(64000);
    mVideoRecorder.start();

    But sometimes on the start() line I get this exception :

    com.googlecode.javacv.FrameRecorder$Exception: avcodec_open2() error -22: Could not open video codec.
    at com.googlecode.javacv.FFmpegFrameRecorder.start(FFmpegFrameRecorder.java:472)

    I am not able to exactly tell circumstances in which this happens but in most cases it is when I restart two times quickly (double tap the restart button). I am able to catch the exception, but it is useless because it forces app to exit.

    My guess is that it calls start while previous mVideoRecorder is still releasing internally - and therefore has mp4 codec locked for itself or something. But that is just my guess.

    Do you guys have any opinions please ?
    Thank you

  • 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