Recherche avancée

Médias (2)

Mot : - Tags -/map

Autres articles (66)

  • MediaSPIP version 0.1 Beta

    16 avril 2011, par

    MediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

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

Sur d’autres sites (7463)

  • Combining audio and multiple videos with FFMPEG [closed]

    6 novembre 2023, par Lee P

    I am working on a ffmpeg script to combine two videos with one audio file. The first video file should start after about 6 seconds and the second after about 40 seconds, and there should be a padding with a black screen between the two videos.
However, it only seems to add the first video clones the final frame as the padding.

    


    Here is my current script :

    


    ffmpeg -i video_0.mp4 -i video_1.mp4 -i audio.mp4 -filter_complex "[0:v] tpad=start_duration=5927ms:start_mode=add:color=black:stop_mode=add:color=black; [1:v] tpad=start_duration=44901ms:start_mode=add:color=black:stop_mode=add:color=blackconcat=n=2" -map 2:a -f mp4 -movflags +faststart composite_recording.mp4


    


    The final video timing should be :

    


    00:00-00:06 — black screen
    
00:06-00:24 — first video
    
00:24-00:40 — black screen
    
00:40-00:48 — second video

    


    I tried setting different values for the tpad start_duration for the second video and expected it to start the second video at around 40 seconds into the audio, however it didn't change anything.

    


  • Unrecognized option 'crf'

    6 septembre 2022, par Arjit Kaushal

    I am trying compress video using ffmpeg but i am facing errors in the command.
Although it runs perfectly fine on my linux terminal.( ffmpeg -i input.avi -vcodec libx264 -crf 24 output.avi).

    


    my code :

    


    void _compress() {
        if (_videoModel == null) return;
        String inputPath = _videoModel!.originalCachePath;
        String outputPath = _videoModel!.editCachePath;
    
        FFmpegKit.execute("-i $inputPath -vcodec libx264 -crf 24 -y $outputPath")
            .then((session) async {
          final returnCode = await session.getReturnCode();
          if (ReturnCode.isSuccess(returnCode)) {
            Navigator.pushNamed(context, PreviewPage.routeName,
                arguments: _videoModel);
          } else if (ReturnCode.isCancel(returnCode)) {
            print("compress cancel");
          } else {
            print("compress error : $returnCode");
            FFmpegKitConfig.enableLogCallback((log){
              final message = log.getMessage();
              print(message);
            });
    
    
          }
        });
      }


    


    I am facing the following errors :
Unrecognized option 'crf',
I/flutter (31056) : Error splitting the argument list,
Option not found.

    


  • How to create video from multiple gallery images store in array flutter ffmpeg

    26 janvier 2023, par Ammara

    I select images from gallery using multi_image_picker in flutter and store all images in array.

    


      try {
   resultList = await 
   MultiImagePicker.pickImages(
    maxImages: 300,
    enableCamera: true,
    selectedAssets: images,
    materialOptions: MaterialOptions(
      actionBarTitle: "Photo Editor and Video 
   Maker App",
    ),
  );
 }


    


    User can select images from gallery and store in resultlist array.
Now I want to pass this array to ffmpeg to create video from all these images.

    


    I try a lot and search almost all sites but fail. Here is my code.

    


    Future<void> ConvertImageToVideo () async{&#xA;const String BASE_PATH = &#x27;/storage/emulated/0/Download/&#x27;;&#xA;const String AUDIO_PATH = BASE_PATH &#x2B; &#x27;audiio.mp3&#x27;;&#xA;const String IMAGE_PATH = BASE_PATH &#x2B; &#x27;image002.png&#x27;;&#xA;const String OUTPUT_PATH = BASE_PATH &#x2B; &#x27;output02.mp4&#x27;;&#xA;// final FlutterFFmpeg _flutterFFmpeg = FlutterFFmpeg();&#xA;if(await Permission.storage.request().isGranted){&#xA;  List<asset> resultlist  = <asset>[];&#xA;  String commandToExecute =&#xA;      &#x27;-r 15 -f mp3 -i ${AUDIO_PATH} -f image2 -i ${resultlist} -y ${OUTPUT_PATH}&#x27;;&#xA;  await FFmpegKit.execute(commandToExecute).then((session) async {&#xA;    final returnCode = await session.getReturnCode();&#xA;    final state = await session.getState();&#xA;    if (ReturnCode.isSuccess(returnCode)) {&#xA;      print("ruuning   "&#x2B;state.toString());&#xA;      print("video created " &#x2B; returnCode.toString());&#xA;    } else if (ReturnCode.isCancel(returnCode)) {&#xA;      print("video cancel "  &#x2B; returnCode.toString());&#xA;    } else {&#xA;      print("error " );&#xA;    }&#xA;  });&#xA;}else if (await Permission.storage.isPermanentlyDenied) {&#xA;  openAppSettings();&#xA;}&#xA;</asset></asset></void>

    &#xA;

    }

    &#xA;