Recherche avancée

Médias (0)

Mot : - Tags -/metadatas

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (20)

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
    The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
    For older browsers the Flowplayer flash fallback is used.
    MediaSPIP allows for media playback on major mobile platforms with the above (...)

  • ANNEXE : Les plugins utilisés spécifiquement pour la ferme

    5 mars 2010, par

    Le site central/maître de la ferme a besoin d’utiliser plusieurs plugins supplémentaires vis à vis des canaux pour son bon fonctionnement. le plugin Gestion de la mutualisation ; le plugin inscription3 pour gérer les inscriptions et les demandes de création d’instance de mutualisation dès l’inscription des utilisateurs ; le plugin verifier qui fournit une API de vérification des champs (utilisé par inscription3) ; le plugin champs extras v2 nécessité par inscription3 (...)

  • 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 (4055)

  • File not found at path : on laravel 5.6

    9 mars 2018, par syehbi herbian

    i am using laravel 5.6, i will try to make function multiple upload video, and get frame and duration with laravel-ffmpeg, but when i try to upload one video for example, always show error like "File not found at path :",

    this is my function to store video and get duration & frame :

    public function doCreate($lessonsid)
     {
         if (empty(Session::get('contribID'))) {
           return redirect('contributor/login');
         }
       # code...
       // validate
       // read more on validation at http://laravel.com/docs/validation
       $rules = array(
         'judul'          => 'required',
       //   'video.*'  => 'mimes:mp4,mov,ogg,webm |required|max:100000',
       //   'image.*' => 'mimes:jpeg,jpg,png,gif|required|max:30000'
       );
       $validator = Validator::make(Input::all(), $rules);

       // process the login
       if ($validator->fails()) {
           return redirect()->back()->withErrors($validator)->withInput();
       } else {

           $now          = new DateTime();
           $cid          = Session::get('contribID');
           $title        = Input::get('judul');
           $image_video = Input::file('image');
           $lessons_video = Input::file('video');
           // dd($lessons_video);
           // $media = FFMpeg::open('https:/dev.cilsy.id/assets/source/lessons/lessons-74/video-8/1. Introduction (2).mp4');
           // $frame = $media->getFrameFromString('00:00:13.37');
           // dd($media);    
           $description  = Input::get('desc');

           $video=Video::where('lessons_id',$lessonsid)->get();
           $count_video=count($video);


           if (!is_dir("assets/source/lessons/lessons-$lessonsid")) {
                   $newforder=mkdir("assets/source/lessons/lessons-".$lessonsid);
           }

           $i=$count_video + 1;
           foreach ($title as $key => $titles) {
                   $type_video =$lessons_video[$key]->getMimeType();

                   if (!is_dir("assets/source/lessons/lessons-".$lessonsid."/video-".$i)) {
                           $newforder=mkdir("assets/source/lessons/lessons-".$lessonsid."/video-".$i);
                   }
                   $DestinationPath= 'assets/source/lessons/lessons-'.$lessonsid.'/video-'.$i;
                   //insert image
                   if(!empty($image_video[$key])){
                       $imagefilename    = $image_video[$key]->getClientOriginalName();
                       $image_video[$key]->move($DestinationPath, $imagefilename);
                   }else{
                       $imagefilename    = '';
                   }
                   if($imagefilename ==''){
                       $url_image= $imagefilename;
                   }else{
                       $urls=url('');
                       $url_image= $urls.'/assets/source/lessons/video-'.$i.'/'.$imagefilename;
                   }

                   //insert video
                   if(!empty($lessons_video[$key])){
                       $lessonsfilename    = $lessons_video[$key]->getClientOriginalName();
                       $lessons_video[$key]->storeAs($DestinationPath, $lessonsfilename);
                   }else{
                       $lessonsfilename    = '';
                   }
                   if($lessonsfilename ==''){
                       $url_video= $lessonsfilename;
                   }else{
                       $urls=url('');
                       $url_video= $urls.'/assets/source/lessons/video-'.$i.'/'.$lessonsfilename;
                   }




                   $store                  = new Video;
                   $store->lessons_id      = $lessonsid;
                   $store->title           = $titles;
                   $store->image           = $url_image;
                   $store->video           = $url_video;
                   $store->description     = $description[$key];
                   $store->type_video      = $type_video;
                   $store->durasi          = 0;
                   $store->created_at      = $now;
                   $store->enable=1;
                   $store->save();
                   if($store){
                       $media = FFMpeg::open($url_video);
                       // $frame = FFMpeg::open($link)
                       //         ->getFrameFromSeconds(10)
                       //         ->export()
                       //         ->toDisk('public')
                       //         ->save($filename.'.png');
                       dd($media);
                       $durationInSeconds = $media->getDurationInSeconds();
                       // dd($media);


                   }
           $i++;
           }

           // Session::set('lessons_title',$title);
           // Session::set('lessons_category_id',$category_id);
           // Session::set('lessons_image',$image);
           // Session::set('lessons_description',$description);

           return redirect('contributor/lessons/'.$lessonsid.'/view')->with('success','Penambahan video berhasil');

       }
     }

    this is message error, when i try to upload my video

    error display

    anyone can help me ?

  • Mix audio input with video to specific location with FFmpeg

    26 septembre 2016, par user2364292

    I created small video editing tool with which you can put some overlay images to the video and show them at specific locations and durations (filter : overlay=enabled(from, to...), etc.).
    Now I also want to add some short audio sounds on the same way like pictures -> adding them to a specific time in the video. That means that overlays and audio sounds should be in one command if possible. I am using amix to merge all sound channels (video.mp4 and sound.mp3) but the thing is that they both start at the beginning. I tried with adelay=1500 but then I actually delay one channel that means I hear duplicate sounds with 1.5 sec delay. So I would like to delay only sound.mp3 input. Am I doing something wrong ?

    My try was that :

    -i video.mp4 -i sound.mp3 -filter_complex amix -preset ultrafast -vcodec libx264 -r 24 -profile:v baseline -threads 14 video_output.mp4

    Thank you very much !

  • FFMPEG : Position images in video when creating slide show

    29 décembre 2015, par Jimmy

    I’m using FFMPEG shell utility in an Android app to convert users pictures to video, here’s an example command :

    cat *.jpg | ffmpeg -f image2pipe -r 10  -vcodec mjpeg -i - -vcodec libx264 -s 1280x720 -preset ultrafast slideshow.mp4

    I used to crop images when the user import it in the app but now I would like to allow the user to reposition the image later, here’s an example :

    enter image description here

    So the user could drag or zoom the image to position it in the clear area (video ratio).

    So using the ffmpeg shell command can I specify the image coordinate for each image and position the image in the video.