Recherche avancée

Médias (1)

Mot : - Tags -/getid3

Autres articles (18)

  • MediaSPIP Player : problèmes potentiels

    22 février 2011, par

    Le lecteur ne fonctionne pas sur Internet Explorer
    Sur Internet Explorer (8 et 7 au moins), le plugin utilise le lecteur Flash flowplayer pour lire vidéos et son. Si le lecteur ne semble pas fonctionner, cela peut venir de la configuration du mod_deflate d’Apache.
    Si dans la configuration de ce module Apache vous avez une ligne qui ressemble à la suivante, essayez de la supprimer ou de la commenter pour voir si le lecteur fonctionne correctement : /** * GeSHi (C) 2004 - 2007 Nigel McNie, (...)

  • Menus personnalisés

    14 novembre 2010, par

    MediaSPIP utilise le plugin Menus pour gérer plusieurs menus configurables pour la navigation.
    Cela permet de laisser aux administrateurs de canaux la possibilité de configurer finement ces menus.
    Menus créés à l’initialisation du site
    Par défaut trois menus sont créés automatiquement à l’initialisation du site : Le menu principal ; Identifiant : barrenav ; Ce menu s’insère en général en haut de la page après le bloc d’entête, son identifiant le rend compatible avec les squelettes basés sur Zpip ; (...)

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

  • FFmpeg programming : exr image too dark [on hold]

    2 juillet 2017, par Francis Tesla

    Using the fantastic FFmpeg library to load images all exr files appears dark.
    I am almost sure that’s involve converting the resulting AVFrame or AVPicture from linear to sRGB but I don’t know how to do it.

    Here is how the EXR file is loaded into an AVPicture :

    AVFrame *frame = av_frame_alloc();
    avcodec_decode_video2(codecCtx, frame, &frameFinished, &packet);

    ...

    AVPicture       picture;
    avpicture_alloc(&picture, dest_format, dest_width, dest_height);

    SwsContext *swsCtx = NULL;

    swsCtx = sws_getContext(source_width, source_height, source_format, dest_width, dest_height, dest_format, SWS_POINT, NULL, NULL, NULL);

    if (swsCtx == NULL) {
       qDebug() << "error calling sws_getContext";
    }

    sws_scale(swsCtx, frame->data, frame->linesize, 0, frame->height, picture.data, picture.linesize);

    QImage image(dest_width, dest_height, QImage::Format_ARGB32);

    for (int y = 0; y < dest_height; ++y) {
       memcpy(image.scanLine(y), picture.data[0] + y * picture.linesize[0], picture.linesize[0]);
    }

    av_frame_free(&frame);
    sws_freeContext(swsCtx);

    Regards,

    Francis

  • Why does ffmpeg have bigger latency on dark images ?

    19 novembre 2017, par doodoroma

    I have a c# application to stream real camera images using ffmpeg. The input images are in raw, 8-bit gray-scale format. I created an ffmpeg stream using the standard input to feed the images and send the output packages to websocket clients.

    I start an external ffmpeg process using this config :

    -f rawvideo -pixel_format gray -video_size " + camera.Width.ToString() + "x" + camera.Height.ToString() + " -framerate 25 -i - -f mpeg1video -b:v 512k -s 320x240 -

    Typical image size is 1040*1392 pixels

    I display the stream on the browser, using jsmpeg library

    This works with a reasonable latency ( 500ms on localhost), but when the camera image is really dark (black image), the latency is extremely big ( 2-3 seconds on localhost). When there is something bright on the image again after a black period, it takes 2-3 seconds to "synchronize".

    I was thinking that black images are really easy to compress and will generate really small packages, jsmpeg has almost no information to display and wait until a complete data package arrives, but I couldn’t prove my theory.

    I played with ffmpeg parameters like bitrate and fps but nothing has changed.

    Is there any settings which I could try ?

  • why does the order of arguments matter in here ?

    26 juin 2013, par Pooya

    as far as I can remember, the order of the command arguments did not matter but here I see something else :

    ffmpeg -f avi -i "s02e01.mkv" vcodec mpeg4 -b 4000k -acodec libmp3lame -ab 320k "converted.avi"

    and this is the result :

    s02e01.mkv: Operation not permitted

    but after changing the place of "-f" and "-i" everything goes ok :

    ffmpeg -i "s02e01.mkv" -f avi vcodec mpeg4 -b 4000k -acodec libmp3lame -ab 320k "converted.avi"

    what is the problem here ?