Recherche avancée

Médias (1)

Mot : - Tags -/biomaping

Autres articles (81)

  • Support de tous types de médias

    10 avril 2011

    Contrairement à beaucoup de logiciels et autres plate-formes modernes de partage de documents, MediaSPIP a l’ambition de gérer un maximum de formats de documents différents qu’ils soient de type : images (png, gif, jpg, bmp et autres...) ; audio (MP3, Ogg, Wav et autres...) ; vidéo (Avi, MP4, Ogv, mpg, mov, wmv et autres...) ; contenu textuel, code ou autres (open office, microsoft office (tableur, présentation), web (html, css), LaTeX, Google Earth) (...)

  • Supporting all media types

    13 avril 2011, par

    Unlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)

  • Les tâches Cron régulières de la ferme

    1er décembre 2010, par

    La gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
    Le super Cron (gestion_mutu_super_cron)
    Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...)

Sur d’autres sites (5551)

  • C# FFmpeg rtsp byte stream

    3 septembre 2023, par Jesse

    How can I open a constant byte stream that I can read while it's playing ? I am able to get a single image with a resolution of 100:75, but when I bump up the resolution the process never finishes.

    



    I need help improving the performance this method, I'm sure it's possible but I know very little about FFmpeg.

    



    I'd like to be able to :

    



      

    1. List item
    2. 


    3. Get a full res image
    4. 


    5. Read while the process is running
    6. 


    7. Constantly read byte output from a live stream
    8. 


    



    This is how I get the single image, it's running on a background thread.

    



    string stream = "-i " + url + " -vf scale=100:75 -an -vframes 1 -r 1 -f image2pipe pipe:bmp";

var process = new Process();
process.StartInfo.FileName = ffmpeg.exe;
process.StartInfo.Arguments = stream;
process.StartInfo.UseShellExecute = false;
process.StartInfo.RedirectStandardInput = true;
process.StartInfo.RedirectStandardOutput = true;
process.StartInfo.RedirectStandardError = true;
process.StartInfo.CreateNoWindow = true;

process.Start();
process.WaitForExit();

Stream outputReader = process.StandardOutput.BaseStream;

byte[] buffer = new byte[16*1024];
using (MemoryStream ms = new MemoryStream())
{
    int read;
    while ((read = outputReader.Read(buffer, 0, buffer.Length)) > 0)
    {
        ms.Write(buffer, 0, read);
    }

    BitmapImage bitmapImage = new BitmapImage();
    bitmapImage.BeginInit();
    bitmapImage.StreamSource = new MemoryStream(ms.ToArray());
    bitmapImage.EndInit();

    bitmapImage.Freeze();
    Image = bitmapImage;
}


    


  • Anomalie #4729 (Nouveau) : problème d’affichage dans la colone date

    13 avril 2021, par Franck D

    Hello, j’ai essayer en local mais aussi chez ovh en php 8 et cela fait pareil.
    spip SPIP 3.3.0-dev GIT [master : 235be9bc] sans même un article dedans

    Installation d’un spip tout neuf vierge avec uniquement gd2 et les miniatures d’aciver et le plug simplog que j’ai eu via svp
    J’ai fait l’ajout d’un fichier mes_options après l’installation avec dedans :
    define(’_NO_CACHE’, -1) ;
    define(’_INTERDIRE_COMPACTE_HEAD_ECRIRE’, true) ;
    error_reporting(E_ALL^E_NOTICE) ;
    ini_set ("display_errors", "On") ;
    define(’SPIP_ERREUR_REPORT’,E_ALL) ;
    $GLOBALS[’taille_des_logs’] = 500 ;
    define(’_MAX_LOG’, 500000) ;
    define(’_LOG_FILELINE’,true) ;
    define(’_LOG_FILTRE_GRAVITE’,8) ;
    define(’_DEBUG_SLOW_QUERIES’, true) ;
    define(’_BOUCLE_PROFILER’, 5000) ;

    Je viens de me rendre compte qu’il y a un problème, si je clique pour un affichage à deux ans, pour un tableau (voir copie d’écran)

  • Play ogg file using ffplay / ffmpeg on .NET

    12 juillet 2021, par Rchrd

    I'm trying to play an Ogg file in VB.NET using ffplay.exe but I don't know exactly how.
This is my code :

    


    Private Sub ButtonIR_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ButtonIR.Click
    If IsNotNothing(TextBoxSource.text) Then
        TextBoxDETALLES.Clear()
        Try
            Dim CONVERSOR As New Process

            CONVERSOR.StartInfo.FileName = "C:\ffplay.exe"
            CONVERSOR.StartInfo.Arguments = TextBoxSource.Text 
            CONVERSOR.StartInfo.UseShellExecute = False 
            CONVERSOR.StartInfo.RedirectStandardOutput = True 
            CONVERSOR.StartInfo.RedirectStandardError = True 
            CONVERSOR.StartInfo.CreateNoWindow = True 

            CONVERSOR.Start() 

            While Not CONVERSOR.StandardError.EndOfStream
                TextBoxDETALLES.AppendText(CONVERSOR.StandardError.ReadLine & vbCrLf) 

                Application.DoEvents()
            End While

            MsgBox("HECHO") 
        Catch ex As Exception
            MsgBox(ex.Message)
        End Try
    Else
        MsgBox("Error")
    End If
End Sub


    


    I'm not trying to convert it, I'm trying to play it.