Recherche avancée

Médias (91)

Autres articles (68)

  • Use, discuss, criticize

    13 avril 2011, par

    Talk to people directly involved in MediaSPIP’s development, or to people around you who could use MediaSPIP to share, enhance or develop their creative projects.
    The bigger the community, the more MediaSPIP’s potential will be explored and the faster the software will evolve.
    A discussion list is available for all exchanges between users.

  • Formulaire personnalisable

    21 juin 2013, par

    Cette page présente les champs disponibles dans le formulaire de publication d’un média et il indique les différents champs qu’on peut ajouter. Formulaire de création d’un Media
    Dans le cas d’un document de type média, les champs proposés par défaut sont : Texte Activer/Désactiver le forum ( on peut désactiver l’invite au commentaire pour chaque article ) Licence Ajout/suppression d’auteurs Tags
    On peut modifier ce formulaire dans la partie :
    Administration > Configuration des masques de formulaire. (...)

  • MediaSPIP v0.2

    21 juin 2013, par

    MediaSPIP 0.2 est la première version de MediaSPIP stable.
    Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Comme pour la version précédente, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

Sur d’autres sites (10432)

  • Get video duration of file hosted on Amazon S3

    10 janvier 2020, par Michi

    I’m starting a portal which distributes videos. The idea is to upload the videos to Amazon S3 and gather the necessary data using PHP from my server. So far everything works fine... the only thing I could not manage to get is the duration of the video :-( Could anybody give me a hint on how to accomplish it ?

    Thanks,
    Miguel

    UPDATE :

    I finally opted to do it using FFmpeg. I have already installed FFmpeg on the server and I’m now trying to execute the command in the shell prior to execute it with PHP. I’m passing it the URL from Amazon (I tried both the cloudfront URL and the S3 URL) but it says that there is not such a directory or file. I’ve seen examples on the web using external files so I expected it to work.

    The command I’m using is

    ffmpeg -i https://s3-eu-west-1.amazonaws.com/path/to/file.m4v

    Is there something I need to configure in order to use external URLs ?

  • ffmpeg FPS information mismatch with the video

    8 décembre 2017, par Adorn

    I have a bunch of videos with some statistics of what is happening inside a video. One such piece of information is given in terms of time of the video in seconds up to one decimal point.

    To get the FPS of a video, I am using ffmpeg -i

    But when I manually compute one particular frame’s time using given FPS, it does not match.

    For example, ffmpeg outputs FPS = 30.

    I look at the video statistics, the frame at the 156.8 = 2.368 has to be
    4704'th frame. I open the video using ’skvideo’, read all the frames, and view the 4704'th frame. It is some frame around time 2.12 ?. I checked multiple such instances in multiple videos and this is a common behavior.

    I do not understand why this is so and how can I get around the problem ?

    As such I am not bounded by ffmpeg. Skvideo is being used to read the videos. I tried opencv, as of now it does not work with VideoCapture, and reinstalling it is costly for me time wise. But I guess ’opencv/skvideo’ should not matter, one can count the frames manually as well.

    So, in the solution, I am looking out for -

    1. Given timestamps of inside of a video, how can I find a frame of that particular time location ?

    2. In case someone might have already worked on this, this is related to THUMOS dataset. I am on Ubuntu 16.04

    EDIT_1

    Actually I can be more specific as it is a publicly available data. The time bounds are of an important activity. For example, in a video, when does basketball dunk occurs ? It is given in pairs - [start end]. Some videos have multiple activities, some have only one.

    Here is a sample video, and following are the activity times.

    [[  16.5, 20.8],
    [  26.6, 32.2],
    [  34.8, 42.1],
    [  47.8, 50.0],
    [  58.1, 62.9],
    [  65.6, 67.2],
    [  68.5, 74.0],
    [  76.4, 78.3],
    [  78.7, 79.8],
    [  80.8, 82.1],
    [  85.0, 87.3],
    [  90.1, 91.4],
    [  98.5, 100.3]]

    I also tried checking manually, 32.87 FPS "almost" works for few videos but not for all. and almost means it is off by 10 frames. This is a huge difference for my task, and I need exact frame.

    Also, there has to be some way, because it can be visually observed with multiple video players that times in the dataset are correct.

  • avcodec/dnxhddec : Do not overwrite colorspace if the container has set it.

    29 novembre 2017, par Steven Robertson
    avcodec/dnxhddec : Do not overwrite colorspace if the container has set it.
    

    The existing logic overrides container metadata even in cases where the
    container metadata must be trusted (e.g. HDR). The original spec had no
    provision for specifying color volume, so many files rely on the
    assumption of Rec. 709.

    An update to the spec included a 'clv' field for explicitly signaling
    that the container should be trusted in an existing bitfield in the
    frame header, but the default of 0 from old encoders forces Rec. 709,
    which would break any HDR stream. Because there is no place in DNxHR for
    specifying a transfer function, DNxHR HDR files must include
    container-level color information.

    This patch maintains the existing behavior of choosing the 709 over the
    601 matrix when container-level information is missing, and allows
    container-level information to win if present.

    Signed-off-by : Steven Robertson <steven@strobe.cc>
    Signed-off-by : Michael Niedermayer <michael@niedermayer.cc>

    • [DH] libavcodec/dnxhddec.c