Recherche avancée

Médias (1)

Mot : - Tags -/swfupload

Autres articles (28)

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

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

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

  • Revision 36eeb1799d : Merge "Revert "Revert 3 patches from Hangyu to get Chrome to build :""

    25 juin 2014, par hkuang

    Merge "Revert "Revert 3 patches from Hangyu to get Chrome to build :""

  • Handling "NullReferenceException" when executing "ffmpeg.exe" process in C# [duplicate]

    1er juillet 2023, par FrostDream

    I'm trying to execute the "ffmpeg.exe" process in my C# application to process media files. However, I'm encountering a "NullReferenceException" when running the code. I've tried various approaches, including using a try-catch block, but the exception still persists. Here's the relevant code snippet :

    


    bool isValidMedia = true;

try
{
    Process process = new Process();
    process.StartInfo.FileName = "ffmpeg.exe";
    process.StartInfo.Arguments = $"-i \"{file}\" -f null -";
    process.StartInfo.UseShellExecute = false;
    process.StartInfo.RedirectStandardOutput = true;
    process.StartInfo.CreateNoWindow = true;
    process.OutputDataReceived += (sender, e) =>
    {
        if (!string.IsNullOrEmpty(e.Data))
        {
            int startIndex = e.Data.IndexOf("samples=") + 8;
            button.Width = int.Parse(e.Data.Substring(startIndex, e.Data.IndexOf(" ") - startIndex)) / zoom * 100;
        }
        else
        {
            isValidMedia = false;
        }
    };

    process.Start();
    process.BeginOutputReadLine();
    process.WaitForExit();
}
catch
{
    isValidMedia = false;
}

if (!isValidMedia)
{
    MessageBox.Show("Not a valid media.");
    return;
}



    


    I suspect that the issue may be related to the asynchronous execution of the event handler or the initialization of the ProcessStartInfo object. Can anyone please help me identify the cause of the "NullReferenceException" and provide guidance on how to resolve it ? Thank you in advance for your assistance.

    


  • Replace incorrect use of "multiply" with "multiple"

    27 août 2014, par James Darnley
    Replace incorrect use of "multiply" with "multiple"
    

    Also replace the plural form "multiplies" with "multiples".

    • [DH] doc/fftools-common-opts.texi
    • [DH] libavcodec/dirac.c
    • [DH] libavcodec/mpeg12enc.c
    • [DH] libavcodec/msvideo1enc.c
    • [DH] libavutil/frame.h