Recherche avancée

Médias (91)

Autres articles (43)

  • MediaSPIP en mode privé (Intranet)

    17 septembre 2013, par

    À partir de la version 0.3, un canal de MediaSPIP peut devenir privé, bloqué à toute personne non identifiée grâce au plugin "Intranet/extranet".
    Le plugin Intranet/extranet, lorsqu’il est activé, permet de bloquer l’accès au canal à tout visiteur non identifié, l’empêchant d’accéder au contenu en le redirigeant systématiquement vers le formulaire d’identification.
    Ce système peut être particulièrement utile pour certaines utilisations comme : Atelier de travail avec des enfants dont le contenu ne doit pas (...)

  • Formulaire personnalisable

    21 juin 2013, par

    Cette page présente les champs disponibles dans le formulaire de publication d’un média et il indique les différents champs qu’on peut ajouter. Formulaire de création d’un Media
    Dans le cas d’un document de type média, les champs proposés par défaut sont : Texte Activer/Désactiver le forum ( on peut désactiver l’invite au commentaire pour chaque article ) Licence Ajout/suppression d’auteurs Tags
    On peut modifier ce formulaire dans la partie :
    Administration > Configuration des masques de formulaire. (...)

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

  • a gcc strange ld error when compile some ffmpeg application, libvorbisenc package not found

    8 mai 2016, par ldkxingzhe

    I follow the ffmpeg tuorial, and install ffmpeg via ppa

    But when I compiled the tuorial02.c, I got gcc error :

    /usr/bin/ld : /opt/ffmpeg/lib//libavcodec.a(libvorbisenc.o) : undefined reference to symbol ’vorbis_encode_setup_vbr’

    //usr/lib/x86_64-linux-gnu/libvorbisenc.so.2 : error adding symbols : DSO missing from command line
    collect2 : error : ld returned 1 exit status

    My compile command is :

    gcc -I /opt/ffmpeg/include/ -L /opt/ffmpeg/lib/  -o tutorial02 tutorial02.c -lavformat -lavcodec -lswscale `sdl-config --cflags --libs`  -lpthread -lz -lm -ldl

    I have searched the reason for hours. I can’t solve this. Can anyone help me ?

    Added I have add -lvorbisenc to the end. the error is lib not found. and libvorivisenc2 has been install. so this question is not a duplicate of Strange linking error : DSO missing from command line

    And My OS is Linux mint 17.3

  • 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 read filesize

    23 juin 2023, par assaf

    I use ffmpeg to convert a video file uploaded via an ASPX web page.&#xA;ffmpeg conversion works fine.

    &#xA;&#xA;

    I want to provide the end-user a progress bar.&#xA;So I placed an updatPanel on my web page and tried to read the file size ...

    &#xA;&#xA;

      &#xA;
    • using fileinfo : ffmpeg freeze
    • &#xA;

    • using [process.start()] cmd.exe /c dir : ffmpeg freeze
    • &#xA;

    • using filestream : error ->> file is used by another process
    • &#xA;

    • using ffmpeg -i X Y 2> log.txt : log is created only when conversion completed
    • &#xA;

    &#xA;&#xA;

    Whats the proper/working way to do this ?

    &#xA;