Recherche avancée

Médias (0)

Mot : - Tags -/performance

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

Autres articles (34)

  • Taille des images et des logos définissables

    9 février 2011, par

    Dans beaucoup d’endroits du site, logos et images sont redimensionnées pour correspondre aux emplacements définis par les thèmes. L’ensemble des ces tailles pouvant changer d’un thème à un autre peuvent être définies directement dans le thème et éviter ainsi à l’utilisateur de devoir les configurer manuellement après avoir changé l’apparence de son site.
    Ces tailles d’images sont également disponibles dans la configuration spécifique de MediaSPIP Core. La taille maximale du logo du site en pixels, on permet (...)

  • Configuration spécifique d’Apache

    4 février 2011, par

    Modules spécifiques
    Pour la configuration d’Apache, il est conseillé d’activer certains modules non spécifiques à MediaSPIP, mais permettant d’améliorer les performances : mod_deflate et mod_headers pour compresser automatiquement via Apache les pages. Cf ce tutoriel ; mode_expires pour gérer correctement l’expiration des hits. Cf ce tutoriel ;
    Il est également conseillé d’ajouter la prise en charge par apache du mime-type pour les fichiers WebM comme indiqué dans ce tutoriel.
    Création d’un (...)

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

Sur d’autres sites (8136)

  • ffmpeg Drawtext filter audio decode error

    24 mars 2016, par BOB

    I’m using ffmpeg to draw text on video. I am following the instructions in http://hiteshsondhi88.github.io/ffmpeg-android-java/

    I successfully installed ffmpeg library in my application. When I run this command

    -r 25 -i "+inputvid+" -vf \"drawtext=fontsize=30:box=1:fontfile=/usr/share/fonts/a.ttf:text='Stack_Overflow':x=(w-text_w)/2:y=(h-text_h-line_h)/2\" -strict -2 "+outvid

    it starts the process and these lines appear.

    Metadata :

    encoder : MEncoder SVN-r33883(20110719-gcc4.5.2)

    Duration : 00:01:29.92, start : 0.000000, bitrate : 945 kb/s

    Stream #0:0 : Video : mpeg4 (Advanced Simple Profile) (XVID / 0x44495658), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 805 kb/s, 25 fps, 25 tbr, 25 tbn, 25 tbc

    Stream #0:1 : Audio : mp3 (U[0][0][0] / 0x0055), 44100 Hz, stereo, s16p, 128 kb/s

    Then nothing happens.

    How do I compile this command ?

    Full console output is

    progress : WARNING : linker :
    /data/data/com.github.hiteshsondhi88.sampleffmpeg/files/ffmpeg has
    text relocations. This is wasting memory and prevents security
    hardening. Please fix. 03-19 21:01:15.891
    23960-23960/com.github.hiteshsondhi88.sampleffmpeg D/CVPLAY : Started
    command : ffmpeg command.length 9 03-19 21:01:15.891
    23960-23960/com.github.hiteshsondhi88.sampleffmpeg D/CVPLAY : progress
     : ffmpeg version n2.4.2 Copyright (c) 2000-2014 the FFmpeg developers
    03-19 21:01:15.901 23960-23960/com.github.hiteshsondhi88.sampleffmpeg
    D/CVPLAY : Started command : ffmpeg command.length 9 03-19 21:01:15.901
    23960-23960/com.github.hiteshsondhi88.sampleffmpeg D/CVPLAY : progress
     : built on Oct 7 2014 15:08:46 with gcc 4.8 (GCC) 03-19
    21:01:15.901 23960-23960/com.github.hiteshsondhi88.sampleffmpeg
    D/CVPLAY : Started command : ffmpeg command.length 9 03-19 21:01:15.901
    23960-23960/com.github.hiteshsondhi88.sampleffmpeg D/CVPLAY : progress
     : configuration : —target-os=linux
    —cross-prefix=/home/sb/Source-Code/ffmpeg-android/toolchain-android/bin/arm-linux-androideabi-
    —arch=arm —cpu=cortex-a8 —enable-runtime-cpudetect —sysroot=/home/sb/Source-Code/ffmpeg-android/toolchain-android/sysroot —enable-pic —enable-libx264 —enable-libass —enable-libfreetype —enable-libfribidi —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/sb/Source-Code/ffmpeg-android/ffmpeg-pkg-config —prefix=/home/sb/Source-Code/ffmpeg-android/build/armeabi-v7a-neon —extra-cflags=’-I/home/sb/Source-Code/ffmpeg-android/toolchain-android/include
    -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fno-strict-overflow -fstack-protector-all -mfpu=neon’ —extra-ldflags=’-L/home/sb/Source-Code/ffmpeg-android/toolchain-android/lib
    -Wl,-z,relro -Wl,-z,now -pie’ —extra-libs=’-lpng -lexpat -lm’ —extra-cxxflags= 03-19 21:01:15.951 23960-23960/com.github.hiteshsondhi88.sampleffmpeg D/CVPLAY : Started
    command : ffmpeg command.length 9 03-19 21:01:15.951
    23960-23960/com.github.hiteshsondhi88.sampleffmpeg D/CVPLAY : progress
     : libavutil 54. 7.100 / 54. 7.100 03-19 21:01:15.951
    23960-23960/com.github.hiteshsondhi88.sampleffmpeg D/CVPLAY : Started
    command : ffmpeg command.length 9 03-19 21:01:15.951
    23960-23960/com.github.hiteshsondhi88.sampleffmpeg D/CVPLAY : progress
     : libavcodec 56. 1.100 / 56. 1.100 03-19 21:01:15.961
    23960-23960/com.github.hiteshsondhi88.sampleffmpeg D/CVPLAY : Started
    command : ffmpeg command.length 9 03-19 21:01:15.961
    23960-23960/com.github.hiteshsondhi88.sampleffmpeg D/CVPLAY : progress
     : libavformat 56. 4.101 / 56. 4.101 03-19 21:01:15.971
    23960-23960/com.github.hiteshsondhi88.sampleffmpeg D/CVPLAY : Started
    command : ffmpeg command.length 9 03-19 21:01:15.971
    23960-23960/com.github.hiteshsondhi88.sampleffmpeg D/CVPLAY : progress
     : libavdevice 56. 0.100 / 56. 0.100 03-19 21:01:15.971
    23960-23960/com.github.hiteshsondhi88.sampleffmpeg D/CVPLAY : Started
    command : ffmpeg command.length 9 03-19 21:01:15.971
    23960-23960/com.github.hiteshsondhi88.sampleffmpeg D/CVPLAY : progress
     : libavfilter 5. 1.100 / 5. 1.100 03-19 21:01:15.981
    23960-23960/com.github.hiteshsondhi88.sampleffmpeg D/CVPLAY : Started
    command : ffmpeg command.length 9 03-19 21:01:15.981
    23960-23960/com.github.hiteshsondhi88.sampleffmpeg D/CVPLAY : progress
     : libswscale 3. 0.100 / 3. 0.100 03-19 21:01:15.981
    23960-23960/com.github.hiteshsondhi88.sampleffmpeg D/CVPLAY : Started
    command : ffmpeg command.length 9 03-19 21:01:15.981
    23960-23960/com.github.hiteshsondhi88.sampleffmpeg D/CVPLAY : progress
     : libswresample 1. 1.100 / 1. 1.100 03-19 21:01:15.991
    23960-23960/com.github.hiteshsondhi88.sampleffmpeg D/CVPLAY : Started
    command : ffmpeg command.length 9 03-19 21:01:15.991
    23960-23960/com.github.hiteshsondhi88.sampleffmpeg D/CVPLAY : progress
     : libpostproc 53. 0.100 / 53. 0.100 03-19 21:01:16.081
    23960-23960/com.github.hiteshsondhi88.sampleffmpeg D/CVPLAY : Started
    command : ffmpeg command.length 9 03-19 21:01:16.081
    23960-23960/com.github.hiteshsondhi88.sampleffmpeg D/CVPLAY : progress
     : Input #0, avi, from ’/storage/emulated/0/CvPlay/cv.avi’ : 03-19
    21:01:16.091 23960-23960/com.github.hiteshsondhi88.sampleffmpeg
    D/CVPLAY : Started command : ffmpeg command.length 9 03-19 21:01:16.091
    23960-23960/com.github.hiteshsondhi88.sampleffmpeg D/CVPLAY : progress
     : Metadata : 03-19 21:01:16.101
    23960-23960/com.github.hiteshsondhi88.sampleffmpeg D/CVPLAY : Started
    command : ffmpeg command.length 9 03-19 21:01:16.101
    23960-23960/com.github.hiteshsondhi88.sampleffmpeg D/CVPLAY : progress
     : encoder : MEncoder SVN-r33883(20110719-gcc4.5.2) 03-19
    21:01:16.101 23960-23960/com.github.hiteshsondhi88.sampleffmpeg
    D/CVPLAY : Started command : ffmpeg command.length 9 03-19 21:01:16.101
    23960-23960/com.github.hiteshsondhi88.sampleffmpeg D/CVPLAY : progress
     : Duration : 00:01:29.92, start : 0.000000, bitrate : 945 kb/s 03-19
    21:01:16.111 23960-23960/com.github.hiteshsondhi88.sampleffmpeg
    D/CVPLAY : Started command : ffmpeg command.length 9 03-19 21:01:16.111
    23960-23960/com.github.hiteshsondhi88.sampleffmpeg D/CVPLAY : progress
     : Stream #0:0 : Video : mpeg4 (Advanced Simple Profile) (XVID /
    0x44495658), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 805 kb/s, 25 fps,
    25 tbr, 25 tbn, 25 tbc 03-19 21:01:16.111
    23960-23960/com.github.hiteshsondhi88.sampleffmpeg D/CVPLAY : Started
    command : ffmpeg command.length 9 03-19 21:01:16.111
    23960-23960/com.github.hiteshsondhi88.sampleffmpeg D/CVPLAY : progress
     : Stream #0:1 : Audio : mp3 (U[0][0][0] / 0x0055), 44100 Hz, stereo,
    s16p, 128 kb/s

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


    


  • On2 VP7 decoder

    1er avril 2014, par Peter Ross
    On2 VP7 decoder
    

    Further performance improvements and security fixes by
    Vittorio Giovara, Luca Barbato and Diego Biurrun.

    Signed-off-by : Vittorio Giovara <vittorio.giovara@gmail.com>
    Signed-off-by : Luca Barbato <lu_zero@gentoo.org>
    Signed-off-by : Diego Biurrun <diego@biurrun.de>

    • [DBH] Changelog
    • [DBH] configure
    • [DBH] doc/general.texi
    • [DBH] libavcodec/Makefile
    • [DBH] libavcodec/allcodecs.c
    • [DBH] libavcodec/arm/Makefile
    • [DBH] libavcodec/arm/h264pred_init_arm.c
    • [DBH] libavcodec/arm/vp8dsp.h
    • [DBH] libavcodec/arm/vp8dsp_init_arm.c
    • [DBH] libavcodec/arm/vp8dsp_init_armv6.c
    • [DBH] libavcodec/arm/vp8dsp_init_neon.c
    • [DBH] libavcodec/avcodec.h
    • [DBH] libavcodec/codec_desc.c
    • [DBH] libavcodec/h264pred.c
    • [DBH] libavcodec/h264pred.h
    • [DBH] libavcodec/ppc/Makefile
    • [DBH] libavcodec/ppc/vp8dsp_altivec.c
    • [DBH] libavcodec/version.h
    • [DBH] libavcodec/vp8.c
    • [DBH] libavcodec/vp8.h
    • [DBH] libavcodec/vp8data.h
    • [DBH] libavcodec/vp8dsp.c
    • [DBH] libavcodec/vp8dsp.h
    • [DBH] libavcodec/x86/Makefile
    • [DBH] libavcodec/x86/h264_intrapred_init.c
    • [DBH] libavcodec/x86/vp8dsp_init.c
    • [DBH] libavformat/riff.c