Recherche avancée

Médias (1)

Mot : - Tags -/Christian Nold

Autres articles (55)

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

  • Librairies et logiciels spécifiques aux médias

    10 décembre 2010, par

    Pour un fonctionnement correct et optimal, plusieurs choses sont à prendre en considération.
    Il est important, après avoir installé apache2, mysql et php5, d’installer d’autres logiciels nécessaires dont les installations sont décrites dans les liens afférants. Un ensemble de librairies multimedias (x264, libtheora, libvpx) utilisées pour l’encodage et le décodage des vidéos et sons afin de supporter le plus grand nombre de fichiers possibles. Cf. : ce tutoriel ; FFMpeg avec le maximum de décodeurs et (...)

Sur d’autres sites (5781)

  • audio filter with ffmpeg code libraries not working

    11 novembre 2012, par Ron Woods

    I am trying out the filtering_audio.c example provided with the ffmpeg libraries for Windows to extract the audio from a MP4 file, resample to 8 KHz and convert from stereo to mono. The example pipes the audio output via stdout to ffplay. I am using Visual Studio 2010 and the example successfully builds and runs but the result is clearly not the desired result.
    At the end of init_filters I added a call to avfilter_graph_dump() and it all looks correct and also the pipe to ffplay as in this trace :

    abuffer filter args: time_base=1/24000:sample_rate=24000:sample_fmt=s16:channel_layout=0x4
    Output: srate:8000Hz fmt:s16 chlayout:mono
    +-----------+
    |    in     |default--[24000Hz s16:mono]--Parsed_aconvert_0:default
    | (abuffer) |
    +-----------+

                                                         +-----------------+
    Parsed_aresample_1:default--[8000Hz s16:mono]--default|       out       |
                                                         | (ffabuffersink) |
                                                         +-----------------+

                                          +-------------------+
    in:default--[24000Hz s16:mono]--default| Parsed_aconvert_0 |default--[24000Hz s16:mono]-Parsed_aresample_1:default
                                          |    (aconvert)     |
                                          +-------------------+

                                                         +--------------------+
    Parsed_aconvert_0:default--[24000Hz s16:mono]--default| Parsed_aresample_1 |default--[8000Hz s16:mono]--out:default
                                                         |    (aresample)     |
                                                         +--------------------+
    [s16le @ 003edda0] Invalid sample rate 0 specified using default of 44100
    [s16le @ 003edda0] Estimating duration from bitrate, this may be inaccurate
    Input #0, s16le, from 'pipe:':
     Duration: N/A, start: 0.000000, bitrate: 128 kb/s
       Stream #0:0: Audio: pcm_s16le, 8000 Hz, 1 channels, s16, 128 kb/s

    If you have made this example run properly on Windows in VS 2010, would you please provide any tips or changes you made for it to work ?

  • lavfi : add rotate filter

    11 juin 2013, par Stefano Sabatini
    lavfi : add rotate filter
    

    Based on the libavfilter SOC filter by Vitor Sessak, with the following additions :
    * integer arithmetic
    * bilinear interpolation
    * RGB path
    * configurable parametric angle, output width and height

    Address trac issue #1500.

    See thread :
    Subject : [FFmpeg-devel] [WIP] rotate filter(s)
    Date : 2010-10-03 17:35:49 GMT

    • [DH] Changelog
    • [DH] doc/filters.texi
    • [DH] libavfilter/Makefile
    • [DH] libavfilter/allfilters.c
    • [DH] libavfilter/version.h
    • [DH] libavfilter/vf_rotate.c
  • Android FFMPEG command line for video filter

    4 février 2014, par user2568369

    I am using following command to add retro effect in video.

    String[] ffmpegCommand = {"/data/data/com.mobvcasting.mjpegffmpeg/ffmpeg", "-r", ""+p.getPreviewFrameRate(), "-b", "1000000", "-vcodec", "mjpeg", "-i", Environment.getExternalStorageDirectory().getPath() + "/com.mobvcasting.mjpegffmpeg/frame_%05d.jpg","-vcodec", "mjpeg", "-acodec","libfaac","-vf","curves=vintage", "-qscale", "3", "-async", "1", "-y",Environment.getExternalStorageDirectory().getPath() + "/com.mobvcasting.mjpegffmpeg/video.mp4"};

    ffmpegProcess = new ProcessBuilder(ffmpegCommand).redirectErrorStream(true).start();            

    BufferedReader reader = new BufferedReader(new InputStreamReader(ffmpegProcess.getInputStream()));

    but I am getting following error :

    09-02 13:42:57.343: V/MJPEG_FFMPEG(2346): Finished Writing Frame
    09-02 13:42:57.351: V/MJPEG_FFMPEG(2346): Recording Stopped
    09-02 13:42:57.414: V/MJPEG_FFMPEG(2346): ***Starting FFMPEG***
    09-02 13:42:57.460: V/MJPEG_FFMPEG(2346): ***FFmpeg version UNKNOWN, Copyright (c) 2000-2010 the FFmpeg developers***
    09-02 13:42:57.460: V/MJPEG_FFMPEG(2346): ***  built on Jul 28 2011 16:47:07 with gcc 4.4.3***
    09-02 13:42:57.460: V/MJPEG_FFMPEG(2346): ***  configuration: --target-os=linux --cross-prefix=arm-linux-androideabi- --arch=arm --sysroot=/Developer/android-ndk-r5b//platforms/android-3/arch-arm --soname-prefix=/data/data/com.mobvcasting.mjpegffmpeg/ --enable-shared --disable-symver --enable-small --optimization-flags=-O2 --enable-encoder=mpeg2video --enable-encoder=nellymoser --enable-protocol=file --prefix=../build/ffmpeg/armeabi --extra-cflags= --extra-ldflags=***
    09-02 13:42:57.460: V/MJPEG_FFMPEG(2346): ***  libavutil     50.34. 0 / 50.34. 0***
    09-02 13:42:57.460: V/MJPEG_FFMPEG(2346): ***  libavcore      0.16. 0 /  0.16. 0***
    09-02 13:42:57.460: V/MJPEG_FFMPEG(2346): ***  libavcodec    52.99. 1 / 52.99. 1***
    09-02 13:42:57.460: V/MJPEG_FFMPEG(2346): ***  libavformat   52.88. 0 / 52.88. 0***
    09-02 13:42:57.460: V/MJPEG_FFMPEG(2346): ***  libavdevice   52. 2. 2 / 52. 2. 2***
    09-02 13:42:57.460: V/MJPEG_FFMPEG(2346): ***  libavfilter    1.69. 0 /  1.69. 0***
    09-02 13:42:57.460: V/MJPEG_FFMPEG(2346): ***  libswscale     0.12. 0 /  0.12. 0***

    09-02 13:42:57.648: V/MJPEG_FFMPEG(2346): ***Input #0, image2, from '/mnt/sdcard/com.mobvcasting.mjpegffmpeg/frame_%05d.jpg':***
    09-02 13:42:57.656: V/MJPEG_FFMPEG(2346): ***  Duration: 00:00:01.83, start: 0.000000, bitrate: N/A***
    09-02 13:42:57.656: V/MJPEG_FFMPEG(2346): ***    Stream #0.0: Video: mjpeg, yuvj420p, 320x240 [PAR 1:1 DAR 4:3], 30 fps, 30 tbr, 30 tbn, 30 tbc***
    09-02 13:42:57.695: V/MJPEG_FFMPEG(2346): ***[buffer @ 0x5d110] w:320 h:240 pixfmt:yuvj420p***
    09-02 13:42:57.695: V/MJPEG_FFMPEG(2346): ***No such filter: 'curves'***
    09-02 13:42:57.695: V/MJPEG_FFMPEG(2346): ***Error opening filters!***
    09-02 13:42:57.695: V/MJPEG_FFMPEG(2346): ***Ending FFMPEG***

    Any help will be highly appreciated.