
Recherche avancée
Médias (5)
-
ED-ME-5 1-DVD
11 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Audio
-
Revolution of Open-source and film making towards open film making
6 octobre 2011, par
Mis à jour : Juillet 2013
Langue : English
Type : Texte
-
Valkaama DVD Cover Outside
4 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Image
-
Valkaama DVD Label
4 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Image
-
Valkaama DVD Cover Inside
4 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Image
Autres articles (73)
-
Use, discuss, criticize
13 avril 2011, parTalk 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, parCertains 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 2013Jolie 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 OlehI 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) {
 String outputVideoPath = Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_DOWNLOADS) + "/" + Calendar.getInstance().getTimeInMillis() + ".mp4";
 try {
 StringBuilder strCommand = new StringBuilder();

 int size = pathList.size();

 for (int i = 0; i < size; i++) {
 strCommand.append("-framerate 8 -i '")
 .append(pathList.get(i))
 .append("' ");
 }

 strCommand.append("-filter_complex \"");

 for (int i = 0; i < size; i++) {
 strCommand.append("[")
 .append(i)
 .append(":v]setpts=PTS-STARTPTS+1[v")
 .append(i)
 .append("];");
 }


 for (int i = 0; i < size; i++) {
 strCommand.append("[v")
 .append(i)
 .append("]");
 }
 strCommand.append("concat=n=")
 .append(size)
 .append(":v=1:a=0,format=yuv420p\" -r 30 -b:v 4M -preset veryfast '")
 .append(outputVideoPath)
 .append("'");
 
 FFmpegKit.executeAsync(strCommand.toString(), new FFmpegSessionCompleteCallback() {
 @Override
 public void apply(FFmpegSession session) {
 SessionState state = session.getState();
 ReturnCode returnCode = session.getReturnCode();

 // CALLED WHEN SESSION IS EXECUTED
 Log.d("IPRIPR", String.format("FFmpeg process exited with state %s and rc %s.%s", state, returnCode, session.getFailStackTrace()));
 }
 }, new LogCallback() {
 @Override
 public void apply(com.arthenica.ffmpegkit.Log log) {

 // CALLED WHEN SESSION PRINTS LOGS

 }
 }, new StatisticsCallback() {
 @Override
 public void apply(Statistics statistics) {

 }
 });

 } catch (Exception e) {
 }
 }
</string>


-
When i build x264 and fdk-aac with android-ndk it comes unknown option —target-os=android, ignored
4 avril 2020, par Pradeep SimbaWhen I build x264 and fdk-aac with android-ndk it comes unknown option —target-os=android, ignored.



my build file.






How can I solve this ?


-
Mac app crash : Termination Reason : Namespace CODESIGNING, Code 0x2 [closed]
29 janvier 2020, par dummyappsThe 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 :
-
I rebuild the source code, It still crash.
-
It only crash on Mac OS 10.15, it works fine on 10.13
-
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.
-
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_NOTIFYTermination 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=PRVThread 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 + 1Thread 1 :
0 libsystem_pthread.dylib 0x00007fff6a045818 start_wqthread + 0Thread 2 :
0 libsystem_pthread.dylib 0x00007fff6a045818 start_wqthread + 0Thread 3 Crashed: : Dispatch queue : com.dummyapps.videoBrowser.screenshot
0 ??? 0x00000001134b5000 0 + 4618670080
1 com.dummyapp.VideoBrowserLite 0x000000010f728510 0x10f6d9000 + 324880
-