Recherche avancée

Médias (0)

Mot : - Tags -/metadatas

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

Autres articles (64)

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

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

Sur d’autres sites (7932)

  • matplotlib funcanimation save issue

    20 avril 2015, par Richie Abraham

    I have been trying some animation recently using matplotlib animations. It has been going great, i create an ffmpeg writer and save it as a video file. However i face an issue whenever the function that FuncAnimation calls returns more than one object.

    Below is a small snippet of my code base. When I return both im0 and im1, the video file created only has im1 , although the plt.show command works as expected ( showing both the videos ). If i return just a single im0, then it works as expected. IT also works as expected if i return both im0 and im1 with alpha=0.5.

    Can anyone shed some light on what is happening underneath the hood ?

    fig, ax = plt.subplots(1)
    def animate(i):
       im0=ax.imshow(np.ma.masked_array(imgl[i][:,:,0], mask=get_blob(i)),cmap='cubehelix')

       im1=ax.imshow(imgl[(i-100)%len(imgl)][:,:,0],cmap='cubehelix')

       return [im1,im0]



    ani = animation.FuncAnimation(fig, animate, frames=200,
                                 interval=10, blit=True,repeat=False)
    ani.save('ps.mp4', writer=writer)
    plt.show()
  • How to save the output of an FFmpeg command into a text file

    14 décembre 2019, par Baba.S

    How can I save the output of an ffmpeg process into a text file ? I see the stuff I want to save come up in the terminal :

    frame=62 fps=0.0 q=-0.0 size=0kB time=00:00:01.06 bitrate=0.3kbit
    frame=116 fps=115 q=-0.0 size=0kB time=00:00:01.97 bitrate=0.2kbit
    frame=175 fps=116 q=-0.0 size=kB time=00:00:02.92 bitrate=0.1kbit
    frame=232 fps=113 q=-0.0 size=0kB time=00:00:03.87 bitrate=0.1kbit

    But need to know how this can be saved into a test file or even a csv file

  • C# FFMPEG - How to get extracted frames without save in file system

    4 janvier 2023, par kadam

    I need to process frames from video and live stream without saving into file system.

    


    C# I am trying using below code, but not getting frames

    


    Process proc = new Process();
            proc.StartInfo.FileName = @"E:\ffmpeg\bin\ffmpeg.exe";
            proc.StartInfo.Arguments = String.Format(@"-i E:\ffmpeg\bin\video.mp4 -f rawvideo pipe:1");
            proc.StartInfo.UseShellExecute = false;
            proc.StartInfo.RedirectStandardOutput = true;
            proc.Start();
proc.OutputDataReceived += (sender, args) => DataReceived(args);
            proc.ErrorDataReceived += (sender, args) => DataReceived(args);


    


    I can get frames in nodejs successfully using below code

    


    
const spawnProcess = require('child_process').spawn
    ffmpeg = spawnProcess('E:\\ffmpeg\\bin\\ffmpeg.exe', [
      '-i', 'rtsp://username:password@192.168.6.37/ch1/main/sub-stream',
      '-vcodec', 'mjpeg','-vf','fps=2',
      '-f', 'rawvideo',
      //'-s', HW, // size of one frame
      'pipe:1'
  ]);
      ffmpeg.stderr.pipe(logStream);
      let frames = [];
      ffmpeg.stdout.pipe(new ExtractFrames("FFD8FF")).on('data', (data) => {
        var fName=new Date().getTime()+".png";
        (
          async () => await ProcessFrame(Buffer.from(data).toString('base64'))
        )();
      })


    


    Same thing await ProcessFrame(Buffer.from(data).toString('base64')) I want in C#