Recherche avancée

Médias (0)

Mot : - Tags -/clipboard

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (53)

  • Mise à disposition des fichiers

    14 avril 2011, par

    Par défaut, lors de son initialisation, MediaSPIP ne permet pas aux visiteurs de télécharger les fichiers qu’ils soient originaux ou le résultat de leur transformation ou encodage. Il permet uniquement de les visualiser.
    Cependant, il est possible et facile d’autoriser les visiteurs à avoir accès à ces documents et ce sous différentes formes.
    Tout cela se passe dans la page de configuration du squelette. Il vous faut aller dans l’espace d’administration du canal, et choisir dans la navigation (...)

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

  • Le plugin : Podcasts.

    14 juillet 2010, par

    Le problème du podcasting est à nouveau un problème révélateur de la normalisation des transports de données sur Internet.
    Deux formats intéressants existent : Celui développé par Apple, très axé sur l’utilisation d’iTunes dont la SPEC est ici ; Le format "Media RSS Module" qui est plus "libre" notamment soutenu par Yahoo et le logiciel Miro ;
    Types de fichiers supportés dans les flux
    Le format d’Apple n’autorise que les formats suivants dans ses flux : .mp3 audio/mpeg .m4a audio/x-m4a .mp4 (...)

Sur d’autres sites (5875)

  • lavu : add an API function to return the FFmpeg version string

    30 juin 2015, par wm4
    lavu : add an API function to return the FFmpeg version string
    

    This returns something like "N-73264-gb54ac84". This is much more useful
    than the individual library versions, of which there are too much and
    which are very hard to map back to releases or git commits.

    Signed-off-by : Michael Niedermayer <michaelni@gmx.at>

    • [DH] doc/APIchanges
    • [DH] libavutil/avutil.h
    • [DH] libavutil/utils.c
  • FFMpeg Speed up transparent webm C#/Cmd

    17 avril 2023, par Alphapixel 182004

    I am trying to speed up a webm video file while maintaining the transparency but every attempt I've made has removed the transparency.

    &#xA;

    How do I speed up a transparent webm using FFMpeg without losing the transparency ?

    &#xA;

    Note : I am doing this all in c# but would prefer to use commands instead of wrapper libraries.

    &#xA;

    this is the general command I have tried :

    &#xA;

    command = $"-i \"{input}\" -filter_complex \"[0:v]setpts = (1/{speed}) * PTS[v]; [0:a]atempo = {speed}[a]\" -map \"[v]\" -map \"[a]\" -c:v libvpx-vp9 -b:v 1M -y \"{output}";&#xA;That command did not maintain transparency though.

    &#xA;

    A little info about the input video :

    &#xA;

      &#xA;
    • The input is transparent

      &#xA;

    • &#xA;

    • the input is basically a mess of individual transparent webm's joined together that were made with either :

      &#xA;

        &#xA;
      • Poster with audio :
      • &#xA;

      &#xA;

    • &#xA;

    &#xA;

    $"-threads 4 -loop 1 -i \"{image}\" -i \"{audio}\" -c:v libvpx-vp9 -pix_fmt yuva420p -crf 10 -b:v 0 -c:a libopus -b:a 192k -shortest -movflags &#x2B;faststart -y \"{output}\"";

    &#xA;

      &#xA;
    • Padding the clip :
    • &#xA;

    &#xA;

    $"-i \"{input}\" -filter_complex \"[0:v]split=2[v1][v2];[v1]tpad=start_duration={startPadMs / 1000}:start_mode=clone:stop_duration={endPadMs / 1000}:stop_mode=clone[v1_edited];[v1_edited][v2]overlay=eof_action=pass[v];[0:a]adelay={startPadMs}|{startPadMs}[a]\" -map \"[v]\" -map \"[a]\" \"{output}\""

    &#xA;

      &#xA;
    • Joining videos :
    • &#xA;

    &#xA;

    var temp = Path.Combine(Path.GetTempPath(), "concat.txt"); File.WriteAllText(temp, string.Join(&#x27;\n&#x27;, clips.Select(e => $"file &#x27;{e}&#x27;"))); var command = $"-f concat -safe 0 -i "{temp}" -c copy -y "{output}"";\

    &#xA;

  • Detect if an interlaced video frame is the Top or Bottom field ?

    21 décembre 2024, par Danny

    I'm decoding video PES packets (packetized elementary stream) containing H.264/AVC and H.265/HEVC using libavcodec like this :

    &#xA;

    while (remainingESBytes > 0)&#xA;{&#xA;    int bytesUsed = av_parser_parse2(&#xA;            mpParser, mpDecContext,&#xA;            &amp;mpEncPacket->data, &amp;mpEncPacket->size,&#xA;            pIn, remainingESBytes,&#xA;            AV_NOPTS_VALUE, AV_NOPTS_VALUE, 0);&#xA;&#xA;    // send encoded packet for decoding&#xA;    int ret = avcodec_send_packet(mpDecContext, mpEncPacket);&#xA;    if (ret &lt; 0)&#xA;    {&#xA;        // failed&#xA;        continue;&#xA;    }&#xA;&#xA;    while (ret >= 0)&#xA;    {&#xA;        ret = avcodec_receive_frame(mpDecContext, mpDecFrame);&#xA;        /// Do stuff with frame ///&#xA;    }&#xA;&#xA;    remainingESBytes = getMoreBytes()&#xA;}&#xA;

    &#xA;

    Sometimes the input video is interlaced, in which case it seems avcodec_receive_frame is returning individual fields and not a merged frame of the top and bottom fields together.

    &#xA;

    I couldn't find any way for avcodec_receive_frame to emit a full, non-interlaced frame.

    &#xA;

    I can merge a top and bottom field together but I haven't found any way to identify if a given AVFrame is top or bottom.

    &#xA;

    How can I do that ?

    &#xA;

    EDIT I

    &#xA;

    Looking at the log output from the decoder, it appears the decoder knows if the field is top or bottom (carried by SEI ?) but still can't figure out how to access that information via the libavcodec API...

    &#xA;

    [hevc @ 0x1afcfc0] ENTER DECODE NAL TYPE 39. sei.ni_custom.type = -1&#xA;[hevc @ 0x1afcfc0] Set sei.ni_custom.type to -1.&#xA;[hevc @ 0x1afcfc0] ff_hevc_decode_nal_sei - s->ni_custom.type = -1&#xA;[hevc @ 0x1afcfc0] Decoding SEI [NAL Type 39]. ni_custom.type=-1&#xA;[hevc @ 0x1afcfc0] TOP Field&#xA;[hevc @ 0x1afcfc0] EXIT DECODE NAL TYPE 39. sei.ni_custom.type = -1&#xA;

    &#xA;