Recherche avancée

Médias (3)

Mot : - Tags -/collection

Autres articles (96)

  • Gestion des droits de création et d’édition des objets

    8 février 2011, par

    Par défaut, beaucoup de fonctionnalités sont limitées aux administrateurs mais restent configurables indépendamment pour modifier leur statut minimal d’utilisation notamment : la rédaction de contenus sur le site modifiables dans la gestion des templates de formulaires ; l’ajout de notes aux articles ; l’ajout de légendes et d’annotations sur les images ;

  • Dépôt de média et thèmes par FTP

    31 mai 2013, par

    L’outil MédiaSPIP traite aussi les média transférés par la voie FTP. Si vous préférez déposer par cette voie, récupérez les identifiants d’accès vers votre site MédiaSPIP et utilisez votre client FTP favori.
    Vous trouverez dès le départ les dossiers suivants dans votre espace FTP : config/ : dossier de configuration du site IMG/ : dossier des média déjà traités et en ligne sur le site local/ : répertoire cache du site web themes/ : les thèmes ou les feuilles de style personnalisées tmp/ : dossier de travail (...)

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

  • ffmpeg mov to vp9 webm with transparency (alpha channel) issue

    17 juin 2015, par kambythet

    Using ffmpeg (command below) to convert an mov that has an alpha channel to a webm with alpha channel is proving to be problematic. The resulting webm does not have the alpha channel.

    Any help would be appreciated !

    /Applications/ffmpeg -i trex-01.mov -c:v libvpx-vp9 -b:v 1000K -threads 8 -speed 1 -tile-columns 6 -frame-parallel 1 -auto-alt-ref 1 -lag-in-frames 25 -c:a libopus -b:a 64k -f webm trex-01.webm

    Full input and output from ffmpeg :

    /Applications/ffmpeg -i trex-01.mov -c:v libvpx-vp9 -b:v 1000K -threads 8 -speed 1 -tile-columns 6 -frame-parallel 1 -auto-alt-ref 1 -lag-in-frames 25 -c:a libopus -b:a 64k -f webm trex-01.webm
    ffmpeg version 2.6.2-tessus Copyright (c) 2000-2015 the FFmpeg developers
     built with Apple LLVM version 6.0 (clang-600.0.57) (based on LLVM 3.5svn)
     configuration: --cc=/usr/bin/clang --prefix=/Users/helmutt/data/ext/ffmpeg/sw --as=yasm --extra-version=tessus --disable-shared --enable-static --disable-ffplay --enable-gpl --enable-pthreads --enable-postproc --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libx265 --enable-libxvid --enable-libspeex --enable-bzlib --enable-zlib --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libxavs --enable-libsoxr --enable-libwavpack --enable-version3 --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvpx --enable-libgsm --enable-libopus --enable-libmodplug --enable-fontconfig --enable-libfreetype --enable-libass --enable-libbluray --enable-filters --disable-indev=qtkit --disable-indev=x11grab_xcb --enable-runtime-cpudetect
     libavutil      54. 20.100 / 54. 20.100
     libavcodec     56. 26.100 / 56. 26.100
     libavformat    56. 25.101 / 56. 25.101
     libavdevice    56.  4.100 / 56.  4.100
     libavfilter     5. 11.102 /  5. 11.102
     libswscale      3.  1.101 /  3.  1.101
     libswresample   1.  1.100 /  1.  1.100
     libpostproc    53.  3.100 / 53.  3.100
    Guessed Channel Layout for  Input Stream #0.1 : mono
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'trex-01.mov':
     Metadata:
       major_brand     : qt  
       minor_version   : 537199360
       compatible_brands: qt  
       creation_time   : 2013-01-28 20:07:34
     Duration: 00:00:07.97, start: 0.000000, bitrate: 26594 kb/s
       Stream #0:0(eng): Video: png (png  / 0x20676E70), rgba, 640x360 [SAR 2834:2834 DAR 16:9], 25842 kb/s, 30 fps, 30 tbr, 30 tbn, 30 tbc (default)
       Metadata:
         creation_time   : 2013-01-28 20:07:34
         handler_name    : Apple Alias Data Handler
         encoder         : PNG
         timecode        : 00:00:00:00
       Stream #0:1(eng): Audio: pcm_s16le (sowt / 0x74776F73), 44100 Hz, 1 channels, s16, 705 kb/s (default)
       Metadata:
         creation_time   : 2013-01-28 20:07:34
         handler_name    : Apple Alias Data Handler
         timecode        : 00:00:00:00
       Stream #0:2(eng): Data: none (tmcd / 0x64636D74), 0 kb/s (default)
       Metadata:
         creation_time   : 2013-01-28 20:07:54
         handler_name    : Apple Alias Data Handler
         timecode        : 00:00:00:00
    File 'trex-01.webm' already exists. Overwrite ? [y/N] y
    [libvpx-vp9 @ 0x7ffb7d00b400] v1.3.0
    Output #0, webm, to 'trex-01.webm':
     Metadata:
       major_brand     : qt  
       minor_version   : 537199360
       compatible_brands: qt  
       encoder         : Lavf56.25.101
       Stream #0:0(eng): Video: vp9 (libvpx-vp9), yuv420p, 640x360 [SAR 1:1 DAR 16:9], q=-1--1, 1000 kb/s, 30 fps, 1k tbn, 30 tbc (default)
       Metadata:
         creation_time   : 2013-01-28 20:07:34
         handler_name    : Apple Alias Data Handler
         timecode        : 00:00:00:00
         encoder         : Lavc56.26.100 libvpx-vp9
       Stream #0:1(eng): Audio: opus (libopus), 48000 Hz, mono, s16, 64 kb/s (default)
       Metadata:
         creation_time   : 2013-01-28 20:07:34
         handler_name    : Apple Alias Data Handler
         timecode        : 00:00:00:00
         encoder         : Lavc56.26.100 libopus
    Stream mapping:
     Stream #0:0 -> #0:0 (png (native) -> vp9 (libvpx-vp9))
     Stream #0:1 -> #0:1 (pcm_s16le (native) -> opus (libopus))
  • ffmpeg binary in osx archive shows kCMSampleBufferError_RequiredParameterMissing when app runs

    20 mars 2017, par Swati

    I have created an OSX App, bundled ffmpeg binary in it.
    When i debug my code everything works fine and ffmpeg commands execute properly via NSTask.

    However when i create archive and run the app inside the products, ffmpeg commands are not executed and i get error

    1/17/17 3:34:21.951 PM ffmpeg[2229]: [15:34:21.951] CMSampleBufferGetImageBuffer signalled err=-12731
    (kCMSampleBufferError_RequiredParameterMissing) (!sbuf) at
    /Library/Caches/com.apple.xbs/Sources/CoreMedia_frameworks/CoreMedia-1731.15.206/Sources
    /Core/FigSampleBuffer/FigSampleBuffer.c line 2394

     0   CoreMedia 0x00007fff86749713 CMSampleBufferGetImageBuffer + 138
     1   ffmpeg    0x00000001002b9714 avdevice_list_output_sinks   + 10116

    Edit :

    I tried the below mentioned way but when I try to run my app on other mac machines the error still persists

    I added Capability "App Sandbox" to my Target. Due to this an entitlements file was added in my project named Target.entitlements

    Inside this Entitlements file 2 values are added viz :

    com.apple.security.inherit >> Boolean >> YES

    App Sandbox >> Boolean >> YES
    I also added a runscript for codesign :

    codesign -f -s "Developer Certificate" --entitlements ./path/Target.entitlements  path/ffmpeg-binary-file
  • FFmpeg audio channel rematrix (5.1 to stereo)

    29 octobre 2014, par Flock Dawson

    I’ve got a (very large !) Apple ProRes 422 file with 16ch audio. To be able to use it on a less powerful computer, I’d like to convert it to a standard MP4 file (h264 video codec, stereo audio). The original file has 16 channels of audio, however, and FFmpeg gives an error when I try to convert it (’Rematrix is needed’). How do I do rematrixing of audio channels ? Are there additional steps needed ?

    This is the FFmpeg command I used :

    ffmpeg -y -i Capture0000.mov -vcodec libx264 -vb 2000k -pix_fmt yuv420p -coder 0 -profile:v baseline -acodec libfaac -ab 128k /tmp/out.mp4

    This is the FFmpeg output :

    ffmpeg version 2.2.git Copyright (c) 2000-2014 the FFmpeg developers
         built on May  8 2014 14:17:45 with gcc 4.6 (Ubuntu/Linaro 4.6.3-1ubuntu5)
         configuration: --prefix=/usr/local/ffmpeg_build --extra-cflags=-I/usr/local/ffmpeg_build/include --extra-ldflags=-L/usr/local/ffmpeg_build/lib --bindir=/usr/local/bin --extra-libs=-ldl --enable-gpl --enable-libass --enable-libfdk-aac --enable-libfreetype --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-nonfree --enable-x11grab --enable-libxvid --enable-libfaac
         libavutil      52. 81.100 / 52. 81.100
         libavcodec     55. 60.103 / 55. 60.103
         libavformat    55. 37.102 / 55. 37.102
         libavdevice    55. 13.101 / 55. 13.101
         libavfilter     4.  5.100 /  4.  5.100
         libswscale      2.  6.100 /  2.  6.100
         libswresample   0. 18.100 /  0. 18.100
         libpostproc    52.  3.100 / 52.  3.100
       Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'Capture0000.mov':
         Metadata:
           creation_time   : 2014-08-17 18:30:31
         Duration: 01:01:22.52, start: 0.000000, bitrate: 202001 kb/s
           Stream #0:0(eng): Video: prores (apch / 0x68637061), yuv422p10le, 1920x1080, 183513 kb/s, SAR 1:1 DAR 16:9, 25 fps, 25 tbr, 2500 tbn, 2500 tbc (default)
           Metadata:
             creation_time   : 2014-08-17 18:30:31
             handler_name    : Apple Alias Data Handler
             encoder         : Apple ProRes 422 (HQ)
           Stream #0:1(eng): Audio: pcm_s24le (lpcm / 0x6D63706C), 48000 Hz, 16 channels, s32, 18432 kb/s (default)
           Metadata:
             creation_time   : 2014-08-17 18:30:31
             handler_name    : Apple Alias Data Handler
       [auto-inserted resampler 0 @ 0x3943da0] [SWR @ 0x39441a0] Rematrix is needed between 16 channels and 5.1 but there is not enough information to do it
       [auto-inserted resampler 0 @ 0x3943da0] Failed to configure output pad on auto-inserted resampler 0
       Error opening filters!

    This is the FFprobe output :

    ffprobe version 2.2.git Copyright (c) 2007-2014 the FFmpeg developers
     built on May  8 2014 14:17:45 with gcc 4.6 (Ubuntu/Linaro 4.6.3-1ubuntu5)
     configuration: --prefix=/usr/local/ffmpeg_build --extra-cflags=-I/usr/local/ffmpeg_build/include --extra-ldflags=-L/usr/local/ffmpeg_build/lib --bindir=/usr/local/bin --extra-libs=-ldl --enable-gpl --enable-libass --enable-libfdk-aac --enable-libfreetype --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-nonfree --enable-x11grab --enable-libxvid --enable-libfaac
     libavutil      52. 81.100 / 52. 81.100
     libavcodec     55. 60.103 / 55. 60.103
     libavformat    55. 37.102 / 55. 37.102
     libavdevice    55. 13.101 / 55. 13.101
     libavfilter     4.  5.100 /  4.  5.100
     libswscale      2.  6.100 /  2.  6.100
     libswresample   0. 18.100 /  0. 18.100
     libpostproc    52.  3.100 / 52.  3.100
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'Capture0000.mov':
     Metadata:
       creation_time   : 2014-08-17 18:30:31
     Duration: 01:01:22.52, start: 0.000000, bitrate: 202001 kb/s
       Stream #0:0(eng): Video: prores (apch / 0x68637061), yuv422p10le, 1920x1080, 183513 kb/s, SAR 1:1 DAR 16:9, 25 fps, 25 tbr, 2500 tbn, 2500 tbc (default)
       Metadata:
         creation_time   : 2014-08-17 18:30:31
         handler_name    : Apple Alias Data Handler
         encoder         : Apple ProRes 422 (HQ)
       Stream #0:1(eng): Audio: pcm_s24le (lpcm / 0x6D63706C), 48000 Hz, 16 channels, s32, 18432 kb/s (default)
       Metadata:
         creation_time   : 2014-08-17 18:30:31
         handler_name    : Apple Alias Data Handler