Recherche avancée

Médias (1)

Mot : - Tags -/intégration

Autres articles (49)

  • Personnaliser les catégories

    21 juin 2013, par

    Formulaire de création d’une catégorie
    Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
    Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
    On peut modifier ce formulaire dans la partie :
    Administration > Configuration des masques de formulaire.
    Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
    Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...)

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

Sur d’autres sites (9631)

  • Fix some minor word duplication

    1er décembre 2014, par Zoë Blade
    Fix some minor word duplication
    

    Signed-off-by : Erik de Castro Lopo <erikd@mega-nerd.com>

    • [DH] doc/html/documentation_tools_metaflac.html
    • [DH] include/FLAC/all.h
    • [DH] include/FLAC/metadata.h
    • [DH] include/share/compat.h
    • [DH] include/share/macros.h
    • [DH] man/metaflac.1
    • [DH] man/metaflac.sgml
    • [DH] src/metaflac/usage.c
  • electron ffmpeg mas build "Illegal instruction : 4"

    8 mars 2021, par Martin

    I am trying to release an electron app on the Mac Apple Store (mas), my electron app uses ffmpeg to render videos. In order to release my app on the mac apple store, It needs to be sandboxed, and by default ffmpeg makes calls to external libraries so I need to statically build ffmpeg and package it with my app. My code is on the 'mas-ffmpeg-fix' branch : https://github.com/MartinBarker/digify/tree/mas-ffmpeg-fix

    &#xA;

    My static ffmpeg build works before I build my app, but after running electron-builder build --mac, the ffmpeg executable now fails with Illegal instruction: 4

    &#xA;

    This is the full timeline of building/packaging/submitting my app to the mac apple store and where the error first appears :

    &#xA;

      &#xA;
    • In Digify repo :

      &#xA;

    • &#xA;

    • clone, configure, and build static ffpmeg : “sudo rm -rf ffmpeg-mac/ && npm run download-ffmpeg”

      &#xA;

    • &#xA;

    • download-ffmpeg command is inside package.json and runs this :&#xA;git clone https://git.ffmpeg.org/ffmpeg.git ffmpeg-mac &amp;&amp; cd ffmpeg-mac &amp;&amp; ./configure pkg_config=&#x27;pkg-config --static&#x27; --pkg-config-flags=&#x27;--static&#x27; --libdir=/usr/local/lib --extra-version=ntd_20150128 --disable-shared --disable-lzma --enable-gpl --enable-pthreads --enable-nonfree --enable-libass --enable-libfdk-aac  --enable-libmp3lame  --enable-libx264 --enable-static --enable-filters --enable-runtime-cpudetect &amp;&amp; make &amp;&amp; cd ..

      &#xA;

    • &#xA;

    • Check if any dylibb files in the static ffmpeg build with command : “otool -L ffmpeg-mac/ffmpeg | grep /usr/local”

      &#xA;

    • &#xA;

    • If there are any, move them to folder in desktop, run ‘otool’ again to ensure there are no dynamic libraries, rebuild static ffmpeg.

      &#xA;

    • &#xA;

    • there will now be a folder 'ffmpeg-mac' which contains static versions of ffmpeg and ffprobe

      &#xA;

    • &#xA;

    &#xA;

    Using ffmpeg with electron UI : works&#xA;Using Ffmpeg with command-line command :&#xA;/Users/martinbarker/Documents/projects/digify-new/ffmpeg-mac/ffmpeg -h&#xA;Works

    &#xA;

      &#xA;
    • Build mac mass app with “npm run build-mas“
    • &#xA;

    • When this command finishes it will output two files inside the /dist/mas/ folder : Digify.app and Digify-01.20.pkg (or whatever version number it is)&#xA;Ffmpeg command-line check :&#xA;/Users/martinbarker/Documents/projects/digify-new/dist/mas/Digify.app/Contents/Resources/ffmpeg -h&#xA;Illegal instruction : 4
    • &#xA;

    &#xA;

    This is the first place the error appears, after building my mac mac-apple-store app, ffmpeg fails with this err.

    &#xA;

      &#xA;
    • Sign built app with .sh file : “sh mas-sign-script.sh”&#xA;view .sh file here&#xA;
        &#xA;
      • the .sh file will output Digify-mac.pkg
      • &#xA;

      &#xA;

    • &#xA;

    • Easier command to both build & sign : “sudo rm -rf dist/mas/ && npm run build-mas && sh mas-sign-script.sh”
    • &#xA;

    • Upload the outputted “Digify-mac.pkg” file & submit to apple for review
    • &#xA;

    &#xA;

    Once this app gets published in the store, if you download it and try to run an ffmpeg command with the electron UI, it fails with this error :

    &#xA;

    /Applications/Digify.app/Contents/Resources/app.asar/node_modules/execa/lib/error.js:59 Uncaught (in promise) Error: Command failed with exit code 1: /Applications/Digify.app/Contents/Resources/ffmpeg -i /Users/martinbarker/Downloads/Felix Lebarty - Bobo/01. Bobo.mp3 -y -filter_complex concat=n=1:v=0:a=1 -c:a libmp3lame -b:a 320k /Users/martinbarker/Downloads/Felix Lebarty - Bobo/output-064237.mp3&#xA;ffmpeg version N-101191-g51a9f487ae-ntd_20150128 Copyright (c) 2000-2021 the FFmpeg developers&#xA;  built with Apple LLVM version 10.0.1 (clang-1001.0.46.4)&#xA;  configuration: pkg_config=&#x27;pkg-config --static&#x27; --pkg-config-flags=--static --libdir=/usr/local/lib --extra-version=ntd_20150128 --disable-shared --disable-lzma --enable-gpl --enable-pthreads --enable-nonfree --disable-libass --enable-libfdk-aac --enable-libmp3lame --enable-libx264 --enable-static --enable-filters --enable-runtime-cpudetect&#xA;  libavutil      56. 65.100 / 56. 65.100&#xA;  libavcodec     58.125.100 / 58.125.100&#xA;  libavformat    58. 68.100 / 58. 68.100&#xA;  libavdevice    58. 12.100 / 58. 12.100&#xA;  libavfilter     7.107.100 /  7.107.100&#xA;  libswscale      5.  8.100 /  5.  8.100&#xA;  libswresample   3.  8.100 /  3.  8.100&#xA;  libpostproc    55.  8.100 / 55.  8.100&#xA;[mp3 @ 0x7feeae809c00] Estimating duration from bitrate, this may be inaccurate&#xA;Input #0, mp3, from &#x27;/Users/martinbarker/Downloads/Felix Lebarty - Bobo/01. Bobo.mp3&#x27;:&#xA;  Metadata:&#xA;    comment         : &#xA;    album           : Bobo&#xA;    artist          : Felix Lebarty&#xA;    title           : Funkytown Eklablog&#xA;    genre           : Boogie&#xA;    date            : 1984&#xA;  Duration: 00:05:19.53, start: 0.000000, bitrate: 320 kb/s&#xA;  Stream #0:0: Audio: mp3, 44100 Hz, stereo, fltp, 320 kb/s&#xA;/Users/martinbarker/Downloads/Felix Lebarty - Bobo/output-064237.mp3: Operation not permitted&#xA;    at makeError (/Applications/Digify.app/Contents/Resources/app.asar/node_modules/execa/lib/error.js:59)&#xA;    at handlePromise (/Applications/Digify.app/Contents/Resources/app.asar/node_modules/execa/index.js:114)&#xA;    at async file:/Applications/Digify.app/Contents/Resources/app.asar/src/js/newindex.js:1162&#xA;

    &#xA;

    Command failed with exit code 1: Operation not permitted

    &#xA;

  • Does FFMpeg's "avoid_negative_ts" always cause desync ?

    4 juillet 2022, par chasemhalasem

    FFMpeg has an optional command line argument avoid_negative_ts with values either make_zero or make_non_negative, does this option just always desynchronize audio and video tracks from how they were originally ? If yes, then what's the point of it ? And if not then how exactly does it work if it changes timestamps without affecting synchronization ? Obviously talking about a situation when it does anything, not when timestamps were originally at 0 anyway.

    &#xA;