Recherche avancée

Médias (1)

Mot : - Tags -/musée

Autres articles (61)

  • L’agrémenter visuellement

    10 avril 2011

    MediaSPIP est basé sur un système de thèmes et de squelettes. Les squelettes définissent le placement des informations dans la page, définissant un usage spécifique de la plateforme, et les thèmes l’habillage graphique général.
    Chacun peut proposer un nouveau thème graphique ou un squelette et le mettre à disposition de la communauté.

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

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

  • doc/html : fix styling issue with Texinfo 7.0

    8 novembre 2023, par Frank Plowman
    doc/html : fix styling issue with Texinfo 7.0
    

    Texinfo 7.0 produces quite different HTML to Texinfo 6.8. Without
    this change, enumerated option flags (i.e. Possible values of x
    are...) render as white text on a white background with Texinfo 7.0
    and are unreadable. This change removes a style for the selector
    `.table .table` which causes the background to turn white for these
    elements. As far as I can tell, it is not actually used anywhere in
    files generated by Texinfo 6.8.

    Signed-off-by : Frank Plowman <post@frankplowman.com>

    • [DH] doc/bootstrap.min.css
  • FFMpeg PHP : Unable to load FFProbe

    23 septembre 2023, par Artem Konyaev

    I am using the Lumen PHP framework which is the form of Laravel. On the server side I have Bitnami.

    &#xA;

    I get the 500 error when the code that uses FFMpeg is being executed. My part of the code which leads to the problem :

    &#xA;

    $ffmpeg = FFMpeg::create([&#xA;            &#x27;ffmpeg.binaries&#x27;   => &#x27;/opt/bitnami/apache/htdocs/vendor/php-ffmpeg/php-ffmpeg/src/FFMpeg&#x27;,&#xA;            &#x27;ffprobe.binaries&#x27;  => &#x27;/opt/bitnami/apache/htdocs/vendor/php-ffmpeg/php-ffmpeg/src/FFProbe&#x27;,&#xA;            &#x27;timeout&#x27; => 0&#xA;]);&#xA;

    &#xA;

    I also tried it without 'timeout'.

    &#xA;

    Here are the details of the error that I get in the server response :

    &#xA;

    &#xA;

    [ExecutableNotFoundException](#trace-box-2) [ExecutableNotFoundException](#trace-box-1)

    &#xA;

    HTTP 500 Internal Server Error

    &#xA;

    Unable to load FFProbe

    &#xA;

    Exceptions 2

    &#xA;

    FFMpeg\Exception\ExecutableNotFoundException

    &#xA;

    in /opt/bitnami/apache/htdocs/vendor/php-ffmpeg/php-ffmpeg/src/FFMpeg/Driver/FFProbeDriver.php (line 50)

    &#xA;

      &#xA;
    1. &#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;$binaries&#xA0;=&#xA0;$configuration->get(&#x27;ffprobe.binaries&#x27;,&#xA0;[&#x27;avprobe&#x27;,&#xA0;&#x27;ffprobe&#x27;]);

      &#xA;

    2. &#xA;

    3. &#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;

      &#xA;

    4. &#xA;

    5. &#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;try&#xA0;{

      &#xA;

    6. &#xA;

    7. &#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;return&#xA0;static::load($binaries,&#xA0;$logger,&#xA0;$configuration);

      &#xA;

    8. &#xA;

    9. &#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;}&#xA0;catch&#xA0;(BinaryDriverExecutableNotFound&#xA0;$e)&#xA0;{

      &#xA;

    10. &#xA;

    11. &#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;throw&#xA0;new&#xA0;ExecutableNotFoundException(&#x27;Unable&#xA0;to&#xA0;load&#xA0;FFProbe&#x27;,&#xA0;$e->getCode(),&#xA0;$e);

      &#xA;

    12. &#xA;

    13. &#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;}

      &#xA;

    14. &#xA;

    15. &#xA0;&#xA0;&#xA0;&#xA0;}

      &#xA;

    16. &#xA;

    17. }

      &#xA;

    18. &#xA;

    &#xA;

    &#xA;

    I tried changing the project folder rights by sudo chmod -R 777 /opt/bitnami/apache/htdocs. Not sure if it worked. Here is the current state :

    &#xA;

    &#xA;
    $ ls -l /opt/bitnami/apache/htdocs&#xA;total 328&#xA;drwxrwxrwx 10 bitnami root   4096 Feb 20 16:16 app&#xA;-rwxrwxrwx  1 bitnami root   1094 Feb 20 16:16 artisan&#xA;drwxrwxrwx  2 bitnami root   4096 Feb 20 16:16 bootstrap&#xA;-rwxrwxrwx  1 bitnami root   1076 Jul  2 00:25 composer.json&#xA;-rwxrwxrwx  1 bitnami root 274159 Jul  2 00:25 composer.lock&#xA;drwxrwxrwx  5 bitnami root   4096 Feb 20 16:16 database&#xA;-rwxrwxrwx  1 bitnami root   4871 May 18 15:46 index_default.html&#xA;-rwxrwxrwx  1 bitnami root    592 Feb 20 16:16 phpunit.xml&#xA;drwxrwxrwx  2 bitnami root   4096 Feb 20 16:16 public&#xA;-rwxrwxrwx  1 bitnami root   1920 Feb 20 16:16 README.md&#xA;drwxrwxrwx  3 bitnami root   4096 Feb 20 16:16 resources&#xA;drwxrwxrwx  2 bitnami root   4096 Feb 20 16:16 routes&#xA;drwxrwxrwx  5 bitnami root   4096 Feb 20 16:16 storage&#xA;drwxrwxrwx  2 bitnami root   4096 Feb 20 16:16 tests&#xA;drwxrwxrwx 36 bitnami root   4096 Jul  2 00:46 vendor&#xA;

    &#xA;

    &#xA;

    Tried adding this to my .env file in /opt/bitnami/apache/htdocs :

    &#xA;

    &#xA;
    FFMPEG_BINARIES=/opt/bitnami/apache/htdocs/vendor/php-ffmpeg/php-ffmpeg/src/FFMpeg&#xA;FFPROBE_BINARIES=/opt/bitnami/apache/htdocs/vendor/php-ffmpeg/php-ffmpeg/src/FFProbe&#xA;

    &#xA;

    &#xA;

  • How to convert webm blob to mp4 blob in angular 11 ?

    16 juin 2023, par shubham patil

    I Have recorded the video using MediaRecorder after recording its storing that blob in webm format but after downloading the video its not supporting to share as media.

    &#xA;

    I tried ffmpeg but its not working showing below error

    &#xA;

    Error: ./node_modules/@ffmpeg/ffmpeg/src/browser/fetchFile.js 29:51&#xA;Module parse failed: Unexpected token (29:51)&#xA;File was processed with these loaders:&#xA; * ./node_modules/@angular-devkit/build-angular/src/babel/webpack-loader.js&#xA; * ./node_modules/@ngtools/webpack/src/ivy/index.js&#xA;You may need an additional loader to handle the result of these loaders.&#xA;|     /* From remote server/URL */&#xA;|     } else {&#xA;>       const res = await fetch(new URL(_data, import.meta.url).href);&#xA;|       data = await res.arrayBuffer();&#xA;|     }&#xA;&#xA;Error: ./node_modules/@ffmpeg/ffmpeg/src/browser/getCreateFFmpegCore.js 33:52&#xA;Module parse failed: Unexpected token (33:52)&#xA;File was processed with these loaders:&#xA; * ./node_modules/@angular-devkit/build-angular/src/babel/webpack-loader.js&#xA; * ./node_modules/@ngtools/webpack/src/ivy/index.js&#xA;You may need an additional loader to handle the result of these loaders.&#xA;|       throw Error(&#x27;corePath should be a string!&#x27;);&#xA;|     }&#xA;>     const coreRemotePath = new URL(_corePath, import.meta.url).href;&#xA;|     const corePath = await toBlobURL(&#xA;|       coreRemotePath,&#xA;&#xA;Error: ./node_modules/@ffmpeg/ffmpeg/src/browser/defaultOptions.js 7:68&#xA;Module parse failed: Unexpected token (7:68)&#xA;File was processed with these loaders:&#xA; * ./node_modules/@angular-devkit/build-angular/src/babel/webpack-loader.js&#xA; * ./node_modules/@ngtools/webpack/src/ivy/index.js&#xA;You may need an additional loader to handle the result of these loaders.&#xA;|  */&#xA;| const corePath = typeof process !== &#x27;undefined&#x27; &amp;&amp; process.env.NODE_ENV === &#x27;development&#x27;&#xA;>   ? new URL(&#x27;/node_modules/@ffmpeg/core/dist/ffmpeg-core.js&#x27;, import.meta.url).href&#xA;|   : `https://unpkg.com/@ffmpeg/core@${pkg.devDependencies[&#x27;@ffmpeg/core&#x27;].substring(1)}/dist/ffmpeg-core.js`;&#xA;

    &#xA;

    Im not able to resolve this error.

    &#xA;

    here is the package.json

    &#xA;

    {&#xA;  "name": "convert",&#xA;  "version": "1.0.0",&#xA;  "private": true,&#xA;  "description": "Motor",&#xA;  "scripts": {&#xA;    "ng": "ng",&#xA;    "start": "node --max_old_space_size=4096 node_modules/@angular/cli/bin/ng serve --port 4300",&#xA;    "test": "ng test",&#xA;    "lint": "tslint ./src/**/*.ts -t verbose",&#xA;    "e2e": "ng e2e"&#xA;  },&#xA;  "keywords": [],&#xA;  "author": "",&#xA;  "dependencies": {&#xA;    "@angular/animations": "~11.2.14",&#xA;    "@angular/common": "~11.2.14",&#xA;    "@angular/compiler": "~11.2.14",&#xA;    "@angular/core": "~11.2.14",&#xA;    "@angular/forms": "~11.2.14",&#xA;    "@angular/localize": "^11.2.14",&#xA;    "@angular/platform-browser": "~11.2.14",&#xA;    "@angular/platform-browser-dynamic": "~11.2.14",&#xA;    "@angular/router": "~11.2.14",&#xA;    "@ffmpeg/ffmpeg": "^0.11.6",&#xA;    "@ng-bootstrap/ng-bootstrap": "4.2.1",&#xA;    "@ngui/auto-complete": "^3.0.0",&#xA;    "angular-in-memory-web-api": "~0.8.0",&#xA;    "angular2-toaster": "^8.0.0",&#xA;    "core-js": "2.6.5",&#xA;    "hammerjs": "^2.0.8",&#xA;    "jquery": "^3.2.1",&#xA;    "moment": "^2.24.0",&#xA;    "moment-timezone": "^0.5.17",&#xA;    "mux.js": "^6.3.0",&#xA;    "ng-circle-progress": "1.6.0",&#xA;    "ng2-toastr": "^4.1.2",&#xA;    "ngui-angular2-auto-complete": "^0.1.1",&#xA;    "ngx-device-detector": "^2.0.10",&#xA;    "ngx-spinner": "^7.2.0",&#xA;    "rxjs": "6.6.7",&#xA;    "rxjs-compat": "^6.0.0-rc.0",&#xA;    "systemjs": "3.1.0",&#xA;    "tslib": "^2.0.0",&#xA;    "video.js": "^8.3.0",&#xA;    "zone.js": "~0.10.2"&#xA;  },&#xA;  "devDependencies": {&#xA;    "@angular-devkit/build-angular": "~0.1102.13",&#xA;    "@angular/cli": "^11.2.13",&#xA;    "@angular/compiler-cli": "^11.2.14",&#xA;    "@types/dom-mediacapture-record": "^1.0.16",&#xA;    "@types/jasmine": "~3.6.0",&#xA;    "@types/node": "^12.11.1",&#xA;    "canonical-path": "1.0.0",&#xA;    "codelyzer": "^6.0.0",&#xA;    "concurrently": "^4.1.0",&#xA;    "jasmine-core": "~3.6.0",&#xA;    "karma": "~6.3.2",&#xA;    "karma-chrome-launcher": "~3.1.0",&#xA;    "karma-cli": "^2.0.0",&#xA;    "karma-jasmine": "~4.0.0",&#xA;    "karma-jasmine-html-reporter": "^1.5.0",&#xA;    "lite-server": "^2.4.0",&#xA;    "lodash": "^4.16.4",&#xA;    "protractor": "~7.0.0",&#xA;    "raw-loader": "^4.0.2",&#xA;    "rimraf": "^2.6.3",&#xA;    "tslint": "~6.1.0",&#xA;    "typescript": "4.0.7"&#xA;  },&#xA;  "repository": {}&#xA;}&#xA;

    &#xA;

    and here is ffmpeg code

    &#xA;

    const ffmpeg = createFFmpeg({&#xA;      log: true,&#xA;    });&#xA;

    &#xA;