Recherche avancée

Médias (1)

Mot : - Tags -/net art

Autres articles (70)

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
    The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
    For older browsers the Flowplayer flash fallback is used.
    MediaSPIP allows for media playback on major mobile platforms with the above (...)

  • Support audio et vidéo HTML5

    10 avril 2011

    MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
    Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
    Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
    Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...)

  • Librairies et binaires spécifiques au traitement vidéo et sonore

    31 janvier 2010, par

    Les logiciels et librairies suivantes sont utilisées par SPIPmotion d’une manière ou d’une autre.
    Binaires obligatoires FFMpeg : encodeur principal, permet de transcoder presque tous les types de fichiers vidéo et sonores dans les formats lisibles sur Internet. CF ce tutoriel pour son installation ; Oggz-tools : outils d’inspection de fichiers ogg ; Mediainfo : récupération d’informations depuis la plupart des formats vidéos et sonores ;
    Binaires complémentaires et facultatifs flvtool2 : (...)

Sur d’autres sites (5191)

  • ffmpeg doesn't accept input in script

    21 octobre 2022, par Eberhardt

    this is a beginner's question but i can't figure out the answer after looking into it for several days :

    


    I want ffmpeg to extract the audio portion of a video and save it in an .ogg container. If i run the following command in terminal it works as expected :

    


    ffmpeg -i example.webm -vn -acodec copy example.ogg


    


    For convenience, i want to do this in a script. However, if i pass a variable to ffmpeg it apparently just considers the first word and produces the error "No such file or directory".

    


    I noticed that my terminal escapes spaces by a \ so i included this in my script. This doesn't solve the problem though.

    


    Can someone please explain to me, why ffmpeg doesn't consider the whole variable that is passed to it in a script while working correctly when getting passed the same content in the terminal ?

    


    This is my script that passes the filename with spaces escaped by \ to ffmpeg :

    


    #!/bin/bash

titelschr=$(echo $@ | sed "s/ /\\\ /g")
titelohne=$(echo $titelschr | cut -d. -f 1)
titelogg=$(echo -e ${titelohne}.ogg)  

ffmpeg -i $titelschr -vn -acodec copy $titelogg


    


    Thank you very much in advance !

    


  • Get thumbnail image from video not working with PHP and ffmpeg (Ubuntu)

    16 octobre 2015, par a_pajic

    I have generated a $cmd string :

    ffmpeg -i /home/alen/www/mysite/video/Guitarist-139.mp4 -an -ss 0 -s
    1280x720 /home/alen/www/mysite/img/Guitarist-139.jpg

    then I have typing a command in PHP :

    shell_exec($cmd) ;

    but not working,

    then I have pasted this string in terminal but in terminal work perfectly.

    What is wrong.

  • 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