
Recherche avancée
Médias (2)
-
Granite de l’Aber Ildut
9 septembre 2011, par
Mis à jour : Septembre 2011
Langue : français
Type : Texte
-
Géodiversité
9 septembre 2011, par ,
Mis à jour : Août 2018
Langue : français
Type : Texte
Autres articles (66)
-
Participer à sa traduction
10 avril 2011Vous pouvez nous aider à améliorer les locutions utilisées dans le logiciel ou à traduire celui-ci dans n’importe qu’elle nouvelle langue permettant sa diffusion à de nouvelles communautés linguistiques.
Pour ce faire, on utilise l’interface de traduction de SPIP où l’ensemble des modules de langue de MediaSPIP sont à disposition. ll vous suffit de vous inscrire sur la liste de discussion des traducteurs pour demander plus d’informations.
Actuellement MediaSPIP n’est disponible qu’en français et (...) -
MediaSPIP Player : problèmes potentiels
22 février 2011, parLe lecteur ne fonctionne pas sur Internet Explorer
Sur Internet Explorer (8 et 7 au moins), le plugin utilise le lecteur Flash flowplayer pour lire vidéos et son. Si le lecteur ne semble pas fonctionner, cela peut venir de la configuration du mod_deflate d’Apache.
Si dans la configuration de ce module Apache vous avez une ligne qui ressemble à la suivante, essayez de la supprimer ou de la commenter pour voir si le lecteur fonctionne correctement : /** * GeSHi (C) 2004 - 2007 Nigel McNie, (...) -
Encoding and processing into web-friendly formats
13 avril 2011, parMediaSPIP automatically converts uploaded files to internet-compatible formats.
Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
All uploaded files are stored online in their original format, so you can (...)
Sur d’autres sites (14702)
-
How to downsample all '.MTS' videos in a folder via using FFmpeg/or python ?
24 mai 2020, par kkkrr000I have a list of videos('.MTS') formatt.How can I downsample it (keeping the aspect ratio same).I want to downsample all of them to a particular size.



f"ffmpeg -i {vname} -filter:v scale={width}:{height} -c:




I came across this piece of code. Should I do this via terminal or via a python interpreter ?
Can has experience with this ?


-
How to get the buffer of the first frame of a video using ffmpeg ? (Node.js)
12 avril 2024, par Mahmoud WalidI am trying to use child_processes and ffmpeg to do this, but it returns this error :


FFmpeg stderr: [AVFilterGraph @ 00000157fd55abc0] No option name near 'eq(n, 0)"'
[AVFilterGraph @ 00000157fd55abc0] Error parsing a filter description around:
[AVFilterGraph @ 00000157fd55abc0] Error parsing filterchain '"select=eq(n\, 0)"' around:
[vost#0:0/libx264 @ 00000157fd574700] Error initializing a simple filtergraph
Error opening output file pipe:1.
Error opening output files: Invalid argument

FFmpeg process exited with code: 4294967274



When I run that command in the terminal, it works fine, but it doesn't work in the code.
Here's the command (terminal version) :

ffmpeg -i input/vid.mp4 -vf "select=eq(n\,0)" -vframes 1 out.png


And heres the code :


import { spawn } from 'child_process';

const inputVideoPath = 'input/vid.mp4';

const ffmpeg = spawn('ffmpeg', [
 '-i', inputVideoPath,
 '-vf', '"select=eq(n\\, 0)"',
 '-vframes', '1',
 '-f', 'mp4',
 'pipe:1'
]);

let buffer = Buffer.from([]);
ffmpeg.stdout.on('data', (data) => {
 buffer = Buffer.concat([buffer, data]);
});

ffmpeg.stderr.on('data', (data) => {
 console.error('FFmpeg stderr:', data.toString());
});

ffmpeg.on('exit', (code) => {
 if (code == 0) {
 console.log('FFmpeg process exited successfully.');
 console.log(`Buffer size: ${buffer.length} bytes`);
 } else {
 console.error(`FFmpeg process exited with code: ${code}`);
 }
});

ffmpeg.on('error', (err) => {
 console.error('FFmpeg error:', err);
});



Note : I know I'm not doing anything with the buffer, I just want it to work first then I'll start working with the output


-
Revision b49bfff197288b16d26b21b40492bd73ba0eb0cd : éviter un ../tmp//.htaccess le $rep passé en argument a parfois un / ...
8 février 2010, par denisb — Logéviter un ../tmp//.htaccess le $rep passé en argument a parfois un / terminal (mais pas toujours). git-svn-id : svn ://trac.rezo.net/spip/branches/spip-2.0@15170 caf5f3e8-d4fe-0310-bb3e-c32d5e47d55d