Recherche avancée

Médias (91)

Autres articles (89)

  • Le profil des utilisateurs

    12 avril 2011, par

    Chaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
    L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...)

  • Configurer la prise en compte des langues

    15 novembre 2010, par

    Accéder à la configuration et ajouter des langues prises en compte
    Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
    De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
    Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...)

  • La sauvegarde automatique de canaux SPIP

    1er avril 2010, par

    Dans le cadre de la mise en place d’une plateforme ouverte, il est important pour les hébergeurs de pouvoir disposer de sauvegardes assez régulières pour parer à tout problème éventuel.
    Pour réaliser cette tâche on se base sur deux plugins SPIP : Saveauto qui permet une sauvegarde régulière de la base de donnée sous la forme d’un dump mysql (utilisable dans phpmyadmin) mes_fichiers_2 qui permet de réaliser une archive au format zip des données importantes du site (les documents, les éléments (...)

Sur d’autres sites (11160)

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

    


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

    


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