Recherche avancée

Médias (91)

Autres articles (67)

  • Des sites réalisés avec MediaSPIP

    2 mai 2011, par

    Cette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
    Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.

  • Installation en mode ferme

    4 février 2011, par

    Le mode ferme permet d’héberger plusieurs sites de type MediaSPIP en n’installant qu’une seule fois son noyau fonctionnel.
    C’est la méthode que nous utilisons sur cette même plateforme.
    L’utilisation en mode ferme nécessite de connaïtre un peu le mécanisme de SPIP contrairement à la version standalone qui ne nécessite pas réellement de connaissances spécifique puisque l’espace privé habituel de SPIP n’est plus utilisé.
    Dans un premier temps, vous devez avoir installé les mêmes fichiers que l’installation (...)

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

  • Cutting the videos based on start and end time using ffmpeg

    26 novembre 2023, par Kalaiyarasan

    I tried to cut the video using the start and end time of the video by using the following command

    


    ffmpeg -ss 00:00:03 -t 00:00:08 -i movie.mp4 -acodec copy -vcodec copy -async 1 cut.mp4


    


    By using the above command i want to cut the video from 00:00:03 to 00:00:08. But it is not cutting the video between those times instead of that it is cutting the video with first 11 seconds. can anyone help me how resolve this ?

    


    Edit 1 :

    


    I have tried to cut by using the following command which is suggested by mark4o

    


    ffmpeg -i movie.mp4 -ss 00:00:03 -t 00:00:08 -async 1 cut.mp4


    


    But it was shown the following error.

    


    the encoder 'aac' is experimental but experimental codecs are not enabled

    


    so i added the -strict -2 into the command i.e.,

    


    ffmpeg -i movie.mp4 -ss 00:00:03 -t 00:00:08 -async 1 -strict -2 cut.mp4


    


    Now it is working fine.

    


  • AVAssetWriter single frame

    5 novembre 2015, par Robert Figueira

    I’m trying to encode frame sequences to quicktime movies using AVAssetWriter, which works brilliantly. Problem is, it fails when I give it only one frame to write as a movie (the details of why I need single frame quicktime movies aren’t important, suffice to say it’s a necessary workflow thing for a very specific use case). It works fine with two frames, but with one frame it exits with the following error when calling AVAssetWriter.finishWritingWithCompletionHandler :

    writer failed with error : Optional(Error Domain=AVFoundationErrorDomain Code=-11800 "The operation could not be completed" UserInfo=NSUnderlyingError=0x6180000427c0 Error Domain=NSOSStatusErrorDomain Code=-12769 "(null)", NSLocalizedFailureReason=An unknown error occurred (-12769), NSLocalizedDescription=The operation could not be completed)

    This is true for all file types - since by that time it’s just reading in pixel buffers. I stepped through line by line while debugging and it definitely has appended the single pixel buffer before finishing, it just won’t write the movie with only a single frame.

    The thing that makes me think it’s more of an Apple problem and not just me is that ffmpeg won’t write single frame movies either... Anyone have some insight as to why this is happening ? I can’t see any reason why a two frame movie would work fine but a one frame movie fails to write. Thanks,

    Robert

  • ffmpeg rails error Could not parse output from FFProbe

    21 juillet 2017, par Vlad Valdez

    i tried to make a screenshot from my video
    run this line

    movie = FFMPEG::Movie.new(Rails.root.join(’lovetherents.mov’).to_s)

    but got error Could not parse output from FFProbe, also i got this error on another video with mp4 format. Also i get this error on any type of files and even if i pass a path just a directory like "/"
    what’s wrong ?