Recherche avancée

Médias (91)

Autres articles (66)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

  • Ecrire une actualité

    21 juin 2013, par

    Présentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
    Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
    Vous pouvez personnaliser le formulaire de création d’une actualité.
    Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

Sur d’autres sites (8283)

  • avutil/mips : refactor msa load and store macros.

    17 juillet 2019, par Shiyou Yin
    avutil/mips : refactor msa load and store macros.
    

    Replace STnxm_UB and LDnxm_SH with new macros ST_H/W/D1/2/4/8.
    The old macros are difficult to use because they don't follow the same parameter passing rules.
    Changing details as following :
    1. remove LD4x4_SH.
    2. replace ST2x4_UB with ST_H4.
    3. replace ST4x2_UB with ST_W2.
    4. replace ST4x4_UB with ST_W4.
    5. replace ST4x8_UB with ST_W8.
    6. replace ST6x4_UB with ST_W2 and ST_H2.
    7. replace ST8x1_UB with ST_D1.
    8. replace ST8x2_UB with ST_D2.
    9. replace ST8x4_UB with ST_D4.
    10. replace ST8x8_UB with ST_D8.
    11. replace ST12x4_UB with ST_D4 and ST_W4.

    Examples of new macro : ST_H4(in, idx0, idx1, idx2, idx3, pdst, stride)
    ST_H4 store four half-word elements in vector 'in' to pdst with stride.
    About the macro name :
    1) 'ST' means store operation.
    2) 'H/W/D' means type of vector element is 'half-word/word/double-word'.
    3) Number '1/2/4/8' means how many elements will be stored.
    About the macro parameter :
    1) 'in0, in1...' 128-bits vector.
    2) 'idx0, idx1...' elements index.
    3) 'pdst' destination pointer to store to
    4) 'stride' stride of each store operation.

    Signed-off-by : Michael Niedermayer <michael@niedermayer.cc>

    • [DH] libavcodec/mips/h263dsp_msa.c
    • [DH] libavcodec/mips/h264chroma_msa.c
    • [DH] libavcodec/mips/h264dsp_msa.c
    • [DH] libavcodec/mips/h264idct_msa.c
    • [DH] libavcodec/mips/h264qpel_msa.c
    • [DH] libavcodec/mips/hevc_idct_msa.c
    • [DH] libavcodec/mips/hevc_lpf_sao_msa.c
    • [DH] libavcodec/mips/hevc_mc_bi_msa.c
    • [DH] libavcodec/mips/hevc_mc_biw_msa.c
    • [DH] libavcodec/mips/hevc_mc_uni_msa.c
    • [DH] libavcodec/mips/hevc_mc_uniw_msa.c
    • [DH] libavcodec/mips/hevcdsp_msa.c
    • [DH] libavcodec/mips/hevcpred_msa.c
    • [DH] libavcodec/mips/hpeldsp_msa.c
    • [DH] libavcodec/mips/qpeldsp_msa.c
    • [DH] libavcodec/mips/vp3dsp_idct_msa.c
    • [DH] libavcodec/mips/vp8_idct_msa.c
    • [DH] libavcodec/mips/vp8_lpf_msa.c
    • [DH] libavcodec/mips/vp8_mc_msa.c
    • [DH] libavcodec/mips/vp9_idct_msa.c
    • [DH] libavcodec/mips/vp9_intra_msa.c
    • [DH] libavcodec/mips/vp9_lpf_msa.c
    • [DH] libavcodec/mips/vp9_mc_msa.c
    • [DH] libavutil/mips/generic_macros_msa.h
  • ffmpeg crashes in electron mac apple store build

    23 février 2021, par Martin

    UPDATE&#xA;I found the command otool -L ffmpeg-mac/ffmpeg | grep /usr/local which shows me which dynamicly linked files are in my ffmpeg build, it was point to 3 files so I moved them to my desktop and then built my mac apple store build, uploaded it to the app store, downloaded it, and tried to run it again but got a new less-descriptive error :

    &#xA;

    /Users/martinbarker/Documents/projects/digify-new/dist/mas/Digify.app/Contents/Resources/app.asar/node_modules/execa/lib/error.js:59 Uncaught (in promise) Error: Command failed with exit code 1: /Users/martinbarker/Documents/projects/digify-new/dist/mas/Digify.app/Contents/Resources/ffmpeg -i /Users/martinbarker/Downloads/Felix Lebarty - Bobo/06. Special Lady.mp3 -y -filter_complex concat=n=1:v=0:a=1 -c:a libmp3lame -b:a 320k /Users/martinbarker/Downloads/Felix Lebarty - Bobo/output-887564.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 @ 0x7f9ba4802800] Estimating duration from bitrate, this may be inaccurate&#xA;Input #0, mp3, from &#x27;/Users/martinbarker/Downloads/Felix Lebarty - Bobo/06. Special Lady.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:03:35.33, 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-887564.mp3: Operation not permitted&#xA;    at makeError (/Users/martinbarker/Documents/projects/digify-new/dist/mas/Digify.app/Contents/Resources/app.asar/node_modules/execa/lib/error.js:59)&#xA;    at handlePromise (/Users/martinbarker/Documents/projects/digify-new/dist/mas/Digify.app/Contents/Resources/app.asar/node_modules/execa/index.js:114)&#xA;    at async file:/Users/martinbarker/Documents/projects/digify-new/dist/mas/Digify.app/Contents/Resources/app.asar/src/js/newindex.js:1151&#xA;

    &#xA;

    The error says command failed with exit code 1 Operation not permitted, am I missing some entitlements for saving files on my computer in the final mac apple store build that gets uploaded to the app store ?

    &#xA;


    &#xA;

    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. I have successfully built my app, submitted it to the app store, had it approved, and downloaded/used it but my ffmpeg fails with this errir :

    &#xA;

    Uncaught (in promise) Error: Command was killed with SIGABRT (Aborted): /Users/martinbarker/Documents/projects/digify-new/dist/mas/Digify.app/Contents/Resources/ffmpeg -i /Users/martinbarker/Downloads/Steve Leach With The Crystal Grass Orchestra – Ocean Potion/9. Get Out In The Sun.flac -i /Users/martinbarker/Downloads/Steve Leach With The Crystal Grass Orchestra – Ocean Potion/10. Golden Hues.flac -y -filter_complex concat=n=2:v=0:a=1 -c:a libmp3lame -b:a 320k /Users/martinbarker/Downloads/Steve Leach With The Crystal Grass Orchestra – Ocean Potion/output-261020.mp3&#xA;dyld: Library not loaded: /usr/local/opt/libass/lib/libass.9.dylib&#xA;  Referenced from: /Users/martinbarker/Documents/projects/digify-new/dist/mas/Digify.app/Contents/Resources/ffmpeg&#xA;  Reason: no suitable image found.  Did find:&#xA;    file system sandbox blocked open() of &#x27;/usr/local/opt/libass/lib/libass.9.dylib&#x27;&#xA;    /usr/local/opt/libass/lib/libass.9.dylib: stat() failed with errno=1&#xA;    file system sandbox blocked open() of &#x27;/usr/local/lib/libass.9.dylib&#x27;&#xA;    file system sandbox blocked open() of &#x27;/usr/local/Cellar/libass/0.15.0/lib/libass.9.dylib&#x27;&#xA;    at makeError (/Users/martinbarker/…eca/lib/error.js:59)&#xA;    at handlePromise (/Users/martinbarker/…/execa/index.js:114)&#xA;    at async file:/Users/ma…js/newindex.js:1151&#xA;

    &#xA;

    I think this line is important ; file system sandbox blocked open() of &#x27;/usr/local/opt/libass/lib/libass.9.dylib&#x27; but I'm not sure what I should change with my static ffmpeg build so that it works in production and so that I can avoid the above error.

    &#xA;

    My code is available on the branch mas-attempt-after-redesign here : https://github.com/MartinBarker/digify/tree/mas-attempt-after-redesign

    &#xA;

    Inside my package.json I have the command download-ffmpeg which clones the ffmpeg repo, runs a configure command with some flags, and then builds ffmpeg into a folder called 'ffmpeg-mac', this folder gets packaged with the app for the mac apple store build.

    &#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;

    You can see in the above ffmpeg command the flag --enable-libass, but even though I have that flag included, after I build and sign my mac apple store build by running sudo rm -rf dist/mas/ &amp;&amp; npm run build-mas &amp;&amp; sh mas-sign-script.sh, the production build (once approved) fails with the above included error.

    &#xA;

  • avcodec/cbs_av1 : also store a pointer to the start of the tile group data

    19 mars, par James Almer
    avcodec/cbs_av1 : also store a pointer to the start of the tile group data
    

    This will be useful a following commit, where the offset of the Tile Group
    inside a Frame OBU needs to be known.

    Signed-off-by : James Almer <jamrial@gmail.com>

    • [DH] libavcodec/cbs_av1.c
    • [DH] libavcodec/cbs_av1.h
    • [DH] libavcodec/cbs_av1_syntax_template.c