Recherche avancée

Médias (91)

Autres articles (45)

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

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

Sur d’autres sites (6430)

  • PHP's exec() not executing command for FFmpeg

    16 septembre 2011, par tundoopani

    I have installed ffmpeg on my server and it works fine via my terminal. I'm able to successfully convert a file to webm format, so I'm sure the installation is fine. I'm also sure that I only have one installation of ffmpeg installed on my machine.

    A problem arises when I try to convert files through PHP via PHP's exec(). When I run the same commands, I ran in the terminal, nothing happens. I looked around stackoverflow and other parts of the net for some help. I tried this to see the output :

    exec($cmd, $out, $rv);
    echo "output is:\n".implode("\n", $out)."\n exit code:$rv\n";

    The output is : "output is : exit code:127"

    The command I'm using is in this format :

    ffmpeg -i "sample.mov" -vcodec libvpx  -r 30 -b "644k" -acodec libvorbis -ab 128000   -ar "44100" -ac 2 -s "352x198" "sample.webm"

    I've tried replacing "ffmpeg" with the full path to FFmpeg but that did not work.

    Why isn't the script running the command correctly and converting the files ?

    Thank you !

  • How to convert a lump set of PPM files to a single .mp4 video using ffmpeg

    4 août 2021, par Nash G-L

    I'm trying to convert some .ppm files into a single video using ffmpeg. The images are listed as image10.ppm, image20.ppm, all the way up to image2000.ppm

    


    Essentially, there are 200 images following the format of image(1-200)0.ppm in a single folder.

    


    I've navigated to the correct folder containing the images using cd and the terminal displays this folder as the directory I'm in.

    


    Inputting the following command into the terminal :

    


    ffmpeg -r 10 -f image2 -s 500x500 -i image%04d.ppm -vcodec libx264 -crf 25  -pix_fmt yuv420p presentation_video.mp4


    


    I get the error that says :

    


    [image2 @ 0x7ff36180ba00] Could find no file with path 'image%04d.ppm' and index in the range 0-4
image%04d.ppm: No such file or directory


    


    What am I missing ? I've just downloaded ffmpeg and am fairly new in general to command line interface.

    


  • swresample : add exact_rational option

    12 juin 2016, par Muhammad Faiz
    swresample : add exact_rational option
    

    give high quality resampling
    as good as with linear_interp=on
    as fast as without linear_interp=on
    tested visually with ffplay
    ffplay -f lavfi "aevalsrc=’sin(10000*t*t)’, aresample=osr=48000, showcqt=gamma=5"
    ffplay -f lavfi "aevalsrc=’sin(10000*t*t)’, aresample=osr=48000:linear_interp=on, showcqt=gamma=5"
    ffplay -f lavfi "aevalsrc=’sin(10000*t*t)’, aresample=osr=48000:exact_rational=on, showcqt=gamma=5"

    slightly speed improvement
    for fair comparison with -cpuflags 0
    audio.wav is 1 hour 44100 stereo 16bit wav file
    ffmpeg -i audio.wav -af aresample=osr=48000 -f null -
    old new
    real 13.498s 13.121s
    user 13.364s 12.987s
    sys 0.131s 0.129s

    linear_interp=on
    old new
    real 23.035s 23.050s
    user 22.907s 22.917s
    sys 0.119s 0.125s

    exact_rational=on
    real 12.418s
    user 12.298s
    sys 0.114s

    possibility to decrease memory usage if soft compensation is ignored

    Signed-off-by : Muhammad Faiz <mfcc64@gmail.com>

    • [DH] libswresample/arm/resample_init.c
    • [DH] libswresample/options.c
    • [DH] libswresample/resample.c
    • [DH] libswresample/resample.h
    • [DH] libswresample/resample_template.c
    • [DH] libswresample/soxr_resample.c
    • [DH] libswresample/swresample.c
    • [DH] libswresample/swresample_internal.h
    • [DH] libswresample/version.h
    • [DH] libswresample/x86/resample_init.c