Recherche avancée

Médias (5)

Mot : - Tags -/open film making

Autres articles (111)

  • Script d’installation automatique de MediaSPIP

    25 avril 2011, par

    Afin de palier aux difficultés d’installation dues principalement aux dépendances logicielles coté serveur, un script d’installation "tout en un" en bash a été créé afin de faciliter cette étape sur un serveur doté d’une distribution Linux compatible.
    Vous devez bénéficier d’un accès SSH à votre serveur et d’un compte "root" afin de l’utiliser, ce qui permettra d’installer les dépendances. Contactez votre hébergeur si vous ne disposez pas de cela.
    La documentation de l’utilisation du script d’installation (...)

  • Automated installation script of MediaSPIP

    25 avril 2011, par

    To overcome the difficulties mainly due to the installation of server side software dependencies, an "all-in-one" installation script written in bash was created to facilitate this step on a server with a compatible Linux distribution.
    You must have access to your server via SSH and a root account to use it, which will install the dependencies. Contact your provider if you do not have that.
    The documentation of the use of this installation script is available here.
    The code of this (...)

  • Que fait exactement ce script ?

    18 janvier 2011, par

    Ce script est écrit en bash. Il est donc facilement utilisable sur n’importe quel serveur.
    Il n’est compatible qu’avec une liste de distributions précises (voir Liste des distributions compatibles).
    Installation de dépendances de MediaSPIP
    Son rôle principal est d’installer l’ensemble des dépendances logicielles nécessaires coté serveur à savoir :
    Les outils de base pour pouvoir installer le reste des dépendances Les outils de développements : build-essential (via APT depuis les dépôts officiels) ; (...)

Sur d’autres sites (11388)

  • Mac app crash : Termination Reason : Namespace CODESIGNING, Code 0x2 [closed]

    29 janvier 2020, par dummyapps

    The app always works fine, but it suddenly crashes this evening and report "Namespace CODESIGNING, Code 0x2", I have no idea why, the code worked for several year, it seems that certain certificate invalid.

    This app use FFmpeg library to snapshot video, I did some test on it :

    1. I rebuild the source code, It still crash.

    2. It only crash on Mac OS 10.15, it works fine on 10.13

    3. I use atos to analyse the crash report, the output of atos indicate that FFmpeg library failed, but it should not. The code works for several year, I don’t think the code has bug.

    4. I submit a Technical Support to Apple developer, they also have no idea why.

      System Integrity Protection : enabled

      Crashed Thread : 3 Dispatch queue : com.dummyapps.videoBrowser.screenshot

      Exception Type : EXC_BAD_ACCESS (Code Signature Invalid)
      Exception Codes : 0x0000000000000032, 0x00000001134b5000
      Exception Note : EXC_CORPSE_NOTIFY

      Termination Reason : Namespace CODESIGNING, Code 0x2

      kernel messages :

      VM Regions Near 0x1134b5000 :
      CoreAnimation 00000001134ac000-00000001134b2000 [ 24K] rw-/rwx SM=PRV

      — > VM_ALLOCATE 00000001134b5000-00000001134b6000 [ 4K] r-x/rwx SM=PRV
      CoreAnimation 00000001134b6000-00000001134ba000 [ 16K] rw-/rwx SM=PRV

      Thread 0: : Dispatch queue : com.apple.main-thread
      0 libsystem_kernel.dylib 0x00007fff69f8625a mach_msg_trap + 10
      1 libsystem_kernel.dylib 0x00007fff69f865d0 mach_msg + 60
      2 com.apple.CoreFoundation 0x00007fff327ead0b __CFRunLoopServiceMachPort + 322
      3 com.apple.CoreFoundation 0x00007fff327e98e7 __CFRunLoopRun + 1695
      4 com.apple.CoreFoundation 0x00007fff327e8bd3 CFRunLoopRunSpecific + 499
      5 com.apple.HIToolbox 0x00007fff3133f65d RunCurrentEventLoopInMode + 292
      6 com.apple.HIToolbox 0x00007fff3133f39d ReceiveNextEventCommon + 600
      7 com.apple.HIToolbox 0x00007fff3133f127 _BlockUntilNextEventMatchingListInModeWithFilter + 64
      8 com.apple.AppKit 0x00007fff2f9b0eb4 _DPSNextEvent + 990
      9 com.apple.AppKit 0x00007fff2f9af690 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue :] + 1352
      10 com.apple.AppKit 0x00007fff2f9a13ae -[NSApplication run] + 658
      11 com.apple.AppKit 0x00007fff2f973775 NSApplicationMain + 777
      12 libdyld.dylib 0x00007fff69e457fd start + 1

      Thread 1 :
      0 libsystem_pthread.dylib 0x00007fff6a045818 start_wqthread + 0

      Thread 2 :
      0 libsystem_pthread.dylib 0x00007fff6a045818 start_wqthread + 0

      Thread 3 Crashed: : Dispatch queue : com.dummyapps.videoBrowser.screenshot
      0 ??? 0x00000001134b5000 0 + 4618670080
      1 com.dummyapp.VideoBrowserLite 0x000000010f728510 0x10f6d9000 + 324880

  • Failed to run the ffmpeg binary : The process "ffmpeg exceeded the timeout of 60 seconds

    6 janvier 2024, par Sufian The Geek

    I am using FSPOSTER wordpress plugin to share videos on instagram as a reels and story. I have installed wordpress on amazon aws ec2 t2.micro. FsPoster required FFmpeg plugin to work with the videos.

    


    Whenever I share the video, I get error after 60 seconds. There are some videos that are easily getting shared as a reel and story. I looked into the plugin code and changed every single timeout function value to 300 seconds including php.ini file. There are some libraries like symfony in the plugin, I also changed the timeout 60 sec to 300 seconds. Restarted the server and all but still getting the error.

    


    


    Failed to run the ffmpeg binary : The process "'ffmpeg' -v error -y -i '/opt/bitnami/wordpress/wp-content/uploads/2024/01/videoWater-First-18.mp4' -vf 'crop=w=1280:h=720:x=0:y=0' -metadata:s:v rotate="" -f mp4 -c:v libx264 -preset fast -crf 24 -strict -2 -c:a aac -b:a 96k '/tmp/fs_65994ac0ddf8b.mp4'" exceeded the timeout of 60 seconds.

    


    


    I am using bitnami wordpress on ec3 aws t2.micro that has 1 vcpu and 1 GB ram. I also switched to 2 vcpu and 8 gb ram but still this timeout issue.

    


  • How can we reduce the size of audio file after uploading ?

    8 novembre 2019, par Arjun Pujari

    I have used this command in the terminal to install the package : composer require pbmedia/laravel-ffmpeg. The package is successfully downloaded, but I don’t know how to use it. I don’t even know if this package can also reduce the audio file size or not.

    Anyone know any other library or package ?

       
           <form action="{{route('upload')}}" method="post" enctype="multipart/form-data">
               Select Audio to upload:
               <input type="file" />
               <input type="submit" value="upload MP3" />
           </form>
       


    &lt;?php

    Here is my controller. Write basic code for save file :

    namespace App\Http\Controllers;

    use Illuminate\Http\Request;
    use Pbmedia\LaravelFFMpeg\FFMpeg;

    class FileCompress extends Controller
    {  
       public function compressFile(Request $request)
       {
             $uploadFileName = mt_rand().time(). '.' . $file->getClientOriginalExtension();
             $filetype = substr($file->getClientMimeType(), 0, strpos($file->getClientMimeType(), "/"));

           if($filetype == 'video'){

             $localpath =  public_path().'/videos/'.$uploadFileName;
            //code for video file compress.
           }else{
             //code for audio file compress.
           }
       }
    }

    But I need to reduce the audio file size when a file is uploaded or reduce the file size immediately after the file upload. How can i do that ?