Recherche avancée

Médias (91)

Autres articles (27)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

  • 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

  • Ecrire une actualité

    21 juin 2013, par

    Présentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
    Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
    Vous pouvez personnaliser le formulaire de création d’une actualité.
    Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)

Sur d’autres sites (5924)

  • FFMPEG audio streaming to icecast lets media players stop after each song

    21 décembre 2020, par ILoveCake

    I have set up FFMPEG audio streaming to an icecast2 server.
It works, but when I use a loop to stream different songs, media players stop after each song. In detail :

    


    for i in 1 2 3
do
  ffmpeg -loglevel quiet -hide_banner -re -i test$i.mp3 \
  -c:a libvorbis -ac 1 -b:a 96K -content_type audio/webm -f webm \
  icecast://source:password@localhost:8000/stream
done


    


    Media players (vlc, mpv, mplayer) would stop after each of the 3 test files. I have to press play again and again. For icecast2 I use the default settings (queue-size 524288, burst-size 65535).

    


    How can I have a continuous flow so players don't have to be restarted ?

    


  • Correctly stop FFMPeg from contiuous operation

    17 décembre 2020, par Ole Albers

    I want to use FFMPeg / alsa to record audio from a microphone. I use this call :

    


    ffmpeg -f alsa -i default:CARD=U0x46d0x809 out.wav


    


    I call this as an external process from my program. When the user presses a key I want to stop the recording. This is the way it is implemented :

    


    string ffmpegParams=$"-f alsa -i default:{carname} {outputfilename";
Process ffmpeg = new Process();
ffmpeg.StartInfo.FileName   = "ffmpeg";
ffmpeg.StartInfo.Arguments =ffmpegParams;
ffmpeg.Start();
// do stuff until keypressed
ffmpeg.Kill();


    


    Now I wonder if it is a "good" way to simply kill the process to stop FFMpeg. It feels like the outcome could be unpredictable.

    


    Is there a better way or is this just fine ?

    


  • Ffmpeg stop recording nodejs

    15 décembre 2020, par Caren

    I am trying to stop an ffmpeg running process from a different function than the one I started the process. When ending the recording I only have references for the process id.

    


    I am starting the recording using the following code :

    


    const command : string = "ffmpeg -i " + streamToRecord + " -c copy -bsf:a aac_adtstoasc " + recordingOutputPath;

// Run the ffmpeg process with the arguments
const child: ChildProcess = exec(command);


    


    In a different function I am trying to stop this recording by killing the process using the process id (pid) as follows :
kill(recording.pid);

    


    This successfully kills the process but it doesn't stop the recording. Is there a way to stop recording by only passing the pid ?