Recherche avancée

Médias (91)

Autres articles (94)

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

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

  • Amélioration de la version de base

    13 septembre 2013

    Jolie sélection multiple
    Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
    Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)

Sur d’autres sites (6155)

  • ffmpeg streaming multiple avi files as created

    2 janvier 2013, par aboredprogrammer

    Backstory :
    I have a VB.net program (that is using a much older COM object accessing a DVR) to create sequentially numbered AVI files each 15 seconds in length. A new AVI is created every 15 seconds with the most recent 15 seconds of video in it. I know the exact datetime that correlates to each file. So files may be named (20121008-133445.avi, so yyyyMMdd-hhmmss.avi).

    Question : Using ffmpeg/ffserver (preferably but I'm open), how can I create a stream such that when a person accesses it that they are presented a continuous video that starts at a position that is as recent as possible and continues to stream the avi files as they are created ?

    I don't have a problem shipping these files off to a Linux box via a samba share (or have the linux box access a share on the windows box) if Linux is more capable. I am however stuck with Windows for the actual generation of the original AVI files.

    The ultimate goal is to be able to view these streams on an iPad, but that process seems pretty well documented elsewhere.

    I found a question that reads similar to my needs but didn't seem to go anywhere : FFmpeg make mpeg2 ts without discontinuity

    Thanks in advance !

  • Unable to upload/convert videos using Paperclip-FFMPEG gem in Rails

    31 juillet 2012, par Graeme

    FIXED : It's due to a typo in the relevant lib file that I hadn't spotted ! See this issue for more details.


    I'm still a bit of a Ruby on Rails newbie (running Rails 3.2.6 and Ruby 1.9.3p194), but I'm finding it very difficult to convert video files using the paperclip-ffmpeg gem. No matter what I do, an error message is displayed on the page after attempting to upload the video :

    "cannot load such file : /[...My info...]/lib/paperclip_processors/ffmpeg.rb"

    I'm trying to test using .mov files for the moment.

    I'm trying to follow the instructions on the gem's github page, but without much success.

    Firstly, I'm using a Mac (Snow Leopard) and ffmpeg is installed (running which ffmpeg tells me it's in /user/local/bin/ffmpeg)

    In my application, I've added the following lines to the gemfile :

    gem 'paperclip'
    gem 'paperclip-ffmpeg'

    I've also added Paperclip.options[:command_path] = "/usr/local/bin/" to config/environments/development.rb as per the instructions :

    Myapp::Application.configure do

    ...

    Paperclip.options[:command_path] = "/usr/local/bin/"
    end

    (The instructions also suggest "in your environment config file, let Paperclip know to look there by adding that directory to its path", but I don't know what this means - maybe this is the problem ?).

    My class is structured as follows :

    class Myvideo > ActiveRecord::Base

     attr_accessible :description, :title, :video

     has_attached_file :video, :styles => {
         :medium => { :geometry => "640x480", :format => 'flv' }
       }, :processors => [:ffmpeg]


    end

    My understanding is that the above code converts the uploaded movie from .mov (or whatever) to .flv format.

    However, the error I describe above appears whenever the user clicks on the Upload button (save for a few seconds while the video appears to be uploading).

    Note that I can upload a video via the standard Paperclip gem without converting with no problems. Therefore, this code works (i.e. the video is uploaded but no conversion occurs) :

    attr_accessible :description, :title, :video

     has_attached_file :video

    Any ideas where I might be going wrong ? Thanks !


    EDIT - the original error message ("Cannot load such file...") appears to have arisen because I hadn't included the relevant ffmpeg.rb file from Github within the /lib directory. Thanks to @wehal3001 for pointing this out !

    However, while I now have this file in my application, I still get the following error when trying to upload a video :

    uninitialized constant Paperclip::Ffmpeg::PaperclipError
    ...
    lib/paperclip_processors/ffmpeg.rb:123:in

    rescue in make'
    lib/paperclip_processors/ffmpeg.rb:120:in

    make'
    app/controllers/videos_controller.rb:43:in

    new'
    app/controllers/videos_controller.rb:43:in

    create'

    Any help would be much appreciated !

  • Converting video formats and copying tags with ffmpeg

    21 mai 2016, par Scott

    I’ve been trying to convert some videos I took on my camera to a compressed format in order to save some storage space. I figured out how to use ffmpeg to convert the videos to the format I want, but what I haven’t been able to figure out is how to copy the metadata. I’d like to copy the original metadata from when the video was taken (most importantly the creation time). I’ve tried running ffmpeg using the -map_meta_data 0:0 option, but that didn’t seem to work. Any ideas ?

    It looks like the data I want to copy in this case is in the format section of the video. Using ffprobe with the show_format option, I get this output :

    [FORMAT]
    filename=video.AVI
    nb_streams=2
    format_name=avi
    format_long_name=AVI format
    start_time=0.000000
    duration=124.565421
    size=237722700
    bit_rate=15267331
    TAG:creation_time=2012-02-07 12:15:27
    TAG:encoder=CanonMVI06
    [/FORMAT]

    I would like to copy the two tags to my new video.