Recherche avancée

Médias (0)

Mot : - Tags -/serveur

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

Autres articles (8)

  • Personnaliser les catégories

    21 juin 2013, par

    Formulaire de création d’une catégorie
    Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
    Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
    On peut modifier ce formulaire dans la partie :
    Administration > Configuration des masques de formulaire.
    Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
    Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...)

  • MediaSPIP Init et Diogène : types de publications de MediaSPIP

    11 novembre 2010, par

    À l’installation d’un site MediaSPIP, le plugin MediaSPIP Init réalise certaines opérations dont la principale consiste à créer quatre rubriques principales dans le site et de créer cinq templates de formulaire pour Diogène.
    Ces quatre rubriques principales (aussi appelées secteurs) sont : Medias ; Sites ; Editos ; Actualités ;
    Pour chacune de ces rubriques est créé un template de formulaire spécifique éponyme. Pour la rubrique "Medias" un second template "catégorie" est créé permettant d’ajouter (...)

  • Création définitive du canal

    12 mars 2010, par

    Lorsque votre demande est validée, vous pouvez alors procéder à la création proprement dite du canal. Chaque canal est un site à part entière placé sous votre responsabilité. Les administrateurs de la plateforme n’y ont aucun accès.
    A la validation, vous recevez un email vous invitant donc à créer votre canal.
    Pour ce faire il vous suffit de vous rendre à son adresse, dans notre exemple "http://votre_sous_domaine.mediaspip.net".
    A ce moment là un mot de passe vous est demandé, il vous suffit d’y (...)

Sur d’autres sites (4135)

  • Get 'location' of video using ffmpeg and regex

    6 février 2014, par Foysal

    I have a metadata text of a video file which is produced by ffmpeg.

    Metadata:
       major_brand     : qt  
       minor_version   : 0
       compatible_brands: qt  
       creation_time   : 2011-09-10 21:44:22
       model           : iPhone 4
       model-deu       : iPhone 4
       encoder         : 4.3.5
       encoder-deu     : 4.3.5
       date            : 2011-09-10T17:44:22-0400
       date-deu        : 2011-09-10T17:44:22-0400
       location        : +40.7329-073.9864/
       location-deu    : +40.7329-073.9864/
       make            : Apple
       make-deu        : Apple

    What regex i need to write if I want to get the 'location' value from above text. I am using C#.

  • How to make video (of any format) compatible to play in android's default player ?

    24 janvier 2014, par Aarti

    I want to play video urls from server in device's video player,but unable to play all videos
    Testing on HTC Desire (4.1.1), Panasonic (4.1.3), Samsung G S2(2.3.6).

    I've already gone through following links

    Sorry, this video cannot be played - streaming mp4 to android and
    How to Play Streaming Audio/Video from a url ?
    but did not found working solution.

    I understand few imp things from above,

    1. Video must be baseline H264 encoded for playing successfully on all devices
    2. For encoding any kind of video to H264, we need to integret ffmpeg

    My questions are,

    1. How exactly I can convert any format of video to H264 baseline support ? Examples are appreciated.
    2. Is there any alternate way for FFMPEG ?
    3. How can I check if video is baseline H.264 ?

    I have tried playing videos with both Intent ACTION_VIEW & MediaController, result was same for both.

    Its very urgent. Any kind of help or hint appreciated. Thank You.

  • Raising and Rescuing Custom Exception

    24 décembre 2013, par cmw

    I'm using Rails 3 with Carrierwave and FFMPEG to handle video uploads and encoding.

    In my uploader, I'm using FFMPEG to grab the duration of the video from cache before storing it.

    I'd like to raise a custom exception if the video's duration exceeds a specific length and then route the user accordingly. I've spent quite a bit of time trying to figure out how to create, raise and rescue my own custom exceptions in Rails – but, I've had no luck.

    Some posts I've used to try to piece this together include this stack overflow post and this article on customized exception handling in Rails 3. I've had no luck yet.

    I'm hoping someone can offer guidance on the proper approach to this. My mind is blown.

    Below is what my uploader looks like :

    class VideoUploader < CarrierWave::Uploader::Base

     before :store, :ffmpeg

     # Set storage type
     storage :fog

     # Override the directory where uploaded files will be stored.
     def store_dir
       "#{model.class.to_s.underscore}/videos/#{model.id}"
     end

     # Add a white list of extensions which are allowed to be uploaded.
     def extension_white_list
       %w(mov avi mp4 mkv wmv mpg)
     end

     def full_cache_path
       "#{::Rails.root}/public/#{cache_dir}/#{cache_name}"
     end

     private

     def ffmpeg(*args)
       @model.video.cache_stored_file!
       movie = FFMPEG::Movie.new("#{model.video.full_cache_path}")
       if movie.duration > 600
         raise "my custom exception will go here one day"
       end
     end

    end