
Recherche avancée
Autres articles (82)
-
La file d’attente de SPIPmotion
28 novembre 2010, parUne file d’attente stockée dans la base de donnée
Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...) -
Organiser par catégorie
17 mai 2013, parDans MédiaSPIP, une rubrique a 2 noms : catégorie et rubrique.
Les différents documents stockés dans MédiaSPIP peuvent être rangés dans différentes catégories. On peut créer une catégorie en cliquant sur "publier une catégorie" dans le menu publier en haut à droite ( après authentification ). Une catégorie peut être rangée dans une autre catégorie aussi ce qui fait qu’on peut construire une arborescence de catégories.
Lors de la publication prochaine d’un document, la nouvelle catégorie créée sera proposée (...) -
Récupération d’informations sur le site maître à l’installation d’une instance
26 novembre 2010, parUtilité
Sur le site principal, une instance de mutualisation est définie par plusieurs choses : Les données dans la table spip_mutus ; Son logo ; Son auteur principal (id_admin dans la table spip_mutus correspondant à un id_auteur de la table spip_auteurs)qui sera le seul à pouvoir créer définitivement l’instance de mutualisation ;
Il peut donc être tout à fait judicieux de vouloir récupérer certaines de ces informations afin de compléter l’installation d’une instance pour, par exemple : récupérer le (...)
Sur d’autres sites (5023)
-
avutil.so file error not loading ffpmeg library
22 août 2020, par Arjun Patelbelow is my Gradle file I want to load avutil.so file fo FFMPEG
I added javabytedeco lib for ffmpeg and it to large in size so I added only JavaCV lib but it need .so file
when I run app it working good no error but when I try to create a video using ffmpeg I got error.


android {
 

 defaultConfig {
 applicationId "com.mghori.vimory"
 minSdkVersion 17
 targetSdkVersion 29
 versionCode 1
 versionName "1.0"
 multiDexEnabled true

 testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
 ndk{
 abiFilters "arm64-v8a"
 }

 }

 buildTypes {
 release {
 minifyEnabled false
 proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
 }
 }
 sourceSets {
 main {
 jniLibs.srcDirs = ["libs"]
 }
 }
}

dependencies {
 
 
 implementation group: 'org.bytedeco', name: 'javacv', version: '1.5.3'
 implementation group: 'org.bytedeco', name: 'javacpp', version: '1.5.3'
 implementation group: 'org.bytedeco', name: 'javacpp', version: '1.5.3', classifier: 'android-arm64'
 implementation group: 'org.bytedeco', name: 'javacpp', version: '1.5.3', classifier: 'android-x86_64'
 implementation group: 'org.bytedeco', name: 'ffmpeg', version: '4.2.2-1.5.3'
 implementation group: 'org.bytedeco', name: 'ffmpeg', version: '4.2.2-1.5.3', classifier: 'android-arm64'
 implementation group: 'org.bytedeco', name: 'ffmpeg', version: '4.2.2-1.5.3', classifier: 'android-x86_64'
}



and I got below error does any one solution please help me


E/AndroidRuntime: FATAL EXCEPTION: main
 Process: com.mghori.vimory, PID: 21519
 java.lang.NoClassDefFoundError: org.bytedeco.ffmpeg.global.avutil
 at java.lang.Class.classForName(Native Method)
 at java.lang.Class.forName(Class.java:454)
 at org.bytedeco.javacpp.Loader.load(Loader.java:1176)
 at org.bytedeco.javacpp.Loader.load(Loader.java:1109)
 at org.bytedeco.ffmpeg.avformat.Write_packet_Pointer_BytePointer_int.<clinit>(Write_packet_Pointer_BytePointer_int.java:21)
 at org.bytedeco.javacv.FFmpegFrameRecorder.<clinit>(FFmpegFrameRecorder.java:323)
 at com.mghori.vimory.UtilityClass.getRecorder(UtilityClass.java:113)
 at com.mghori.vimory.activity.saveoperation.setupVideoRecorder(saveoperation.java:153)
 at com.mghori.vimory.activity.VideoProcessingDialogActivity.onCreate(VideoProcessingDialogActivity.java:418)
 at android.app.Activity.performCreate(Activity.java:7955)
 at android.app.Activity.performCreate(Activity.java:7944)
 at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1307)
 at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3423)
 at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3595)
 at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:83)
 at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135)
 at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95)
 at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2147)
 at android.os.Handler.dispatchMessage(Handler.java:107)
 at android.os.Looper.loop(Looper.java:237)
 at android.app.ActivityThread.main(ActivityThread.java:7807)
 at java.lang.reflect.Method.invoke(Native Method)
 at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
 at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1047)
 Caused by: java.lang.UnsatisfiedLinkError: No implementation found for long org.bytedeco.ffmpeg.global.avutil.AV_NOPTS_VALUE() (tried Java_org_bytedeco_ffmpeg_global_avutil_AV_1NOPTS_1VALUE and Java_org_bytedeco_ffmpeg_global_avutil_AV_1NOPTS_1VALUE__)
 at org.bytedeco.ffmpeg.global.avutil.AV_NOPTS_VALUE(Native Method)
 at org.bytedeco.ffmpeg.global.avutil.<clinit>(avutil.java:270)
 at java.lang.Class.classForName(Native Method)
 at java.lang.Class.forName(Class.java:454)
 at org.bytedeco.javacpp.Loader.load(Loader.java:1176)
 at org.bytedeco.javacpp.Loader.load(Loader.java:1125)
 at org.bytedeco.javacv.FFmpegFrameRecorder.tryLoad(FFmpegFrameRecorder.java:103)
 at org.bytedeco.javacv.FFmpegFrameRecorder.<clinit>(FFmpegFrameRecorder.java:129)
</clinit></clinit></clinit></clinit>


-
How to combine/concatenate videos stored in AWS S3 bucket based on title of the file name
9 juin 2020, par orangecubeI am using a service that allows me to record videos that get automatically pushed to a folder (submissions) in an S3 bucket. There are multiple videos however they need to be grouped together and concatenated so the output is one video per group.



So, basically, any tips on how I can take videos based on the title and stitch them together ?



Example :



Submissions folder will have :



a-100-2.mp4
a-200-6.mp4
b-123-5.mp4




Expected output in processed folder :



a.mp4 - (both 'a' videos get stitched together)
b.mp4 - (only 'b' gets sent over since there is only one video.)




Thanks in advance !



Edit : Some additional and detailed information below if it helps.



The files will be labeled with :
name-location-video_token-stream_token.mp4



Need help creating a script or process that will concatenate the videos using the procedure outlined below :



Processing rules (back end) :



- 

-
Check if videos have same video_token in ‘submissions folder’. If so, keep the newest one and delete old ones.
-
Take all videos in ‘submissions folder’ with same name and location in title and concatenate the videos. Save output video to a new folder in the bucket labeled as the location for the folder name. 
Output file name : 
name-location-year.mp4.







EXAMPLE :



Submissions folder :
joey-toronto-001-354.mp4



joey-toronto-001-241.mp4 - this will be deleted



joey-toronto-103-452.mp4



alex-montreal-352-232.mp4



alex-montreal-452-223.mp4



Resulting output :



Toronto folder :



Joey-toronto-2020.mp4



Montreal folder :



Alex-montreal-2020.mp4


-
-
avformat/audiointerleave : disallow using a samples_per_frame array
28 février 2020, par Marton Balintavformat/audiointerleave : disallow using a samples_per_frame array
Only MXF used an actual sample array, and that is unneeded there because simple
rounding rules can be used instead.Signed-off-by : Marton Balint <cus@passwd.hu>