Recherche avancée

Médias (1)

Mot : - Tags -/musée

Autres articles (82)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

  • Amélioration de la version de base

    13 septembre 2013

    Jolie sélection multiple
    Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
    Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)

  • Mise à jour de la version 0.1 vers 0.2

    24 juin 2013, par

    Explications des différents changements notables lors du passage de la version 0.1 de MediaSPIP à la version 0.3. Quelles sont les nouveautés
    Au niveau des dépendances logicielles Utilisation des dernières versions de FFMpeg (>= v1.2.1) ; Installation des dépendances pour Smush ; Installation de MediaInfo et FFprobe pour la récupération des métadonnées ; On n’utilise plus ffmpeg2theora ; On n’installe plus flvtool2 au profit de flvtool++ ; On n’installe plus ffmpeg-php qui n’est plus maintenu au (...)

Sur d’autres sites (11128)

  • Compile the GPU version of FFMPEG on OpenCV

    22 juin 2018, par Dyex719

    When I try to use GPU
    FFMPEG on opencv by using a command like :

    VideoCapture cap("rtsp link");

    for(;;)
    {
    mat frame;
    cap>>frame;
    }

    I don’t see any output on nvidia-smi despite compiling the GPU version of FFMPEG.

    I am trying to get FFMPEG to use GPU to improve the speed of my program. I got FFMPEG from cloning https://git.ffmpeg.org/ffmpeg.git and followed the steps here https://developer.nvidia.com/ffmpeg to get it working.

    I have validated the results using nvidia-smi dmon -i 0 and have seen that dec% increases when I run the command ffmpeg -c:v h264_cuvid -i test_video.mp4 test_output.mkv.

    I then compiled Opencv to use the GPU enabled FFMPEG, I check this by running getBuildInformation from opencv :

    Video I/O:
    DC1394 1.x: NO
    DC1394 2.x: YES (ver 2.2.4)
    FFMPEG: YES
    codec: YES (ver 58.20.103)
    format: YES (ver 58.17.100)
    util: YES (ver 56.18.102)
    swscale: YES (ver 5.2.100)
    resample: NO
    gentoo-style: YES
    GStreamer: NO
    OpenNI: NO
    OpenNI PrimeSensor Modules: NO
    OpenNI2: NO
    PvAPI: NO
    GigEVisionSDK: NO
    UniCap: NO
    UniCap ucil: NO
    V4L/V4L2: NO/YES
    XIMEA: NO
    Xine: NO
    gPhoto2: NO

    I cross-verify that I’m using the same ffmpeg (by checking the version numbers) :

    ffmpeg version N-91273-g67747c8 Copyright (c) 2000-2018 the FFmpeg developers
     built with gcc 5.4.0 (Ubuntu 5.4.0-6ubuntu1~16.04.9) 20160609
     configuration: --enable-cuda --enable-cuvid --enable-nvenc --enable-nonfree --enable-libnpp --extra-cflags=-I/usr/local/cuda/include --extra-ldflags=-L/usr/local/cuda/lib64
     libavutil      56. 18.102 / 56. 18.102
     libavcodec     58. 20.101 / 58. 20.101
     libavformat    58. 17.100 / 58. 17.100
     libavdevice    58.  4.101 / 58.  4.101
     libavfilter     7. 25.100 /  7. 25.100
     libswscale      5.  2.100 /  5.  2.100
     libswresample   3.  2.100 /  3.  2.100

    Please advise me on how I should compile OpenCV to use the GPU version of FFMPEG. Thank you !

  • FFmpeg android - Fontconfig error : Cannot load default config file

    14 janvier 2019, par Linda Thomas

    I am trying to add text over video using ffmpeg in android by

    "-i", "/storage/emulated/0/videoplayback.mp4", "-vf","drawtext=fontfile=file:///android_asset/fonts/georgia.ttf:text='Text_to_write':fontsize=20:x=100:y=100","-codec:a", "copy", newVideoPath

    and it showing the error log as

    ffmpeg version n4.0-39-gda39990 Copyright (c) 2000-2018 the FFmpeg
    developers
    built with gcc 4.9.x (GCC) 20150123 (prerelease)
    configuration: --target-os=linux --cross-prefix=/root/bravobit/ffmpeg-android/toolchain-android/bin/arm-linux-androideabi-
    --arch=arm --cpu=cortex-a8 --enable-runtime-cpudetect --sysroot=/root/bravobit/ffmpeg-android/toolchain-android/sysroot --enable-pic --enable-libx264 --enable-ffprobe --enable-libopus --enable-libvorbis --enable-libfdk-aac --enable-libfreetype --enable-libfribidi --enable-libmp3lame --enable-fontconfig --enable-libvpx --enable-libass --enable-yasm --enable-pthreads --disable-debug --enable-version3 --enable-hardcoded-tables --disable-ffplay --disable-linux-perf --disable-doc --disable-shared --enable-static --enable-runtime-cpudetect --enable-nonfree --enable-network --enable-avresample --enable-avformat --enable-avcodec --enable-indev=lavfi --enable-hwaccels --enable-ffmpeg --enable-zlib --enable-gpl --enable-small --enable-nonfree --pkg-config=pkg-config --pkg-config-flags=--static --prefix=/root/bravobit/ffmpeg-android/build/armeabi-v7a --extra-cflags='-I/root/bravobit/ffmpeg-android/toolchain-android/include
    -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fno-strict-overflow -fstack-protector-all' --extra-ldflags='-L/root/bravobit/ffmpeg-android/toolchain-android/lib -Wl,-z,relro -Wl,-z,now -pie' --extra-cxxflags=
    libavutil56. 14.100 / 56. 14.100
    libavcodec     58. 18.100 / 58. 18.100
    libavformat    58. 12.100 / 58. 12.100
    libavdevice    58.  3.100 / 58.  3.100
    libavfilter     7. 16.100 /  7. 16.100
    libavresample   4.  0.  0 /  4.  0.  0
    libswscale5.  1.100 /  5.  1.100
    libswresample   3.  1.100 /  3.  1.100
    libpostproc    55.  1.100 / 55.  1.100
       Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/storage/emulated/0/videoplayback.mp4':
    Metadata:
     major_brand     : mp42
     minor_version   : 0
     compatible_brands: isommp42
     creation_time   : 2018-05-19T10:21:06.000000Z
    Duration: 00:00:27.07, start: 0.000000, bitrate: 730 kb/s
     Stream #0:0(und): Video: h264 (avc1 / 0x31637661), yuv420p(tv, bt709), 640x360 [SAR 1:1 DAR 16:9], 639 kb/s, 29.83 fps, 29.83 tbr,
    29827 tbn, 59.65 tbc (default)
     Metadata:
       creation_time   : 2018-05-19T10:21:06.000000Z
       handler_name    : ISO Media file produced by Google Inc. Created on: 05/19/2018.
     Stream #0:1(und): Audio: aac (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 96 kb/s (default)
     Metadata:
       creation_time   : 2018-05-19T10:21:06.000000Z
       handler_name    : ISO Media file produced by Google Inc. Created on: 05/19/2018.
       Stream mapping:
    Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264))
    Stream #0:1 -> #0:1 (copy)
       Press [q] to stop, [?] for help
       Fontconfig error: Cannot load default config file
       [Parsed_drawtext_0 @ 0xb7af4560] impossible to init fontconfig
       [AVFilterGraph @ 0xb7af3870] Error initializing filter 'drawtext' with args
    'fontfile=file:///android_asset/fonts/georgia.ttf:text=Text_to_write:fontsize=20:x=100:y=100'
       Error reinitializing filters!
       Failed to inject frame into filter network: Unknown error occurred
       Error while processing the decoded data for stream #0:0
       Conversion failed!
  • How to encode HEVC tile in JPEG ?

    3 juillet 2018, par Ketan Chauhan

    I am trying to convert HEIF file into a JPEG file, I extract HEIC images tiles using MP4Box but when convert these tiles into JPEG using FFMPEG I get this :

    SAKATA-INX:desktop stellar$ MP4Box -dump-item 1:path=item1.hevc
    still_rear.HEIC

    ICC colour profile not supported ICC colour profile not supported

    SAKATA-INX:desktop stellar$ ffmpeg -i item1.hevc -frames:v 1 -vsync
    vfr -q:v 1 -an test.jpg

    ffmpeg version 4.0 Copyright (c) 2000-2018 the FFmpeg developers built
    with Apple LLVM version 9.1.0 (clang-902.0.39.1)

    configuration : —prefix=/usr/local/Cellar/ffmpeg/4.0 —enable-shared
    —enable-pthreads —enable-version3 —enable-hardcoded-tables —enable-avresample —cc=clang —host-cflags= —host-ldflags= —enable-gpl —enable-libmp3lame —enable-libx264 —enable-libx265 —enable-libxvid —enable-opencl —enable-videotoolbox —disable-lzma

    libavutil 56. 14.100 / 56. 14.100

    libavcodec 58. 18.100 / 58. 18.100

    libavformat 58. 12.100 / 58. 12.100

    libavdevice 58. 3.100 / 58. 3.100

    libavfilter 7. 16.100 / 7. 16.100

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

    libswscale 5. 1.100 / 5. 1.100

    libswresample 3. 1.100 / 3. 1.100

    libpostproc 55. 1.100 / 55. 1.100

    [hevc @ 0x7fc56e808e00] Format hevc detected only with low score of 1,
    misdetection possible !

    [hevc @ 0x7fc56f800000] No start code is found.

    [hevc @ 0x7fc56f800000] missing picture in access unit

    [AVBSFContext @ 0x7fc56e505e00] No start code is found.

    item1.hevc : could not find codec parameters

    Input #0, hevc, from ’item1.hevc’ :

    Duration : N/A, bitrate : N/A

    Stream #0:0: Video: hevc, none, 1200k tbn

    Output #0, image2, to ’test.jpg’ :

    Output file #0 does not contain any stream

    Could any one tell me how I can do this ?