Recherche avancée

Médias (91)

Autres articles (67)

  • 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

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

  • Submit bugs and patches

    13 avril 2011

    Unfortunately a software is never perfect.
    If you think you have found a bug, report it using our ticket system. Please to help us to fix it by providing the following information : the browser you are using, including the exact version as precise an explanation as possible of the problem if possible, the steps taken resulting in the problem a link to the site / page in question
    If you think you have solved the bug, fill in a ticket and attach to it a corrective patch.
    You may also (...)

Sur d’autres sites (9437)

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