Recherche avancée

Médias (91)

Autres articles (74)

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

  • Sélection de projets utilisant MediaSPIP

    29 avril 2011, par

    Les exemples cités ci-dessous sont des éléments représentatifs d’usages spécifiques de MediaSPIP pour certains projets.
    Vous pensez avoir un site "remarquable" réalisé avec MediaSPIP ? Faites le nous savoir ici.
    Ferme MediaSPIP @ Infini
    L’Association Infini développe des activités d’accueil, de point d’accès internet, de formation, de conduite de projets innovants dans le domaine des Technologies de l’Information et de la Communication, et l’hébergement de sites. Elle joue en la matière un rôle unique (...)

Sur d’autres sites (10684)

  • FFMPEG work against LGPL licence [on hold]

    10 mars 2016, par nat

    possible to add libraries to the FFMPEG core library base ?

    Ive been doing the followdfa with no luck :

    Activity t = new Int();
  • Rails 3 : How can I make Paperclip-FFMPEG work ?

    9 novembre 2011, par remino

    I have Rails 3.0.3 with these gems :

    • delayed_job 2.1.4
    • delayed_paperclip 0.7.1
    • paperclip 2.3.16
    • paperclip-ffmpeg 0.7.0

    (This combination is very specific. Some newer gems will not work with others.)

    Here's my Video model :

    class Video < Upload
     has_attached_file :file, :default_style => :view, :processors => [:ffmpeg],
       :url => '/system/:class/:attachment/:id/:style/:basename.:extension',
       :path => ':rails_root/public/system/:class/:attachment/:id/:style' \
         + '/:basename.:extension',
       :default_url => '/images/en/processing.png',
       :styles => {
         :mp4video => { :geometry => '520x390', :format => 'mp4',
           :convert_options => { :output => { :vcodec => 'libx264',
             :vpre => 'ipod640', :b => '250k', :bt => '50k',
             :acodec => 'libfaac', :ab => '56k', :ac => 2 } } },
         :oggvideo => { :geometry => '520x390', :format => 'ogg',
           :convert_options => { :output => { :vcodec => 'libtheora',
             :b => '250k', :bt => '50k', :acodec => 'libvorbis',
             :ab => '56k', :ac => 2 } } },
         :view => { :geometry => '520x390', :format => 'jpg', :time => 1 },
         :preview => { :geometry => '160x120', :format => 'jpg', :time => 1 }
       }
     validates_attachment_content_type :file, :content_type => VIDEOTYPES,
       :if => Proc.new { |upload| upload.file.file? }
     process_in_background :file
    end

    When creating a new Video object with attachment, the original is saved, but no conversion will be done. Even calling Video.last.file.reprocess! won't to a thing except returning true. (Not sure what "true" means in this case as it didn't work.)

    I tried hardcoding the path to ffmpeg in Paperclip::options[:command_path]. I even tried deleting the paperclip-ffmpeg.rb file and replacing it with a blank file. Really thinking I'd get an exception by doing the later, instead, I simply got "true" again.

    It feels like the paperclip-ffmpeg.rb is being loaded, because it is required by config/application.rb, but nothing is called in it when trying to generate a thumbnail or convert a video.

    Can anyone help me with this ? Thanks in advance !

  • How to concatenate multiple M4P videos with FFMPEG without audio sync issues ?

    16 mars 2016, par sb3k

    I have been trying to concatenate a number of MP4 clips (h264,aac) using the FFMPEG concat protocol documented here. The clips concatenate successfully, however there are multiple errors in the logs including :

    • Non-monotonous DTS in output stream
    • Past duration too large

    Additionally, it seems that the audio and video go slightly out of sync as more clips are added - though it is more noticeable on certain players (Quicktime & Chrome HTML5).

    Here is the code I am using, any tips would be appreciated !

    Convert each video to temp file

    ffmpeg -y -i <input file="file" /> -vcodec libx264 -acodec aac -f mpegts -bsf:v h264_mp4toannexb -mpegts_copyts 1 <temp file="file"></temp>

    Concat temp files

    ffmpeg -i concat  -map 0 -vcodec copy -aprofile aac_low -acodec aac -strict experimental -cutoff 15000 -vbsf aac_adtstoasc -b:a 32k <output file="file"></output>