Recherche avancée

Médias (1)

Mot : - Tags -/publicité

Autres articles (50)

  • MediaSPIP v0.2

    21 juin 2013, par

    MediaSPIP 0.2 est la première version de MediaSPIP stable.
    Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Comme pour la version précédente, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

  • MediaSPIP version 0.1 Beta

    16 avril 2011, par

    MediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

Sur d’autres sites (5944)

  • Powershell : Start-Job a script, cannot connect to youtube

    16 mai 2016, par Kostas Georgokitsos

    I am a bit new to PS, so please bear with me. I have written a script that starts an ffmpeg proccess, and in an endless loop waits for the process, and restarts it as ffmpeg is a bit shaky. ffmpeg is taking an rtsp stream from a camera and forwards it to youtube.

    # initialization
    $buffer_size = "30720k" # 60 sec * 512kbps
    $ffm = "C:\Users\kostas\Downloads\_software\ffmpeg-20160308-git-5061579-win32-static\bin\ffmpeg.exe"
    $params = "-f lavfi -i aevalsrc=0  -thread_queue_size 512 -i rtsp://$($usr):$($pw)@$($cam_ip):554/mpeg-4/ch1/main//av_stream/ -f flv -vcodec copy -acodec aac -bufsize $($buffer_size) rtmp://a.rtmp.youtube.com/live2/$($youtube_key)"
    $params_bak = $params.Replace('/live2/','/live2/?backup=1/')
    # start stream(s)
    while (1 -eq 1) {
     $err_log = "C:\Users\kostas\Documents\logs\Stream_Error-$(Get-Date -Format dd-MM-yyyy_HH-mm-ss).log"
     $out_log = "C:\Users\kostas\Documents\logs\Stream-$(Get-Date -Format dd-MM-yyyy_HH-mm-ss).log"
     $strm_app = Start-Process $ffm $params -PassThru -WindowStyle Minimized -RedirectStandardError $err_log -RedirectStandardOutput $out_log
     Wait-Process $strm_app.Id
    }

    When I call the script from the powershell prompt directly like .\youtube_cam_1.ps1 all is well, but the powershell prompt locks, obviously.

    When I start like Start-Job -FilePath C:\Users\kostas\Documents\youtube_cam_1.ps1 the job starts allright and I also see the ffmpeg process starting and running, but the youtube channel stays offline. Now to the funny bit : doing Stop-Job does not kill the ffmpeg process, and suddenly ffmpeg can connect to youtube.

    I want to start and run several camera streams (i.e. ffmpeg instances) in the end and need the looping script to somehow go into the background. Is Start-Job the wrong way to do it ?

    What is happening ?

  • How to union RAW video data stream with RAW data audio stream through ffmpeg .net

    17 septembre 2022, par zabitstack

    I'm trying to union a raw video data stream with raw audio data stream but without success ! I capture video from webcam and audio from microphone in .net Accord Framework application.

    


    I want use ffmpeg core .net library to transform raw video data into a avi file, then same thing transform raw audio data into mp3 format file. Next merge mp3 with avi in single avi video+audio file.

    


    If you want, I can post source code how I capture data.

    


  • Can only save animation in matplotlib with default parameters

    20 août 2019, par J.Doe

    I keep getting this error when trying to save my animations in matplotlib :

    import numpy as np
    import matplotlib.pyplot as plt
    from matplotlib.animation import FuncAnimation

    plt.rcParams['animation.ffmpeg_path'] = 'C:\FFmpeg\bin'

    fig, ax = plt.subplots()
    ax.set_xlim(-0.1 ,2*np.pi + 0.1)
    ax.set_ylim(-1.1 ,1.1)
    ln, = plt.plot([], [], '-')

    x = np.linspace(0,2*np.pi,1000)

    def update(frame):

       y = frame*np.sin(x)
       ln.set_data(x,y)
       return ln,

    ani = FuncAnimation(fig,
                       update,
                       frames=np.linspace(1,-1,1000),
                       interval=1000/144)

    ani.save('lol.gif')

    MovieWriter ffmpeg unavailable. Trying to use pillow instead.

    This is a repetition of an unanswered question : UserWarning : MovieWriter ffmpeg unavailable

    I tried running a sample code from here, but it still says ffmpeg isn’t available, even though I installed and activated it according to wikihow. So even setting the path to the binary doesn’t seem to work.

    I can’t set the fps or the dpi, or anything since the save function just defaults. What can I do so that python finally starts using ffmpeg ?