
Recherche avancée
Médias (1)
-
Video d’abeille en portrait
14 mai 2011, par
Mis à jour : Février 2012
Langue : français
Type : Video
Autres articles (89)
-
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 (...) -
Emballe médias : à quoi cela sert ?
4 février 2011, parCe plugin vise à gérer des sites de mise en ligne de documents de tous types.
Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ; -
Menus personnalisés
14 novembre 2010, parMediaSPIP utilise le plugin Menus pour gérer plusieurs menus configurables pour la navigation.
Cela permet de laisser aux administrateurs de canaux la possibilité de configurer finement ces menus.
Menus créés à l’initialisation du site
Par défaut trois menus sont créés automatiquement à l’initialisation du site : Le menu principal ; Identifiant : barrenav ; Ce menu s’insère en général en haut de la page après le bloc d’entête, son identifiant le rend compatible avec les squelettes basés sur Zpip ; (...)
Sur d’autres sites (15748)
-
ffmpeg taking too much time to compress videos in a nest Js project [closed]
30 août 2023, par SheerazI am trying to read a video as a stream from firebase and compress it using ffmpeg an it is too much time for the job to complete such that my call breaks before its done and I am getting socket hangup error. I have tried to increase the timeout of the call to 540s but it is still not enought for the job to be done. The framework I am using is nestJs with react as front-end. This is a web-app and the feature I am working on is a video recording functionality.


Here is the code I am trying to run. The library I am using is "fluent-ffmpeg" : "^2.1.2", and
"ffmpeg" : "^0.0.4",


const bucket = storage.bucket('my-bucket.appspot.com');
 const filePath = 'videos/video.mp4'; // Replace with the full path to your file
 const videoFile = bucket.file(filePath);
 const readStream = videoFile.createReadStream();
const ffmpegCommand = ffmpeg();
 ffmpegCommand.input(readStream);
 ffmpegCommand
 .outputOptions([
 '-preset ultrafast',
 '-c:v libx264',
 '-c:a aac',
 '-vf scale=640:480',
 ])
 .format('wav');
const outputStream = await ffmpegCommand.pipe();



-
Process terminates by signal calling ffmpeg part in Android NDK project
29 août 2013, par ÁlvaroAccording to this blog post I've build my Android ffmpeg project. I've written the native code from my Java code with the static library and the jni functions.
When I run this part of code I obtain the next logcat, any idea of why my process terminates by signal ?03-14 11:16:06.488: I/DEBUG(31): *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
03-14 11:16:06.488: I/DEBUG(31): Build fingerprint: generic/google_sdk/generic:2.3.4/GINGERBREAD/123630:eng/test-keys'
03-14 11:16:06.488: I/DEBUG(31): pid: 377, tid: 377 >>> com.testffmpeg <<<
03-14 11:16:06.488: I/DEBUG(31): signal 4 (SIGILL), code 1 (ILL_ILLOPC), fault addr 80a98f10
03-14 11:16:06.488: I/DEBUG(31): r0 002b0030 r1 80b1c410 r2 00030d40 r3 00000000
03-14 11:16:06.488: I/DEBUG(31): r4 00000000 r5 002b0030 r6 00000010 r7 00000010
03-14 11:16:06.488: I/DEBUG(31): r8 be877308 r9 7fffffff 10 80b1bea0 fp 00000000
03-14 11:16:06.488: I/DEBUG(31): ip be8772f0 sp be8772d0 lr 80a99d64 pc 80a98f10 cpsr 60000010
03-14 11:16:06.568: I/DEBUG(31): #00 pc 00298f10 /data/data/com.testffmpeg/lib/libffmpeg.so
03-14 11:16:06.568: I/DEBUG(31): #01 lr 80a99d64 /data/data/com.testffmpeg/lib/libffmpeg.so
03-14 11:16:06.568: I/DEBUG(31): code around pc:
03-14 11:16:06.568: I/DEBUG(31): 80a98ef0 eaffff9e 0009304c fffeffe4 e92d4010
03-14 11:16:06.568: I/DEBUG(31): 80a98f00 e24dd020 e28dc020 e3a04000 e1cd20f8
03-14 11:16:06.568: I/DEBUG(31): 80a98f10 e3003000 e52c4004 e3a02000 e3433ff0
03-14 11:16:06.568: I/DEBUG(31): 80a98f20 e58dc010 e3a0c001 e58dc000 ebffff77
03-14 11:16:06.568: I/DEBUG(31): 80a98f30 e1500004 b1a00004 a59d001c e28dd020
03-14 11:16:06.568: I/DEBUG(31): code around lr:
03-14 11:16:06.568: I/DEBUG(31): 80a99d44 ed947b04 e1a00005 e5941000 eefd7bc7
03-14 11:16:06.568: I/DEBUG(31): 80a99d54 ee17ca90 e1a0200c e1a03fc2 ebfffc65
03-14 11:16:06.568: I/DEBUG(31): 80a99d64 eaffffb8 e1c421d0 e1a00008 e58d9000
03-14 11:16:06.568: I/DEBUG(31): 80a99d74 eb0008cc e1a00005 e5941000 e898000c
03-14 11:16:06.568: I/DEBUG(31): 80a99d84 ebfffc6e eaffffaf e1a00005 e3a01030
03-14 11:16:06.568: I/DEBUG(31): stack:
03-14 11:16:06.568: I/DEBUG(31): be877290 001f9a98 [heap]
03-14 11:16:06.568: I/DEBUG(31): be877294 0008ced8 [heap]
03-14 11:16:06.568: I/DEBUG(31): be877298 00000005<br />
03-14 11:16:06.578: I/DEBUG(31): be87729c a8114ca9 /system/lib/libutils.so
03-14 11:16:06.578: I/DEBUG(31): be8772a0 001f9a48 [heap]
03-14 11:16:06.578: I/DEBUG(31): be8772a4 be8772cc<br />
03-14 11:16:06.578: I/DEBUG(31): be8772a8 fffffffc<br />
03-14 11:16:06.578: I/DEBUG(31): be8772ac 00000000<br />
03-14 11:16:06.578: I/DEBUG(31): be8772b0 be8772cc<br />
03-14 11:16:06.578: I/DEBUG(31): be8772b4 a821a33d /system/lib/libbinder.so
03-14 11:16:06.578: I/DEBUG(31): be8772b8 00271270 [heap]
03-14 11:16:06.578: I/DEBUG(31): be8772bc a821a9d5 /system/lib/libbinder.so
03-14 11:16:06.578: I/DEBUG(31): be8772c0 00000030<br />
03-14 11:16:06.578: I/DEBUG(31): be8772c4 00000000<br />
03-14 11:16:06.578: I/DEBUG(31): be8772c8 df002777<br />
03-14 11:16:06.578: I/DEBUG(31): be8772cc e3a070ad<br />
03-14 11:16:06.578: I/DEBUG(31): #00 be8772d0 00000000<br />
03-14 11:16:06.578: I/DEBUG(31): be8772d4 afd10f08 /system/lib/libc.so
03-14 11:16:06.578: I/DEBUG(31): be8772d8 00030d40 [heap]
03-14 11:16:06.578: I/DEBUG(31): be8772dc 00000000<br />
03-14 11:16:06.578: I/DEBUG(31): be8772e0 000000da<br />
03-14 11:16:06.578: I/DEBUG(31): be8772e4 00000008<br />
03-14 11:16:06.578: I/DEBUG(31): be8772e8 000001b4<br />
03-14 11:16:06.578: I/DEBUG(31): be8772ec c0000000<br />
03-14 11:16:06.578: I/DEBUG(31): be8772f0 80b24938 /data/data/com.testffmpeg/lib/libffmpeg.so
03-14 11:16:06.578: I/DEBUG(31): be8772f4 80a99d64 /data/data/com.testffmpeg/lib/libffmpeg.so
03-14 11:16:06.578: I/DEBUG(31): be8772f8 00000000<br />
03-14 11:16:06.578: I/DEBUG(31): be8772fc afd1386d /system/lib/libc.so
03-14 11:16:06.578: I/DEBUG(31): be877300 00000000<br />
03-14 11:16:06.578: I/DEBUG(31): be877304 80b1be7c /data/data/com.testffmpeg/lib/libffmpeg.so
03-14 11:16:06.578: I/DEBUG(31): be877308 002b0028 [heap]
03-14 11:16:06.578: I/DEBUG(31): be87730c 00000000<br />
03-14 11:16:06.578: I/DEBUG(31): be877310 00000003<br />
03-14 11:16:06.578: I/DEBUG(31): be877314 00000000<br />
03-14 11:16:07.118: D/Zygote(33): Process 377 terminated by signal (4) -
Process terminates by signal calling ffmpeg part in Android NDK project
6 juillet 2023, par ÁlvaroAccording to this blog post I've build my Android ffmpeg project. I've written the native code from my Java code with the static library and the jni functions.
When I run this part of code I obtain the next logcat, any idea of why my process terminates by signal ?


03-14 11:16:06.488: I/DEBUG(31): *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
03-14 11:16:06.488: I/DEBUG(31): Build fingerprint: generic/google_sdk/generic:2.3.4/GINGERBREAD/123630:eng/test-keys'
03-14 11:16:06.488: I/DEBUG(31): pid: 377, tid: 377 >>> com.testffmpeg <<<
03-14 11:16:06.488: I/DEBUG(31): signal 4 (SIGILL), code 1 (ILL_ILLOPC), fault addr 80a98f10
03-14 11:16:06.488: I/DEBUG(31): r0 002b0030 r1 80b1c410 r2 00030d40 r3 00000000
03-14 11:16:06.488: I/DEBUG(31): r4 00000000 r5 002b0030 r6 00000010 r7 00000010
03-14 11:16:06.488: I/DEBUG(31): r8 be877308 r9 7fffffff 10 80b1bea0 fp 00000000
03-14 11:16:06.488: I/DEBUG(31): ip be8772f0 sp be8772d0 lr 80a99d64 pc 80a98f10 cpsr 60000010
03-14 11:16:06.568: I/DEBUG(31): #00 pc 00298f10 /data/data/com.testffmpeg/lib/libffmpeg.so
03-14 11:16:06.568: I/DEBUG(31): #01 lr 80a99d64 /data/data/com.testffmpeg/lib/libffmpeg.so
03-14 11:16:06.568: I/DEBUG(31): code around pc:
03-14 11:16:06.568: I/DEBUG(31): 80a98ef0 eaffff9e 0009304c fffeffe4 e92d4010 
03-14 11:16:06.568: I/DEBUG(31): 80a98f00 e24dd020 e28dc020 e3a04000 e1cd20f8 
03-14 11:16:06.568: I/DEBUG(31): 80a98f10 e3003000 e52c4004 e3a02000 e3433ff0 
03-14 11:16:06.568: I/DEBUG(31): 80a98f20 e58dc010 e3a0c001 e58dc000 ebffff77 
03-14 11:16:06.568: I/DEBUG(31): 80a98f30 e1500004 b1a00004 a59d001c e28dd020 
03-14 11:16:06.568: I/DEBUG(31): code around lr:
03-14 11:16:06.568: I/DEBUG(31): 80a99d44 ed947b04 e1a00005 e5941000 eefd7bc7 
03-14 11:16:06.568: I/DEBUG(31): 80a99d54 ee17ca90 e1a0200c e1a03fc2 ebfffc65 
03-14 11:16:06.568: I/DEBUG(31): 80a99d64 eaffffb8 e1c421d0 e1a00008 e58d9000 
03-14 11:16:06.568: I/DEBUG(31): 80a99d74 eb0008cc e1a00005 e5941000 e898000c 
03-14 11:16:06.568: I/DEBUG(31): 80a99d84 ebfffc6e eaffffaf e1a00005 e3a01030 
03-14 11:16:06.568: I/DEBUG(31): stack:
03-14 11:16:06.568: I/DEBUG(31): be877290 001f9a98 [heap]
03-14 11:16:06.568: I/DEBUG(31): be877294 0008ced8 [heap]
03-14 11:16:06.568: I/DEBUG(31): be877298 00000005 
03-14 11:16:06.578: I/DEBUG(31): be87729c a8114ca9 /system/lib/libutils.so
03-14 11:16:06.578: I/DEBUG(31): be8772a0 001f9a48 [heap]
03-14 11:16:06.578: I/DEBUG(31): be8772a4 be8772cc 
03-14 11:16:06.578: I/DEBUG(31): be8772a8 fffffffc 
03-14 11:16:06.578: I/DEBUG(31): be8772ac 00000000 
03-14 11:16:06.578: I/DEBUG(31): be8772b0 be8772cc 
03-14 11:16:06.578: I/DEBUG(31): be8772b4 a821a33d /system/lib/libbinder.so
03-14 11:16:06.578: I/DEBUG(31): be8772b8 00271270 [heap]
03-14 11:16:06.578: I/DEBUG(31): be8772bc a821a9d5 /system/lib/libbinder.so
03-14 11:16:06.578: I/DEBUG(31): be8772c0 00000030 
03-14 11:16:06.578: I/DEBUG(31): be8772c4 00000000 
03-14 11:16:06.578: I/DEBUG(31): be8772c8 df002777 
03-14 11:16:06.578: I/DEBUG(31): be8772cc e3a070ad 
03-14 11:16:06.578: I/DEBUG(31): #00 be8772d0 00000000 
03-14 11:16:06.578: I/DEBUG(31): be8772d4 afd10f08 /system/lib/libc.so
03-14 11:16:06.578: I/DEBUG(31): be8772d8 00030d40 [heap]
03-14 11:16:06.578: I/DEBUG(31): be8772dc 00000000 
03-14 11:16:06.578: I/DEBUG(31): be8772e0 000000da 
03-14 11:16:06.578: I/DEBUG(31): be8772e4 00000008 
03-14 11:16:06.578: I/DEBUG(31): be8772e8 000001b4 
03-14 11:16:06.578: I/DEBUG(31): be8772ec c0000000 
03-14 11:16:06.578: I/DEBUG(31): be8772f0 80b24938 /data/data/com.testffmpeg/lib/libffmpeg.so
03-14 11:16:06.578: I/DEBUG(31): be8772f4 80a99d64 /data/data/com.testffmpeg/lib/libffmpeg.so
03-14 11:16:06.578: I/DEBUG(31): be8772f8 00000000 
03-14 11:16:06.578: I/DEBUG(31): be8772fc afd1386d /system/lib/libc.so
03-14 11:16:06.578: I/DEBUG(31): be877300 00000000 
03-14 11:16:06.578: I/DEBUG(31): be877304 80b1be7c /data/data/com.testffmpeg/lib/libffmpeg.so
03-14 11:16:06.578: I/DEBUG(31): be877308 002b0028 [heap]
03-14 11:16:06.578: I/DEBUG(31): be87730c 00000000 
03-14 11:16:06.578: I/DEBUG(31): be877310 00000003 
03-14 11:16:06.578: I/DEBUG(31): be877314 00000000 
03-14 11:16:07.118: D/Zygote(33): Process 377 terminated by signal (4)