
Recherche avancée
Médias (1)
-
Rennes Emotion Map 2010-11
19 octobre 2011, par
Mis à jour : Juillet 2013
Langue : français
Type : Texte
Autres articles (97)
-
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 (12166)
-
FFMPEG : how i enable -decryption_key instead of -cenc_decryption_key when i do my ffmpeg build ? [closed]
18 juillet 2024, par nabil mouslimi have é different ffmpeg bins , the first one have this option :


dash AVOptions:



-allowed_extensions .D......... List of file extensions that dash is allowed to access (default "aac,m4a,m4s,m4v,mov,mp4,webm,ts")


-cenc_decryption_key .D......... Media decryption key (hex)


and the second one have this option ; dash AVOptions :


dash AVOptions:



-allowed_extensions .D......... List of file extensions that dash is allowed to access (default "aac,m4a,m4s,m4v,mov,mp4,webm,ts")


-decryption_key .D......... Media decryption key (hex)


-http_persistent .D......... Use persistent HTTP connections (default true)


i try all version of ffmpeg but after my build i always have the first options


how i do to have -decryption_ke and -http_persistent options when i build my ffmpeg ??


-
const command is not defined using ffmpeg and child_process
19 avril 2021, par davidf214I'm doing a project and I have a problem. Im trying to generate a .mpd file for a VOD web. The problem is that when i upload a video, it gets me into the function but it says "const command is not defined".


exports.encodeDash = (videoFile) => {
 return new Promise((resolve, reject) => {
 const parsedFile = path.parse(videoFile);
 const outputFile = `${parsedFile.name}.mpd`
 const outputFilePath = `/videos/dash/${outputFile}`;
 const outputFilemp4 = `${parsedFile.name}.mp4`;
 const outputFilePathmp4 = `/videos/${outputFilemp4}`

 if (parsedFile.ext == '.mp4'){
 let command=`ffmpeg -i ${videoFile} -c:v libx264 -r 24 -g 24 -b:v 1000k -maxrate 1000k -bufsize 2000k /videos/dash/${parsedFile.name}-1000k.mp4 && bento4/bin/mp4fragment --fragment-duration 2000 /videos/dash/${parsedFile.name}-1000k.mp4 /videos/dash/fragmentado/${parsedFile.name}_1000k-frag.mp4 &&
 ffmpeg -i ${videoFile} -c:v libx264 -r 24 -g 24 -b:v 500k -maxrate 500k -bufsize 1000k /videos/dash/${parsedFile.name}-500k.mp4 && bento4/bin/mp4fragment --fragment-duration 2000 /videos/dash/${parsedFile.name}-500k.mp4 /videos/dash/fragmentado/${parsedFile.name}_500k-frag.mp4 &&
 ffmpeg -i ${videoFile} -c:v libx264 -r 24 -g 24 -b:v 250k -maxrate 250k -bufsize 500k /videos/dash/${parsedFile.name}-250k.mp4 && bento4/bin/mp4fragment --fragment-duration 2000 /videos/dash/${parsedFile.name}-250k.mp4 /videos/dash/fragmentado/${parsedFile.name}_250k-frag.mp4 &&
 python bento4/utils/mp4-dash.py --use-segment-timeline -o ${outputFilePath} /videos/dash/fragmentado/${parsedFile.name}_1000k-frag.mp4 /videos/dash/fragmentado/${parsedFile.name}_500k-frag.mp4 /videos/dash/fragmentado/${parsedFile.name}_250k-frag.mp4`;
 } else {
 let command=`ffmpeg -y -i ${videoFile} ${outputFilePathmp4} && ffmpeg -i ${outputFilePathmp4} -c:v libx264 -r 24 -g 24 -b:v 1000k -maxrate 1000k -bufsize 2000k /videos/dash/${parsedFile.name}-1000k.mp4 && bento4/bin/mp4fragment --fragment-duration 2000 /videos/dash/${parsedFile.name}-1000k.mp4 /videos/dash/fragmentado/${parsedFile.name}_1000k-frag.mp4 &&
 ffmpeg -i ${outputFilePathmp4} -c:v libx264 -r 24 -g 24 -b:v 500k -maxrate 500k -bufsize 1000k /videos/dash/${parsedFile.name}-500k.mp4 && bento4/bin/mp4fragment --fragment-duration 2000 /videos/dash/${parsedFile.name}-500k.mp4 /videos/dash/fragmentado/${parsedFile.name}_500k-frag.mp4 &&
 ffmpeg -i ${outputFilePathmp4} -c:v libx264 -r 24 -g 24 -b:v 250k -maxrate 250k -bufsize 500k /videos/dash/${parsedFile.name}-250k.mp4 && bento4/bin/mp4fragment --fragment-duration 2000 /videos/dash/${parsedFile.name}-250k.mp4 /videos/dash/fragmentado/${parsedFile.name}_250k-frag.mp4 &&
 python bento4/utils/mp4-dash.py --use-segment-timeline -o ${outputFilePath} /videos/dash/fragmentado/${parsedFile.name}_1000k-frag.mp4 /videos/dash/fragmentado/${parsedFile.name}_500k-frag.mp4 /videos/dash/fragmentado/${parsedFile.name}_250k-frag.mp4`;
 } 

 
 // Encode
 
 
 child_process.exec(command, (err, stdout, stderr) => {
 if (err) {
 return reject(new Error(`Encoding error. ${stderr}`));
 }
 resolve(outputFilePath)
 
 });

 
 });
 
}



Just in case, it gives me problems in line child_process.exec(command, (err, stdout, stderr). Thanks !


-
How do I generate a file M3U8 compatible with fmp4 ?
18 janvier 2019, par DopI have a streaming solution that use MPEG-Dash protocol, and I would like to expose the same files on hls for IOS devices.
I read that fmp4 is now compatible with hls, so I thought that this could be done
When I generate may mpd file with this command :
MP4Box -dash 33000 -frag 33000 -out video.mpd -profile dashavc264:onDemand original.mp4#audio original.mp4#video
what I want is to not duplicate files, and use my generated Dash files with a HLS manifest file.