Recherche avancée

Médias (0)

Mot : - Tags -/xmlrpc

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

Autres articles (71)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

  • Creating farms of unique websites

    13 avril 2011, par

    MediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
    This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...)

  • MediaSPIP version 0.1 Beta

    16 avril 2011, par

    MediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

Sur d’autres sites (5542)

  • 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 %>
  • ffmpeg -bsf:v h264_mp4 toannexb not working in debien

    5 avril 2017, par Ruydo

    i have to append video with a audio and merge the output with anther video mp4
    i use this code to append video with audio

    ffmpeg -i "out1.mp4" -i "desc1.mp3" -c:v copy -c:a aac -strict experimental "output2.mp4"

    its work in windows but in my server lunix i have this error

    root@ns:~# ffmpeg -i /var/www/hespress/17/out1.mp4 -i /var/www/hespress/17/desc1.mp3 -c:v copy -c:a aac -strict experimental /var/www/hespress/17/output2.mp4
    ffmpeg version 0.8.20-6:0.8.20-0+deb7u1, Copyright (c) 2000-2014 the Libav developers
     built on Jan 19 2017 11:13:36 with gcc 4.7.2
    The ffmpeg program is only provided for script compatibility and will be removed
    in a future release. It has been deprecated in the Libav project to allow for
    incompatible command line syntax improvements in its replacement called avconv
    (see Changelog for details). Please use avconv instead.
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/var/www/hespress/17/out1.mp4':
     Metadata:
       major_brand     : isom
       minor_version   : 512
       compatible_brands: isomiso2avc1mp41
       encoder         : Lavf53.21.1
     Duration: 00:00:20.03, start: 0.000000, bitrate: 1374 kb/s
       Stream #0.0(und): Video: h264 (Main), yuvj420p, 1280x720 [PAR 1:1 DAR 16:9], 1371 kb/s, 30 fps, 30 tbr, 30 tbn, 60 tbc
    [mp3 @ 0xa06c40] max_analyze_duration reached
    Input #1, mp3, from '/var/www/hespress/17/desc1.mp3':
     Metadata:
       encoder         : Lavf53.21.1
     Duration: 00:00:19.53, start: 0.000000, bitrate: 192 kb/s
       Stream #1.0: Audio: mp3, 44100 Hz, mono, s16, 192 kb/s
    Unrecognized option 'c:v'
    Failed to set value 'copy' for option 'c:v'

    when i went to merge two file i use this code

    ffmpeg -i intro.mp4 -c copy -bsf:v h264_mp4toannexb -f mpegts '.$dossier.'/intermediate1.ts

    in windows its work but in server debian i have this error

    root@ns205125:~# ffmpeg -i /var/www/hespress/intro.mp4 -c copy -bsf:v h264_mp4toannexb -f mpegts /var/www/hespress/17/intermediate1.ts
    ffmpeg version 0.8.20-6:0.8.20-0+deb7u1, Copyright (c) 2000-2014 the Libav developers
     built on Jan 19 2017 11:13:36 with gcc 4.7.2
    The ffmpeg program is only provided for script compatibility and will be removed
    in a future release. It has been deprecated in the Libav project to allow for
    incompatible command line syntax improvements in its replacement called avconv
    (see Changelog for details). Please use avconv instead.
    [aac @ 0x3938ba0] Input buffer exhausted before END element found

    Seems stream 0 codec frame rate differs from container frame rate: 180000.00 (180000/1) -> 30.00 (30/1)
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/var/www/hespress/intro.mp4':
     Metadata:
       major_brand     : mp42
       minor_version   : 0
       compatible_brands: isommp42
       creation_time   : 2017-03-27 23:03:04
     Duration: 00:00:12.92, start: 0.000000, bitrate: 2598 kb/s
       Stream #0.0(eng): Video: h264 (Baseline), yuv420p, 1280x720, 2479 kb/s, 30 fps, 30 tbr, 90k tbn, 180k tbc
       Metadata:
         creation_time   : 2017-03-27 23:03:04
       Stream #0.1(eng): Audio: aac, 48000 Hz, mono, s16, 127 kb/s
       Metadata:
         creation_time   : 2017-03-27 23:03:04
    Unrecognized option 'c'
    Failed to set value 'copy' for option 'c'
    root@ns205125:~#
  • 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).