Recherche avancée

Médias (91)

Autres articles (72)

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

  • ffmpeg armv7s compile segmentation fault

    13 mai 2015, par Sergey92zp

    I use https://github.com/kewlbear/FFmpeg-iOS-build-script to compile ffmpeg,
    but when i try to compile, for armv7s architecture i have next error

    all other archs compile fine

    clang : error : unable to execute command : Segmentation fault : 11 clang :
    error : clang frontend command failed due to signal (use -v to see
    invocation) Apple LLVM version 6.1.0 (clang-602.0.49) (based on LLVM
    3.6.0svn) Target : arm-apple-darwin14.3.0 Thread model : posix clang : note : diagnostic msg : PLEASE submit a bug report to
    http://developer.apple.com/bugreporter/ and include the crash
    backtrace, preprocessed source, and associated run script. clang :
    note : diagnostic msg :


    PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT : Preprocessed
    source(s) and associated run script(s) are located at : clang : note :
    diagnostic msg :
    /var/folders/zk/wj2cn08s26x64nlzk3_kjnv80000gn/T/vp8-c6ec27.c clang :
    note : diagnostic msg :
    /var/folders/zk/wj2cn08s26x64nlzk3_kjnv80000gn/T/vp8-c6ec27.sh clang :
    note : diagnostic msg :

    ******************** make : * [libavcodec/vp8.o] Error 254 make : * Waiting for unfinished jobs.... CC libavcodec/wmv2enc.o

    Couple months ago all compiled without any errors.
    Tried on couple versions of ffmpeg

    Here is Clang -v

    Apple LLVM version 6.1.0 (clang-602.0.49) (based on LLVM 3.6.0svn)
    Target : x86_64-apple-darwin14.3.0 Thread model : posix

    and xcode version is Version 6.3.1 (6D1002)

  • Unable to upload video from iPhone with paperclip-ffmpeg in Ruby on Rails

    13 mai 2015, par sank

    When I upload a video from an iPhone, I’m getting the following error :

    Command :: PATH=/usr/bin/:$PATH; file -b --mime '/tmp/6da355e988ec841811d8803dfd5cf44c20150513-8103-b4lkam.MOV'
    [paperclip] Content Type Spoof: Filename IMG_2637.MOV (["video/quicktime"]), content type discovered from file command: inode/x-empty. See documentation to allow this combination.
    (0.6ms)  ROLLBACK
    Completed 400 Bad Request in 58ms (Views: 0.9ms | ActiveRecord: 5.0ms)

    (This works perfectly when I upload the same video from desktop.)

    I used gems "paperclip", "~> 4.1" and "paperclip-ffmpeg".

    In my video model :

    validates_attachment_content_type :student_video, content_type: /\Avideo\/.*\Z/

    also tried out

    validates_attachment_content_type :student_video, :content_type => ['video/x-  
    #                                        msvideo', 'video/avi', 'video/quicktime', 'video/3gpp', 'video/x-ms-
    #                                        wmv', 'video/mp4', 'flv-application/octet-stream', 'video/x-
    #                                        flv', 'video/mpeg', 'video/mpeg4', 'video/x-la-asf', 'video/x-ms-asf']

    But I’m getting the same error.

  • Unable to upload video from iphon using paperclip-ffmpeg in ruby on rails

    13 mai 2015, par sank

    when i upload video from iphon then I am getting below error.

    It works perfectly when I upload same video from desktop.

    Command :: PATH=/usr/bin/:$PATH; file -b --mime '/tmp/6da355e988ec841811d8803dfd5cf44c20150513-8103-b4lkam.MOV'
    [paperclip] Content Type Spoof: Filename IMG_2637.MOV (["video/quicktime"]), content type discovered from file command: inode/x-empty. See documentation to allow this combination.
    (0.6ms)  ROLLBACK
    Completed 400 Bad Request in 58ms (Views: 0.9ms | ActiveRecord: 5.0ms)

    I used gems "paperclip", " > 4.1" and ’paperclip-ffmpeg’

    and in video model i used

    validates_attachment_content_type :student_video, content_type: /\Avideo\/.*\Z/

    also tried out

    validates_attachment_content_type :student_video, :content_type => ['video/x-  
    #                                        msvideo', 'video/avi', 'video/quicktime', 'video/3gpp', 'video/x-ms-
    #                                        wmv', 'video/mp4', 'flv-application/octet-stream', 'video/x-
    #                                        flv', 'video/mpeg', 'video/mpeg4', 'video/x-la-asf', 'video/x-ms-asf']

    but i m getting same error.

    I do not know what was an error.

    please help me.

    thanks in advance.