Recherche avancée

Médias (5)

Mot : - Tags -/open film making

Autres articles (76)

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

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

Sur d’autres sites (10498)

  • Evolution #3553 : Autorisations pour tous les items du menu de l’espace privé.

    27 septembre 2015, par Ybbet SPIP

    Salut Bruno,

    En fait, après investigation les pages interdites sont dues au plugin autorité. Mais cela soulève un autre soucis. J’ai configuré par autorité l’accès aux pages uniquement aux webmestres. Un administrateur (de toutes les rubriques) n’a plus accès aux pages un peu techniques. Le soucis est que SPIP n’enlève pas les items correspondants. Il faudrait avoir une autorisation sur chaque item des sous-menus (avec autoriser_nomitem_menu_dist).

    Soit quelque chose comme ça :

    function autoriser_configurerinteractions_menu_dist($faire, $type, $id, $qui, $opt)
    
        return autoriser(’configurer’, $type, $id, $qui, $opt) ;
    
    

    function autoriser_configurerlangue_menu_dist($faire, $type, $id, $qui, $opt)

    return autoriser(’configurer’, $type, $id, $qui, $opt) ;

    function autoriser_configurermultilinguisme_menu_dist($faire, $type, $id, $qui, $opt)

    return autoriser(’configurer’, $type, $id, $qui, $opt) ;

    function autoriser_configurercontenu_menu_dist($faire, $type, $id, $qui, $opt)

    return autoriser(’configurer’, $type, $id, $qui, $opt) ;

    function autoriser_configureravancees_menu_dist($faire, $type, $id, $qui, $opt)

    return autoriser(’configurer’, $type, $id, $qui, $opt) ;

    function autoriser_adminplugin_menu_dist($faire, $type, $id, $qui, $opt)

    return autoriser(’configurer’, $type, $id, $qui, $opt) ;

    function autoriser_configurerforum_menu_dist($faire, $type, $id, $qui, $opt)

    return autoriser(’configurer’, $type, $id, $qui, $opt) ;

    function autoriser_configurerrevisions_menu_dist($faire, $type, $id, $qui, $opt)

    return autoriser(’configurer’, $type, $id, $qui, $opt) ;

    function autoriser_configurerurls_menu_dist($faire, $type, $id, $qui, $opt)

    return autoriser(’configurer’, $type, $id, $qui, $opt) ;

    function autoriser_restaurer_menu_dist($faire, $type, $id, $qui, $opt)

    return autoriser(’configurer’, $type, $id, $qui, $opt) ;

    function autoriser_admintech_menu_dist($faire, $type, $id, $qui, $opt)

    return autoriser(’detruire’, $type, $id, $qui, $opt) ;

    Pour la page prive/squelettes/contenu/configurer_urls.html on n’a pas

    (#AUTORISERconfigurer,_urls

    . Il n’y a rien de renseigné.

    Voilà pour le topo.

  • When I was try to use ffmpeg to convert video file extension, SharedArrayBuffer has troubles

    26 mai 2022, par DAN

    I want to convert video extension to .mp4 by using ffmpeg.

    


    At first, I wrote code like this.

    


    import{ createFFmpeg, fetchFile, } from '@ffmpeg/ffmpeg'

export default {
    setup() {
        const ffmpeg = createFFmpeg({ log: true, })
        const previewVideo = async (event) => {
            const file = event.target.files[0]

            if (file.size > 1024*1024*200) {
                alert("100MB 이하의 동영상만 등록할 수 있습니다.\n\n" + "현재 파일 용량" + (Math.round(file.size / (1024 * 1024))) + "MB")    
            } else {
                const previewVideo = document.getElementById("previewVideo")
                console.log('start')
                await ffmpeg.load()
                console.log('start transcoding')
                ffmpeg.FS('writeFile', 'test.mov', await fetchFile(file))
                await ffmpeg.run('-i', 'test.mov', 'test.mp4')
                console.log('complete transcoding')
                const data = ffmpeg.FS('readFile', 'test.mp4')
                const videoUrl = URL.createObjectURL(new Blob([data.buffer], { type: 'video/mp4'}))
                previewVideo.setAttribute("src", videoUrl)
                previewVideo.play()
            }
        }
    }
}


    


    But, when I inputed video file, below error occurred.

    


    Uncaught (in promise) ReferenceError: SharedArrayBuffer is not defined
    at 459bf020-690b-4964-b875-8028d2bcaf81:22:175
    at Object.load (createFFmpeg.js:64:20)
    at async Proxy.previewVideo (PostModal.vue:99:17)


    


    PostModal.vue:99:17 = await ffmpeg.load()

    


    So, I searched in google, finally I found one solution. And added below code in index.html body's bottom

    


    <code class="echappe-js">&lt;script&gt;&amp;#xA;  if (!crossOriginIsolated) SharedArrayBuffer = ArrayBuffer&amp;#xA;&lt;/script&gt;&#xA;

    &#xA;

    And I could resolve that error !! However, another error occurred like below.

    &#xA;

    Uncaught (in promise) Error: bad memory&#xA;    at 7d608d39-864a-4c63-930a-5ec5065337fe:23:1&#xA;    at Object.load (createFFmpeg.js:64:20)&#xA;    at async Proxy.previewVideo (PostModal.vue:99:17)&#xA;

    &#xA;

    I searched again. And then I found some people recommend to use coi-serviceworker.js&#xA;I added below code in index.html body's

    &#xA;

    <code class="echappe-js">&lt;script src='http://stackoverflow.com/feeds/tag/coi-serviceworker.js'&gt;&lt;/script&gt;&#xA;

    &#xA;

    And added file coi-serviceworker.js in my repo&#xA;file github link

    &#xA;

    However, another two errors were occurred again...

    &#xA;

    An SSL certificate error occurred when fetching the script.&#xA;&#xA;COOP/COEP Service Worker failed to register: DOMException: Failed to register a ServiceWorker for scope (&#x27;https://localhost:3000/&#x27;) with script (&#x27;https://localhost:3000/coi-serviceworker.js&#x27;): An SSL certificate error occurred when fetching the script.&#xA;

    &#xA;

    some solution recommended change Allow invalid certificates for resources loaded from localhost. to enable in chrome ://flags/#allow-insecure-localhost

    &#xA;

    But, still occurred same error. I'm stuck here since I didn't find another solution. Could you have any another solution ?

    &#xA;

  • mpeg2 : add sequence display extension information

    4 juin 2014, par Marc-Antoine Arnaud
    mpeg2 : add sequence display extension information
    

    Signed-off-by : Derek Buitenhuis <derek.buitenhuis@gmail.com>

    • [DBH] libavcodec/mpeg12enc.c
    • [DBH] tests/ref/lavf/gxf
    • [DBH] tests/ref/lavf/mxf
    • [DBH] tests/ref/lavf/mxf_d10
    • [DBH] tests/ref/lavf/ts
    • [DBH] tests/ref/seek/lavf-gxf
    • [DBH] tests/ref/seek/lavf-mxf
    • [DBH] tests/ref/seek/lavf-ts
    • [DBH] tests/ref/seek/vsynth2-mpeg2-422
    • [DBH] tests/ref/seek/vsynth2-mpeg2-idct-int
    • [DBH] tests/ref/seek/vsynth2-mpeg2-ilace
    • [DBH] tests/ref/seek/vsynth2-mpeg2-ivlc-qprd
    • [DBH] tests/ref/seek/vsynth2-mpeg2-thread
    • [DBH] tests/ref/seek/vsynth2-mpeg2-thread-ivlc
    • [DBH] tests/ref/vsynth/vsynth1-mpeg2
    • [DBH] tests/ref/vsynth/vsynth1-mpeg2-422
    • [DBH] tests/ref/vsynth/vsynth1-mpeg2-idct-int
    • [DBH] tests/ref/vsynth/vsynth1-mpeg2-ilace
    • [DBH] tests/ref/vsynth/vsynth1-mpeg2-ivlc-qprd
    • [DBH] tests/ref/vsynth/vsynth1-mpeg2-thread
    • [DBH] tests/ref/vsynth/vsynth1-mpeg2-thread-ivlc
    • [DBH] tests/ref/vsynth/vsynth2-mpeg2
    • [DBH] tests/ref/vsynth/vsynth2-mpeg2-422
    • [DBH] tests/ref/vsynth/vsynth2-mpeg2-idct-int
    • [DBH] tests/ref/vsynth/vsynth2-mpeg2-ilace
    • [DBH] tests/ref/vsynth/vsynth2-mpeg2-ivlc-qprd
    • [DBH] tests/ref/vsynth/vsynth2-mpeg2-thread
    • [DBH] tests/ref/vsynth/vsynth2-mpeg2-thread-ivlc