Recherche avancée

Médias (91)

Autres articles (70)

  • Le profil des utilisateurs

    12 avril 2011, par

    Chaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
    L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...)

  • Configurer la prise en compte des langues

    15 novembre 2010, par

    Accéder à la configuration et ajouter des langues prises en compte
    Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
    De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
    Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...)

  • XMP PHP

    13 mai 2011, par

    Dixit Wikipedia, XMP signifie :
    Extensible Metadata Platform ou XMP est un format de métadonnées basé sur XML utilisé dans les applications PDF, de photographie et de graphisme. Il a été lancé par Adobe Systems en avril 2001 en étant intégré à la version 5.0 d’Adobe Acrobat.
    Étant basé sur XML, il gère un ensemble de tags dynamiques pour l’utilisation dans le cadre du Web sémantique.
    XMP permet d’enregistrer sous forme d’un document XML des informations relatives à un fichier : titre, auteur, historique (...)

Sur d’autres sites (8595)

  • RoutingError No route matches GET videos/original/missing.png

    4 novembre 2015, par D.Graves

    Okay so Im having an issue uploading videos using paperclip av transcoder. Im getting just a blank black image for my video and cant play anything. So no error pops up online but on my GitBash I see an ActionController Routing Error.

    This is the Error I see in my Gitbash

    My model that has the video :

    class Pin < ActiveRecord::Base
    belongs_to :user
    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 => ["video/mp4",     "video.mov", "video/mpeg","video/mpeg4", "image/jpg", "image/jpeg"]

    end

    My show view for the video :

    <%= video_tag @pin.video.url %>

    <p>
    <strong>Description:</strong>
    &lt;%= @pin.description %>
    </p>

    &lt;% if @pin.user == current_user %>
    &lt;%= link_to 'Edit', edit_pin_path(@pin) %>
    &lt;% end %>
    &lt;%= link_to 'Back', pins_path %>

    I believe I installed ffmpeg correct and here is what it shows on my Gitbash for my version of ffmpeg

    enter image description here

    I also have the newest version of paperclip and paperclip av transcoder installed. Am I just missing a route ? If you all need any other code to maybe help just let me know and ill post it

  • Rails Thumbnails for videos being uploaded to S3

    20 octobre 2015, par Dani

    I have a rails application where I need to upload videos to an amazon s3 bucket alongwith their thumbnails. I am using ffmpeg to generate thumbnails and I am using carrierwave to handle video uploads. Here is my video uploader class

    class VideoUploader &lt; CarrierWave::Uploader::Base
     include CarrierWave::Video
     storage :fog
     def store_dir
        "uploads/#{model.class.to_s.underscore}/#{mounted_as}/#{model.id}"
     end
     def extension_white_list
       %w(mp4 flv)
     end
    end

    The video uploads fine and the column for video url is set in videos table but I want to generate thumbnail and upload it as well. I know I have to use ffmpeg here but don’t exactly know how to do it.

    Any help will be appreciated.

  • Latency issue with CMU Sphinx 4

    22 septembre 2015, par vijaym

    I have written the speech recognition application using CMU sphinx 4 and followed the details from this link. I have defined the Acoustic,Dictionary and Language Model as below

    configuration.setAcousticModelPath("resource:/edu/cmu/sphinx/models/en-us/en-us");

    configuration.setDictionaryPath("resource:/edu/cmu/sphinx/models/en-us/cmudict-en-us.dict");

    configuration.setLanguageModelPath("resource:/edu/cmu/sphinx/models/en-us/en-us.lm.bin");

    With the above configuration the 20 minutes of wav file takes almost close to 20 minutes to do the transcription.Hence than I tried to pass the user defined config.xml. I did n’t find the configuration manager option to pass the user defined config.xml with the current version of Sphinx4.Then I had written own recognizer by extending the AbstractSpeechRecognizer.java class(It may be useless) and changed few parameters of config.xml and I tried it but still no improvement.

    I have downloaded video and audio across multiple source and converted into WAV file using FFMPEG

    The command is as below

    ffmpeg -i input.mp3 -acodec pcm_s16le -ac 1 -ar 16000 output.wav

    Environment Details :

    Java 8

    Ubuntu 14.04

    RAM 4GB

    I5 Processor

    What I would like to know is, what I am missing here and how to improve the performance ?