Recherche avancée

Médias (1)

Mot : - Tags -/punk

Autres articles (55)

  • La sauvegarde automatique de canaux SPIP

    1er avril 2010, par

    Dans le cadre de la mise en place d’une plateforme ouverte, il est important pour les hébergeurs de pouvoir disposer de sauvegardes assez régulières pour parer à tout problème éventuel.
    Pour réaliser cette tâche on se base sur deux plugins SPIP : Saveauto qui permet une sauvegarde régulière de la base de donnée sous la forme d’un dump mysql (utilisable dans phpmyadmin) mes_fichiers_2 qui permet de réaliser une archive au format zip des données importantes du site (les documents, les éléments (...)

  • ANNEXE : Les plugins utilisés spécifiquement pour la ferme

    5 mars 2010, par

    Le site central/maître de la ferme a besoin d’utiliser plusieurs plugins supplémentaires vis à vis des canaux pour son bon fonctionnement. le plugin Gestion de la mutualisation ; le plugin inscription3 pour gérer les inscriptions et les demandes de création d’instance de mutualisation dès l’inscription des utilisateurs ; le plugin verifier qui fournit une API de vérification des champs (utilisé par inscription3) ; le plugin champs extras v2 nécessité par inscription3 (...)

  • List of compatible distributions

    26 avril 2011, par

    The table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
    If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...)

Sur d’autres sites (6038)

  • ffmpeg can't concat movies from two different devices

    29 mars 2017, par T4ng10r

    I’ve got bunch of movies from two different Panasonic devices. As long as I concat movies from only ONE device - final movie is smooth.
    However, when I add movie clip from second device, right after final movie ends playing movies from first device it display audio and only still images from movie clip from other device.

    ffmpeg -f concat -i mylist.txt -c copy final_movie.MP4

    Example ffprobe :

    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'S6810001.MP4':
     Metadata:
       major_brand     : isom
       minor_version   : 512
       compatible_brands: isomiso2avc1mp41
       encoder         : Lavf57.27.100
     Duration: 00:00:10.62, start: 0.021333, bitrate: 1131 kb/s
       Stream #0:0(eng): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 998 kb/s, 25 fps, 25 tbr, 12800 tbn, 50 tbc (default)
       Metadata:
         handler_name    : VideoHandler
       Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 132 kb/s (default)
       Metadata:
         handler_name    : SoundHandle

    Second device movie clip :

    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'a/T00004.mp4':
     Metadata:
       major_brand     : isom
       minor_version   : 512
       compatible_brands: isomiso2avc1mp41
       encoder         : Lavf57.27.100
     Duration: 00:00:33.18, start: 0.000000, bitrate: 1190 kb/s
       Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 929 kb/s, 25 fps, 25 tbr, 12800 tbn, 50 tbc (default)
       Metadata:
         handler_name    : VideoHandler
       Stream #0:1(und): Audio: ac3 (ac-3 / 0x332D6361), 48000 Hz, stereo, fltp, 256 kb/s (default)
       Metadata:
         handler_name    : SoundHandler
       Side data:
         audio service type: main

    Why movie is still ? How to prepare it so it could be joined correctly ?

  • upload video on local host

    20 avril 2017, par chan jack

    when i upload video on local host have error #Unable to detect any supported library#

    @internal_information = InternalInformation.new(internal_information_params)

    if @internal_information.update(internal_information_params)

    respond_to do |format|

    this is my code below

    Model

    class InternalInformation < ApplicationRecord
     has_attached_file :video , styles: {
                                         :medium => { :geometry => "640x480", :format => 'mp4' },
                                         :thumb => { :geometry => "100x100#", :format => 'jpg', :time => 10 }
                                     }, :processors => [:transcoder]
     validates_attachment_content_type :video, content_type: /\Avideo\/.*\Z/
    end

    Controller

    def create
    @internal_information = InternalInformation.new(internal_information_params)

    respond_to do |format|
     if @internal_information.save
       format.html { redirect_to @internal_information, notice: 'Internal information was successfully created.' }
       format.json { render :show, status: :created, location: @internal_information }
     else
       format.html { render :new }
       format.json { render json: @internal_information.errors, status: :unprocessable_entity }
         end
       end
     end

     # PATCH/PUT /internal_informations/1
     # PATCH/PUT /internal_informations/1.json
     def update
    respond_to do |format|
     if @internal_information.update(internal_information_params)
       format.html { redirect_to @internal_information, notice: 'Internal information was successfully updated.' }
       format.json { render :show, status: :ok, location: @internal_information }
     else
       format.html { render :edit }
       format.json { render json: @internal_information.errors, status: :unprocessable_entity }
         end
       end
     end

    Show

    <%= javascript_include_tag 'swfobject' %>
    <p>&lt;%= notice %></p>

    <p>
     <strong>Title:</strong>
     &lt;%= @internal_information.Title %>
    </p>

    <p>
     &lt;%= video_player({:file => @internal_information.video.url(:medium), :image => @internal_information.video.url(:thumb)}) %>
    </p>

    &lt;%= link_to 'Edit', edit_internal_information_path(@internal_information) %> |
    &lt;%= link_to 'Back', internal_informations_path %>
  • Convert a 3d graphic into rgb array

    22 avril 2017, par Praveen C. Naik

    Im working on a project that has 3d led cube (256*256*256).What software do i use to design the 3D model and for projecting the same on the LED cube.The LED used is RGB but the answer need not be for RGB. Even monochromatic LED is also fine.
    Ive tried checking for MATLAB , FFMPG , OPENCV and AUTOCAD.But none of then help.

    Objective : CREATE 3D MODEL => GENERATE MATRIX/ARRAY of colors => Project the matrix onto LED cube.
    The generator has to be dynamic such that any changes in to 3d model should reflect on the LED cube.Any well known simulator as such is encouraged.Please count on the above mentioned software if they can do the same, image processing through matlab/opencv is new for me.

    Input file : graphic 3D model drawn.
    Output file : array of representation of color(any).