
Recherche avancée
Médias (91)
-
Collections - Formulaire de création rapide
19 février 2013, par
Mis à jour : Février 2013
Langue : français
Type : Image
-
Les Miserables
4 juin 2012, par
Mis à jour : Février 2013
Langue : English
Type : Texte
-
Ne pas afficher certaines informations : page d’accueil
23 novembre 2011, par
Mis à jour : Novembre 2011
Langue : français
Type : Image
-
The Great Big Beautiful Tomorrow
28 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Texte
-
Richard Stallman et la révolution du logiciel libre - Une biographie autorisée (version epub)
28 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Texte
-
Rennes Emotion Map 2010-11
19 octobre 2011, par
Mis à jour : Juillet 2013
Langue : français
Type : Texte
Autres articles (19)
-
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 ;
-
Ecrire une actualité
21 juin 2013, parPrésentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
Vous pouvez personnaliser le formulaire de création d’une actualité.
Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...) -
Publier sur MédiaSpip
13 juin 2013Puis-je poster des contenus à partir d’une tablette Ipad ?
Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir
Sur d’autres sites (4096)
-
System.InvalidOperationException thrown when running as part of a WPF application. Xabe.FFmpeg
16 mars 2021, par S. O. JamesI have the following code which runs on a console application


string filePath = "C:\\Users\\**\\Desktop\\sample-mp4-file.mp4";
 string output1 = "C:\\Users\\**\\Desktop\\1.jpg";
 string output2 = "C:\\Users\\**\\Desktop\\2.jpg";
 var ms = new MultiSnapshotCommand(filePath);
 await ms.Add(TimeSpan.FromSeconds(20), output1);
 await ms.Add(TimeSpan.FromSeconds(20), output2);
 await ms.Invoke();



Which uses the following


public async Task Add(TimeSpan timestamp, string outputPath)
 {
 var conversion = await FFmpeg.Conversions.FromSnippet.Snapshot(filePath, outputPath, timestamp);
 conversionQueue.Enqueue(conversion);
 }



This executes fine and both snapshots are created when calling
Invoke()
.
However, when executing the same code running in an async method in response to a button click in a WPF scenario, the UI freezes, then a few moments laterException thrown: 'System.InvalidOperationException' in System.Diagnostics.Process.dll
is shown from the debugger output with no recovery.

The error seems to be occurring at
await FFmpeg.Conversions.FromSnippet.Snapshot(filePath, outputPath, timestamp);


Original - https://github.com/tomaszzmuda/Xabe.FFmpeg/issues/341


Edit


My project files https://github.com/Scharps/MP4ToImageConverter/tree/05beeb1cc359b654fb51a9695b5c20386c4d5fb6.
FFmpeg is required in Path system variable. File locations will need to be changed also


-
avformat/hlsenc : support multi level path in m3u8 with filename
26 septembre 2016, par Steven Liuavformat/hlsenc : support multi level path in m3u8 with filename
before patch :
localhost:osx liuqi$ tree 20160926/
20160926/
└── file-20160909
└── 26
└── 16
└── 15
├── 46
│ ├── 13.ts
│ ├── 25.ts
│ ├── 36.ts
│ ├── 45.ts
│ └── 54.ts
└── 47
├── 04.ts
├── 14.ts
├── 24.ts
└── 35.ts6 directories, 9 files
localhost:osx liuqi$ cat out.m3u8
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-TARGETDURATION:12
#EXT-X-MEDIA-SEQUENCE:0
#EXTINF:11.360000,
13.ts
#EXTINF:10.800000,
25.ts
#EXTINF:9.120000,
36.ts
#EXTINF:8.760000,
45.ts
#EXTINF:10.200000,
54.ts
#EXTINF:10.720000,
04.ts
#EXTINF:9.600000,
14.ts
#EXTINF:10.600000,
24.ts
#EXTINF:8.760000,
35.ts
#EXT-X-ENDLISTafter patch :
localhost:osx liuqi$ tree 20160926/
20160926/
└── file-20160909
└── 26
└── 16
└── 15
├── 46
│ ├── 13.ts
│ ├── 25.ts
│ ├── 36.ts
│ ├── 45.ts
│ └── 54.ts
└── 47
├── 04.ts
├── 14.ts
├── 24.ts
└── 35.ts6 directories, 9 files
localhost:osx liuqi$ cat out.m3u8
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-TARGETDURATION:12
#EXT-X-MEDIA-SEQUENCE:0
#EXTINF:11.360000,
20160926/file-20160909/26/16/15/46/13.ts
#EXTINF:10.800000,
20160926/file-20160909/26/16/15/46/25.ts
#EXTINF:9.120000,
20160926/file-20160909/26/16/15/46/36.ts
#EXTINF:8.760000,
20160926/file-20160909/26/16/15/46/45.ts
#EXTINF:10.200000,
20160926/file-20160909/26/16/15/46/54.ts
#EXTINF:10.720000,
20160926/file-20160909/26/16/15/47/04.ts
#EXTINF:9.600000,
20160926/file-20160909/26/16/15/47/14.ts
#EXTINF:10.600000,
20160926/file-20160909/26/16/15/47/24.ts
#EXTINF:8.760000,
20160926/file-20160909/26/16/15/47/35.ts
#EXT-X-ENDLISTSigned-off-by : Steven Liu <lingjiujianke@gmail.com>
-
CANNOT LINK EXECUTABLE - ffmpeg - Android
13 avril 2018, par pudilityI am getting the following error when I try to use ffmpeg on Android.
Error
09-02 18:06:33.805 2861-3659/com.gitlab.onreg01.ffmpegsample D/FFmpeg: Running publishing updates method
09-02 18:06:33.917 2861-2861/com.gitlab.onreg01.ffmpegsample D/LOG_FFMPEG_SAMPLE: CANNOT LINK EXECUTABLE "/data/user/0/com.gitlab.onreg01.ffmpegsample/files/ffmpeg": "/data/data/com.gitlab.onreg01.ffmpegsample/files/ffmpeg" has text relocations
09-02 18:06:33.943 2861-2861/com.gitlab.onreg01.ffmpegsample D/LOG_FFMPEG_SAMPLE: CANNOT LINK EXECUTABLE "/data/user/0/com.gitlab.onreg01.ffmpegsample/files/ffmpeg": "/data/data/com.gitlab.onreg01.ffmpegsample/files/ffmpeg" has text relocationsPlatorms
I am running OSX (not sure if this is important)
I have tried running the app on the following emulators all to no avail :
- Nexus 5X - API 25 - x86
- Nexus 5X - API 23 - x86
- Pixel 5X - API 26
What I have tried
-
Restarting my computer and android studios and running
Invalidate Caches / Restart...
-
Using all of the following sources for ffmpeg (individually and together) :
compile 'com.writingminds:FFmpegAndroid:0.3.2'
- AAR file from here
.jar
file from here
- Enabling and disabling NDK
- Changing the SDK versions
Sources
In case you would like to take a look at the sources, the ones I am using are available here. Please note I did not make these all credit goes to @Onregs.
Screenshot