Recherche avancée

Médias (1)

Mot : - Tags -/iphone

Autres articles (21)

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

  • Encoding and processing into web-friendly formats

    13 avril 2011, par

    MediaSPIP automatically converts uploaded files to internet-compatible formats.
    Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
    Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
    Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
    All uploaded files are stored online in their original format, so you can (...)

  • Contribute to documentation

    13 avril 2011

    Documentation is vital to the development of improved technical capabilities.
    MediaSPIP welcomes documentation by users as well as developers - including : critique of existing features and functions articles contributed by developers, administrators, content producers and editors screenshots to illustrate the above translations of existing documentation into other languages
    To contribute, register to the project users’ mailing (...)

Sur d’autres sites (6659)

  • can't record docker selenium with ffmpeg and ubuntu 18

    1er janvier 2019, par Alex028502

    I have a script that starts a selenium/standalone-chrome container, starts recording with ffmpeg, and runs the selenium tests. However, it is not working with ubuntu 18, possibly because of the ffmpeg version (3.4.4 instead of 2.8.15).

    I have broken down the problem into a couple commands which work fine in ubuntu 16 but not ubuntu 18 :

    start selenium container in terminal #1

    docker run --network=host --shm-size=2g -e SCREEN_WIDTH=1920 -e SCREEN_HEIGHT=1080 selenium/standalone-chrome:3.141.59-antimony

    start recording in terminal #2

    rm -f test.mp4
    # :99 seems to be the default for the selenium container
    ffmpeg -f x11grab -video_size 1920x1080 -i :99 -codec:v libx264 -r 4 test.mp4

    and I get something that looks like this

    frame=    2 fps=0.1 q=-1.0 Lsize=       2kB time=00:00:00.25 bitrate=  75.9kbits/s dup=0 drop=413 speed=0.0165

    the time stays at 0, and then goes up to 25msec when I stop it.

    On the other hand, if I just start regular screen buffer in terminal #1

    Xvfb :99 -screen 0 1920x1080x24

    and run the same thing as above in terminal #2, everything works

    Also, I am pretty sure that the above ffmpeg command worked in ubuntu 16, with ffmpeg-3.

    So to summarise when the above ffmpeg command seems to work :

                      | ubuntu 16 (ffmpeg 3) | ubuntu 18 (ffmpeg 4)
    just start Xvfb    | works                | works
    selenium container | works                | DOES NOT WORK

    Any ideas ?

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