Recherche avancée

Médias (2)

Mot : - Tags -/kml

Autres articles (53)

  • Demande de création d’un canal

    12 mars 2010, par

    En fonction de la configuration de la plateforme, l’utilisateur peu avoir à sa disposition deux méthodes différentes de demande de création de canal. La première est au moment de son inscription, la seconde, après son inscription en remplissant un formulaire de demande.
    Les deux manières demandent les mêmes choses fonctionnent à peu près de la même manière, le futur utilisateur doit remplir une série de champ de formulaire permettant tout d’abord aux administrateurs d’avoir des informations quant à (...)

  • Gestion de la ferme

    2 mars 2010, par

    La ferme est gérée dans son ensemble par des "super admins".
    Certains réglages peuvent être fais afin de réguler les besoins des différents canaux.
    Dans un premier temps il utilise le plugin "Gestion de mutualisation"

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

Sur d’autres sites (7557)

  • Using a pipe character | with child_process spawn

    19 avril 2020, par Titan

    I'm running nodejs on a raspberry pi and I want to run a child process to spawn a webcam stream.

    



    Outside of node my command is :

    



    raspivid -n -mm matrix -w 320 -h 240 -fps 18 -g 100 -t 0 -b 5000000 -o - | ffmpeg -y -f h264 -i - -c:v copy -map 0:0 -f flv -rtmp_buffer 100 -rtmp_live live "rtmp://example.com/big/test"


    



    With child_process I have to break each argument up

    



    var args = ["-n", "-mm", "matrix", "-w", "320", "-h", "240", "-fps", "18", "-g", "100", "-t", "0", "-b", "5000000", "-o", "-", "|", "ffmpeg", "-y", "-f", "h264", "-i", "-", "-c:v", "copy", "-map", "0:0", "-f", "flv", "-rtmp_buffer", "100", "-rtmp_live", "live", "rtmp://example.com/big/test"];


    



    camera.proc = child.spawn('raspivid', args);


    



    However it chokes on the | character :

    



    error, exit code 64
Invalid command line option (|)


    



    How do I use this pipe character as an argument ?

    


  • Using a pipe character | with child_process spawn

    14 septembre 2016, par GreenGiant

    I’m running nodejs on a raspberry pi and I want to run a child process to spawn a webcam stream.

    Outside of node my command is :

    raspivid -n -mm matrix -w 320 -h 240 -fps 18 -g 100 -t 0 -b 5000000 -o - | ffmpeg -y -f h264 -i - -c:v copy -map 0:0 -f flv -rtmp_buffer 100 -rtmp_live live "rtmp://example.com/big/test"

    With child_process I have to break each argument up

    var args = ["-n", "-mm", "matrix", "-w", "320", "-h", "240", "-fps", "18", "-g", "100", "-t", "0", "-b", "5000000", "-o", "-", "|", "ffmpeg", "-y", "-f", "h264", "-i", "-", "-c:v", "copy", "-map", "0:0", "-f", "flv", "-rtmp_buffer", "100", "-rtmp_live", "live", "rtmp://example.com/big/test"];

    camera.proc = child.spawn('raspivid', args);

    However it chokes on the | character :

    error, exit code 64
    Invalid command line option (|)

    How do I use this pipe character as an argument ?

  • Audio : Retrieve bitdepth with ffmpeg api

    22 août 2021, par User42

    I need the bitdepth of arbitrary audio formats
(mp3, wav, acc, flac, opus, ogg etc.)

    


    For that I tried

    


    AVStream.codecpar.bits_per_raw_sample ;

    


    and also

    


    AVStream.codec.bits_per_raw_sample ;

    


    But except of flac all return 0.

    


    ffprobe also doesn't output the bitdepth,
only the sample format (s16, fltp etc.).

    


    How do I get the bitdepth ?

    


    Or do I have to "derive" it from sample format ?