
Recherche avancée
Médias (91)
-
#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
-
#2 Typewriter Dance
15 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#1 The Wires
11 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
ED-ME-5 1-DVD
11 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Audio
-
Revolution of Open-source and film making towards open film making
6 octobre 2011, par
Mis à jour : Juillet 2013
Langue : English
Type : Texte
Autres articles (74)
-
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 (...) -
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 ;
-
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 (6740)
-
When I was try to use ffmpeg to convert video file extension, SharedArrayBuffer has troubles
26 mai 2022, par DANI want to convert video extension to .mp4 by using ffmpeg.


At first, I wrote code like this.


import{ createFFmpeg, fetchFile, } from '@ffmpeg/ffmpeg'

export default {
 setup() {
 const ffmpeg = createFFmpeg({ log: true, })
 const previewVideo = async (event) => {
 const file = event.target.files[0]

 if (file.size > 1024*1024*200) {
 alert("100MB 이하의 동영상만 등록할 수 있습니다.\n\n" + "현재 파일 용량" + (Math.round(file.size / (1024 * 1024))) + "MB") 
 } else {
 const previewVideo = document.getElementById("previewVideo")
 console.log('start')
 await ffmpeg.load()
 console.log('start transcoding')
 ffmpeg.FS('writeFile', 'test.mov', await fetchFile(file))
 await ffmpeg.run('-i', 'test.mov', 'test.mp4')
 console.log('complete transcoding')
 const data = ffmpeg.FS('readFile', 'test.mp4')
 const videoUrl = URL.createObjectURL(new Blob([data.buffer], { type: 'video/mp4'}))
 previewVideo.setAttribute("src", videoUrl)
 previewVideo.play()
 }
 }
 }
}



But, when I inputed video file, below error occurred.


Uncaught (in promise) ReferenceError: SharedArrayBuffer is not defined
 at 459bf020-690b-4964-b875-8028d2bcaf81:22:175
 at Object.load (createFFmpeg.js:64:20)
 at async Proxy.previewVideo (PostModal.vue:99:17)



PostModal.vue:99:17 = await ffmpeg.load()


So, I searched in google, finally I found one solution. And added below code in index.html body's bottom


<code class="echappe-js"><script>&#xA; if (!crossOriginIsolated) SharedArrayBuffer = ArrayBuffer&#xA;</script>



And I could resolve that error !! However, another error occurred like below.


Uncaught (in promise) Error: bad memory
 at 7d608d39-864a-4c63-930a-5ec5065337fe:23:1
 at Object.load (createFFmpeg.js:64:20)
 at async Proxy.previewVideo (PostModal.vue:99:17)



I searched again. And then I found some people recommend to use coi-serviceworker.js
I added below code in index.html body's


<code class="echappe-js"><script src='http://stackoverflow.com/feeds/tag/coi-serviceworker.js'></script>



And added file coi-serviceworker.js in my repo
file github link


However, another two errors were occurred again...


An SSL certificate error occurred when fetching the script.

COOP/COEP Service Worker failed to register: DOMException: Failed to register a ServiceWorker for scope ('https://localhost:3000/') with script ('https://localhost:3000/coi-serviceworker.js'): An SSL certificate error occurred when fetching the script.



some solution recommended change Allow invalid certificates for resources loaded from localhost. to enable in chrome ://flags/#allow-insecure-localhost


But, still occurred same error. I'm stuck here since I didn't find another solution. Could you have any another solution ?


-
Need help understanding this script which uses ffmpeg to send rtmp input to node.js script
4 juin 2022, par Arpit ShuklaI was trying to understand this shell script which uses ffmpeg to take an rtmp input stream and send it to a node.js script. But I am having trouble understanding the syntax. Can someone please explain what is going on here ?


The script :


while :
do
 echo "Loop start"

 feed_time=$(ffprobe -v error -show_entries format=start_time -of default=noprint_wrappers=1:nokey=1 $RTMP_INPUT)
 printf "feed_time value: ${feed_time}"

 if [ ! -z "${feed_time}" ]
 then
 ffmpeg -i $RTMP_INPUT -tune zerolatency -muxdelay 0 -af "afftdn=nf=-20, highpass=f=200, lowpass=f=3000" -vn -sn -dn -f wav -ar 16000 -ac 1 - 2>/dev/null | node src/transcribe.js $feed_time

 else
 echo "FFprobe returned null as a feed time."
 
 fi

 echo "Loop finish"
 sleep 3
done



- 

- What is
feed_time
here ? What does it represent ? - What is this portion doing
- 2>/dev/null | node src/transcribe.js $feed_time
? - What is the use of
sleep 3
? Does this mean that we are sending audio stream to node.js in chuncks of 3 seconds ?








- What is
-
Attribution Tracking (What It Is and How It Works)
23 février 2024, par Erin