Recherche avancée

Médias (1)

Mot : - Tags -/getid3

Autres articles (70)

  • Support audio et vidéo HTML5

    10 avril 2011

    MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
    Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
    Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
    Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...)

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
    The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
    For older browsers the Flowplayer flash fallback is used.
    MediaSPIP allows for media playback on major mobile platforms with the above (...)

  • De l’upload à la vidéo finale [version standalone]

    31 janvier 2010, par

    Le chemin d’un document audio ou vidéo dans SPIPMotion est divisé en trois étapes distinctes.
    Upload et récupération d’informations de la vidéo source
    Dans un premier temps, il est nécessaire de créer un article SPIP et de lui joindre le document vidéo "source".
    Au moment où ce document est joint à l’article, deux actions supplémentaires au comportement normal sont exécutées : La récupération des informations techniques des flux audio et video du fichier ; La génération d’une vignette : extraction d’une (...)

Sur d’autres sites (7182)

  • bash script with conditional arguments and output pipe not working [duplicate]

    19 décembre 2022, par Pavel

    Can u please help me with bash script for ffmpeg ?
Trying to create condition based on args to play OR save media to file, so I've created this kind of IF :

    


    #!/bin/bash

if [ "$1" == "play" ]; then
    POSTFIX="-f matroska - | mpv -"
else
    POSTFIX="-y $OUTPUT"
fi

ffmpeg \
  # skipped personal ffmpeg stuff
  "$POSTFIX"


    


    Now when I try to run it with "play" argument it says :

    


    Unrecognized option 'f matroska - | mpv -'.


    


    So if I add this POSTFIX both variants to command everything works fine...

    


    It looks like something in my bash screens this args or something like that ? Also I don't see in error this dash symbol before f option

    


  • ffmpeg record video from image pipe with constant framerate

    4 janvier 2023, par Michael

    I'm trying to record a lossless video with ffmpeg, feeding it image data through standard input.

    


    The process is started like this (C#) :

    


    string inputArgs = "-y -f image2pipe -pix_fmt yuyv422 -i -";
string outputArgs = "-r 20 -c:v libx264 -crf 0 -pix_fmt yuv422p -preset ultrafast C:\\temp\\out.mp4";

process = new Process
{
    StartInfo =
        {
           FileName = "ffmpeg.exe",
           Arguments = $"{inputArgs} {outputArgs}",
           UseShellExecute = false,
           CreateNoWindow = true,
           RedirectStandardInput = true
        }
};

process.Start();


    


    The above works, but I have a problem with framerate. The rate I'm feeding images to ffmpeg is different over time, but I need ffmpeg to keep output rate constant. According to ffmpeg documentation, if set like this "-r 20" it should "duplicate or drop input frames to achieve constant output frame rate fps". But it doesn't. If I feed the images to the ffmpeg too slow, I'm getting fast playing video and vice versa.

    


    Am I providing wrong arguments ? Or it's somehow has to deal with ffmpeg getting images from Standard Input ?

    


    I tried these options in the output settings block : "vsync" (setting it to 1) and "fps_mode" (setting it to cfr). "vsync" doesn't have any effect, with "fps_mode" nothing works (video not recorded at all).

    


  • avformat/file : add fd option for pipe

    14 décembre 2022, par Zhao Zhili
    avformat/file : add fd option for pipe
    

    Signed-off-by : Zhao Zhili <zhilizhao@tencent.com>

    • [DH] doc/protocols.texi
    • [DH] libavformat/file.c
    • [DH] libavformat/version.h