Recherche avancée

Médias (0)

Mot : - Tags -/utilisateurs

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

Autres articles (52)

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

  • Librairies et binaires spécifiques au traitement vidéo et sonore

    31 janvier 2010, par

    Les logiciels et librairies suivantes sont utilisées par SPIPmotion d’une manière ou d’une autre.
    Binaires obligatoires FFMpeg : encodeur principal, permet de transcoder presque tous les types de fichiers vidéo et sonores dans les formats lisibles sur Internet. CF ce tutoriel pour son installation ; Oggz-tools : outils d’inspection de fichiers ogg ; Mediainfo : récupération d’informations depuis la plupart des formats vidéos et sonores ;
    Binaires complémentaires et facultatifs flvtool2 : (...)

  • Contribute to a better visual interface

    13 avril 2011

    MediaSPIP is based on a system of themes and templates. Templates define the placement of information on the page, and can be adapted to a wide range of uses. Themes define the overall graphic appearance of the site.
    Anyone can submit a new graphic theme or template and make it available to the MediaSPIP community.

Sur d’autres sites (9544)

  • Ruby on Rails : FFMPEG fails after upgrade Mountain Lion to Mavericks

    25 octobre 2013, par CristianOrellanaBak

    yesterday I upgrade my OS fom Mountain Lion to Mavericks and all goes well until recently.

    We are developing a Ruby on Rails v3.2.13 application for manage videos (only MP4), which worked fine until yesterday with Mountain Lion. Today (with Mavericks) I try to upload a video but get the following error in the console :

    Running transcoding...
    ffmpeg -y -i /Users/ME/Documents/workspace/rails/rails3-devise/public/uploads/tmp/1382653048-574-3293/thumb_con02_apv_revisado_1280x720.mp4 -ss 0 -s 180x110 -vframes 1 -f image2 -aspect 1.6363636363636365 /Users/Me/Documents/workspace/rails/rails3-devise/public/uploads/tmp/1382653048-574-3293/thumb_con02_apv_revisado_1280x720.png

    Transcoding of /Users/Me/Documents/workspace/rails/rails3-devise/public/uploads/tmp/1382653048-574-3293/thumb_con02_apv_revisado_1280x720.mp4 to /Users/Me/Documents/workspace/railspublic/uploads/tmp/1382653048-574-3293/thumb_con02_apv_revisado_1280x720.png succeeded

    Running transcoding...
    ffmpeg -y -i /Users/Me/Documents/workspace/rails/public/uploads/tmp/1382653048-574-3293/thumb_con02_apv_revisado_1280x720.mp4 -ss 0 -s 180x110 -vframes 1 -f image2 -aspect 1.6363636363636365 /Users/Me/Documents/workspace/rails/rails3-devise/public/uploads/tmp/1382653048-574-3293/thumb_con02_apv_revisado_1280x720.png

    Failed encoding...
    ffmpeg -y -i /Users/Me/Documents/workspace/rails/tmp/1382653048-574-3293/thumb_con02_apv_revisado_1280x720.mp4 -ss 0 -s 180x110 -vframes 1 -f image2 -aspect 1.6363636363636365 /Users/Me/Documents/workspace/rails/uploads/tmp/1382653048-574-3293/thumb_con02_apv_revisado_1280x720.png

    ffmpeg version 1.2.1 Copyright (c) 2000-2013 the FFmpeg developers
     built on Sep 28 2013 20:09:07 with Apple LLVM version 4.2 (clang-425.0.24) (based on LLVM 3.2svn)
     configuration: --prefix=/usr/local/Cellar/ffmpeg/1.2.1 --enable-shared --enable-pthreads --enable-gpl --enable-version3 --enable-nonfree --enable-hardcoded-tables --enable-avresample --enable-vda --cc=cc --host-cflags= --host-ldflags= --enable-libx264 --enable-libfaac --enable-libmp3lame --enable-libxvid --enable-libfreetype --enable-libtheora --enable-libvorbis --enable-libvpx --enable-librtmp --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libvo-aacenc --enable-libass --enable-ffplay --enable-libspeex --enable-libschroedinger --enable-libfdk-aac --enable-libopus --enable-frei0r --enable-libopenjpeg --extra-cflags='-I/usr/local/Cellar/openjpeg/1.5.1/include/openjpeg-1.5 '
     libavutil      52. 18.100 / 52. 18.100
     libavcodec     54. 92.100 / 54. 92.100
     libavformat    54. 63.104 / 54. 63.104
     libavdevice    54.  3.103 / 54.  3.103
     libavfilter     3. 42.103 /  3. 42.103
     libswscale      2.  2.100 /  2.  2.100
     libswresample   0. 17.102 /  0. 17.102
     libpostproc    52.  2.100 / 52.  2.100
    [mp3 @ 0x7fd493820c00] Format mp3 detected only with low score of 1, misdetection possible!
    [mp3 @ 0x7fd49380a000] Header missing
       Last message repeated 1 times
    [mp3 @ 0x7fd493820c00] decoding for stream 0 failed
    [mp3 @ 0x7fd493820c00] Could not find codec parameters for stream 0 (Audio: mp2, 0 channels, s16p): unspecified frame size
    Consider increasing the value for the 'analyzeduration' and 'probesize' options
    [mp3 @ 0x7fd493820c00] Estimating duration from bitrate, this may be inaccurate
    /Users/Me/Documents/workspace/rails/tmp/1382653048-574-3293/thumb_con02_apv_revisado_1280x720.mp4: could not find codec parameters

    Errors: no output file created.

    I reinstall the dependencies of ffmpeg, but the problem persists.

    Any ideas or suggestions to solve the problem ?
    Thank you very much !

    EDIT NOTE : I notice this when run brew upgrade :

    ==> Upgrading ffmpeg
    ==> Installing ffmpeg dependency: libass
    Error: libass dependency fontconfig was built with the following
    C++ standard library: libstdc++ (from clang)

    This is incompatible with the standard library being used
    to build libass: libc++ (from clang)

    Please reinstall fontconfig using a compatible compiler.
    hint: Check https://github.com/mxcl/homebrew/wiki/C++-Standard-Libraries
  • FFmpeg 3.3.4 avfoundation to record only a specific section of the screen on macOS Sierra using the command line

    16 octobre 2017, par antedesk

    I’m using FFmpeg version 3.3.4 (installed via brew) through the command line to record my desktop during some automated tests on my macOS Sierra (10.12.6).

    I would like to record only a specific section of the screen but, unfortunately, I’m not able to find the proper options in the documentation to reach my goal.

    According to the FFmpeg documentation for avfoundation, this is the command I use :

    ffmpeg
    -f avfoundation    // avfoundation
    -pix_fmt uyvy422   // pixel format
    -i 1               // input: desktop
    -r 30              // framerate for output
    [PATH]/test.mp4      // filename

    When I run this command I have the following output :

    ffmpeg version 3.3.4 Copyright (c) 2000-2017 the FFmpeg developers
     built with Apple LLVM version 9.0.0 (clang-900.0.37)
     configuration: --prefix=/usr/local/Cellar/ffmpeg/3.3.4 --enable-shared --enable-pthreads --enable-version3 --enable-hardcoded-tables --enable-avresample --cc=clang --host-cflags= --host-ldflags= --enable-gpl --enable-ffplay --enable-frei0r --enable-libass --enable-libfdk-aac --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 --enable-libxvid --enable-opencl --enable-videotoolbox --enable-openssl --disable-lzma --enable-libopenjpeg --disable-decoder=jpeg2000 --extra-cflags=-I/usr/local/Cellar/openjpeg/2.3.0/include/openjpeg-2.3 --enable-nonfree --enable-vda
     libavutil      55. 58.100 / 55. 58.100
     libavcodec     57. 89.100 / 57. 89.100
     libavformat    57. 71.100 / 57. 71.100
     libavdevice    57.  6.100 / 57.  6.100
     libavfilter     6. 82.100 /  6. 82.100
     libavresample   3.  5.  0 /  3.  5.  0
     libswscale      4.  6.100 /  4.  6.100
     libswresample   2.  7.100 /  2.  7.100
     libpostproc    54.  5.100 / 54.  5.100
    [avfoundation @ 0x7fb7d4005800] Stream #0: not enough frames to estimate rate; consider increasing probesize
    Input #0, avfoundation, from '1':
     Duration: N/A, start: 7263.782833, bitrate: N/A
       Stream #0:0: Video: rawvideo (UYVY / 0x59565955), uyvy422, 1920x1080, 1000k tbr, 1000k tbn, 1000k tbc
    Stream mapping:
     Stream #0:0 -> #0:0 (rawvideo (native) -> h264 (libx264))
    Press [q] to stop, [?] for help
    No pixel format specified, yuv422p for H.264 encoding chosen.
    Use -pix_fmt yuv420p for compatibility with outdated media players.
    [libx264 @ 0x7fb7d4028400] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 AVX2 LZCNT BMI2
    [libx264 @ 0x7fb7d4028400] profile High 4:2:2, level 4.0, 4:2:2 8-bit
    [libx264 @ 0x7fb7d4028400] 264 - core 148 r2795 aaa9aa8 - H.264/MPEG-4 AVC codec - Copyleft 2003-2017 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=6 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
    Output #0, mp4, to '[PATH]/test.mp4':
     Metadata:
       encoder         : Lavf57.71.100
       Stream #0:0: Video: h264 (libx264) ([33][0][0][0] / 0x0021), yuv422p, 1920x1080, q=-1--1, 30 fps, 15360 tbn, 30 tbc
       Metadata:
         encoder         : Lavc57.89.100 libx264
       Side data:
         cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: -1
    frame=   83 fps= 28 q=-1.0 Lsize=     525kB time=00:00:02.66 bitrate=1612.6kbits/s dup=1 drop=0 speed=0.889x

    I tried to use the -video_size option to set the video frame size, but it doesn’t work.

  • How to compile BlackMagic SDK to FFMPEG

    22 août 2018, par Манаф Иракский

    In Mac OS 10.13 I have installed FFMPEG via
    brew install ffmpeg
    I have downloaded the latest BlackMagic SDK from BlackMagic websit.

    I am not sure how I can compile black magic SDK to my ffmpeg.

    Here is the update

    Manafs-MacBook-Pro:ffmpeg Manaf$ ./configure —prefix="$HOME/ffmpeg_build" —extra-cflags="-I$HOME/ffmpeg_build/include" —extra-ldflags="-L$HOME/ffmpeg_build/lib" —bindir="$HOME/bin" —enable-gpl —enable-nonfree —enable-libfdk_aac —enable-libfreetype —enable-libmp3lame —enable-libopus —enable-libvorbis —enable-libvpx —enable-libx264 —enable-libx265 —enable-decklink —extra-cflags=-I/Users/Manaf/Desktop/BM_SDK/Mac/include/ —extra-ldflags=-L/Users/Manaf/Desktop/BM_SDK/Mac/include/

    install prefix /Users/Manaf/ffmpeg_build

    source path .

    C compiler gcc

    C library

    ARCH x86 (generic)

    big-endian no

    runtime cpu detection yes

    standalone assembly yes

    x86 assembler nasm

    MMX enabled yes

    MMXEXT enabled yes

    3DNow ! enabled yes

    3DNow ! extended enabled yes

    SSE enabled yes

    SSSE3 enabled yes

    AESNI enabled yes

    AVX enabled yes

    AVX2 enabled yes

    AVX-512 enabled yes

    XOP enabled yes

    FMA3 enabled yes

    FMA4 enabled yes

    i686 features enabled yes

    CMOV is fast yes

    EBX available yes

    EBP available yes

    debug symbols yes

    strip symbols yes

    optimize for size no

    optimizations yes

    static yes

    shared no

    postprocessing support yes

    network support yes

    threading support pthreads

    safe bitstream reader yes

    texi2html enabled yes

    perl enabled yes

    pod2man enabled yes

    makeinfo enabled yes

    makeinfo supports HTML no

    External libraries : (lots of them I just removed them for this post)

    External libraries providing hardware acceleration :(here too)
    Libraries :(Here too)
    Programs:ffmpeg ffprobe

    Enabled decoders :(here too- so many)

    Enabled hwaccels :(here too)

    Enabled parsers :(here too)

    Enabled demuxers :(here too)

    Enabled muxers :(here too)

    Enabled protocols :(here too)

    Enabled filters :(here too)

    Enabled bsfs :(here too)

    Enabled indevs :

    avfoundation decklink lavfi

    Enabled outdevs :

    decklink

    License : nonfree and unredistributable

    libavutil/avconfig.h is unchanged

    libavcodec/parser_list.c is unchanged

    libavcodec/bsf_list.c is unchanged

    libavformat/demuxer_list.c is unchanged

    libavformat/muxer_list.c is unchanged

    libavdevice/indev_list.c is unchanged

    libavdevice/outdev_list.c is unchanged

    libavformat/protocol_list.c is unchanged

    Manafs-MacBook-Pro:ffmpeg Manaf$ ffmpeg -devices

    ffmpeg version 3.4.2 Copyright (c) 2000-2018 the FFmpeg developers
    built with Apple LLVM version 7.0.2 (clang-700.1.81)
    configuration : —prefix=/usr/local/Cellar/ffmpeg/3.4.2 —enable-shared —enable-pthreads —enable-version3 —enable-hardcoded-tables —enable-avresample —cc=clang —host-cflags= —host-ldflags= —disable-jack —enable-gpl —enable-libass —enable-libfdk-aac —enable-libfontconfig —enable-libfreetype —enable-libmp3lame —enable-libopus —enable-libvorbis —enable-libvpx —enable-libx264 —enable-libx265 —enable-libxvid —enable-opencl —enable-videotoolbox —disable-lzma —enable-nonfree

    libavutil 55. 78.100 / 55. 78.100

    libavcodec 57.107.100 / 57.107.100

    libavformat 57. 83.100 / 57. 83.100

    libavdevice 57. 10.100 / 57. 10.100

    libavfilter 6.107.100 / 6.107.100

    libavresample 3. 7. 0 / 3. 7. 0

    libswscale 4. 8.100 / 4. 8.100

    libswresample 2. 9.100 / 2. 9.100

    libpostproc 54. 7.100 / 54. 7.100

    Devices :

    D. = Demuxing supported

    .E = Muxing supported

    D avfoundation AVFoundation input device

    D lavfi Libavfilter virtual input dev

    Thanks,

    ./ffmpeg -devices

    ffmpeg version N-90585-g46129b4044 Copyright (c) 2000-2018 the FFmpeg developers
    built with Apple LLVM version 7.0.2 (clang-700.1.81)
    configuration : —prefix=/Users/Manaf/ffmpeg_build —extra-cflags=-I/Users/Manaf/ffmpeg_build/include —extra-ldflags=-L/Users/Manaf/ffmpeg_build/lib —bindir=/Users/Manaf/bin —enable-gpl —enable-nonfree —enable-libfdk_aac —enable-libfreetype —enable-libmp3lame —enable-libopus —enable-libvorbis —enable-libvpx —enable-libx264 —enable-libx265 —enable-decklink —extra-cflags=-I/Users/Manaf/Desktop/BM_SDK/Mac/include/ —extra-ldflags=-L/Users/Manaf/Desktop/BM_SDK/Mac/include/

    libavutil 56. 12.100 / 56. 12.100

    libavcodec 58. 17.100 / 58. 17.100

    libavformat 58. 10.100 / 58. 10.100

    libavdevice 58. 2.100 / 58. 2.100

    libavfilter 7. 14.100 / 7. 14.100

    libswscale 5. 0.102 / 5. 0.102

    libswresample 3. 0.101 / 3. 0.101

    libpostproc 55. 0.100 / 55. 0.100

    Devices :

    D. = Demuxing supported

    .E = Muxing supported

    D avfoundation AVFoundation input device

    DE decklink Blackmagic DeckLink output

    D lavfi Libavfilter virtual input device