Recherche avancée

Médias (91)

Autres articles (71)

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

  • iPhone video conversion to Android supported format using FFMPEG

    21 janvier 2016, par Muhammad Umar

    I have an iPhone video created as follow

    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'vid.mp4':
     Metadata:
       major_brand     : qt  
       minor_version   : 0
       compatible_brands: qt  
       creation_time   : 2016-01-20 09:21:08
       make            : Apple
       make-eng        : Apple
       encoder         : 8.2
       encoder-eng     : 8.2
       date            : 2016-01-20T14:20:57+0500
       date-eng        : 2016-01-20T14:20:57+0500
       model           : iPhone 5
       model-eng       : iPhone 5
     Duration: 00:00:10.80, start: 0.000000, bitrate: 765 kb/s
       Stream #0:0(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, mono, fltp, 62 kb/s (default)
       Metadata:
         creation_time   : 2016-01-20 09:21:08
         handler_name    : Core Media Data Handler
       Stream #0:1(und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p(tv, bt709), 320x320, 696 kb/s, 30 fps, 30 tbr, 600 tbn, 1200 tbc (default)
       Metadata:
         creation_time   : 2016-01-20 09:21:08
         handler_name    : Core Media Data Handler
         encoder         : H.264

    I want to convert it into Android support format so that all iPhone and maximum androids can read it.

    However if i convert to mpeg4 format using

    ffmpeg -i vid.mp4 -s 320x320 -vcodec mpeg4 -acodec aac -strict -2 -ac 2 -ar 44100 -ab 128k output.mp4

    it really degrades the quality

    How can i set the ffmpeg to create atleast as close as possible quality which runs on both android and iPhone

  • how to upload a video to google driver use paperclip or carriwave

    14 janvier 2016, par bách trần nguyên

    i want to upload video to google driver.
    code models
    video model

    class Video < ActiveRecord::Base
     has_attached_file :video,
      :storage => :google_drive,
      :google_drive_credentials => {:client_id => AppConfig.gg_drive.client_id,
                                 :client_secret => AppConfig.gg_drive.client_secret,
                                 :refresh_token => AppConfig.gg_drive.refresh_token,
                                 :scope => AppConfig.gg_drive.scope,
                                 :access_token => Token.cache_access_token_google_drive
                                 },
     :styles => {
       :medium => {
         :geometry => "640x480",
         :format => 'mp4'
       },
       :thumb => { :geometry => "160x120", :format => 'jpeg', :time => 10}
     },# hello 123
     :processors => [:transcoder],
     :google_drive_options => {
       :path => proc { |style| "#{style}_#{id}_#{image.original_filename}" },
       :public_folder_id => '0B0VNyOkzIwUZZFFGeVhycFk0dnc'
     }
    end

    in Gemfile

    gem 'google-api-client'
    gem 'paperclip'
    gem 'paperclip-googledrive'
    gem 'paperclip-av-transcoder'
    gem "paperclip-ffmpeg"

    in controller

    def create
       if params[:videos]
         params[:videos].each { |video| Video.create(video: video) }
       end
    end

    when i run , this display error

    [AV] Running command : if command -v avprobe 2>/dev/null ; then echo "true" ; else echo "false" ; fi
    [AV] Running command : if command -v ffmpeg 2>/dev/null ; then echo "true" ; else echo "false" ; fi
    Av::UnableToDetect in AlbumsController#create
    Unable to detect any supported library

    pls. how to fix this errors

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