Recherche avancée

Médias (1)

Mot : - Tags -/lev manovitch

Autres articles (57)

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

  • avfilter/formats : Remove pointless checks

    11 septembre 2020, par Andreas Rheinhardt
    avfilter/formats : Remove pointless checks
    

    ff_formats_ref() takes a pointer to an AVFilterFormats and a pointer to
    a pointer to an AVFilterFormats as arguments and adds the latter as an
    owner to the list pointed to by the former ; the latter is hereby always
    the address of a list contained in an AVFilterFormatsConfig and can
    therefore not be NULL. So remove the check for whether it is NULL ; also
    do the same for ff_channel_layouts_ref().

    Also do the same for the unref functions where argument is never NULL
    because it is always the address of an existing lvalue.

    Reviewed-by : Nicolas George <george@nsup.org>
    Signed-off-by : Andreas Rheinhardt <andreas.rheinhardt@gmail.com>

    • [DH] libavfilter/formats.c
  • avfilter/af_stereowiden : fix read/write past the end of buffer

    12 juillet 2016, par Alexey Tourbin
    avfilter/af_stereowiden : fix read/write past the end of buffer
    

    The stereowiden filter uses a buffer, s->buffer[], and a pointer
    within the buffer, s->write, to implement inter-channel delays.
    The loop which applies the delayed samples turns out to be faulty.

    109 for (n = 0 ; n < in->nb_samples ; n++, src += 2, dst += 2)
    110 const float left = src[0], right = src[1] ;
    111 float *read = s->write + 2 ;
    112
    113 if (read > s->buffer + s->length)
    114 read = s->buffer ;
    115
    116 dst[0] = drymix * left - crossfeed * right - feedback * read[1] ;
    117 dst[1] = drymix * right - crossfeed * left - feedback * read[0] ;
    118
    119 s->write[0] = left ;
    120 s->write[1] = right ;
    121
    122 if (s->write == s->buffer + s->length)
    123 s->write = s->buffer ;
    124 else
    125 s->write += 2 ;
    126

    For one, the buffer gets written past its end in lines 119-120, before
    the bound check is done in lines 122-123. This can be easily confirmed
    by valgrind.

    ==3544== Invalid read of size 4
    ==3544== at 0x593B41 : filter_frame (af_stereowiden.c:116)
    ==3544== Address 0xb1b03c4 is 4 bytes after a block of size 7,680 alloc’d
    ==3544==
    ==3544== Invalid read of size 4
    ==3544== at 0x593B66 : filter_frame (af_stereowiden.c:117)
    ==3544== Address 0xb1b03c0 is 0 bytes after a block of size 7,680 alloc’d
    ==3544==
    ==3544== Invalid write of size 4
    ==3544== at 0x593B79 : filter_frame (af_stereowiden.c:119)
    ==3544== Address 0xb1b03c0 is 0 bytes after a block of size 7,680 alloc’d
    ==3544==
    ==3544== Invalid write of size 4
    ==3544== at 0x593B7D : filter_frame (af_stereowiden.c:120)
    ==3544== Address 0xb1b03c4 is 4 bytes after a block of size 7,680 alloc’d

    Also, using two separate pointers, s->write and read = s->write + 2,
    does not seem to be well thought out. To apply the delay of s->buffer[],
    it is enough to read the delayed samples at the current position within
    the buffer, and then to store new samples at the same current position.
    Thus the application of delayed samples can probably be best described
    with a single pointer s->cur.

    I also introduce a minor change to ensure that the size of s->buffer[]
    is always a multiple of 2. Since the delay parameter is a float, it is
    otherwise possible to trick the code into allocating off-by-one buffer.

    • [DH] libavfilter/af_stereowiden.c
  • VB Dot Net ffMpeg Network Web Server Cannot Execute JS Ajax Call to Private Web Server When Client is Outside Network

    29 septembre 2019, par Sonbelt

    I have a solution that is using Windows Server 2008 (Web Server), Windows Server 2008 (MS Sql Database Server), Computer with Windows 10 Home with IIS acting as a file server that runs command line calls where ffMpeg converts video files to html5 compliant files and then puts them on the NAS (a WD Network Drive.). Users then use the public website to view the videos streamed from the NAS.

    Windows Server 2008 cannot make a command line call to ffMpeg. If it could the performance hit would be too large.

    In order to get the public web server to call a private web page I’m using an Ajax post call to the file server web site. That site converts the videos and then there is a separate routine that moves the files using the same methodology. In order to get the file server where it can move the files to the NAS I’ve set the application pool identity to a specific user. The public web server is using the Network Service as the identity for the application pool.

    When I run the pages on the public server from behind the firewall where the calling ip address is in the same network the solution works fine but when I use any device or browser when the calling ip address is not in the local network the JS Ajax call to the private web site does not work. No lines appear in the IIS log on the file server.

    I’ve tried changing to the other built in choices and set the identity as the administrator on the public web server. Turned off the public server firewall, turned off the private files server firewalls without success.

    The solution needs to work when the calling ip address is not in the local network. I apologize for long post. Can you help me please ?