Recherche avancée

Médias (2)

Mot : - Tags -/doc2img

Autres articles (60)

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

  • ffmpegthumbnailer issue : dyld : Library not loaded : /usr/local/lib/libavutil.52.18.100.dylib

    18 octobre 2013, par scientiffic

    When I try to run ffmpegthumbnailer, I get the following error :

    dyld: Library not loaded: /usr/local/lib/libavutil.52.18.100.dylib
     Referenced from: /usr/local/bin/ffmpegthumbnailer
     Reason: image not found
     Trace/BPT trap: 5

    I installed ffmpeg using the directions here :

    http://ffmpeg.org/trac/ffmpeg/wiki/MacOSXCompilationGuide

    In my /usr/local/lib folder, I have the file "libavutil.a", but not the one specified in the error mesage.

    How can I solve this error ?

    This is what I was using to try to generate a thumbnail :

    ffmpegthumbnailer -i /public/uploads/tmp/1382121359-37490-7826/thumb_Untitled.mov -o /public/uploads/tmp/1382121359-37490-7826/tmpfile.png -c png -q 10 -s 158
  • How do i use libavfilter to deinterlace frames in my video player software

    19 juin 2014, par justanothercoder

    I’m using libavformat/libavcodec/libswscale/libavutil/libavfilter (ffmpeg related libraries) to make a video player.

    I’v gotten into issues with interlaced videos, it just pairs them incorrectly... It always draws the previous bottom frame with the current top frame. Which results in things I don’t want. And i’v tried messing about with the variables around this, it just won’t work. (I haven’t found a player which would play the videos I have correctly, no you can’t have them, i’m sorry)

    I managed to find a way around this, by re-encoding the video with the following command :

    ffmpeg -i video.mp4 -filter:v yadif -vcodec mpeg4 out.avi

    Now what i’d need is directions on how to do this with c++ code, inside my video player.

    I haven’t found any tutorials on the matter and the ffmpeg.c source code is just too alien to me.

    A link to a tutorial would be fine, i just haven’t found it..

    Edit :

    Also this example was worth checking out :

    https://github.com/krieger-od/imgs2video/blob/master/imgs2video.c

    It’s by a gentleman named Andrey Utkin

  • Input seeking for frame at specified timestamp with Py-AV

    9 décembre 2019, par neonScarecrow

    I have a project already using Py-AV and am trying to replicate a specific ffmpeg command. The goal is to get a frame roughly around the specified timestamp.

    Here’s the ffmpeg commmand :
    https://trac.ffmpeg.org/wiki/Seeking

    ffmpeg -ss 14 -i https://some_url.mp4 -frames:v 1 frame_at_14_seconds.jpg

    Here’s my code :

       #return one frame around 14 seconds into the movie
       target_sec = 14
       container = av.open('https://some_url.mp4', 'r')
       container.streams.video[0].thread_type = 'AUTO'
       video_stream = next(s for s in container.streams if s.type == 'video')
       time_base = float(video_stream.time_base)
       target_timestamp = int(target_sec / time_base) + video_stream.start_time
       video_stream.seek(target_timestamp)
       for frame in container.decode(video_stream):
           frame.to_image().save('frame_at_14_seconds.jpg')
           break

    Additionally, I have found any documentation about this, but does anyone know if either command (ffmpeg/av.open) is downloading the entire file to a tmp file behind the scenes. I’m looking for a less memory-intensive way to read a frame for every second in an up to 60 second video.