
Recherche avancée
Médias (1)
-
The pirate bay depuis la Belgique
1er avril 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Image
Autres articles (59)
-
(Dés)Activation de fonctionnalités (plugins)
18 février 2011, parPour gérer l’ajout et la suppression de fonctionnalités supplémentaires (ou plugins), MediaSPIP utilise à partir de la version 0.2 SVP.
SVP permet l’activation facile de plugins depuis l’espace de configuration de MediaSPIP.
Pour y accéder, il suffit de se rendre dans l’espace de configuration puis de se rendre sur la page "Gestion des plugins".
MediaSPIP est fourni par défaut avec l’ensemble des plugins dits "compatibles", ils ont été testés et intégrés afin de fonctionner parfaitement avec chaque (...) -
Activation de l’inscription des visiteurs
12 avril 2011, parIl est également possible d’activer l’inscription des visiteurs ce qui permettra à tout un chacun d’ouvrir soit même un compte sur le canal en question dans le cadre de projets ouverts par exemple.
Pour ce faire, il suffit d’aller dans l’espace de configuration du site en choisissant le sous menus "Gestion des utilisateurs". Le premier formulaire visible correspond à cette fonctionnalité.
Par défaut, MediaSPIP a créé lors de son initialisation un élément de menu dans le menu du haut de la page menant (...) -
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
Sur d’autres sites (10720)
-
FFmpeg | "HTTP 404 not Found" "Failed to open an initialization section in playlist 0" "Error when loading first fragment, playlist 0"
5 août 2020, par jas_123For some reason FFmpeg cant play the video I want. Im making a Discord bot with youtube-dl. My FFmpeg options are
FFMPEG_OPTIONS = {'before_options': '-reconnect 1 -reconnect_streamed 1 -reconnect_delay_max 5', 'options': '-vn'}


Is there anything I need to change in my options ? Also, this only happens when youtube-dl says
Downloading MPD manifest
. Everything else works until that shows up.

-
FFmpeg "HTTP 404 not Found" "Failed to open an initialization section in playlist 0" "Error when loading first fragment, playlist 0"
6 août 2020, par jas_123For some reason FFmpeg cant play the video I want. Im making a Discord bot with youtube-dl. My FFmpeg options are
FFMPEG_OPTIONS = {'before_options': '-reconnect 1 -reconnect_streamed 1 -reconnect_delay_max 5', 'options': '-vn'}


Is there anything I need to change in my options ? Also, this only happens when youtube-dl says
Downloading MPD manifest
. Everything else works until that shows up.

-
why mpd file contain same resolution AdaptationSet
18 mars, par Jahid Hasan Antorthis is the code that i used. this code create a minifest.mpd file, with the same resolution AdaptationSet set


const createCourse = async (req: Request, res: Response, next: NextFunction) => {
 try {
 const VIDEO_STORAGE_PATH = path.join(__dirname, "../../public/uploads").replace(/\\/g, "/");
 const videoId = req.body.videoId;
 const inputPath = path.join(VIDEO_STORAGE_PATH, "original", `${videoId}.mp4`).replace(/\\/g, "/");
 const outputDir = path.join(VIDEO_STORAGE_PATH, "dash", videoId).replace(/\\/g, "/");

 if (!fs.existsSync(outputDir)) {
 fs.mkdirSync(outputDir, { recursive: true });
 }

 if (!ffmpegStatic) {
 return next(new Error("❌ ffmpegStatic path is null"));
 }

 ffmpeg.setFfmpegPath(ffmpegStatic);

 const qualities = [
 { resolution: "1280x720", bitrate: "1800k" },
 { resolution: "854x480", bitrate: "1200k" },
 { resolution: "640x360", bitrate: "800k" },
 { resolution: "426x240", bitrate: "400k" }
 ];

 const outputMpd = path.join(outputDir, "manifest.mpd").replace(/\\/g, "/");

 // Create FFmpeg command
 let command = ffmpeg(inputPath)
 .output(outputMpd)
 .outputOptions([
 '-f dash', // Output format
 '-seg_duration 4', // Segment duration in seconds
 '-window_size 10', // Number of segments in the manifest
 '-init_seg_name init-stream$RepresentationID$.webm', // Name for initialization segments
 '-media_seg_name chunk-stream$RepresentationID$-$Number%05d$.webm', // Name for media segments
 ]);

 // Add multiple resolutions
 qualities.forEach(({ resolution, bitrate }) => {
 console.log('esolution, bitrate :>> ', resolution, bitrate);
 command
 .outputOptions([
 `-map 0:v`, // Map the video stream
 `-s ${resolution}`, // Set resolution
 `-b:v ${bitrate}`, // Set bitrate
 `-c:v libvpx-vp9`, // Use VP9 codec
 `-c:a libopus`, // Use Opus codec
 ]);
 });

 command
 .on("end", () => {
 console.log(`🚀 Video processing complete: ${outputMpd}`);
 })
 .on("error", (err) => {
 console.error("❌ ffmpeg error:", err);
 next(err);
 })
 .run();