Recherche avancée

Médias (16)

Mot : - Tags -/mp3

Autres articles (45)

  • La sauvegarde automatique de canaux SPIP

    1er avril 2010, par

    Dans le cadre de la mise en place d’une plateforme ouverte, il est important pour les hébergeurs de pouvoir disposer de sauvegardes assez régulières pour parer à tout problème éventuel.
    Pour réaliser cette tâche on se base sur deux plugins SPIP : Saveauto qui permet une sauvegarde régulière de la base de donnée sous la forme d’un dump mysql (utilisable dans phpmyadmin) mes_fichiers_2 qui permet de réaliser une archive au format zip des données importantes du site (les documents, les éléments (...)

  • Script d’installation automatique de MediaSPIP

    25 avril 2011, par

    Afin de palier aux difficultés d’installation dues principalement aux dépendances logicielles coté serveur, un script d’installation "tout en un" en bash a été créé afin de faciliter cette étape sur un serveur doté d’une distribution Linux compatible.
    Vous devez bénéficier d’un accès SSH à votre serveur et d’un compte "root" afin de l’utiliser, ce qui permettra d’installer les dépendances. Contactez votre hébergeur si vous ne disposez pas de cela.
    La documentation de l’utilisation du script d’installation (...)

  • Automated installation script of MediaSPIP

    25 avril 2011, par

    To overcome the difficulties mainly due to the installation of server side software dependencies, an "all-in-one" installation script written in bash was created to facilitate this step on a server with a compatible Linux distribution.
    You must have access to your server via SSH and a root account to use it, which will install the dependencies. Contact your provider if you do not have that.
    The documentation of the use of this installation script is available here.
    The code of this (...)

Sur d’autres sites (7280)

  • Unable to run a program in PATH from Java code

    17 novembre 2012, par user1831004

    I am developing a Red5 media server application on a Mac (Dynamic Web Project in Eclipse). The app has to invoke FFMPEG to convert the video to a different format.

    I added "/Applications/FFMPEG" to PATH variable by running the following command in Terminal :

    echo 'export PATH=/Applications/FFMPEG:$PATH' >> ~/.profile

    When I invoke FFMPEG from terminal, it works fine. However, every time I run it from Java code with :

    Process p = Runtime.getRuntime().exec("ffmpeg");
    p.waitFor();

    I get the following error :

    Cannot run program "ffmpeg": error=2, No such file or directory

    I thought this might be a security limitation specific to the type of project, but even a simple Java program produces the same result. What am I missing ?


    Changing "ffmpeg" to full path of the application works, but I don't want to upload FFMPEG into the same directory as Red5 on a production server.

  • avformat/http: add "Opening" info logging to ff_http_do_new_request

    13 décembre 2017, par Aman Gupta
    avformat/http: add "Opening" info logging to ff_http_do_new_request
    

    This mimics logging that was added in 53e0d5d7247 for security
    purposes.

    Signed-off-by : Aman Gupta <aman@tmm1.net>
    Signed-off-by : Michael Niedermayer <michael@niedermayer.cc>

    • [DH] libavformat/http.c
  • Is there risk of shell/command injection when using FFmpeg or when there's no user input ?

    10 mai 2021, par Tris

    I am new when it comes to thinking about the security of my web applications. I have done research on shell injections and most of the time they say to just avoid using shell/command calls in the web applications. However, my alternative seems to limit which browsers clients can use. So I would prefer executing a shell command in my nodejs server. I am using FFmpeg and calling it through system command in nodejs child processes.

    &#xA;

    I have a FFmpeg bash script like so :

    &#xA;

    VIDSOURCE="rtsp:cameraurl"&#xA;AUDIO_OPTS="-c:a aac -b:a 160000 -ac 2"&#xA;VIDEO_OPTS="-s 854x480 -c:v libx264 -b:v 800000"&#xA;OUTPUT_HLS="-hls_time 10 -hls_list_size 10 -start_number 1 -hls_wrap 10"&#xA;ffmpeg -i "$VIDSOURCE" -y $AUDIO_OPTS $VIDEO_OPTS $OUTPUT_HLS mystream.m3u8&#xA;

    &#xA;

    I am wondering if I should worry about shell injection risk and if I should try another approach. I don't think there is any user input in this besides my own hard coded inputs. Therefore, I think it should be safe to use this script in a web browser... I just want to be safe and be sure. Thank you !

    &#xA;