Recherche avancée

Médias (1)

Mot : - Tags -/ticket

Autres articles (65)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

  • Creating farms of unique websites

    13 avril 2011, par

    MediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
    This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...)

  • 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

Sur d’autres sites (12539)

  • qsv : dump more info in error, debug and verbose mode

    5 janvier 2021, par Haihao Xiang
    qsv : dump more info in error, debug and verbose mode
    

    Dump iopattern mode and the SDK error/warning desciptions for qsv based
    filters and iopattern mode for qsvenc

    Signed-off-by : Haihao Xiang <haihao.xiang@intel.com>
    Signed-off-by : Linjie Fu <linjie.justin.fu@gmail.com

    • [DH] libavcodec/qsvenc.c
    • [DH] libavfilter/qsvvpp.c
    • [DH] libavfilter/vf_deinterlace_qsv.c
    • [DH] libavfilter/vf_scale_qsv.c
  • fate : add audiomatch

    21 mars 2016, par Michael Niedermayer
    fate : add audiomatch
    

    Testset provided by Justin Greer <justin@zencoder.com>
    Signed-off-by : Michael Niedermayer <michael@niedermayer.cc>

    • [DH] .gitignore
    • [DH] Makefile
    • [DH] tests/Makefile
    • [DH] tests/audiomatch.c
    • [DH] tests/fate-run.sh
    • [DH] tests/fate/gapless.mak
    • [DH] tests/ref/fate/audiomatch-afconvert-16000-mono-he-adts
    • [DH] tests/ref/fate/audiomatch-afconvert-16000-mono-he-m4a
    • [DH] tests/ref/fate/audiomatch-afconvert-16000-mono-lc-adts
    • [DH] tests/ref/fate/audiomatch-afconvert-16000-mono-lc-m4a
    • [DH] tests/ref/fate/audiomatch-afconvert-16000-stereo-he-adts
    • [DH] tests/ref/fate/audiomatch-afconvert-16000-stereo-he-m4a
    • [DH] tests/ref/fate/audiomatch-afconvert-16000-stereo-he2-adts
    • [DH] tests/ref/fate/audiomatch-afconvert-16000-stereo-he2-m4a
    • [DH] tests/ref/fate/audiomatch-afconvert-16000-stereo-lc-adts
    • [DH] tests/ref/fate/audiomatch-afconvert-16000-stereo-lc-m4a
    • [DH] tests/ref/fate/audiomatch-afconvert-44100-mono-he-adts
    • [DH] tests/ref/fate/audiomatch-afconvert-44100-mono-he-m4a
    • [DH] tests/ref/fate/audiomatch-afconvert-44100-mono-lc-adts
    • [DH] tests/ref/fate/audiomatch-afconvert-44100-mono-lc-m4a
    • [DH] tests/ref/fate/audiomatch-afconvert-44100-stereo-he-adts
    • [DH] tests/ref/fate/audiomatch-afconvert-44100-stereo-he-m4a
    • [DH] tests/ref/fate/audiomatch-afconvert-44100-stereo-he2-adts
    • [DH] tests/ref/fate/audiomatch-afconvert-44100-stereo-he2-m4a
    • [DH] tests/ref/fate/audiomatch-afconvert-44100-stereo-lc-adts
    • [DH] tests/ref/fate/audiomatch-afconvert-44100-stereo-lc-m4a
    • [DH] tests/ref/fate/audiomatch-dolby-44100-mono-he-mp4
    • [DH] tests/ref/fate/audiomatch-dolby-44100-mono-lc-mp4
    • [DH] tests/ref/fate/audiomatch-dolby-44100-stereo-he-mp4
    • [DH] tests/ref/fate/audiomatch-dolby-44100-stereo-he2-mp4
    • [DH] tests/ref/fate/audiomatch-dolby-44100-stereo-lc-mp4
    • [DH] tests/ref/fate/audiomatch-faac-16000-mono-lc-adts
    • [DH] tests/ref/fate/audiomatch-faac-16000-mono-lc-m4a
    • [DH] tests/ref/fate/audiomatch-faac-16000-stereo-lc-adts
    • [DH] tests/ref/fate/audiomatch-faac-16000-stereo-lc-m4a
    • [DH] tests/ref/fate/audiomatch-faac-44100-mono-lc-adts
    • [DH] tests/ref/fate/audiomatch-faac-44100-mono-lc-m4a
    • [DH] tests/ref/fate/audiomatch-faac-44100-stereo-lc-adts
    • [DH] tests/ref/fate/audiomatch-faac-44100-stereo-lc-m4a
    • [DH] tests/ref/fate/audiomatch-nero-16000-mono-he-m4a
    • [DH] tests/ref/fate/audiomatch-nero-16000-mono-lc-m4a
    • [DH] tests/ref/fate/audiomatch-nero-16000-stereo-he-m4a
    • [DH] tests/ref/fate/audiomatch-nero-16000-stereo-he2-m4a
    • [DH] tests/ref/fate/audiomatch-nero-16000-stereo-lc-m4a
    • [DH] tests/ref/fate/audiomatch-nero-44100-mono-he-m4a
    • [DH] tests/ref/fate/audiomatch-nero-44100-mono-lc-m4a
    • [DH] tests/ref/fate/audiomatch-nero-44100-stereo-he-m4a
    • [DH] tests/ref/fate/audiomatch-nero-44100-stereo-he2-m4a
    • [DH] tests/ref/fate/audiomatch-nero-44100-stereo-lc-m4a
    • [DH] tests/ref/fate/audiomatch-quicktime7-44100-stereo-lc-mp4
    • [DH] tests/ref/fate/audiomatch-quicktimeX-44100-stereo-lc-m4a
    • [DH] tests/ref/fate/audiomatch-square-aac
    • [DH] tests/ref/fate/audiomatch-square-mp3
  • laravel 5.6 | upload video - Unable to probe

    23 février 2018, par syehbi herbian

    I was try to upload multiple video and i will get duration and frame with laravel-ffmpeg, so here’s my Controller :

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


           $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]->move($DestinationPath, $lessonsfilename);
                   }else{
                       $lessonsfilename    = '';
                   }
                   if($lessonsfilename ==''){
                       $url_video= $lessonsfilename;
                   }else{
                       $urls=url('');
                       $url_video= $urls.'/assets/source/lessons/video-'.$i.'/'.$lessonsfilename;
                   }
                   $media = FFMpeg::open($url_video);
                   $frame = $media->getFrameFromString('00:00:13.37');
                   dd($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($store->video);
                       // // $frame = FFMpeg::open($link)
                       // //         ->getFrameFromSeconds(10)
                       // //         ->export()
                       // //         ->toDisk('public')
                       // //         ->save($filename.'.png');
                       // // dd($frame);
                       // $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');

       }
     }

    it give me an errors like this :

    Unable to probe /var/www/html/dev/laravel/storage/app/https://dev.cilsy.id/assets/source/lessons/video-4/1. Introduction (1).mp4

    so the problem is it the way I check that it has multiple file using is_array is right ? and the second what can cause this problems ?