Recherche avancée

Médias (1)

Mot : - Tags -/publishing

Autres articles (44)

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

  • Le plugin : Podcasts.

    14 juillet 2010, par

    Le problème du podcasting est à nouveau un problème révélateur de la normalisation des transports de données sur Internet.
    Deux formats intéressants existent : Celui développé par Apple, très axé sur l’utilisation d’iTunes dont la SPEC est ici ; Le format "Media RSS Module" qui est plus "libre" notamment soutenu par Yahoo et le logiciel Miro ;
    Types de fichiers supportés dans les flux
    Le format d’Apple n’autorise que les formats suivants dans ses flux : .mp3 audio/mpeg .m4a audio/x-m4a .mp4 (...)

  • Création définitive du canal

    12 mars 2010, par

    Lorsque votre demande est validée, vous pouvez alors procéder à la création proprement dite du canal. Chaque canal est un site à part entière placé sous votre responsabilité. Les administrateurs de la plateforme n’y ont aucun accès.
    A la validation, vous recevez un email vous invitant donc à créer votre canal.
    Pour ce faire il vous suffit de vous rendre à son adresse, dans notre exemple "http://votre_sous_domaine.mediaspip.net".
    A ce moment là un mot de passe vous est demandé, il vous suffit d’y (...)

Sur d’autres sites (7737)

  • how to configure ffmpeg for android on windows ?

    26 octobre 2023, par charlieChen

    I have download android-ndk-r20b,ffmpeg on win10 desktop, and msys2 environment to configure the ffmpeg, i have a script file to compile ffmpeg named "ffmpeg.sh" :

    


    #!/bin/bash
BASEDIR=$(pwd)
TOOLCHAIN_PREFIX=/d/softwareToInstall/NDK/android-ndk-r20b/toolchains/llvm/prebuilt/windows/bin
CFLAGS='-U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fno-strict-overflow -fstack-protector-all'
LDFLAGS='-Wl,-z,relro -Wl,-z,now -pie'

./configure \
--target-os=android \
--prefix=../installationForAndroid \
--cross-prefix=$TOOLCHAIN_PREFIX/  \
--cc=$TOOLCHAIN_PREFIX/armv7a-linux-androideabi24-clang \
--cxx=$TOOLCHAIN_PREFIX/armv7a-linux-androideabi24-clang++ \
--ld=$TOOLCHAIN_PREFIX/arm-linux-androideabi-ld \
--nm=$TOOLCHAIN_PREFIX/arm-linux-androideabi-nm \
--arch=armv7a \
--enable-runtime-cpudetect \
--sysroot=/d/softwareToInstall/NDK/android-ndk-r20b/toolchains/llvm/prebuilt/windows/sysroot  \
--enable-pic \
--enable-pthreads \
--enable-cross-compile \
--disable-debug \
--enable-version3 \
--enable-hardcoded-tables \
--disable-ffplay \
--disable-ffprobe \
--disable-pthreads \
--enable-gpl \
--disable-x86asm \
--enable-yasm \
--disable-doc \
--disable-shared \
--enable-static 


    


    the i build ffmpeg with those commands :

    


    $ cd ffmpeg-6.0
$ ./ffmpeg.sh
...
$make -j4
$ make -j4


    


    than it report errors :

    


    enter image description here

    


    how to configure it ? i want compile ffmpeg for android on window10

    


  • How to build FFmpeg Executable binary for Android on Mac OS ?

    26 août 2016, par TOP

    I’m a new beginner with FFmpeg. All I need is FFmpeg executable binary for Android. I followed the great tutorial from roman10.net

    Here is my build_android.sh file :

       #!/bin/bash
    NDK=/Users/sunshine/Documents/android-ndk-r11-linux-x86_64
    SYSROOT=$NDK/platforms/android-21/arch-arm/
    TOOLCHAIN=$NDK/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64
    function build_one
    {
    ./configure \
       --prefix=$PREFIX \
       --enable-shared \
       --enable-static \
       --disable-doc \
       --disable-ffplay \
       --disable-ffprobe \
       --disable-ffserver \
       --enable-libmp3lame\
       --disable-doc \
       --disable-symver \
       --cross-prefix=$TOOLCHAIN/bin/arm-linux-androideabi- \
       --target-os=linux \
       --arch=arm \
       --enable-cross-compile \
       --sysroot=$SYSROOT \
       --extra-cflags="-Os -fpic $ADDI_CFLAGS" \
       --extra-ldflags="$ADDI_LDFLAGS" \
       $ADDITIONAL_CONFIGURE_FLAG
    make clean
    make
    make install
    }
    CPU=arm
    PREFIX=$(pwd)/android/$CPU
    ADDI_CFLAGS="-marm"
    build_one

    The tutorial says :

    Once it’s done, you should be able to find a folder
    $NDK/sources/ffmpeg-2.0.1/android

    In my case, the build process is done, but I don’t see any android folder. Some new files are created in the same folder with build_android.sh file. Where is my mistake ?

  • ffmpeg flip horizontally webcam to virtual video camera

    30 mai 2023, par Kaiser Schwarcz

    I need to horizontally flip my webcam image for a meeting.
I tried the instructions in this site https://wiki.archlinux.org/index.php/Webcam_setup#Applications which uses v4l2 and v4l2loopback to generate a virtual camera.

    


    # modprobe v4l2loopback


    


    Check the name of the newly created camera :

    


    $ v4l2-ctl --list-devices

Dummy video device (0x0000) (platform:v4l2loopback-000):
       /dev/video1


    


    Then you can run ffmpeg to read from your actual webcam (here /dev/video0) and invert it and feed it to the virtual camera :

    


    $ ffmpeg -f v4l2 -i /dev/video0 -vf "vflip" -f v4l2 /dev/video1


    


    You can use the "Dummy" camera in your applications instead of the "Integrated" camera.

    


    With these settings I was successful in vertically flipping my video. But that is not what I want. I want it to be flipped horizontally.

    


    So I tried this :

    


    $ ffmpeg -f v4l2 -i /dev/video0 -vf **"hflip"** -f v4l2 /dev/video1


    


    But I then I get no image from my cam.

    


    What am I doing wrong ?

    


    I'm using Fedora 31 in a desktop.

    


    COMPLETE LOG :

    


    ffmpeg version 4.2.2 Copyright (c) 2000-2019 the FFmpeg developers

  built with gcc 9 (GCC)

  configuration: --prefix=/usr --bindir=/usr/bin --datadir=/usr/share/ffmpeg --docdir=/usr/share/doc/ffmpeg --incdir=/usr/include/ffmpeg --libdir=/usr/lib64 --mandir=/usr/share/man --arch=x86_64 --optflags='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' --extra-ldflags='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld ' --extra-cflags=' ' --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libvo-amrwbenc --enable-version3 --enable-bzlib --disable-crystalhd --enable-fontconfig --enable-frei0r --enable-gcrypt --enable-gnutls --enable-ladspa --enable-libaom --enable-libdav1d --enable-libass --enable-libbluray --enable-libcdio --enable-libdrm --enable-libjack --enable-libfreetype --enable-libfribidi --enable-libgsm --enable-libmp3lame --enable-nvenc --enable-openal --enable-opencl --enable-opengl --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-librsvg --enable-libsrt --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libvorbis --enable-libv4l2 --enable-libvidstab --enable-libvmaf --enable-libvpx --enable-libx264 --enable-libx265 --enable-libxvid --enable-libzimg --enable-libzvbi --enable-avfilter --enable-avresample --enable-postproc --enable-pthreads --disable-static --enable-shared --enable-gpl --disable-debug --disable-stripping --shlibdir=/usr/lib64 --enable-libmfx --enable-runtime-cpudetect

  libavutil      56. 31.100 / 56. 31.100

  libavcodec     58. 54.100 / 58. 54.100

  libavformat    58. 29.100 / 58. 29.100

  libavdevice    58.  8.100 / 58.  8.100

  libavfilter     7. 57.100 /  7. 57.100

  libavresample   4.  0.  0 /  4.  0.  0

  libswscale      5.  5.100 /  5.  5.100

  libswresample   3.  5.100 /  3.  5.100

  libpostproc    55.  5.100 / 55.  5.100

Input #0, video4linux2,v4l2, from '/dev/video0':

  Duration: N/A, start: 233168.222502, bitrate: 147456 kb/s

    Stream #0:0: Video: rawvideo (YUY2 / 0x32595559), yuyv422, 640x480, 147456 kb/s, 30 fps, 30 tbr, 1000k tbn, 1000k tbc

Stream mapping:

  Stream #0:0 -> #0:0 (rawvideo (native) -> rawvideo (native))

Press [q] to stop, [?] for help

Output #0, video4linux2,v4l2, to '/dev/video2':

  Metadata:

    encoder         : Lavf58.29.100

    Stream #0:0: Video: rawvideo (Y42B / 0x42323459), yuv422p, 640x480, q=2-31, 147456 kb/s, 30 fps, 30 tbn, 30 tbc

    Metadata:

    encoder         : Lavc58.54.100 rawvideo

frame=   31 fps=0.0 q=-0.0 size=N/A time=00:00:01.03 bitrate=N/A dup=16 drop=0 sframe=   46 fps= 46 q=-0.0 size=N/A time=00:00:01.53 bitrate=N/A dup=16 drop=0 sframe=   61 fps= 40 q=-0.0 size=N/A time=00:00:02.03 bitrate=N/A .....