
Recherche avancée
Médias (1)
-
Carte de Schillerkiez
13 mai 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Texte
Autres articles (54)
-
Mise à jour de la version 0.1 vers 0.2
24 juin 2013, parExplications des différents changements notables lors du passage de la version 0.1 de MediaSPIP à la version 0.3. Quelles sont les nouveautés
Au niveau des dépendances logicielles Utilisation des dernières versions de FFMpeg (>= v1.2.1) ; Installation des dépendances pour Smush ; Installation de MediaInfo et FFprobe pour la récupération des métadonnées ; On n’utilise plus ffmpeg2theora ; On n’installe plus flvtool2 au profit de flvtool++ ; On n’installe plus ffmpeg-php qui n’est plus maintenu au (...) -
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 ) (...)
Sur d’autres sites (8709)
-
ffmpeg.wasm DOMException : Failed to construct 'Worker' : Script at '/814.ffmpeg.js' cannot be accessed from origin ''
18 mai 2024, par QuantumI have written a google chrome extension using local ffmpegwasm files (no need to run a server or download any ffmpegwasm files), which allows users to click an injected 'download' button under Reddit videos (via content_scripts). This was working great on ffmpegwasm v11, but since migrating to v12 (latest version) I have been unable to solve the following exception which is triggered during ffmpeg.load() : as seen in chrome's console log :


DOMException: Failed to construct 'Worker': Script at 'https://www.redditstatic.com/814.ffmpeg.js' cannot be accessed from origin 'https://reddit.com'. At i.load (chrome-extension://ljejfmmefhnpbpdhkhbbajpihfhnbdnm/lib/ffmpeg/umd/ffmpeg.js:1:2918)



I'm a programming beginner and I've been stuck trying to fix this for many, many hours. This exception does not happen and the video downloads if I instead use a feature of my extension which allows entering a Reddit video URL directly into a field in the extensions popup or options window. Also, I have no idea why the
814.ffmpeg.js
file is being referenced along withredditstatic.com
(from exception to exception, this url seems to randomly change to other reddit url's too), though I imagine this is part of the problem ?

I have seen there are a couple of mentions of this error on the ffmpegwasm github repository, with some fixes involving using the
worker814URL
and/orclassWorkerURL
params withinffmpeg.load()
and pointing them to the814.ffmpeg.js
file, which I have tried without any success (although I did notice that using classWorkerURL changedhttps://www.redditstatic.com/814.ffmpeg.js
tochrome-extension://ljejfmmefhnpbpdhkhbbajpihfhnbdnm/lib/ffmpeg/umd/814.ffmpeg.js
). Though, It seems that previous discussions around this error might not be too helpful for me as those appear geared towards ffmpegwasm running with a server, as apposed to entirely locally within a chrome extension.

Any help would be super appreciated - many thanks


-
avformat/iamf : Don't mix ownership and non-ownership pointers
19 février 2024, par Andreas Rheinhardtavformat/iamf : Don't mix ownership and non-ownership pointers
IAMFAudioElement and IAMFMixPresentation currently contain
pointers to independently allocated objects that are sometimes
owned by said structures and sometimes not.More precisely, upon success the demuxer transfers ownership
of these other objects newly created AVStreamGroups, but it
keeps its pointers. iamf_read_close() therefore always resets
these pointers (because the cleanup code always treats them
as ownership pointers). This leads to memory leaks in case
iamf_read_header() without having attached all of these
objects to stream groups.The muxer has a similar issue : It also clears these pointers
(pointing to objects owned by stream groups created by the user)
in its deinit function.This commit fixes this memleak by explicitly adding non-ownership
pointers ; this also allows to remove the code to reset the
ownership pointers.Reviewed-by : James Almer <jamrial@gmail.com>
Signed-off-by : Andreas Rheinhardt <andreas.rheinhardt@outlook.com> -
FFMPEG Partial Audio Filter of Video File
12 avril 2024, par ColeI am trying to apply an audio filter to a section of the audio track on a video file.


Here are some details.
"video.mp4" is 1 minute and 36 seconds long. I want to lower the pitch of the first 30 seconds of the file. The video track does not need any change, so I can copy that and only transcode the audio. Note, I will have to do this same operation to other videos, with the pitch change at different times. This one is at the beginning, however.


I have used this post for inspiration : https://superuser.com/questions/977743/ffmpeg-possible-to-apply-filter-to-only-part-of-a-video-file-while-transcoding


I have tried the following :


ffmpeg -i video.mp4 -filter_complex "[0:a]trim=start=0:duration=30,rubberband=pitch=0.5[a2];[0:a]trim=start=30[a3]" [a2][a3]concat[a] -map [a] -map [0:v] -c:v copy output.mp4



The above combines the trim and rubberband into one action, but maybe that does not work (same error). In the below I separate them out.


ffmpeg -i video.mp4 -filter_complex "[0:a]trim=start=0:duration=30[a1];[a1]rubberband=pitch=0.5[a2];[0:a]trim=start=30[a3]" [a2][a3]concat[a] -map [a] -map [0:v] -c:v copy output.mp4



My thought process with the above is to take the audio track
[0:a]
and trim it to the portion I want to edit, nowa1
. Then apply the filter and make thata2
. Lastly, take the other portion of the audio and save it asa3
(is this step even necessary ?). I concatenate the modified audio and unmodified audio (a2
anda3
, respectively), then map the audio and video channels and output the final product.

The error I receive is below.


[Parsed_trim_0 @ 0x5623a0b03040] Media type mismatch between the 'Parsed_trim_0' filter output pad 0 (video) and the 'Parsed_rubberband_1' filter input pad 0 (audio)
[AVFilterGraph @ 0x5623a0ab6100] Cannot create the link trim:0 -> rubberband:0
Error initializing complex filters.
Invalid argument



I think that this error is related to an audio/video track issue, but I don't know where to begin. Where am I going wrong ? What other suggestions do you have that I have not considered ?


Edit : Thank you for pointing out the atrim ! That solved that particular issue. There were some other issues I had to figure out as well.