Recherche avancée

Médias (5)

Mot : - Tags -/open film making

Autres articles (73)

  • Use, discuss, criticize

    13 avril 2011, par

    Talk to people directly involved in MediaSPIP’s development, or to people around you who could use MediaSPIP to share, enhance or develop their creative projects.
    The bigger the community, the more MediaSPIP’s potential will be explored and the faster the software will evolve.
    A discussion list is available for all exchanges between users.

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

  • Amélioration de la version de base

    13 septembre 2013

    Jolie sélection multiple
    Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
    Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)

Sur d’autres sites (8635)

  • How do I add text and watermark to each image using FFmpeg ?

    14 novembre 2023, par Oleh

    I wrote a small code that converts several images to video using com.arthenica:ffmpeg-kit-full:6.0-2 and everything works, but I need to add text to each image and place a watermarked photo on it and I can't implement it. Could you please help me with this ?

    


    Here is the code that converts an array of images into a video :

    


    public void ImagesToVideo(ArrayList<string> pathList) {&#xA;        String outputVideoPath = Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_DOWNLOADS) &#x2B; "/" &#x2B; Calendar.getInstance().getTimeInMillis() &#x2B; ".mp4";&#xA;        try {&#xA;            StringBuilder strCommand = new StringBuilder();&#xA;&#xA;            int size = pathList.size();&#xA;&#xA;            for (int i = 0; i &lt; size; i&#x2B;&#x2B;) {&#xA;                strCommand.append("-framerate 8 -i &#x27;")&#xA;                        .append(pathList.get(i))&#xA;                        .append("&#x27; ");&#xA;            }&#xA;&#xA;            strCommand.append("-filter_complex \"");&#xA;&#xA;            for (int i = 0; i &lt; size; i&#x2B;&#x2B;) {&#xA;                strCommand.append("[")&#xA;                        .append(i)&#xA;                        .append(":v]setpts=PTS-STARTPTS&#x2B;1[v")&#xA;                        .append(i)&#xA;                        .append("];");&#xA;            }&#xA;&#xA;&#xA;            for (int i = 0; i &lt; size; i&#x2B;&#x2B;) {&#xA;                strCommand.append("[v")&#xA;                        .append(i)&#xA;                        .append("]");&#xA;            }&#xA;            strCommand.append("concat=n=")&#xA;                    .append(size)&#xA;                    .append(":v=1:a=0,format=yuv420p\" -r 30 -b:v 4M -preset veryfast &#x27;")&#xA;                    .append(outputVideoPath)&#xA;                    .append("&#x27;");&#xA;            &#xA;            FFmpegKit.executeAsync(strCommand.toString(), new FFmpegSessionCompleteCallback() {&#xA;                @Override&#xA;                public void apply(FFmpegSession session) {&#xA;                    SessionState state = session.getState();&#xA;                    ReturnCode returnCode = session.getReturnCode();&#xA;&#xA;                    // CALLED WHEN SESSION IS EXECUTED&#xA;                    Log.d("IPRIPR", String.format("FFmpeg process exited with state %s and rc %s.%s", state, returnCode, session.getFailStackTrace()));&#xA;                }&#xA;            }, new LogCallback() {&#xA;                @Override&#xA;                public void apply(com.arthenica.ffmpegkit.Log log) {&#xA;&#xA;                    // CALLED WHEN SESSION PRINTS LOGS&#xA;&#xA;                }&#xA;            }, new StatisticsCallback() {&#xA;                @Override&#xA;                public void apply(Statistics statistics) {&#xA;&#xA;                }&#xA;            });&#xA;&#xA;        } catch (Exception e) {&#xA;        }&#xA;    }&#xA;</string>

    &#xA;

  • When i build x264 and fdk-aac with android-ndk it comes unknown option —target-os=android, ignored

    4 avril 2020, par Pradeep Simba

    When I build x264 and fdk-aac with android-ndk it comes unknown option —target-os=android, ignored.

    &#xA;&#xA;

    my build file.

    &#xA;&#xA;

    enter image description here&#xA;enter image description here

    &#xA;&#xA;

    How can I solve this ?

    &#xA;

  • 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