Recherche avancée

Médias (91)

Autres articles (19)

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

  • Contribute to documentation

    13 avril 2011

    Documentation is vital to the development of improved technical capabilities.
    MediaSPIP welcomes documentation by users as well as developers - including : critique of existing features and functions articles contributed by developers, administrators, content producers and editors screenshots to illustrate the above translations of existing documentation into other languages
    To contribute, register to the project users’ mailing (...)

  • Participer à sa traduction

    10 avril 2011

    Vous pouvez nous aider à améliorer les locutions utilisées dans le logiciel ou à traduire celui-ci dans n’importe qu’elle nouvelle langue permettant sa diffusion à de nouvelles communautés linguistiques.
    Pour ce faire, on utilise l’interface de traduction de SPIP où l’ensemble des modules de langue de MediaSPIP sont à disposition. ll vous suffit de vous inscrire sur la liste de discussion des traducteurs pour demander plus d’informations.
    Actuellement MediaSPIP n’est disponible qu’en français et (...)

Sur d’autres sites (4424)

  • avcodec/exr : use the correct step value for plane pointers

    5 mars, par James Almer
    avcodec/exr : use the correct step value for plane pointers
    

    Fixes a regression since 0e917389fe73c932049635d947bba076f1709589.

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

    • [DH] libavcodec/exr.c
    • [DH] tests/ref/fate/exr-rgb-tile-half-piz-dw-large
    • [DH] tests/ref/fate/exr-rgb-tile-half-zip
  • The problem of code that generated typescript (node-fluent-ffmpeg module)

    10 décembre 2022, par Steve Rock

    This is my typescript code :

    &#xA;&#xA;

    import { NestFactory } from &#x27;@nestjs/core&#x27;;&#xA;import { AppModule } from &#x27;./app.module&#x27;;&#xA;import { FfmpegCommand } from &#x27;fluent-ffmpeg&#x27;&#xA;&#xA;async function bootstrap() {&#xA;  const app = await NestFactory.create(AppModule);&#xA;  let test&#xA;&#xA;  try {&#xA;    test = new FfmpegCommand(&#x27;./adventure.mkv&#x27;);&#xA;  } catch (error) {&#xA;    console.log(error);&#xA;&#xA;  }&#xA;&#xA;  await app.listen(3000);&#xA;}&#xA;&#xA;bootstrap();&#xA;

    &#xA;&#xA;

    Generated Javascript code :

    &#xA;&#xA;

    "use strict";&#xA;var __awaiter = (this &amp;&amp; this.__awaiter) || function (thisArg, _arguments, P, generator) {&#xA;    function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }&#xA;    return new (P || (P = Promise))(function (resolve, reject) {&#xA;        function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }&#xA;        function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }&#xA;        function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }&#xA;        step((generator = generator.apply(thisArg, _arguments || [])).next());&#xA;    });&#xA;};&#xA;Object.defineProperty(exports, "__esModule", { value: true });&#xA;const core_1 = require("@nestjs/core");&#xA;const app_module_1 = require("./app.module");&#xA;const fluent_ffmpeg_1 = require("fluent-ffmpeg");&#xA;function bootstrap() {&#xA;    return __awaiter(this, void 0, void 0, function* () {&#xA;        const app = yield core_1.NestFactory.create(app_module_1.AppModule);&#xA;        let test;&#xA;        try {&#xA;            test = new fluent_ffmpeg_1.FfmpegCommand(&#x27;./adventure.mkv&#x27;);&#xA;        }&#xA;        catch (error) {&#xA;            console.log(error);&#xA;        }&#xA;        yield app.listen(3000);&#xA;    });&#xA;}&#xA;bootstrap();&#xA;//# sourceMappingURL=main.js.map&#xA;

    &#xA;&#xA;

    When I run this application I've next error :

    &#xA;&#xA;

    main.ts:12&#xA;message :"fluent_ffmpeg_1.FfmpegCommand is not a constructor"&#xA;stack :"TypeError : fluent_ffmpeg_1.FfmpegCommand is not a constructor\n at c :\nest\dist\src\main.js:20:20\n at Generator.next ()\n at fulfilled (c :\nest\dist\src\main.js:5:58)\n at process._tickCallback (internal/process/next_tick.js:68:7)\n at Function.Module.runMain (internal/modules/cjs/loader.js:834:11)\n at startup (internal/bootstrap/node.js:283:19)\n at bootstrapNodeJSCore (internal/bootstrap/node.js:622:3)"

    &#xA;&#xA;

    That's beacause this raw test = new fluent_ffmpeg_1.FfmpegCommand('./adventure.mkv'). When I change this on just test = new fluent_ffmpeg_1('./adventure.mkv') I haven't the error. Do you know how to fix it. If you know where are ffmpeg exapmles on typescript please share with me :)

    &#xA;

  • Stack two video side and side but play one after another

    2 mai 2022, par user1087474

    I have two videos, that i want to concatenate side by side but second one should play after the first one is finished playing.&#xA;If the video is not playing, thumbnail should be shown

    &#xA;

    Below is the example that i want to achieve using ffmpeg&#xA;https://twitter.com/sunmor2901/status/1520024861619658752

    &#xA;

    I have used below command but both videos are runing simultaneously. Second, I also want to display a small text below the video describing what this video is all about (as seen in sample video link in question)

    &#xA;

    ffmpeg -i 1.mp4 -i 2.mp4 \&#xA;  -filter_complex &#xA;    "[0][1]scale2ref=&#x27;ohmdar&#x27;:&#x27;if(lt(main_h,ih),ih,main_h)&#x27;[0s][1s];\&#xA;     [1s][0s]scale2ref=&#x27;ohmdar&#x27;:&#x27;if(lt(main_h,ih),ih,main_h)&#x27;[1s][0s];\&#xA;     [0:a][1:a]amerge=inputs=2[a];[0s][1s]hstack,setsar=1" \&#xA;  -map "[a]" -ac 2 o.mp4&#xA;

    &#xA;