
Recherche avancée
Autres articles (38)
-
Le plugin : Podcasts.
14 juillet 2010, parLe problème du podcasting est à nouveau un problème révélateur de la normalisation des transports de données sur Internet.
Deux formats intéressants existent : Celui développé par Apple, très axé sur l’utilisation d’iTunes dont la SPEC est ici ; Le format "Media RSS Module" qui est plus "libre" notamment soutenu par Yahoo et le logiciel Miro ;
Types de fichiers supportés dans les flux
Le format d’Apple n’autorise que les formats suivants dans ses flux : .mp3 audio/mpeg .m4a audio/x-m4a .mp4 (...) -
Configurer la prise en compte des langues
15 novembre 2010, parAccéder à la configuration et ajouter des langues prises en compte
Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...) -
Other interesting software
13 avril 2011, parWe don’t claim to be the only ones doing what we do ... and especially not to assert claims to be the best either ... What we do, we just try to do it well and getting better ...
The following list represents softwares that tend to be more or less as MediaSPIP or that MediaSPIP tries more or less to do the same, whatever ...
We don’t know them, we didn’t try them, but you can take a peek.
Videopress
Website : http://videopress.com/
License : GNU/GPL v2
Source code : (...)
Sur d’autres sites (10497)
-
Batch script cannot read file if there is a space
25 août 2022, par ShahpariCD "C:\Input"
for %%a in ("*.*") do "C:\ffmpeg.exe" -i %%a -map 0:v -map 0:a:0 -map 0:s -c:v copy -c:a ac3 -b:a 640K "C:\Out\%%~na.mkv"
pause



if there is no space this script works fine, but if there is a space in file name, the script reads only the first word of the file and throws an error. i tried to add a double quote first %%a. but then the script does not even run.


here is an example file name :

[TEST] ABC test - 99


-
How to downloaded embedded videos on Instagram that have multiple media network requests ? (ffmpeg / curl)
21 octobre 2022, par flhuI was wondering whether it is still possible to download the stories on Instagram that have multiple media network requests nowadays. Previously, I could simply download them using the Firefox Media Page Info View. This is still possible for some content such as reels or by using ffmpeg / curl. I have posted the network behaviour when I load a story on Instagram and a Reel on Instagram. I could not figure out which of the network requests is the relevant one (assuming it is the request with the biggest size) and when downloading it, the VLC player does not recognise the video.


Instagram Reel Network Request


Instagram Stories Network Request


When using the Firefox Media Page Info View, it is possible to download the content from the reel directly whereas the mp4 media file is greyed out.


I tried to copy the URL from the network request using :


ffmpeg -i -c copy 



Copying the corresponding curl request but also only works for the Reel where the HTTP response status codes is 206 (Reel) instead of 200 (Story).


-
FFMPEG fnExtractFrameToJPG to DB sequelize
4 juillet 2020, par jjplackafter process the video i would like to pass the first frame screenshot to to db !


I've tried by get the originalname or filename and did not get the exact thumb file


So, i've tried also use fs but, the issue is that after the thumb creation the FFMPEG add the thumb number to identify the frame, and seems impossible to get the same thumb.


Someone can help ?


here is the code


fastify.route({
 method: "POST",
 preHandler: upload.single("video"),

 handler: async function(request, reply) {
 const { Post } = fastify.sequelize;
 

 const fileName = Date.now() + "-" + request.file.originalname;
 const filename = request.file.originalname;

 const thumbName = Date.now() + "-" + "thumb" + ".jpg";
 const videoPath = "./public/uploads/";
 const thumbPath = "./public/thumb/";
 // const thumbFile = thumbPath + request.file.
 // const video_file = fs.createReadStream(request.file.path);

 try {
 const process = new ffmpeg(request.file.path);
 process.then(
 function(video) {
 video.fnExtractFrameToJPG(thumbPath, {
 frame_rate: 1,
 number: 1,
 file_name: filename[0] + "_%s"
 });
 video.setVideoStartTime("00:00:00");
 video.setVideoDuration("00:01:00");
 console.log(video.metadata);
 // FFmpeg configuration
 //console.log(video.info_configuration);
 video.save(videoPath + fileName, function(error, file) {
 if (!error) console.log("Video file: " + file);
 
 });
 },
 function(err) {
 console.log("Error: " + err);
 }
 );
 } catch (e) {
 console.log(e.code);
 console.log(e.msg);
 }

 const post = await Post.create({
 video: fileName,
 title: request.body.title,
 
 thumb: thumbName
 });
 reply.code(201).send(post);
 }
 });