Recherche avancée

Médias (91)

Autres articles (42)

  • Changer son thème graphique

    22 février 2011, par

    Le thème graphique ne touche pas à la disposition à proprement dite des éléments dans la page. Il ne fait que modifier l’apparence des éléments.
    Le placement peut être modifié effectivement, mais cette modification n’est que visuelle et non pas au niveau de la représentation sémantique de la page.
    Modifier le thème graphique utilisé
    Pour modifier le thème graphique utilisé, il est nécessaire que le plugin zen-garden soit activé sur le site.
    Il suffit ensuite de se rendre dans l’espace de configuration du (...)

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

  • Les tâches Cron régulières de la ferme

    1er décembre 2010, par

    La gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
    Le super Cron (gestion_mutu_super_cron)
    Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...)

Sur d’autres sites (6194)

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