Recherche avancée

Médias (2)

Mot : - Tags -/documentation

Autres articles (97)

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

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

  • Multilang : améliorer l’interface pour les blocs multilingues

    18 février 2011, par

    Multilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
    Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela.

Sur d’autres sites (7068)

  • JavaCV FrameRecorder broken output

    24 juin 2016, par user6510675

    I am trying to record from my webcam 360 frames, however the generated movie file always gets broken.

    Example from my dropbox account : https://www.dropbox.com/s/wc4p21tyuhu7uls/Untitled.avi?dl=0

    The issue starts at minute 0:02.

    I don’t know how to fix this.

    I always receive this message in the console :
    using huffyuv 2.2.0 or newer interlacing flag

  • FFmpeg resize without upscaling

    9 novembre 2016, par Alan

    I am working on a script that searches for all media files in the current directory and subdirectories and then batch encodes them to H.265. I was hoping to put in some max frame sizes to make things that are 1080p to be 720p. That is the straightforward part but I have some that are 480p and I don’t want those to end up as 720p. How can I modify my ffmpeg filters to take that into account ?

    The command :

    ffmpeg -i input -c:v hevc_nvenc -preset medium -crf 28 -c:a copy output.mp4
  • Read from UDP Multicast RTSP Video Stream

    24 avril 2012, par hatboyzero

    I am currently developing an application that needs to decode a UDP multicast RTSP stream. At the moment, I can view the RTP stream using ffplay via

    ffplay -rtsp_transport udp_multicast rtsp://streamURLGoesHere

    However, I am trying to use FFMPEG to open the UDP stream via (error checking and cleanup code removed for the sake of brevity).

    AVFormatContext* ctxt = NULL;
    av_open_input_file(
       &ctxt,
       urlString,
       NULL,
       0,
       NULL
    );

    av_find_stream_info(ctxt);

    AVCodecContext* codecCtxt;

    int videoStreamIdx = -1;
    for (int i = 0; i < ctxt->nb_streams; i++)
    {
       if (ctxt->streams[i]->codec->codec_type == AVMEDIA_TYPE_VIDEO)
       {
           videoStreamIdx = i;
           break;
       }
    }

    AVCodecContext* codecCtxt = ctxt->streams[videoStreamIdx]->codec;
    AVCodec* codec = avcodec_fine_decoder(codecCtxt->codec_id);
    avcodec_open(codecCtxt, codec);

    AVPacket packet;
    while(av_read_frame(ctxt, &packet) >= 0)
    {
       if (packet.stream_index == videoStreamIdx)
       {
           /// Decoding performed here
           ...
       }
    }

    ...

    This approach works fine with file inputs that consist of a raw encoded video stream, but for UDP multicast RTSP streams, it fails any error checking performed on av_open_input_file(). Please advise...