Recherche avancée

Médias (1)

Mot : - Tags -/ogg

Autres articles (61)

  • Mise à disposition des fichiers

    14 avril 2011, par

    Par défaut, lors de son initialisation, MediaSPIP ne permet pas aux visiteurs de télécharger les fichiers qu’ils soient originaux ou le résultat de leur transformation ou encodage. Il permet uniquement de les visualiser.
    Cependant, il est possible et facile d’autoriser les visiteurs à avoir accès à ces documents et ce sous différentes formes.
    Tout cela se passe dans la page de configuration du squelette. Il vous faut aller dans l’espace d’administration du canal, et choisir dans la navigation (...)

  • 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

  • Problèmes fréquents

    10 mars 2010, par

    PHP et safe_mode activé
    Une des principales sources de problèmes relève de la configuration de PHP et notamment de l’activation du safe_mode
    La solution consiterait à soit désactiver le safe_mode soit placer le script dans un répertoire accessible par apache pour le site

Sur d’autres sites (8268)

  • Get PiD of a program created by CreateProcess in Delphi

    10 avril 2014, par Helios

    i use delphi XE3 i call cmd and open ffmpeg in a thread and pass commands to it

    i would like to run 5 thread or more at same time

    procedure RunFF.Execute;
    var

     SecAtrrs: TSecurityAttributes;
     StartupInfo: TStartupInfo;
     ProcessInfo: TProcessInformation;
     StdOutPipeRead, StdOutPipeWrite: THandle;
     WasOK: Boolean;
     pCommandLine: array[0..255] of AnsiChar;
     BytesRead: Cardinal;
     WorkDir,result: string;
     Handle: Boolean;
    begin
     Result := '';
     workdir :='C:\Users\M\Desktop\ffmpeg\bin';
     with SecAtrrs do begin
       nLength := SizeOf(SecAtrrs);
       bInheritHandle := True;
       lpSecurityDescriptor := nil;
     end;
     CreatePipe(StdOutPipeRead, StdOutPipeWrite, @SecAtrrs, 0);
     try
       with StartupInfo do
       begin
         FillChar(StartupInfo, SizeOf(StartupInfo), 0);
         cb := SizeOf(StartupInfo);
         dwFlags := STARTF_USESHOWWINDOW or STARTF_USESTDHANDLES;
         wShowWindow := SW_HIDE;
         hStdInput := GetStdHandle(STD_INPUT_HANDLE); // don't redirect stdin
         hStdOutput := StdOutPipeWrite;
         hStdError := StdOutPipeWrite;
       end;
    //   WorkDir := Work;
       Handle := CreateProcess(nil, PChar('cmd.exe /C ' + cmd2),
                               nil, nil, True, 0, nil,
                               PChar(WorkDir), StartupInfo, ProcessInfo);

       CloseHandle(StdOutPipeWrite);
       if Handle then
         try
           repeat
             WasOK := ReadFile(StdOutPipeRead, pCommandLine, 255, BytesRead, nil);
             if BytesRead > 0 then
             begin
               pCommandLine[BytesRead] := #0;
               Result := Result + pCommandLine;
               form3.Memo1.Text := result;
             end;
           until not WasOK or (BytesRead = 0);
           WaitForSingleObject(ProcessInfo.hProcess, INFINITE);
         finally
           CloseHandle(ProcessInfo.hThread);
           CloseHandle(ProcessInfo.hProcess);
         end;
     finally
       CloseHandle(StdOutPipeRead);
     end;


    end;

    how do i get the PiD of the ffmpeg or cmd so i can kill it !! because when i close my application cmd and ffmpeg keep running ..

  • How to apply filter to video using ffmpeg c program android ndk

    13 juillet 2016, par Rajkumar

    I am newbie to ffmpeg with android. I have an input video birds.mp4 that have following settings

    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'birds.mp4':
     Metadata:
       major_brand     : isom
       minor_version   : 512
       compatible_brands: isomiso2avc1mp41
       encoder         : Lavf54.59.106
     Duration: 00:00:21.60, start: 0.000000, bitrate: 574 kb/s
       Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 320x176 [
    SAR 44:45 DAR 16:9], 440 kb/s, 25 fps, 25 tbr, 12800 tbn, 50 tbc (default)
       Metadata:
         handler_name    : VideoHandler
       Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, flt
    p, 127 kb/s (default)
       Metadata:
         handler_name    : SoundHandler

    I have compiled ffmpeg with libx264 as *.so file for android. And i write a Jni wrapper. Now I want to apply a filter to that input video and save it to output.mp4 with same setting as shown. I know basic terminologies encoding, decoding, muxing, transcoding.
    I want to know How to do this task ? and What are the techniques involved to do this task ?

    I use ffmpeg-3.1 c-source code grabbed from github and x264 from videolan site. i refer this sample it doesn’t guide me.

    If anybody experienced this problem please guide me right direction.

  • I'm trying to use FFmpeg with command prompt in my python program, but it doesnt execute [on hold]

    26 mai 2018, par MilkToast

    I’ve tried to do it a bunch of different ways but each time it execute. The line works fine in the command prompt, but I cant get it to work from python.

    check_output(r"ffmpeg -i C:\Users\jared\Desktop\Rev\videosnshit\howto.mp4 -vn -ar 44100 -ac 1 -b:a 32k -f wav audio.wav", shell=True)

    // This is the bit that works fine in command prompt :

    ffmpeg -i C:\Users\jared\Desktop\Rev\videosnshit\howto.mp4 -vn -ar 44100 -ac 1 -b:a 32k -f wav audio.wav

    I’m probably being dumb, so any help would be great ! thanks !