Recherche avancée

Médias (91)

Autres articles (74)

  • MediaSPIP version 0.1 Beta

    16 avril 2011, par

    MediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Pour avoir une installation fonctionnelle, 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 (...)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

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

Sur d’autres sites (7740)

  • When creating a Xing or Info tag in an MP3, may I use any MP3 header or does it have to match other frames ?

    13 décembre 2019, par Alexis Wilke

    I have a set of bare MP3 files. Bare as in I removed all tags (no ID3, no Xing, no Info) from those files.

    Just before sending one of these files to the client, I want to add an Info tag. All of my files are CBR so we will use an Info tag (no Xing).

    Right now I get the first 4 bytes of the existing MP3 to get the Version (MPEG-1, Layer III), Bitrate, Frequency, Stereo Mode, etc. and thus determine the size of one frame. I create the tag that way, reusing these 4 bytes for the Info tag and determining the size of the frame.

    For those wondering, these 4 bytes may look like this :

    FF FB 78 04

    To me it felt like you are expected to use the exact same first 4 bytes in the Info tag as found in the other audio frames of the MP3, but when using ffmpeg, they stick an Info tag with a hard coded header (wrong bitrate, wrong frequency, etc.)

    My question is : Is ffmpeg really doing it right ? (LAME doesn’t do that) Could I do the same, skipping the load of the first 4 bytes and still have the greater majority of the players out there play my files as expected ?

    Note : since I read these 4 bytes over the network, it would definitely save a lot of time and some bandwidth to not have to load these 4 bytes on a HEAD request. Resources I could use for the GET requests instead...

  • How to match ONVIF Camera services with FFMPEG restreaming

    2 janvier 2018, par Milen

    This is the situation,

    I have an IP Camera from which I can view the video associated on an rtsp video streaming.

    I also have a software, developed with ffmpeg which takes the camera video, makes some changes to the image and restreams another video, on another rtsp address. The output address rtsp :// :/stream.

    Finally, I have an NVR device which is configured to record any camera streaming or substreaming video. To make it work, you have to determine the camera IP and an ONVIF port.

    So what I want to do and I dont know how, is to add the camera to the NVR but change the rtsp address. Or maybe, simulate an ONVIF camera service, and associate it with my generated rtsp video. Then, add this ""camera"" to the NVR.

    Any answers that consist in recording the video in any other way than using the NVR, will not be useful for me

    EDIT :

    The first option which consists on adding the camera to the NVR and change the rtsp address didnt work, because the device doesn’t support that. So I want to know how to implement (any language or platform) an ONVIF server which copy the camera service but change the rtsp address.

    I downloaded a virtualbox machine which work as ONVIF server, but still didnt know how to change the protocol so It gives my rtsp address to the NVR, because the code was a very close one.

  • FPS shown in ffmpeg does not match with total frames/duration

    14 juin 2020, par Lincolnhuj

    FPS is defined as number of frames per second. But when I try to calculate FPS using total frames / duration, I get slightly different number than the FPS shown in ffmpeg :

    



    For this video http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/ForBiggerFun.mp4
using ffmpeg, we can get its FPS, duration and total frames :

    



    


    ffprobe -select_streams v -show_streams ForBiggerFun.mp4 | grep nb_frames

    


    



    nb_frames=1440

    



    


    ffmpeg -i ForBiggerFun.mp4

    


    



    23.98 fps
Duration : 00:01:00.07

    



    If we calculate duration per frame using nb_frames, we get
fps = nb_frames/Duration = 1440/60.07 = 23.972032628599965, which is different from 23.98

    



    Which value is more reliable ? Does the difference means duration of a frame might be different from others (frames are not evenly distributed) ?