Recherche avancée

Médias (91)

Autres articles (68)

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

  • avconv - drawtext - apply filter for given time period

    29 novembre 2015, par user3304297

    I am on Ubuntu 15.10 (wily). I want to add a text to the video for the 1st 30sec. I can add video to the entire length of the video by using the following command

    $ avconv -i input.MTS -metadata title="my video" -vf "drawtext=fontfile=/usr/share/fonts/truetype/ubuntu-font-family/Ubuntu-B.ttf:text='My Text':fontcolor=white@0.8:x=7:y=60:fontsize=36" -strict experimental out.mp4

    With ffmpeg there is an option drawtext=enable=between(t,0,30) but with avconv this is not a valid option.

    $ avconv -i 00054.MTS -metadata title="my video" -vf "drawtext=enable='between(t,0,30)':fontfile=/usr/share/fonts/truetype/ubuntu-font-family/Ubuntu-B.ttf:text='My Text':fontcolor=white@0.8:x=7:y=60:fontsize=36" -strict experimental out.mp4

    drawtext @ 0x18b8d20] No such option: enable.
    [AVFilterGraph @ 0x18c3000] Error initializing filter 'drawtext' with args 'enable=between(t,0,30):fontfile=/usr/share/fonts/truetype/ubuntu-font-family/Ubuntu-B.ttf:text=My Text:fontcolor=white@0.8:x=7:y=60:fontsize=36'

    With avconv how can I add a text to the video for a given time period ?

    $ avconv --version
    avconv version 11.4-6:11.4-2ubuntu3, Copyright (c) 2000-2014 the Libav developers
     built on Aug 11 2015 07:00:13 with gcc 5.2.1 (Ubuntu 5.2.1-15ubuntu1) 20150808
  • Error in streaming video over java socket using xuggler

    18 avril 2014, par user3548066

    Although the video is streaming the console is full of repetitive errors and the video freezes after about 20 seconds.

    CLIENTSIDE :

    [Thread-4] ERROR org.ffmpeg - [vfwcap @ 0551F420] real-time buffer 90% full! frame dropped!
    [Thread-4] ERROR org.ffmpeg - [vfwcap @ 0551F420] real-time buffer 90% full! frame dropped!
    [Thread-4] ERROR org.ffmpeg - [vfwcap @ 0551F420] real-time buffer 90% full! frame dropped!
    [Thread-4] ERROR org.ffmpeg - [vfwcap @ 0551F420] real-time buffer 90% full! frame dropped!
    [Thread-4] ERROR org.ffmpeg - [vfwcap @ 0551F420] real-time buffer 121% full! frame dropped!
    [Thread-4] ERROR org.ffmpeg - [vfwcap @ 0551F420] real-time buffer 90% full! frame dropped!
    [Thread-4] ERROR org.ffmpeg - [vfwcap @ 0551F420] real-time buffer 90% full! frame dropped!
    [Thread-4] ERROR org.ffmpeg - [vfwcap @ 0551F420] real-time buffer 90% full! frame dropped!
    [Thread-4] ERROR org.ffmpeg - [vfwcap @ 0551F420] real-time buffer 90% full! frame dropped!
    [Thread-4] ERROR org.ffmpeg - [vfwcap @ 0551F420] real-time buffer 90% full! frame dropped!
    [Thread-4] ERROR org.ffmpeg - [vfwcap @ 0551F420] real-time buffer 90% full! frame dropped!
    [Thread-4] ERROR org.ffmpeg - [vfwcap @ 0551F420] real-time buffer 90% full! frame dropped!

    SERVERSIDE :

    Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
       at com.xuggle.xuggler.demos.VideoImage$ImageComponent$ImageRunnable.run(VideoImage.java:103)
       at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:251)
       at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:733)
       at java.awt.EventQueue.access$200(EventQueue.java:103)
       at java.awt.EventQueue$3.run(EventQueue.java:694)
       at java.awt.EventQueue$3.run(EventQueue.java:692)
       at java.security.AccessController.doPrivileged(Native Method)
       at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
       at java.awt.EventQueue.dispatchEvent(EventQueue.java:703)
       at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
       at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
       at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
       at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
       at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
       at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)
  • FFmpeg av_read_frame not reading frames properly ?

    2 août 2016, par Sir DrinksCoffeeALot

    Alright, so I’ve downloaded some raw UHD sequences in .yuv format and encoded them with ffmpeg in .mp4 container (h264 4:4:4, 100% quality, 25fps). When i use ffprobe to find out how many frames are encoded i get 600, so that’s 24 secs of video.

    BUT, when i run those encoded video sequences through av_read_frame i only get like 40-50% of frames processed before av_read_frame returns error code -12. So I’m wild guessing that there are some data packages in middle of the streams which get read by av_read_frame and forces a function to return -12.

    What my questions are, how should i deal with this problem so i can encode full number of frames (600) ? When av_read_frame returns value different from 0 should i av_free_packet and proceed to read next frame ? Since av_read_frame returns values < 0 for error codes, which error code is used for EOF so i can insulate end of file code ?