
Recherche avancée
Autres articles (72)
-
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 (...) -
Demande de création d’un canal
12 mars 2010, parEn fonction de la configuration de la plateforme, l’utilisateur peu avoir à sa disposition deux méthodes différentes de demande de création de canal. La première est au moment de son inscription, la seconde, après son inscription en remplissant un formulaire de demande.
Les deux manières demandent les mêmes choses fonctionnent à peu près de la même manière, le futur utilisateur doit remplir une série de champ de formulaire permettant tout d’abord aux administrateurs d’avoir des informations quant à (...)
Sur d’autres sites (6108)
-
ffmpeg4.4 missing in OpenCV3.4.13 + Android Studio4.2.1 ? No tutorial gives answer how to fix
8 juin 2021, par FabFinally opencv is working in my Android Studio project (solved with help of https://www.youtube.com/watch?v=-0Yx1UzozzQ). But theres is no Video I/O information visible so I guess i didnt connected ffmpeg correctly in my project and it isnt used at all !?


My steps so far :


- 

-
ffmpeg download : https://www.videohelp.com/software/ffmpeg


-
added ffmpeg to path like explained here :
https://soundartifacts.com/how-to/186-how-to-install-ffmpeg-on-windows-10-amp-add-ffmpeg-to-windows-path.html#video
powershell shows installation.


-
when printing Core.getBuildInformation() in the project I see that the Video I/O section is empty and I assume there has to be some information about FFMPEG etc...see picture :
enter image description here










- 

- I dont get any error messages. I try to VideoCapture.open("somestring") and returned is just false.




I know there are a lot of similar questions but I cant identify which one really addresses my issue.
Really appreciate your help. Thanks, Fabian


-
-
Getting error "WebAssembly.Memory() : could not allocate memory" when running ffmpeg.wasm on android chrome browser
27 juin 2022, par Ravi KunduError in detail :


WebAssembly.Memory(): could not allocate memory
at https://*******/ffmpeg-core.js:22:82
at https://*******/ffmpeg.min.js:1:6506
at f (https://*******/ffmpeg.min.js:1:11322)
at Generator._invoke (https://*******/ffmpeg.min.js:1:11110)
at Generator.next (https://*******/ffmpeg.min.js:1:11747)
at i (https://*******/ffmpeg.min.js:1:4295)
at c (https://*******/ffmpeg.min.js:1:4498)



Code for ffmpeg :


const downloadWithFFMPEG = async () =>{
 const sourceBuffer = await fetch(recordingURL).then(r => r.arrayBuffer());
 await ffmpeg.load();
 await ffmpeg.FS(
 "writeFile",
 "input.webm",
 new Uint8Array(sourceBuffer, 0, sourceBuffer.byteLength)
 );
 await ffmpeg.run("-i", "input.webm", "-c", "copy", "output.mp4")
 const output = ffmpeg.FS("readFile", "output.mp4");
 var link = document.createElement('a')
 link.href = URL.createObjectURL(new Blob([output.buffer], { type: 'video/mp4;codecs=H264' }));
 link.download = this.data;
 link.click();
 recording = false;
}



Brief about problem :
The error only comes for android chrome browser. The same code works fine on pc/laptop chrome.
Have also enabled Webassembly-thread on chrome ://flags for android browser as someone suggested me to do it but still same error. Can someone help me ?


-
How to get the support for SRT (Secure Reliable Transport) in React Native (for both iOS & Android) ?
18 mars 2021, par Sourav DeyI tried many ways to get the support for SRT (Secure Reliable Transport) streaming in React Native but none of them worked. There were very few resources over the Internet and none seems to be working.
I tried using ffmpeg library but they are not providing the support for SRT as of now.


The following error was thrown when a valid SRT link was passed to the below code :


Code :


useEffect(() => {
 RNFFmpeg.execute(
 '-i "srt://:<port>?streamid=live.sls.com/live/test2" -vcodec copy -acodec copy -strict -2 -y -f mpegts /storage/emulated/0/Download/srt_test_0.ts',
 ).then(result => console.log(`>> FFmpeg process exited with rc=${result}.`));

 return () => {
 console.log('cancelling all executions');
 RNFFmpeg.cancel();
 };
 }, []);
</port>


Output :


srt://:<port>?streamid=live.sls.com/live/test2: Protocol not found
index.js:115 Did you mean file:srt://:<port>?streamid=live.sls.com/live/test2index.js:22 
>> FFmpeg process exited with rc=1.
</port></port>


Can anyone please help ?