Recherche avancée

Médias (91)

Autres articles (67)

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

  • Emballe médias : à quoi cela sert ?

    4 février 2011, par

    Ce plugin vise à gérer des sites de mise en ligne de documents de tous types.
    Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ;

  • Gestion de la ferme

    2 mars 2010, par

    La ferme est gérée dans son ensemble par des "super admins".
    Certains réglages peuvent être fais afin de réguler les besoins des différents canaux.
    Dans un premier temps il utilise le plugin "Gestion de mutualisation"

Sur d’autres sites (8276)

  • Compilation of x264 with newest libswscale and libavformat

    4 décembre 2016, par pcroland

    Yesterday I wanted to compile x264 myself because the latest binary on videolan is compiled without libswscale : link

    If I just use

    ./configure --enable-static --enable-shared

    then the binary will compile libswscale 3.1.101 and libavformat 56.40.101 from the libswscale-dev and libavformat-dev packages. If I clone FFmpeg’s git and use

    ./configure --enable-static --enable-shared --extra-cflags="-I$HOME/FFmpeg"

    the binary will have the latest libswscale and libavformat, but it wont work :

    pc@pcroland:~/bin$ ./x264 --version
    x264 0.148.2744 b97ae06
    (libswscale 4.3.101)
    (libavformat 57.58.101)
    built on Dec  4 2016, gcc: 5.4.0 20160609
    x264 configuration: --bit-depth=8 --chroma-format=all
    libx264 configuration: --bit-depth=8 --chroma-format=all
    x264 license: GPL version 2 or later
    libswscale/libavformat license: GPL version 2 or later
    pc@pcroland:~/bin$ ./x264 --input-res 1920x1080 --fps 24000/1001 --vf resize:720,404,method=spline --output /home/pc/test.264 /home/pc/asd.264
    [h264 @ 0x1bc3ec0] Format h264 detected only with low score of 1, misdetection possible!
    [h264 @ 0x1bc3ec0] Could not find codec parameters for stream 0 (Video: h264, none): unspecified size
    Consider increasing the value for the 'analyzeduration' and 'probesize' options
    lavf [error]: could not find input stream info
    avs [error]: failed to load avisynth
    raw [info]: 1920x1080p 0:0 @ 24000/1001 fps (cfr)
    resize [info]: resizing to 720x404
    x264 [info]: using SAR=404/405
    x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 AVX2 LZCNT BMI2
    x264 [info]: profile High, level 3.0
    Bus error (core dumped)
    pc@pcroland:~/bin$

    How to reproduce the error :

    cd; git clone https://github.com/FFmpeg/FFmpeg; git clone http://git.videolan.org/git/x264.git; cd x264; ./configure --enable-static --enable-shared --extra-cflags="-I$HOME/FFmpeg" --bindir="$HOME/bin"; sudo make; sudo make install

    System : Ubuntu 16.04

  • Compilation of x264 with newest libswscale and libavformat

    4 décembre 2016, par pcroland

    Yesterday I wanted to compile x264 myself because the latest binary on videolan is compiled without libswscale : link

    If I just use

    ./configure --enable-static --enable-shared

    then the binary will compile libswscale 3.1.101 and libavformat 56.40.101 from the libswscale-dev and libavformat-dev packages. If I clone FFmpeg’s git and use

    ./configure --enable-static --enable-shared --extra-cflags="-I$HOME/FFmpeg"

    the binary will have the latest libswscale and libavformat, but it wont work :

    pc@pcroland:~/bin$ ./x264 --version
    x264 0.148.2744 b97ae06
    (libswscale 4.3.101)
    (libavformat 57.58.101)
    built on Dec  4 2016, gcc: 5.4.0 20160609
    x264 configuration: --bit-depth=8 --chroma-format=all
    libx264 configuration: --bit-depth=8 --chroma-format=all
    x264 license: GPL version 2 or later
    libswscale/libavformat license: GPL version 2 or later
    pc@pcroland:~/bin$ ./x264 --input-res 1920x1080 --fps 24000/1001 --vf resize:720,404,method=spline --output /home/pc/test.264 /home/pc/asd.264
    [h264 @ 0x1bc3ec0] Format h264 detected only with low score of 1, misdetection possible!
    [h264 @ 0x1bc3ec0] Could not find codec parameters for stream 0 (Video: h264, none): unspecified size
    Consider increasing the value for the 'analyzeduration' and 'probesize' options
    lavf [error]: could not find input stream info
    avs [error]: failed to load avisynth
    raw [info]: 1920x1080p 0:0 @ 24000/1001 fps (cfr)
    resize [info]: resizing to 720x404
    x264 [info]: using SAR=404/405
    x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 AVX2 LZCNT BMI2
    x264 [info]: profile High, level 3.0
    Bus error (core dumped)
    pc@pcroland:~/bin$

    How to reproduce the error :

    cd; git clone https://github.com/FFmpeg/FFmpeg; git clone http://git.videolan.org/git/x264.git; cd x264; ./configure --enable-static --enable-shared --extra-cflags="-I$HOME/FFmpeg" --bindir="$HOME/bin"; sudo make; sudo make install

    System : Ubuntu 16.04

  • Mix 2 mp3 files with FFmpeg for adroid

    1er avril 2017, par Thankgod Richard

    I am developing something similar to a karaoke app. I have a sound file(beat) and a recorded file(voice) from android mediarecorder. I am trying to mix the two files to become one file that plays the same time. I have set up ffmpeg provided by writingminds and everything is working fine. I am not familiar with ffmpeg commands so searched for and got few commands that can achieve the task for me. This is the code i got :

     String files = "-i " + currentFile + " -i " + someFile.getAbsolutePath();
               String output = mFileName + "/recorded/test.mp3";
               String cmd = "ffmpeg "+files+
                       " -filter_complex \"aevalsrc=0:d=10[s1];[s1][1:a]concat=n=2:v=0:a=1[ac1];[0:a][ac1]amix[aout]\" -map [aout] -c:a libmp3lame " + output;

    But it not working. this is the error i got :

    04-01 12:09:26.598 21300-21300/com.shixels.thankgodrichard.mixer I/fpeg : ffmpeg version n3.0.1 Copyright (c) 2000-2016 the FFmpeg developers
    built with gcc 4.8 (GCC)
    configuration : —target-os=linux —cross-prefix=/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/bin/arm-linux-androideabi- —arch=arm —cpu=cortex-a8 —enable-runtime-cpudetect —sysroot=/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/sysroot —enable-pic —enable-libx264 —enable-libass —enable-libfreetype —enable-libfribidi —enable-libmp3lame —enable-fontconfig —enable-pthreads —disable-debug —disable-ffserver —enable-version3 —enable-hardcoded-tables —disable-ffplay —disable-ffprobe —enable-gpl —enable-yasm —disable-doc —disable-shared —enable-static —pkg-config=/home/vagrant/SourceCode/ffmpeg-android/ffmpeg-pkg-config —prefix=/home/vagrant/SourceCode/ffmpeg-android/build/armeabi-v7a —extra-cflags=’-I/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/include -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fno-strict-overflow -fstack-protector-all’ —extra-ldflags=’-L/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/lib -Wl,-z,relro -Wl,-z,now -pie’ —extra-libs=’-lpng -lexpat -lm’ —extra-cxxflags=
    libavutil 55. 17.103 / 55. 17.103
    libavcodec 57. 24.102 / 57. 24.102
    libavformat 57. 25.100 / 57. 25.100
    libavdevice 57. 0.101 / 57. 0.101
    libavfilter 6. 31.100 / 6. 31.100
    libswscale 4. 0.100 / 4. 0.100
    libswresample 2. 0.101 / 2. 0.101
    libpostproc 54. 0.100 / 54. 0.100
    Output #0, mp3, to ’ffmpeg -i /storage/emulated/0/MyStudio/temps/1491044929409.mp3 -i /storage/emulated/0/temp.mp3 -filter_complex "aevalsrc=0:d=10[s1] ;[s1][1:a]concat=n=2:v=0:a=1[ac1] ;[0:a][ac1]amix[aout]" -map [aout] -c:a libmp3lame /storage/emulated/0/recorded/test.mp3’ :
    Output file #0 does not contain any stream
    04-01 12:09:26.599 21300-21300/com.shixels.thankgodrichard.mixer I/fpeg : finished

    I read some answers here saying it depends on the version of the ffmpeg your using. I am using the latest ffmpeg for android by writingminds.