Recherche avancée

Médias (0)

Mot : - Tags -/médias

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (13)

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

  • Keeping control of your media in your hands

    13 avril 2011, par

    The vocabulary used on this site and around MediaSPIP in general, aims to avoid reference to Web 2.0 and the companies that profit from media-sharing.
    While using MediaSPIP, you are invited to avoid using words like "Brand", "Cloud" and "Market".
    MediaSPIP is designed to facilitate the sharing of creative media online, while allowing authors to retain complete control of their work.
    MediaSPIP aims to be accessible to as many people as possible and development is based on expanding the (...)

  • Les formats acceptés

    28 janvier 2010, par

    Les commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
    ffmpeg -codecs ffmpeg -formats
    Les format videos acceptés en entrée
    Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
    Les formats vidéos de sortie possibles
    Dans un premier temps on (...)

Sur d’autres sites (4034)

  • Segmenting video into different parts and unique rendering on each part then concat afterwards

    2 mars 2016, par goudarziha

    I currently have a very poorly performing application that splits up a video, renders it and the concats all rendered videos on android using ffmpeg

    So I am running into issues with segmenting a video up into 5 parts at each different intervals/durations, rendering each video segment uniquely slowing up/speeding up and then finally concat all the segments back into one final video.

    Currently I am doing each part separately -

    Segmenting -
    example for one segment
    -y -i pathIn -ss 0.0 -t 2.0 -vcodec copy -acodec copy -an pathOut

    Rendering - example slowing down/speeding up

    - y -i path -filter:v setpts=2.0*PTS pathOut

    Concat -

    - f concat -i input1.mp4 -i input2.mp4 -i input3.mp4 -i input4.mp4 -i input5.mp4 -c copy output.mp4

    Right now I am running different separate thread for each editing of video, so 3, segment, rendering and concat.

    I am trying to get this all done on one command ffmpeg line if at all possible, if not just the segmenting and rendering of the videos and kick of the concat cmd line later.

    I am trying to emulate something similar to this https://trac.ffmpeg.org/wiki/Creating%20multiple%20outputs

  • How do we determine the required dependencies for ffmpeg

    15 mars 2021, par user3656901

    I've installed ffmpeg on ubuntu. I am going to copy the compiled ffmpeg and required dependencies to a directory and copy that directory to another machine. This way we can run ffmpeg on another machine without installation. How do we determine the required dependencies to copy ? Saw instruction on this page : https://trac.ffmpeg.org/wiki/CompilationGuide/Ubuntu, but it didn't explain the required dependencies for ffmpeg.

    


    When I used ldd ffmpeg, I got something like :

    


        linux-vdso.so.1 (0x00007fffe20fd000)
    libavdevice.so.58 => /lib/x86_64-linux-gnu/libavdevice.so.58 (0x00007fc116e90000)
    libavfilter.so.7 => /lib/x86_64-linux-gnu/libavfilter.so.7 (0x00007fc116b10000)
    libavformat.so.58 => /lib/x86_64-linux-gnu/libavformat.so.58 (0x00007fc116890000)
    libavcodec.so.58 => /lib/x86_64-linux-gnu/libavcodec.so.58 (0x00007fc1152d0000)
    libavresample.so.4 => /lib/x86_64-linux-gnu/libavresample.so.4 (0x00007fc1152a0000)
    libpostproc.so.55 => /lib/x86_64-linux-gnu/libpostproc.so.55 (0x00007fc115270000)


    


    Are those the required dependencies ? It didn't list the files under bin, include or share folders.

    


  • sh : ffmpeg : command not found when run command through php

    21 septembre 2018, par Vivacity InfoTech

    I have installed successfully installed FFMpeg on root of my Centos 6 machine (https://trac.ffmpeg.org/wiki/CompilationGuide/Centos).

    My workplace of apache/php is /var/www/html

    Now I’m running below command successfully on /var/www/html directory to capture frame from the video file. It’s capturing a frame.

    [root@localhost html]# ffmpeg -i video.mpg -an -ss 30  -t 00:00:01 -r 1 -y -vcodec mjpeg -f mjpeg -s 160x100 frame8  2>&1

    I want to run this command through php and using shell_exec() or exec() php functions. My php code for running the command is :

    $cmd = "/root/bin/ffmpeg -i /project/app/webroot/videos/video.mpg -ss 00:00:14.435 -f image2 -vframes 1 /project/app/webroot/videothumbnails/example-thumb.jpg";
    $locale = 'en_IN.UTF-8';
    setlocale(LC_ALL, $locale);
    putenv('LC_ALL='.$locale);
    echo shell_exec($cmd);

    When I’m trying to run command through above php code, I’m getting below error :

    sh: ffmpeg: command not found

    Please help me to solve out this problem.