Advanced search

Medias (1)

Tag: - Tags -/lev manovitch

Other articles (74)

  • Le plugin : Podcasts.

    14 July 2010, by

    Le problème du podcasting est à nouveau un problème révélateur de la normalisation des transports de données sur Internet.
    Deux formats intéressants existent : Celui développé par Apple, très axé sur l’utilisation d’iTunes dont la SPEC est ici; Le format "Media RSS Module" qui est plus "libre" notamment soutenu par Yahoo et le logiciel Miro;
    Types de fichiers supportés dans les flux
    Le format d’Apple n’autorise que les formats suivants dans ses flux : .mp3 audio/mpeg .m4a audio/x-m4a .mp4 video/mp4 (...)

  • Configurer la prise en compte des langues

    15 November 2010, by

    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 (...)

  • Publier sur MédiaSpip

    13 June 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

On other websites (10717)

  • How to close live streaming red5 server command in shell from php

    20 December 2016, by vibhor Gupta

    I have live streaming ffmpeg decode streaming streamed to client using red5 server to user browser.
    Now the problem is i have to run the ffmpeg command in ubantu server shell which keeps on streaming constantly to the user .
    So my problem is how to stop this live stream when user request .

    Environment :
    PHP version 5.5.9
    ffmpeg version 3.2.2
    Ubuntu 14.04.5 LTS

    The php script I use to execute the shell command is :

    $cmd = 'ffmpeg -i rtsp://user:12345@192.168.101.101/Streaming/Channels/101 -f flv -an rtmp://192.168.1.105/live/livestream/1.mp4' ;
           shell_exec($cmd);

    The above script never ends so i get the live streaming but if i place any other http request during the live streaming the server puts the request in queue and does not process any other request until the live streaming is closed .

    So how can i handle this condition is there any other function in php .

  • I dont know how to Create a frame from a video with FFMpeg

    17 October 2017, by Rohallah Hatami

    by this code i am creating new object of news width video file and save that file into public/files

     public function store(Request $request, $type)
    {
       $library_data = [
           'library_title' => request()->input('title'),
           'library_short_text' => request('short_text'),
           'library_body' => request('body'),
           'library_type' => $type,
           'library_cat_id' =>request()->input('category'),
       ];

       $new_library_object = Library::create($library_data);
       if (count($request->file('fileItem')) > 0 && is_array($request->file('fileItem')) ){
           foreach ($request->file('fileItem') as $file){
               $file_data=[
                   'file_type'=> $file->getMimeType(),
                   'file_size'=> $file->getClientSize(),
               ];
               $new_file_name = str_random(45).'.'.$file->getClientOriginalExtension();
               $result = $file->move(public_path('files'),$new_file_name);
               if($result instanceof \Symfony\Component\HttpFoundation\File\File){
                   $file_data['file_name'] = $new_file_name;
                   $file_data['file_title'] = $new_file_name;

                   $new_file_object=$new_library_object->files()->create($file_data);

               }
           }
       }elseif (count($request->file('fileItem')) > 0 && !is_array($request->file('fileItem'))){

           $file_data=[
               'file_type'=> $request->file('fileItem')->getMimeType(),
               'file_size'=> $request->file('fileItem')->getClientSize(),
           ];


           $new_file_name = str_random(45).'.'.$request->file('fileItem')->getClientOriginalExtension();
           $result = $request->file('fileItem')->move(public_path('files'),$new_file_name);
           if($result instanceof \Symfony\Component\HttpFoundation\File\File){
               $file_data['file_name'] = $new_file_name;
               $file_data['file_title'] = $new_file_name;

               $new_file_object=$new_library_object->files()->create($file_data);

           }
       }

    then I dont know how use this codes to Create a frame from a video

    FFMpeg::fromDisk('videos')
    ->open('steve_howe.mp4')
    ->getFrameFromSeconds(10)
    ->export()
    ->toDisk('thumnails')
    ->save('FrameAt10sec.png');

    whate is ’videos’ in fromdisk and in my codes how use this parametrs

    I use this code `

    $new_file_object=$new_library_object->files()->create($file_data);
               $start = \FFMpeg\Coordinate\TimeCode::fromSeconds(5);
               $clipFilter = new \FFMpeg\Filters\Video\ClipFilter($start);
               FFMpeg::fromDisk('files')
                   ->open($new_file_object->file_name)
                   ->addFilter($clipFilter)
                   ->export()
                   ->toDisk('files')
                   ->inFormat(new \FFMpeg\Format\Video\X264)
                   ->save('short_steve.mkv');

    but I have this erroe

    Non-static method Pbmedia\LaravelFFMpeg\FFMpeg::fromDisk() should not be called statically
  • ffmepg Low latency destkop mirroring with quicksync

    21 February 2016, by Alan Aasmaa

    I have tried to figure out long time how can i stream my Main PC to Secondary PC.

    I’d like to use QuickSync or NVENC
    https://github.com/illuspas/ffmpeg-hw-win32 ?

    I found something like this.
    ffmpeg \
    -f x11grab -s 1280x720 -framerate 60 -i :0.0 \
    -c:v mpeg2video -q:v 20 -pix_fmt yuv420p -g 1 -threads 2 \
    -f mpegts - | nc -l -p 9000

    I know x11grab is for linux so i should use dshow ?

    What would be best client to watch this ? I need also low CPU usage.

    Right now i got best latency 0.5sec by Streaming with action and reciving with vMix (I use vMix becose i stream back into OBS).

    My purpose is to Get CSGO from one PC to another and do a PiP stream. I don’t have capturecard and i dont have streaming PC. Also i don’t have money to buy neither of these.