Recherche avancée

Médias (3)

Mot : - Tags -/image

Autres articles (34)

  • La file d’attente de SPIPmotion

    28 novembre 2010, par

    Une file d’attente stockée dans la base de donnée
    Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
    Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...)

  • Keeping control of your media in your hands

    13 avril 2011, par

    The vocabulary used on this site and around MediaSPIP in general, aims to avoid reference to Web 2.0 and the companies that profit from media-sharing.
    While using MediaSPIP, you are invited to avoid using words like "Brand", "Cloud" and "Market".
    MediaSPIP is designed to facilitate the sharing of creative media online, while allowing authors to retain complete control of their work.
    MediaSPIP aims to be accessible to as many people as possible and development is based on expanding the (...)

  • Personnaliser les catégories

    21 juin 2013, par

    Formulaire de création d’une catégorie
    Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
    Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
    On peut modifier ce formulaire dans la partie :
    Administration > Configuration des masques de formulaire.
    Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
    Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...)

Sur d’autres sites (6375)

  • FFMPEG merge two .mp4 videos - resolution distorted

    9 juin 2016, par Misha Moryachok

    I am trying to merge two .mp4 videos, and in some cases the seconds video part is distorted in the output video. Providing an example below :
    https://www.youtube.com/watch?v=wWMNTBWJ37A

    The real video is : https://www.youtube.com/watch?v=ASio-j-Epi8

    As you can see, we added intro before the real content, however, the real content is stretched.
    In my opinion it happens because first video is 1280x720 and the second is 460x720.

    Providing commands for merging videos :

    *1st step (convert the videos from .mp4 to .ts)

    ffmpeg -i videoPathMP4 -c copy -bsf:v h264_mp4toannexb -f mpegts videoPathTS

    *2nd step (merge videos)

    ffmpeg -i "concat:$video1 | $video2" -c copy -bsf:a aac_adtstoasc $meagePathMP4

    Video output is like you saw in provided videolink on youtube.
    I also tried to change the first video resolution to be like the second video :

    ffmpeg -i inputVideo.mp4 -s 460x720 outputVideo.mp4

    However it doesn’t helped.
    Is anyone know how to solve this ?
    Thanks

  • Using Xuggler to detect Webcam with Java

    18 octobre 2012, par Oneiros

    I'm trying to use Xuggler library to handle webcam video stream in Java.

    My project contains these files :

    • Xuggler Jar (xuggle-xuggler-5.4.jar)
    • SLF4J Jars (required by Xuggler and downloadable here) :
      • jcl-over-slf4j-1.6.4.jar
      • jul-to-slf4j-1.6.4.jar
      • log4j-over-slf4j-1.6.4.jar
      • slf4j-api-1.6.4.jar
      • slf4j-ext-1.6.4.jar
      • slf4j-migrator-1.6.4.jar
      • slf4j-simple-1.6.4.jar
    • DisplayWebcamVideo.java as main class

    I run the main method using "vfwcap" and "0" as arguments.
    Application starts correctly, i can see myself from the webcam but it's just the first frame : the stream freezes and i see this output :

    5022 [Thread-3] ERROR org.ffmpeg - [vfwcap @ 000000000039A320] real-time buffer 75% full! frame dropped!

    5622 [Thread-3] ERROR org.ffmpeg - [vfwcap @ 000000000039A320] real-time buffer 85% full! frame dropped!

    6522 [Thread-3] ERROR org.ffmpeg - [vfwcap @ 000000000039A320] real-time buffer 95% full! frame dropped!

    6822 [Thread-3] ERROR org.ffmpeg - [vfwcap @ 000000000039A320] real-time buffer 101% full! frame dropped!

    6822 [Thread-3] ERROR org.ffmpeg - [vfwcap @ 000000000039A320] real-time buffer 101% full! frame dropped!

    What's the problem here ? :(

  • FFmpeg causing AttributeError : __enter__ on Win10

    11 juillet 2020, par Marci

    I have a python code which runs perfectly on win7, but i struggle for hours now making it work on my win10 laptop.

    


    Before manually installing FFmpeg i receive the error

    


        "assert _HAS_FFMPEG, "Cannot find installation of real FFmpeg (which comes with ffprobe)."
AssertionError: Cannot find installation of real FFmpeg (which comes with ffprobe)"


    


    so i downloaded, unzipped FFmpeg and set up the PATH. From now on i always receive the following error :

    


    with FFmpegReader(str(sourcepath)) as src:
AttributeError: __enter__


    


    I red that this error has something to do with the open() function. But the code works fine on my other computer ?!

    


    I would highly appreciate any hints. i am rather new to this field. Sorry if that is a senseless question.