
Recherche avancée
Médias (91)
-
Valkaama DVD Cover Outside
4 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Image
-
Valkaama DVD Label
4 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Image
-
Valkaama DVD Cover Inside
4 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Image
-
1,000,000
27 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Demon Seed
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
The Four of Us are Dying
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
Autres articles (112)
-
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 ;
-
Les autorisations surchargées par les plugins
27 avril 2010, parMediaspip core
autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs -
Personnaliser les catégories
21 juin 2013, parFormulaire de création d’une catégorie
Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
On peut modifier ce formulaire dans la partie :
Administration > Configuration des masques de formulaire.
Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...)
Sur d’autres sites (10316)
-
Create hls stream in Google Cloud Functions (ffmpeg)
3 novembre 2018, par MarkusI tried for several hours with no good outcome.
I want to create an hls stream (from a mp4 video) with the help of google cloud functions.
This is what i have come up with so far :
const remoteReadStream = myBucket.file(vidPath).createReadStream();
const remoteWriteStream = myBucket.file(vidPath.replace('.mp4', '.m3u8')).createWriteStream();
var proc = ffmpeg()
.input(remoteReadStream)
// Base url
// include all the segments in the list
.addOption('-hls_time',4)
.addOption('-c:a aac')
.addOption('-ar 48000')
.addOption('-c:v h264')
.addOption('-profile:v main')
.addOption('-crf 20')
.addOption('-sc_threshold 0')
.addOption('-g 48')
.addOption('-keyint_min 48')
.addOption('-hls_playlist_type vod')
.addOption('-b:v 800k')
.addOption('-maxrate 856k')
.addOption('-bufsize 1200k')
.addOption('-b:a 96k')
.addOption('-hls_segment_filename', 'this_is_not_working_%03d.ts')
*tried gs://.../videos/$03d.ts' as well as other paths...
.outputOptions('-f hls')
.on('progress', function(progress) {
var processing_str = 'Processing:' + progress.percent + '% done';
console.log(processing_str);
})
.on('end', function() {
console.log('file has been ffmpeg succesfully');
})
.on('error', (err, stdout, stderr) => {
console.error('An error occured during encoding', err.message);
console.error('stdout:', stdout);
console.error('stderr:', stderr);
})
.pipe(remoteWriteStream, { end: true });This will give me the m3u8 file but the header files (ts files) will not be created, cause of the failure of saving them. The m3u8 file is saved, because it is a stream.
Opening ’xxx.ts’ for writing Could not write header for output file #0 (incorrect codec parameters ?)
I want to save them in the same folder, but I cannot access it by the bucket.
Does anyone know, how to ’create’ multiple files (give the excact path of my bucket) in the ffmpeg configuration ?Maybe saving them as a stream would be the answer, but i have no clue how to pass that stream (.createWriteStream() ;) as an argument.
Thanks in advance
-
How to print the video meta output by the browser version of ffmpeg.wasm to the console of Google Chrome ?
17 janvier 2021, par helloAlI would like to ask about how to use the browser version of ffmpeg.wasm.


Through my investigation, I know that the following command can be used to output the video metadata to a file in the terminal of windows or mac.


ffmpeg -i testvideo.mp4 -f ffmetadata testoutput.txt



and then I can get this matadata like this :



I want to parse the metadata of the video through the browser, and then print the metadata to the Google console (or output to a file). At present, I know that the browser version of ffmpeg.wasm can achieve this function, but I have looked at its examples, which does not involve this part of the content. (https://github.com/ffmpegwasm/ffmpeg.wasm/blob/master/examples/browser/image2video.html)


But I want to print it to the console of Google Chrome through the browser version(usage:brower) of ffmpeg.wasm (https://github.com/ffmpegwasm/ffmpeg.wasm).
So I want to ask you how to achieve this, thank you.


-
"ffmpeg exited with code 1 : https://drive.google.com/uc?id=file_id Server returned 403 Forbidden (access denied)\n" [closed]
30 novembre 2023, par Shihab Ahmed Eftysometimes I can able to access sometime sometimes it is showing to me this error


"ffmpeg exited with code 1 : https://drive.google.com/uc?id=file_id Server returned 403 Forbidden (access denied)\n"


"ffmpeg exited with code 1 : https://drive.google.com/uc?id=file_id Server returned 403 Forbidden (access denied)\n"