
Recherche avancée
Médias (33)
-
Stereo master soundtrack
17 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Audio
-
#7 Ambience
16 octobre 2011, par
Mis à jour : Juin 2015
Langue : English
Type : Audio
-
#6 Teaser Music
16 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#5 End Title
16 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#3 The Safest Place
16 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#4 Emo Creates
15 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
Autres articles (45)
-
Gestion générale des documents
13 mai 2011, parMédiaSPIP ne modifie jamais le document original mis en ligne.
Pour chaque document mis en ligne il effectue deux opérations successives : la création d’une version supplémentaire qui peut être facilement consultée en ligne tout en laissant l’original téléchargeable dans le cas où le document original ne peut être lu dans un navigateur Internet ; la récupération des métadonnées du document original pour illustrer textuellement le fichier ;
Les tableaux ci-dessous expliquent ce que peut faire MédiaSPIP (...) -
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 -
Des sites réalisés avec MediaSPIP
2 mai 2011, parCette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.
Sur d’autres sites (6107)
-
How can you run an exe as with no window, in the background and being the most efficient use of resources ? [closed]
18 mars 2013, par Covenant SpokaneI don't understand the way the windows totally functions so forgive the novice question.
I want to setup a server running a video processing peogram called FFMpeg. The server will be used at an time to run that command line program in as many instances that the server can handle. I don't want the server to have 100 command windows open while its processing. Can an exe be run as a process or service or something so that it runs without a window and is as efficient as possible.
-
Error loading FFmpeg : ReferenceError : SharedArrayBuffer is not defined - Angular 18.2.3
9 septembre 2024, par Memariya ChiragQuestion :


I am working on an Angular project (version 18.2.3) where I use ffmpeg.wasm to trim videos and extract frames. However, when trying to load FFmpeg, I am encountering the following error in the console :


Error loading FFmpeg: ReferenceError: SharedArrayBuffer is not definedenter image description here



Below is the code that initializes FFmpeg and attempts to load it: 



export class VideoEditorComponent implements OnInit {
 ffmpeg = createFFmpeg({ log: true });
 isPlaying = false;
 frameDataArray: Uint8Array[] = [];
 frameIndex = 0;

 async trimAndExtractFrames(): Promise<void> {
 try {
 // Load FFmpeg
 await this.ffmpeg.load();
 console.log("FFmpeg loaded successfully");
 } catch (error) {
 console.error("Error loading FFmpeg:", error);
 }
 }
}
</void>


I have tried to troubleshoot the issue but am unsure how to proceed.


The error seems related to SharedArrayBuffer, which I understand is required for performance improvements in multi-threading for web applications.


I have checked my ffmpeg.wasm setup, and it works fine in a plain JavaScript application.


Ensured that my Angular application is correctly serving the WebAssembly files.


Looked into setting up the appropriate HTTP headers for Cross-Origin-Opener-Policy and Cross-Origin-Embedder-Policy, but I am unsure if I have done it correctly.


My questions :


- 

- How do I resolve the SharedArrayBuffer is not defined error in Angular ?
- Is there a specific setup required for using SharedArrayBuffer in Angular with WebAssembly applications like FFmpeg ?
- How can I ensure that the necessary HTTP headers are configured correctly in my Angular project to support this ?








Additional information :


- 

- Angular version : 18.2.3
- ffmpeg.wasm version : Latest (installed via npm)
- Browser : Chrome 100+








-
Serving a single JPEG using ffserver
4 mai 2016, par MagnusI have a setup where a local application writes a sequence of JPEG images into a FIFO (Unix named pipe on Linux). On the other end I have
ffmpeg
picking up the sequence and passing it into an instance offfserver
:% ffmpeg -i fifo.mjpeg http://127.0.0.1:8090/feed.ffm
The configuration for
ffserver
looks like this :HTTPPort 8090
HTTPBindAddress 0.0.0.0
MaxHTTPConnections 20
MaxClients 10
MaxBandwidth 1000
<feed>
File /tmp/feed.ffm
FileMaxSize 200k
ACL allow 127.0.0.1
</feed>
<stream>
Format mpjpeg
Feed feed.ffm
VideoSize 960x600
VideoFrameRate 2
VideoIntraOnly
Strict -1
NoAudio
NoDefaults
</stream>This works fine, I can point my web browser to
http://127.0.0.1:8090/stream.mpjpeg
and see the video.Now I want to add a way to download a single JPEG (I think of it as snapshot of the video). I added the following to the
ffserver
configuration :<stream>
Format singlejpeg
Feed feed.ffm
VideoSize 960x600
VideoFrameRate 2
VideoIntraOnly
Strict -1
NoAudio
NoDefaults
</stream>That only sort of works. Sure, if I point my browser to
http://127.0.0.1:8090/image.jpg
I do so a still picture from the video, but the browser never stops loading !Indeed, if I run
wget http://127.0.0.1:8090/image.jpg
I see that the MIME type is good (image/jpeg
), but there seems to be no end to the image.Am I missing something in my configuration that makes
ffserver
sending more than a single image ?I should add I’ve tried this setup on both 2.8.6 (Debian Jessie, package comes from jessie-backports) and 3.0 (Arch Linux), with the same result in both cases.