Recherche avancée

Médias (1)

Mot : - Tags -/musée

Autres articles (93)

  • Amélioration de la version de base

    13 septembre 2013

    Jolie sélection multiple
    Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
    Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)

  • Le plugin : Gestion de la mutualisation

    2 mars 2010, par

    Le plugin de Gestion de mutualisation permet de gérer les différents canaux de mediaspip depuis un site maître. Il a pour but de fournir une solution pure SPIP afin de remplacer cette ancienne solution.
    Installation basique
    On installe les fichiers de SPIP sur le serveur.
    On ajoute ensuite le plugin "mutualisation" à la racine du site comme décrit ici.
    On customise le fichier mes_options.php central comme on le souhaite. Voilà pour l’exemple celui de la plateforme mediaspip.net :
    < ?php (...)

  • 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"

Sur d’autres sites (10765)

  • nginx-rtmp + ffmpeg move mp4's moov to head on the fly

    14 février 2017, par eddie.xie

    I have the following use case :

    1) Alice publish stream to the nginx-rtmp server

    2) The server convert the stream to mp4 (default is flv if I understand correctly, and a codec transformation is needed)

    3) Bob should be able to do range request to that mp4 file while Alice is still publishing

    However it seems ffmpeg command for converting a flv to mp4 can only be done when the mp4 file is fully generated, and then ffmpeg will do second pass and move "moov" to its new file’s head

    Our use case is to allow Bob use range request to retrive the mp4 file while Alice is still publishing (i.e. watch Alice’s video as soon as possible) from time 0 (i.e. from the second Alice started publishing). Thus with mp4’s moov at its head, it’s simple to do range requests and implement the functionality. Raw RTMP doesn’t seem to solve our problem, since we can’t let Bob watch from time 0 of Alice’s recording.

    The question is :
    1) Is it possible to do it while the flv is not fully generated yet ?
    2) Any other idea how shall we use nginx-rtmp/ffmpeg to achieve the functionality we desire ?

    Thanks a bunch

  • FFMPEG (BASH) Trying to record stream from IP camera, getting really bad framerates and random stuttering in video

    12 février 2017, par user2419553

    I’m trying to record an .asf from my IP camera using FFMPEG to save it as an .mp4 file every 15 minutes. The stream coming from the camera is variable, but averages at around 10 FPS. However, when I watch the output mp4, the framerate is much lower, and there is often stuttering, random frame skips, and sometimes the video freezes and doesn’t play (on VLC player).

    Is there any way I can make the recording smoother and/or have less stuttering ?

    Here is the code that I use :

    ffmpeg -i http://USER:PASSWORD@IP:PORT/videostream.asf -r 10 -vcodec copy -an -t 900 /root/Record/"$(date +"%Y_%m_%d %I.%M %p")".mp4

    Any help would be appreciated.

  • appending a string constant selectively within a while loop in bash

    29 janvier 2017, par Maxwell Chandler

    I have a script called automateutube that I edit in VIM and execute in the terminal with sh ./automateutube.sh This script pulls youtube links from a file called songs.txt and downloads the video from youtube then extracts the audio.

    The songs.txt file looks like this

    https://www.youtube.com/watch?v=IxQOlZ3pqtI
    https://www.youtube.com/watch?v=IxQOlZ3pqtI
    https://www.youtube.com/watch?v=IxQOlZ3pqtI
    https://www.youtube.com/watch?v=IxQOlZ3pqtI

    It is just a bunch of links, one per line.

    The script looks like this

    #!/bin/bash

    while read p; do    

    x=/tmp/.youtube-dl-$(date +%y.%m.%d_%H.%M.%S)-$RANDOM.flv

    youtube-dl --audio-quality 160k --output=$x --format=18 "$p"

    ffmpeg -i $x -acodec libmp3lame -ac 2 -ab 128k -vn -y "$p"

    rm $x

    done code>

    Now the first part executes. It downloads the video and starts to unpack it.

    It is the second part that fails. ffmpeg -i $x -acodec libmp3lame -ac 2 -ab 128k -vn -y "$p"

    This is because "$p" is supposed to be in format "filename.mp3" However as it is p takes the value of a youtube link, without ".mp3" appended.

    This works for the first line

    youtube-dl --audio-quality 160k --output=$x --format=18 "$p"

    because "$p" is supposed to be in the form of a link there.

    Now I have tried adding three lines in

    a="$.mp3"
    b="$p"
    c=$b$a

    and making ffmpeg -i $x -acodec libmp3lame -ac 2 -ab 128k -vn -y "$p"

    into ffmpeg -i $x -acodec libmp3lame -ac 2 -ab 128k -vn -y "$c"

    but I am still getting an error. Any ideas ?

    parse error, at least 3 arguments were expected, only 1 given in string ’om/watch ?v=sOAHOxbMOJY’