Recherche avancée

Médias (1)

Mot : - Tags -/biomaping

Autres articles (63)

  • Participer à sa traduction

    10 avril 2011

    Vous pouvez nous aider à améliorer les locutions utilisées dans le logiciel ou à traduire celui-ci dans n’importe qu’elle nouvelle langue permettant sa diffusion à de nouvelles communautés linguistiques.
    Pour ce faire, on utilise l’interface de traduction de SPIP où l’ensemble des modules de langue de MediaSPIP sont à disposition. ll vous suffit de vous inscrire sur la liste de discussion des traducteurs pour demander plus d’informations.
    Actuellement MediaSPIP n’est disponible qu’en français et (...)

  • List of compatible distributions

    26 avril 2011, par

    The table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
    If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...)

  • Submit bugs and patches

    13 avril 2011

    Unfortunately a software is never perfect.
    If you think you have found a bug, report it using our ticket system. Please to help us to fix it by providing the following information : the browser you are using, including the exact version as precise an explanation as possible of the problem if possible, the steps taken resulting in the problem a link to the site / page in question
    If you think you have solved the bug, fill in a ticket and attach to it a corrective patch.
    You may also (...)

Sur d’autres sites (8699)

  • Code forks fine on macbook laptop..but on Imac(Yosemite) I get errors in my shell script

    2 mars 2015, par arantx

    I’m still figuring out how to work within the terminal, mainly with FFmpeg at the moment. I have this code running for a while now on my macbook pro (snow leopard I think). It works fine, no glitches whatsover. I just got an Imac (yosemite) and I wanted to install the same code, but now it gives these minor stupid syntax errors - that are not at fault on my laptop ! Its seems bizar to me, but maybe it’s something I forgot to install .. like a certain library ? I’ve tried to use the same steps as before but ofcourse I might have forgotten about one..

    The code will make a clip of 5 seconds on every hour via the embedded webcam, (the hourly notice is being programmed within crontab). This is the shell script :


    #!/bin/bash

    FNAME=videocapture_`date +"%F_%H_%M"`.mpg
    echo $FNAME

    /usr/local/bin/ffmpeg -t 5 -f avfoundation -i "default" $FNAME

    And these are the erros (I tried to change a few small syntaxes to see if it would stop but it just finds new errors)

    "SyntaxError: EOL while scanning string literal
    Arantxas-iMac:~ arantx$ python /Users/arantx/Documents/terminal\ stuff/camera.sh
     File "/Users/arantx/Documents/terminal stuff/camera.sh", line 3
       FNAME=videocapture_'date +"%F_%H_%M"`.mpeg
                                                ^
    SyntaxError: EOL while scanning string literal
    Arantxas-iMac:~ arantx$ python /Users/arantx/Documents/terminal\ stuff/camera.sh
     File "/Users/arantx/Documents/terminal stuff/camera.sh", line 3
       FNAME=videocapture_'date +"%F_%H_%M"`.mpeg
                                                 ^
    SyntaxError: EOL while scanning string literal
    Arantxas-iMac:~ arantx$ python /Users/arantx/Documents/terminal\ stuff/camera.sh
     File "/Users/arantx/Documents/terminal stuff/camera.sh", line 3
       FNAME=videocapture_'date +"%F_%H_%M"`.mp4"

    If someone can point something out that I might have missed, let me know !

    Kind regards,

    Arantxa

  • PHP ffmpeg not found

    17 décembre 2020, par heisenberg

    so I already browse all the forum but I still get error "sh : 1 : /usr/bin/ffmpeg : not found".
If I run ffmpeg from terminal it works just fine and can do convert video without problem, but if I use PHP exec or shell_exec, the return always ffmpeg not found.

    


    this is my code :

    


    $cmd = "/usr/bin/ffmpeg";

$run = exec($cmd." -i 'linkvideo.m3u8' -bsf:a aac_adtstoasc -vcodec copy -c copy -crf 50 /test_stream/newfile.mp4 2>&1");

var_dump($run);


    


    if I run which ffmpeg or whereis ffmpeg from terminal it will return /usr/bin/ffmpeg, but if I exec('which ffmpeg') from my code it will return ffmpeg not found. I already chown and chmod the ffmpeg to grant rwx, i tried move ffmpeg to /usr/local/bin still same result. If i run whoami from terminal it will show root but if from my code using exec('whoami') it will show www-data so maybe I miss something about the user but I also already tried to chown ffmpeg from root to www-data still the result is ffmpeg not found, maybe anyone can help, I'm using codeigniter and already install ffmpeg in server using sudo apt-get ffmpeg, thanks before !

    


  • Including ffmpeg in c program/application

    11 mars 2016, par user14598204

    I want to make a C program in which I want to directly use actual functions of ffmpeg. Right now I’m using ’system("ffmpeg command")’ to run ffmpeg
    command in my C program. This directly or indirectly executes in the terminal of my Ubuntu Linux. However this frequently opens terminal, runs the command and
    closes terminal. Thus multiple terminals are working at a time which is not a good solution.

    I want to include/embed ffmpeg command in my program so shtat I can directly access the actual fumctions which are defined in the ffmpeg source. I’m working
    on a C project in which I need to make a complete firmware which runs this single program so that I don’t have to rely on the multiple terminals and can call the
    function directly.

    So how can I achieve my goal to integrate/embed/include ffmpeg in my C program ?
    Any useful links, suggestions are gratey appreciated.