Recherche avancée

Médias (0)

Mot : - Tags -/médias

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (67)

  • Modifier la date de publication

    21 juin 2013, par

    Comment changer la date de publication d’un média ?
    Il faut au préalable rajouter un champ "Date de publication" dans le masque de formulaire adéquat :
    Administrer > Configuration des masques de formulaires > Sélectionner "Un média"
    Dans la rubrique "Champs à ajouter, cocher "Date de publication "
    Cliquer en bas de la page sur Enregistrer

  • La file d’attente de SPIPmotion

    28 novembre 2010, par

    Une file d’attente stockée dans la base de donnée
    Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
    Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...)

  • Support de tous types de médias

    10 avril 2011

    Contrairement à beaucoup de logiciels et autres plate-formes modernes de partage de documents, MediaSPIP a l’ambition de gérer un maximum de formats de documents différents qu’ils soient de type : images (png, gif, jpg, bmp et autres...) ; audio (MP3, Ogg, Wav et autres...) ; vidéo (Avi, MP4, Ogv, mpg, mov, wmv et autres...) ; contenu textuel, code ou autres (open office, microsoft office (tableur, présentation), web (html, css), LaTeX, Google Earth) (...)

Sur d’autres sites (12429)

  • bash : find truncates some paths [duplicate]

    17 novembre 2023, par fweber

    I'm using MacOS 13.0.1 and try to find + loop over .mov files to convert them to MP4 using FFMPEG. Many of my path contain spaces and special characters. I found a way of putting things together thanks to this post :

    


    function convert_to_mp4_then_rm() {
    while IFS= read -r -d '' file
    do
        ffmpeg -i "$file" "${file%.mov}.mp4"
    done < <(find /Users/f.weber/Downloads -type f -name "*.mov" -print0)
}


    


    This runs but I found a (random ?) error : it looks like some of the paths are truncated when they arrive to the ffmpeg CLI.

    


    Example to reproduce with a basic content :

    


    ll Downloads/
total 9472
-rw-r--r--  1 f.weber  staff   2,3M 26 sep 08:56 23-09-26 08-56-50-2538.mov
-rw-r--r--  1 f.weber  staff   2,3M 26 sep 08:56 23-09-26 08-56-50-2539.mov


    


    When I call convert_to_mp4_then_rm in a terminal, the first MOV file is properly processed then I have the following error from FFMPEG : /Downloads/23-09-26 08-56-50-2539.mov: No such file or directory. In some conditions (e.g. when the path is longer) the truncation is more obvious and can occur in the middle of a word.

    


    What is the explanation for this ? How to forward untruncated paths to my function's core ?

    


    Thanks !

    


  • ffmpeg cant find codec to cu 10 seconds movie

    19 novembre 2017, par Logan

    I tried cut 10 seconsd from movie and convert to mp4. But sometiems i have a eroor like below :

    Duration: 00:08:52.40, start: 0.000000, bitrate: 1126 kb/s
       Stream #0:0: Audio: wmav2 (a[1][0][0] / 0x0161), 44100 Hz, stereo, fltp, 96 kb/s
       Stream #0:1: Video: wmv3 (Main) (WMV3 / 0x33564D57), yuv420p, 640x480, 1000 kb/s, SAR 1:1 DAR 4:3, 29.97 tbr, 1k tbn, 1k tbc
    [mp4 @ 0x5614bbea1300] Could not find tag for codec wmv3 in stream #0, codec not currently supported in container
    Could not write header for output file #0 (incorrect codec parameters ?): Invalid argumentStream mapping:

    What does mean this error ? should i install some extra codec ?

    My exec line looks like :

    ffmpeg -i input.wmv -ss 00:00:00 -to 0 -c copy 0:00:10 output.mp4
  • Unable to find `ReturnCode` from ffmpeg in Flutter

    1er décembre 2022, par Stéphane de Luca

    Here is a snippet that does not compile due to the Unable to find ReturnCode`` error message.

    


    What's missing ?

    


    
import 'package:ffmpeg_kit_flutter/ffmpeg_kit.dart';

class Video {

  /// Executes the command
  void execute(String command) async {
    FFmpegKit.execute(command).then((session) async {
      final returnCode = await session.getReturnCode();

      if (ReturnCode.isSuccess(returnCode)) {
        // SUCCESS

      } else if (ReturnCode.isCancel(returnCode)) {
        // CANCEL

      } else {
        // ERROR

      }
    });
  }
}