Recherche avancée

Médias (91)

Autres articles (76)

  • Gestion des droits de création et d’édition des objets

    8 février 2011, par

    Par défaut, beaucoup de fonctionnalités sont limitées aux administrateurs mais restent configurables indépendamment pour modifier leur statut minimal d’utilisation notamment : la rédaction de contenus sur le site modifiables dans la gestion des templates de formulaires ; l’ajout de notes aux articles ; l’ajout de légendes et d’annotations sur les images ;

  • Des sites réalisés avec MediaSPIP

    2 mai 2011, par

    Cette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
    Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.

  • Supporting all media types

    13 avril 2011, par

    Unlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)

Sur d’autres sites (8697)

  • Thumbnail generation in Laravel with FFmpeg

    28 mai 2023, par hehehhehehe

    Using FFmpeg video upload is successful in the database, but the file is not found in the storage directory. I want to make a thumbnail of the video that has just been uploaded using FFmpeg in Laravel. When viewed in the database it has been uploaded, but when viewed in the Laravel storage directory the file does not exist. What is the solution ?

    


    $store = new Post();
$files = $request->file('file');
$ext = $files->getClientOriginalExtension();
if ($ext == 'mp4' || $ext == 'mkv' || $ext == 'webm') {
   $ext = $request->file('file')->extension();
   $final = 'video' . time() . '.' . $ext;
   $request->file('file')->move(storage_path('app/public/uploads/video/'), $final);
   $store->file = $final;

   // For Thumbnail
   $thumbnailName = 'thumbnail' . time() . '.jpg';
   $thumbnailPath = storage_path('app/public/uploads/video/thumbnails/') . $thumbnailName;

   $ffmpegCommand = "ffmpeg -i " . storage_path('app/public/uploads/video/') . $final . " -ss   00:00:01.00 -vframes 1 " . $thumbnailPath;
   exec($ffmpegCommand);

   $store->thumbnail = $thumbnailName;
}


    


    I've looked and tried coding based on the latest documentation, but it still can't run.

    


  • i m not able to play my video in my phone after merging through ffmpeg in flutter ?

    16 juin 2021, par Muhammad Arbaz Zafar

    this is my code

    


    void _videoMerger() async {


    final appDir = await syspaths.getApplicationDocumentsDirectory();
    String rawDocumentPath = appDir.path;
    final outputPath = '$rawDocumentPath/outputPath.mp4';
    final FlutterFFmpeg _flutterFFmpeg = new FlutterFFmpeg();
    String commandToExecute = ' -i ${_storedVideoOne.path} -i ${_storedVideoTwo.path} -filter_complex "[0:v][1:v]concat=n=2:v=1:a=0[out]" -map "[out]" $outputPath.mp4';
    _flutterFFmpeg.execute(commandToExecute).then((rc) => print("FFmpeg process exited with rc $rc"));

    await MediaStore.saveFile(outputPath);

  }


    


    my video merged and i get file in my mobile and then i try to play but its not able to play after that i built my code in emulator and merge vide then merge video successfuly but still not able to play my merge video so guys any solution ?

    


  • Clips from a Live Video

    12 mai 2022, par Jorge Borreguero Sanmartin

    I am doing a program in Python that gets clips from a live video. To do so, with opencv I get the currrrent_frame_position and with the fps I get the start and final time to run this command :

    


    ffmpeg -i live_video.ts -ss 00:01:30 -to 00:02:00 -c:v copy output.ts

    


    To improve, I want to start dumping the live_video on the new file once I know the starting time, and finish once I get the final time. My intention is to make this process faster and get the result file sooner. It is not necessary to use ffmpeg but it is the tool that I have been using. How can I do this ?