Recherche avancée

Médias (0)

Mot : - Tags -/flash

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

Autres articles (100)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

  • MediaSPIP v0.2

    21 juin 2013, par

    MediaSPIP 0.2 est la première version de MediaSPIP stable.
    Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Comme pour la version précédente, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

  • MediaSPIP version 0.1 Beta

    16 avril 2011, par

    MediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

Sur d’autres sites (12031)

  • linking libavcodec os x ffmpeg ApplicationServices.framework

    30 décembre 2015, par Grady Player

    Here is my error : (newer version of ffmpeg)

    dyld: Library not loaded: /System/Library/Frameworks/ApplicationServices.framework/Versions/A/ApplicationServices
     Referenced from: /Users/me/path/to/lib/libavcodec.dylib
     Reason: Incompatible library version: libavcodec.dylib requires version 64.0.0 or later, but ApplicationServices provides version 1.0.0

    I have read the questions on SO that say you need to link ApplicationServices.framework... which I have done, it makes no difference...

    I have searched for other versions of that framework :

    $ mdfind ApplicationServices.framework
    /System/Library/Frameworks/ApplicationServices.framework

    just one...

    so then inspecting frameworks...

    $ otool -L /System/Library/Frameworks/ApplicationServices.framework/Versions/A/ApplicationServices
    /System/Library/Frameworks/ApplicationServices.framework/Versions/A/ApplicationServices:
       /System/Library/Frameworks/ApplicationServices.framework/Versions/A/ApplicationServices (compatibility version 1.0.0, current version 48.0.0)
       /System/Library/Frameworks/CoreGraphics.framework/Versions/A/CoreGraphics (compatibility version 64.0.0, current version 600.0.0)
    ...

    and libavcodec

    otool -L ../lib/libavcodec.dylib
    ../lib/libavcodec.dylib:
       libavcodec.dylib (compatibility version 56.0.0, current version 56.60.100)
       @loader_path/libswresample.dylib (compatibility version 1.0.0, current version  ...
    ...
    /System/Library/Frameworks/ApplicationServices.framework/Versions/A/ApplicationServices (compatibility version 64.0.0, current version 600.0.0)

    I am compiling everything with -mmacosx-version-min=10.7

    so maybe a bug in the toolchain ?

    compiler :

    clang -v
    Apple LLVM version 7.0.2 (clang-700.1.81)
    Target: x86_64-apple-darwin15.2.0
    Thread model: posix

    linker :

    ld -v
    @(#)PROGRAM:ld  PROJECT:ld64-253.9
    configured to support archs: armv6 armv7 armv7s arm64 i386 x86_64 x86_64h armv6m armv7k armv7m armv7em (tvOS)
    LTO support using: Apple LLVM 7.0.2 (clang-700.1.81)
  • Reading geolocation data from a video file using FFMpeg/Xuggler

    23 décembre 2015, par agent154

    Using the MediaInfo application, I am able to see that a file taken with an iPhone 5 contains geolocation metadata, tagged both with ©xyz and com.apple.quicktime.location.ISO6709. I am not able to find any way to get this data using xuggler, however.

    Format                                   : MPEG-4
    Format profile                           : QuickTime
    Codec ID                                 : qt   0000.00 (qt  )
    File size                                : 7.50 MiB
    Duration                                 : 3s 537ms
    Overall bit rate                         : 17.8 Mbps
    Recorded date                            : 2015-12-17T14:32:23-0330
    Encoded date                             : UTC 2015-12-17 18:02:23
    Tagged date                              : UTC 2015-12-17 18:02:27
    Writing application                      : 8.4.1
    Writing library                          : Apple QuickTime
    Model                                    : iPhone 5
    ©xyz                                     : +47.5184-052.8046+133.390/
    Make                                     : Apple
    com.apple.quicktime.make                 : Apple
    com.apple.quicktime.creationdate         : 2015-12-17T14:32:23-0330
    com.apple.quicktime.location.ISO6709     : +47.5184-052.8046+133.390/
    com.apple.quicktime.software             : 8.4.1
    com.apple.quicktime.model                : iPhone 5

    As an aside, there seems to be a lot of metadata on this file that I can’t immediately find while debugging via xuggler.

    The question at Reading Geolocation from Quicktime Movies with Java (Xuggler) ? is asking the exact same question, but has no answers or comments at all, and is over 4 years old.

    Is anybody aware of a way to be able to get this data using xuggler as it is, or how I can modify the source and re-compile to make it work ? I am required to get this data for a work project. Thanks.

  • Using dragonfly and ffmpeg to process a video in Rails

    26 novembre 2015, par Maikell

    I am writing a Ruby on Rails 4 Web application, that gives the user an image-upload functionality. For this I followed this tutorial, which is using the gems

    dragonfly
    jquery-fileupload-rails
    remotipart

    This is working fine.
    Now I want to extend the image-upload functionality, to upload videos as well. But unfortunately I’m stuck with it. Here is what I have tried so far :

    config/initializers/dragonfly.rb

    require 'dragonfly'

    # Configure
    Dragonfly.app.configure do
     plugin :imagemagick

     secret 'd045734b043b4383a246c5c8daf2d3e31217dc8b030f21861e4fd16c4b72d382'

     url_format '/media/:job/:name'

     datastore :file,
               root_path: Rails.root.join('uploads/images/'),
               server_root: Rails.root.join('uploads')
    end

    Dragonfly.app(:videos).configure do
     secret 'd045734b043b4383a246c5c8daf2d3e31217dc8b030f21861e4fd16c4b72d382'

     url_format "/media/:job/:name"

     datastore :file,
               root_path: Rails.root.join('uploads/videos/'),
               server_root: Rails.root.join('uploads')
    end

    # Logger
    Dragonfly.logger = Rails.logger

    # Mount as middleware
    Rails.application.middleware.use Dragonfly::Middleware

    # Add model functionality
    if defined?(ActiveRecord::Base)
     ActiveRecord::Base.extend Dragonfly::Model
     ActiveRecord::Base.extend Dragonfly::Model::Validations
    end

    models/video.rb

    class Video < ActiveRecord::Base
     dragonfly_accessor :video, app_name: :videos do
       storage_options do |video|
         { path: "videos/#{Video.gen_uuid}-#{video.name}.webm" }
       end
     end
    end

    I upload the video with ajax. It is succesfully saved in the systems /tmp-directory. Than in the video-controller I call

    @video = Video.new[video_params]
    @video.save

    Now the video-params are correctly saved in the database, but the video is not saved in the given directory /uploads/videos Also my goal is, to process the video with ffmpeg, to convert it to a webm. ffmpeg is installed in the system and converting a video on the command line works fine.

    • But how do I get dragonfly to start the conversion process and save the video in the rails project ? Where do I have to put the ffmpeg-commands to dragonfly ?
    • Why does dragonfly not save the video in the directory uploads/videos ?

    Everything works fine with images and imagemagick. Only videos are causing problems.