Recherche avancée

Médias (91)

Autres articles (64)

  • Amélioration de la version de base

    13 septembre 2013

    Jolie sélection multiple
    Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
    Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)

  • Emballe médias : à quoi cela sert ?

    4 février 2011, par

    Ce plugin vise à gérer des sites de mise en ligne de documents de tous types.
    Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ;

  • Le plugin : Gestion de la mutualisation

    2 mars 2010, par

    Le plugin de Gestion de mutualisation permet de gérer les différents canaux de mediaspip depuis un site maître. Il a pour but de fournir une solution pure SPIP afin de remplacer cette ancienne solution.
    Installation basique
    On installe les fichiers de SPIP sur le serveur.
    On ajoute ensuite le plugin "mutualisation" à la racine du site comme décrit ici.
    On customise le fichier mes_options.php central comme on le souhaite. Voilà pour l’exemple celui de la plateforme mediaspip.net :
    < ?php (...)

Sur d’autres sites (4791)

  • Try to concatenate videos using FFmpeg Package. My videos concatenate correctly but those that i record from fornt camera rotate 90' in concatenate

    24 avril 2024, par Ahmad Akram

    Here is my code where I pass a list of image paths that concatenate. I am facing an issue with the front camera video. When concatenated completely some videos rotate 90 degrees.

    &#xA;

    Future<void> mergeVideos(List<string> videoPaths) async {&#xA;    VideoHelper.showInSnackBar(&#x27;Videos merged Start&#x27;, context);&#xA;    String outputPath = await VideoHelper.generateOutputPath();&#xA;    FlutterFFmpeg flutterFFmpeg = FlutterFFmpeg();&#xA;&#xA;    // Create a text file containing the paths of the videos to concatenate&#xA;    String fileListPath =&#xA;        &#x27;${(await getTemporaryDirectory()).path}/fileList.txt&#x27;;&#xA;    File fileList = File(fileListPath);&#xA;    await fileList&#xA;        .writeAsString(videoPaths.map((path) => &#x27;file \&#x27;$path\&#x27;&#x27;).join(&#x27;\n&#x27;));&#xA;&#xA;    // Run FFmpeg command to concatenate videos&#xA;    // String command = &#x27;-f concat -safe 0 -i $fileListPath -c copy $outputPath&#x27;;&#xA;&#xA;    String command =&#xA;        &#x27;-f concat -safe 0 -i $fileListPath -vf "transpose=1" -c:a copy $outputPath&#x27;;&#xA;&#xA;    VideoHelper.showInSnackBar(&#x27;command Start&#x27;, context);&#xA;    await flutterFFmpeg.execute(command).then((value) {&#xA;      if (value == 0) {&#xA;        print("Output Path : $outputPath");&#xA;        VideoHelper.showInSnackBar(&#x27;Videos merged successfully&#x27;, context);&#xA;        Navigator.push(&#xA;            context,&#xA;            MaterialPageRoute(&#xA;                builder: (context) => VideoPlayerScreen(&#xA;                      videoFile: XFile(outputPath),&#xA;                    )));&#xA;      } else {&#xA;        VideoHelper.showInSnackBar(&#xA;            &#x27;Error merging videos  ::::: returnCode=== $value &#x27;, context);&#xA;      }&#xA;    });&#xA;  }&#xA;</string></void>

    &#xA;

  • Ffmpeg hardcode a list of subtitles to a video

    23 décembre 2022, par TheRedM

    I couldn't figure out how to stream a list of subtitles to an rtmp server, the idea is I have a list of mp3 files and a list of subtitles, each mp3 has its own subtitle, what i was trying to do is stream both lists and a video background (with the subtitles hardcoded to the video background) i tried a bunch of options, I managed to output them as an mp4 video with the subtitles softcoded but I couldn't figure out how to stream them with the subtitles hardcoded, my lists goes as follow :

    &#xA;

    mp3s

    &#xA;

    &#xA;file &#x27;path/to/audio1.mp3&#x27;&#xA;file &#x27;path/to/audio2.mp3&#x27;&#xA;file &#x27;path/to/audio3.mp3&#x27;&#xA;file &#x27;path/to/audio4.mp3&#x27;&#xA;...&#xA;

    &#xA;

    subtitles

    &#xA;

    file &#x27;path/to/audio1.srt&#x27;&#xA;file &#x27;path/to/audio2.srt&#x27;&#xA;file &#x27;path/to/audio3.srt&#x27;&#xA;file &#x27;path/to/audio4.srt&#x27;&#xA;...&#xA;

    &#xA;

    And of course the video background as input

    &#xA;

    I was thinking about using a while loop but that's going to call ffmpeg for every mp3 which is inconvenient for a live stream.

    &#xA;

    With some more digging I come up with this code :

    &#xA;

    ffmpeg -f concat -safe 0 -i audioList.txt -f concat -safe 0 -i subtitleList.txt -i background/video.mp4 -filter_complex "[1:v][0:a]overlay[v1];[v1][2]subtitles[v2]" -map "[v2]" -c:a aac -b:a 128k -c:v h264 -b:v 3000k -f flv rtmp://stream/key&#xA;

    &#xA;

    I'm not sure if the subtitles will be hardcoded because the script didn't work at all, it seems right to me but i'm getting this error

    &#xA;

    [Parsed_subtitles_1 @ 0xaaaacf52fb60]&#xA;No filename provided!&#xA;[AVFilterGraph @ 0xaaaacf5f6370] Error initializing filter &#x27;subtitles&#x27;&#xA;Error initializing complex filters.&#xA;Invalid argument&#xA;

    &#xA;

    I re-checked subtitleList.txt It seems right.

    &#xA;

  • Revision 5c22224e9e : Corrected optimization of 8x8 DCT code The 8x8 DCT uses a fast version whenever

    11 décembre 2014, par Peter de Rivaz

    Changed Paths :
     Modify /vp9/common/x86/vp9_idct_intrin_sse2.c



    Corrected optimization of 8x8 DCT code

    The 8x8 DCT uses a fast version whenever possible.
    There was a mistake in the checking code which
    meant sometimes the fast version was used when it
    was not safe to do so.

    Change-Id : I154c84c9e2d836764768a11082947ca30f4b5ab7
    (cherry picked from commit fd05fb0c21e253b4d6f92d7e0b752850ff8ab188)