
Recherche avancée
Médias (1)
-
The Slip - Artworks
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Texte
Autres articles (112)
-
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 -
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 (...) -
Ajouter des informations spécifiques aux utilisateurs et autres modifications de comportement liées aux auteurs
12 avril 2011, parLa manière la plus simple d’ajouter des informations aux auteurs est d’installer le plugin Inscription3. Il permet également de modifier certains comportements liés aux utilisateurs (référez-vous à sa documentation pour plus d’informations).
Il est également possible d’ajouter des champs aux auteurs en installant les plugins champs extras 2 et Interface pour champs extras.
Sur d’autres sites (5768)
-
Downloading a video using fluent-ffmpeg in nodejs and express
1er avril 2021, par Apdo ElsaedI am working on a side project to download videos from Reddit, but they separate video and audio in different files. so i have to merge them first before downloading them in the client. i was able to do all of this as in the following snippet of code.


const ffmpeg = require("fluent-ffmpeg");
const proc = new ffmpeg();

app.post('/download', async (req, res) => {
 
 const audio = "some aduio link";
 const video = "some video link";

 proc.addInput(video)
 .output('${some path}./video.mp4')
 .format('mp4')
 .on("error", err => console.log(err))
 .on('end', () => console.log('Done'));

 if(audio) {
 proc.addInput(audio);
 }

 proc.run()
 
});



using the above code, the video is being download locally in the the server in the specified path.


but i want to download the video in the client browser who sent the request. i tried :


proc.pipe(res); 



but it didn't work, it's my first time working with ffmpeg , so it would be nice if someone give me a hint


-
Using a HLS m3u8 or DASH mpd as ffmpeg input : seeking performance
21 septembre 2020, par coder_ukI wonder if any FFMPEG wizards can help with this :


I've seen examples (like FFmpeg code not working on http url for thumbnail extraction) of using a http URL as the input but so far only with an .mp4.


If I were to instead use an ABR .m3u8/.mpd as the input (which, though a text file, does represent a video) ... is FFMPEG smart enough to work with it ? To parse it ? So ... if I gave it a 5 hour HLS VOD m3u8 as input (-i http...), and asked it for a frame at 4 hours in (-ss), would it only download that one 10s segment at the 4-hours point ? And so only need to download a small 10 second .ts file. Or does it download the whole thing ?


Thanks.


-
FFMPEG - Using multiple Fiters including hardsub, denoise, watermark causes "Too many inputs" Error
17 avril 2017, par Vahid JamaliI’m trying to do one command with complex filters that allow for denoising, hardsub, scaling (to 480 height) and watermark.
I’ve gotten 3/4 filters to work in combination with each other here :
ffmpeg -i test720.mp4 -vf hqdn3d=1.5:1.5:6:6,scale=w="if(gt(dar\,854/480)\,min(854\,iw*sar)\,2*trunc(iw*sar*oh/ih/2))":h="if(gt(dar\,854/480)\,2*trunc(ih*ow/iw/sar/2)\,min(480\,ih))"\:flags=bicubic,setsar=1\,subtitles=add.ass[out]" -c:v libx264 -crf 18 -preset veryslow -tune film -refs 8 -bf 6 -aq-mode 2 -c:a copy -f mp4 720encoded.mp4
but when it comes to all for, it gives me a Too many inputs specified for the "movie" filter.
Here is my command that should work but doesn’t :
ffmpeg -i test720.mp4 -vf hqdn3d=1.5:1.5:6:6,scale=w="if(gt(dar\,854/480)\,min(854\,iw*sar)\,2*trunc(iw*sar*oh/ih/2))":h="if(gt(dar\,854/480)\,2*trunc(ih*ow/iw/sar/2)\,min(480\,ih))"\:flags=bicubic,setsar=1\,"movie=actorimage.png[wm];[in][wm]overlay=30:main_h-overlay_h-120\,subtitles=add.ass[out]" -c:v libx264 -crf 18 -preset veryslow -tune film -refs 8 -bf 6 -aq-mode 2 -c:a copy -f mp4 720encoded.mp4
I’m sure I’m making a simply syntax error somewhere in there.