Recherche avancée

Médias (91)

Autres articles (101)

  • 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 ;

  • Dépôt de média et thèmes par FTP

    31 mai 2013, par

    L’outil MédiaSPIP traite aussi les média transférés par la voie FTP. Si vous préférez déposer par cette voie, récupérez les identifiants d’accès vers votre site MédiaSPIP et utilisez votre client FTP favori.
    Vous trouverez dès le départ les dossiers suivants dans votre espace FTP : config/ : dossier de configuration du site IMG/ : dossier des média déjà traités et en ligne sur le site local/ : répertoire cache du site web themes/ : les thèmes ou les feuilles de style personnalisées tmp/ : dossier de travail (...)

  • Keeping control of your media in your hands

    13 avril 2011, par

    The vocabulary used on this site and around MediaSPIP in general, aims to avoid reference to Web 2.0 and the companies that profit from media-sharing.
    While using MediaSPIP, you are invited to avoid using words like "Brand", "Cloud" and "Market".
    MediaSPIP is designed to facilitate the sharing of creative media online, while allowing authors to retain complete control of their work.
    MediaSPIP aims to be accessible to as many people as possible and development is based on expanding the (...)

Sur d’autres sites (9505)

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

    


  • FFMPEG concatenate multiply files with various extensions and properties

    28 juillet 2022, par KRUK

    I'm trying to create a movie on Windows using ffmpeg from files that are from different devices and in different extensions (.mp4, .mov). Is there any way to combine any file extensions into one final movie that will play properly ?

    


    I'm thinking of such an approach, to first normalize all files to the same format (What is the recommended final format ?) and only then combine them into a final file.

    


    I am experimenting with this approach :

    


    ffmpeg -i [input.anyFormatX] outputX.mp4


    


    and then

    


    ffmpeg -f concat -i [List of files] output.mp4


    


    But unfortunately this does not work for all files, should pay attention to the codecs or maybe some other intermediate format ? The biggest problem appears with files recorded with Iphone and in extension .mov. After the first stage, these videos look overburnt, as if they have a lot of raised brightness, how to correct this ?

    


    Do you know perhaps any generic solution, which would allow the assembly of videos from different devices (including Iphone) and with different parameters such as frame rate or resolution ?

    


  • Flutter app crashes in release mode when initializing FlutterFFmpegConfig() ;

    18 février 2021, par Mahmoud Eidarous

    The app is working on Android on Debug mode(only) with no errors in the logcat/terminal.
But when I tested it on iOS (even in debug mode), it crashes on a specific page.
After long tests, I could know that this line was causing the app to crash.

    


    FlutterFFmpegConfig _flutterFFmpegConfig = FlutterFFmpegConfig();


    


    If I comment that line, the app won't crash, but I need that line to manipulate videos in the app.

    


    I'm using flutter_ffmpeg: ^0.3.0 in pubspec.yaml, and full-gpl package is set in android\build.gradle

    


    ext {
    flutterFFmpegPackage  = "full-gpl"
}


    


    Related package initializations code snippet :

    


    final FlutterFFmpegConfig _flutterFFmpegConfig = new FlutterFFmpegConfig();
final FlutterFFmpeg _flutterFFmpeg = new FlutterFFmpeg();
final FlutterFFprobe _flutterFFprobe = new FlutterFFprobe();


    


    I'm not sure, but it seems like the app can't handle creating all these objects at the same class !
Anyone familiar with this problem ?