Recherche avancée

Médias (1)

Mot : - Tags -/pirate bay

Autres articles (67)

  • MediaSPIP v0.2

    21 juin 2013, par

    MediaSPIP 0.2 est la première version de MediaSPIP stable.
    Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Comme pour la version précédente, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

  • MediaSPIP version 0.1 Beta

    16 avril 2011, par

    MediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

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

  • Class 'Pbmedia\LaravelFFMpeg\FFMpegServiceProvider\FFMpeg' not found

    26 mars 2019, par farooq

    Encountered error

    Class ’Pbmedia\LaravelFFMpeg\FFMpegServiceProvider\FFMpeg’ not found

    I’m building a web application to upload a video and store it in cloud. I want to get the duration of the uploaded video. I tried to install laravel/FFMpeg package. After doing all the steps, I’m getting the above error.

    Code

    My controller code :

    <?php
    namespace App\Http\Controllers;
    use Auth;
    use Illuminate\Http\Request;
    use DB;
    use App\Http\Requests;
    use App\Http\Controllers\Controller;
    use Illuminate\Support\Facades\Storage;
    use App\Providers\DropboxServiceProvider;
    use Dropbox\Client;
    use Dropbox\WriteMode;
    use Pbmedia\LaravelFFMpeg\FFMpegServiceProvider as FFMpeg;
    //use Pbmedia\LaravelFFMpeg\FFMpegFacade as FFMpeg;
    //use FFMpeg;

    class FileController extends Controller
    {
      public function FileUpload(Request $request)
      {
       $file = $request->file('file');
       $note = $request->input('note');
       //$request->file('file')->store('assets');
       if($file)
       {

            //Storage::disk('local')->put($file, $file);
           //$file = $request->input('file')->store('1.png');
            $file1 = Storage::disk('local')->put('' ,$request->file) ;
            $filename = $file->getClientOriginalName();

            Storage::move(''.$file1, $filename); // keep the same folder to just rename



            $file = FFMPEG\FFMpeg::open($filename);
            $durationInSeconds = $file->getDurationInSeconds();
            return view('users/order-status')->with('file',$durationInSeconds);
       }
       else
       {
           $file ="not found";
       }
       return view('users/order-status')->with('file',$file);
      }

      public function dropboxFileUpload(Request $request)
       {


           $file = $request->input('file');
           //Storage::disk('dropbox')->put('file.txt', 'Hello laravel ');
           //$path = $request->input('file')->store('audio');
           Storage::disk('local')->put($file, 'Contents');
           echo asset('storage/"$file"');
           //$file = "/storage/app/".$file. "";

           //dd($path);
           //$file = dd($path);
       return view('users/order-status')->with('file',$file);

       }
    }
    ?>
  • I have a problem withInvalid file index 1 in filtergraph description

    17 avril 2019, par Davide

    This is my code :

    ffmpeg -i wireframe-spendo.mov palette.png -filter_complex fps=25,scale=800:600:flags=lanczos[x],[x][1:v]paletteuse wireframe-spendo.gif

    but after then :

    ffmpeg -i wireframe-spendo.mov palette.png -filter_complex fps=25,scale=800:600:flags=lanczos[x],[x][1:v]paletteuse wireframe-spendo.gif
    ffmpeg version 4.1.3 Copyright (c) 2000-2019 the FFmpeg developers
     built with Apple LLVM version 10.0.0 (clang-1000.11.45.5)
     configuration: --prefix=/usr/local/Cellar/ffmpeg/4.1.3 --enable-shared --enable-pthreads --enable-version3 --enable-hardcoded-tables --enable-avresample --cc=clang --host-cflags='-I/Library/Java/JavaVirtualMachines/openjdk-12.jdk/Contents/Home/include -I/Library/Java/JavaVirtualMachines/openjdk-12.jdk/Contents/Home/include/darwin' --host-ldflags= --enable-ffplay --enable-gnutls --enable-gpl --enable-libaom --enable-libbluray --enable-libmp3lame --enable-libopus --enable-librubberband --enable-libsnappy --enable-libtesseract --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 --enable-libxvid --enable-lzma --enable-libfontconfig --enable-libfreetype --enable-frei0r --enable-libass --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-librtmp --enable-libspeex --enable-videotoolbox --disable-libjack --disable-indev=jack --enable-libaom --enable-libsoxr
     libavutil      56. 22.100 / 56. 22.100
     libavcodec     58. 35.100 / 58. 35.100
     libavformat    58. 20.100 / 58. 20.100
     libavdevice    58.  5.100 / 58.  5.100
     libavfilter     7. 40.101 /  7. 40.101
     libavresample   4.  0.  0 /  4.  0.  0
     libswscale      5.  3.100 /  5.  3.100
     libswresample   3.  3.100 /  3.  3.100
     libpostproc    55.  3.100 / 55.  3.100
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'wireframe-spendo.mov':
     Metadata:
       major_brand     : qt  
       minor_version   : 0
       compatible_brands: qt  
       creation_time   : 2019-04-17T09:38:24.000000Z
       com.apple.quicktime.make: Apple
       com.apple.quicktime.model: iMac12,2
       com.apple.quicktime.software: Mac OS X 10.13.6 (17G6029)
       com.apple.quicktime.creationdate: 2019-04-17T11:37:00+0200
     Duration: 00:00:16.42, start: 0.000000, bitrate: 3170 kb/s
       Stream #0:0(und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p(tv, bt709), 1476x1074 [SAR 1:1 DAR 246:179], 3163 kb/s, 60 fps, 60 tbr, 6k tbn, 12k tbc (default)
       Metadata:
         creation_time   : 2019-04-17T09:38:24.000000Z
         handler_name    : Core Media Video
         encoder         : H.264

    output terminal says :

    Invalid file index 1 in filtergraph description fps=25,scale=800:600:flags=lanczos[x],[x][1:v]paletteuse.
  • streaming an mkv file while processing with ffmpeg

    2 avril 2019, par Phani Rithvij

    What I want to do :

    • I want to play an mkv video in Firefox.
    • But Firefox doesn’t support the mkv format.

    So I’ve searched a lot and found that,
    I could stream instead of playing the video following these steps.

    • mkv can be converted to an m3u8 using FFmpeg
    • The m3u8 points towards ts segment files
    • then use hls.js on the browser side to play the video

    But the catch is I want to do this programmatically.

    What I actually want to do :

    Steps

    • the client uploads a huge (>1 GB) mkv file to the client’s server (server is the client’s machine itself)

    • after the upload is done,

    • client requests to play the video.

    • the server starts transcoding and sends the client the m3u8 stream immediately instead of making the client wait for the transcoding to complete.

    • the client should be able to seek the video. (the most IMPORTANT part)

    It is possible as Emby and Plex both have implemented it.

    I was able to get this to work in chrome as it supports playing some mkv files.
    I wrote a node js server that accepts Range header and pseudo-streams the video.

    A gist

    But as I’ve mentioned Firefox says NO to mkv.

    So I tried the hls thing but I couldn’t quite get the command to generate the stream and also play on the fly.

    I started this on a command line

    ffmpeg -i ../stream.mkv -hls_list_size 0 -acodec copy -vcodec copy file.m3u8

    and a simple http-server on another shell instance

    My index.html file

       
       
           <code class="echappe-js">&lt;script src='http://stackoverflow.com/feeds/tag/hls.js'&gt;&lt;/script&gt;

    &lt;script&gt;<br />
               var video = document.getElementById('video');<br />
               if(Hls.isSupported()) {<br />
                   var hls = new Hls();<br />
                   hls.loadSource('file.m3u8');<br />
                   hls.attachMedia(video);<br />
                   hls.on(Hls.Events.MANIFEST_PARSED,function() {<br />
                       video.play();<br />
                   });<br />
               } else if (video.canPlayType('application/vnd.apple.mpegurl')) {<br />
                   video.src = 'file.m3u8';<br />
                   video.addEventListener('loadedmetadata',function() {<br />
                       video.play();<br />
                   });<br />
               }<br />
           &lt;/script&gt;

    and while it was running I went ahead and requested the server.

    I was able to get the video but It only seeks as far it’s converted into the ts files.

    And it’s random and the video length keeps increasing. It won’t play sometimes and after the FFmpeg is done converting to m3u8 the video plays if I refresh the webpage.

    I think this has to do with the continuous overwriting of the m3u8 file.
    is there a way to predetermine the file contents of m3u8 and fill it up ?

    I want to be able to seek even further and somehow spawn another FFmpeg process
    to start from that timestamp of the video ? How could I approach the seeking part ?

    So what I’d like to do again is

    • I want to request the server to play a video file
    • It spawns a child process FFmpeg that does the transcoding
    • Sends the client the stream
    • The client should be able to seek to the end and it should play the thing.