Recherche avancée

Médias (1)

Mot : - Tags -/swfupload

Autres articles (53)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

  • Les notifications de la ferme

    1er décembre 2010, par

    Afin d’assurer une gestion correcte de la ferme, il est nécessaire de notifier plusieurs choses lors d’actions spécifiques à la fois à l’utilisateur mais également à l’ensemble des administrateurs de la ferme.
    Les notifications de changement de statut
    Lors d’un changement de statut d’une instance, l’ensemble des administrateurs de la ferme doivent être notifiés de cette modification ainsi que l’utilisateur administrateur de l’instance.
    À la demande d’un canal
    Passage au statut "publie"
    Passage au (...)

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

Sur d’autres sites (6706)

  • Rails 6 ActiveStorage re-encode videos

    14 novembre 2019, par gorgon

    Tried to use ActiveStorage::Previewer:VideoPreviewer to reencode original videos into smaller resolution and length, but it seems that it can only produce/extract image from video.

    Also tried to create a custom VideoPreviewer by using ffmpeg command to reencode videos, and rails seems to always favor the default ActiveStorage::Previewer::VideoPreviewer. Even if i kick out default video preview from rails previewer and put the custom one, rails still tried to use imagemagick and generates images

    class VideoPreviewer < ActiveStorage::Previewer
     ARGS = %w"ffmpeg args..."

     def self.accept?(blob)
       blob.content_type == 'video/mp4'
     end

     def preview
       download_blob_to_tempfile do |input|
         draw "ffmpeg", "-y", "-i", input.path, *ARGS do |output|
           yield io: output, filename: "#{blob.filename.base}.mp4", content_type: "video/mp4"
         end
       end
     end

     private

     def capture(*argv, to:)
       argv << to.path
       to.binmode
       IO.popen(argv) { |out| puts out.read }
       to.rewind
     end
    end

    Is there a way to achieve this with ActiveStorage or i need to go back using paperclip or some other gem ?

  • map DVB subtitle Stream is not showing as default language

    13 janvier 2021, par Psyco23

    I have a problem showing the subtitles on stream directly.

    


    I did this via map

    


    -map 0:0 -map 0:1 -map 0:3

    


    And it works so well that I have chosen the English audio, the video, and the Spanish subtitles

    


    The problem is when you open the stream

    


    Subtitles are not shown directly. I have to TURN on in VLC

    


    Is there a way, via ffmpeg or map, for my subtitles to appear directly without activating it ?

    


  • Using WebHDFS to play video over HTTP

    3 février 2015, par Qin.Yang

    I used ffmpeg + libx264 to convert file format as H264, then uploaded the file to Hadoop. I used WebHDFS to access the file by HTTP, but can not online play. If I download this file over HTTP, it can play by HTML5 video. My English is poor, hope you know what I mean.