
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 (9)
-
Déploiements possibles
31 janvier 2010, parDeux types de déploiements sont envisageable dépendant de deux aspects : La méthode d’installation envisagée (en standalone ou en ferme) ; Le nombre d’encodages journaliers et la fréquentation envisagés ;
L’encodage de vidéos est un processus lourd consommant énormément de ressources système (CPU et RAM), il est nécessaire de prendre tout cela en considération. Ce système n’est donc possible que sur un ou plusieurs serveurs dédiés.
Version mono serveur
La version mono serveur consiste à n’utiliser qu’une (...) -
Submit bugs and patches
13 avril 2011Unfortunately a software is never perfect.
If you think you have found a bug, report it using our ticket system. Please to help us to fix it by providing the following information : the browser you are using, including the exact version as precise an explanation as possible of the problem if possible, the steps taken resulting in the problem a link to the site / page in question
If you think you have solved the bug, fill in a ticket and attach to it a corrective patch.
You may also (...) -
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 (3445)
-
How to run the "ffmpeg -i input.mp4 output.avi" in Node.js ? [duplicate]
3 septembre 2016, par ThalesThis question already has an answer here :
I have a application on Electron that needs receive video and convert him another format, but I don’t know how to do. I’m thinking to do with node, but I need how to run the command "ffmpeg -i input.mp4 output.avi". I don’t know if this way is better. I thank first of all and I apologize for the ignorance.
-
FFmpeg - concatenate variable length intro / outro fixed segments and separate audio track
25 septembre 2017, par bobmarksieI’m trying to create an app which generates a video based on 3 main parts : -
- Intro - Variable length video ( 20 to 30 seconds long)
- Segments - 3 clips from a "segments video" - this is a fixed length video (always 400 seconds) which contains 100 separate videos all precisely 4 seconds in length e.g. "segment 1" is from
0
to4
seconds and "segment 3" is from8
to12
seconds. - Outro - Variable length video ( 10 to 20 seconds long)
The user picks the intro, segments and outro from a list of videos and the app concatenates these together (and extracts
3
segments at random). The user also picks an audio file which plays for the entire video. The generated file should look something like the following : -GENERATED VIDEO
VIDEO | Intro (20 - 30) | Seg 1 (4) | Seg 2 (4) | Seg 3 (4) | Outro (10 - 20) |
--------+-----------------+------------+------------+------------+-------------------+
AUDIO | Audio track which spans full video (e.g. 4 minutes long) ... |I have been able to hack the following together using
ffmpeg
(which works) : -ffmpeg -y \
-i audio/audio-19.m4a \
-i videos/intro/intro-23.mkv \
-i videos/segments/segments-88.mkv \
-i videos/outro/outro-12.mkv \
-filter_complex \
"[1:v]trim=0:30,setpts=PTS-STARTPTS[v0]; \
[0:a]atrim=0:30,asetpts=PTS-STARTPTS[a0]; \
[2:v]trim=20:24,setpts=PTS-STARTPTS[v1]; \
[0:a]atrim=30:34,asetpts=PTS-STARTPTS[a1]; \
[2:v]trim=60:64,setpts=PTS-STARTPTS[v2]; \
[0:a]atrim=34:38,asetpts=PTS-STARTPTS[a2]; \
[2:v]trim=132:136,setpts=PTS-STARTPTS[v3]; \
[0:a]atrim=38:42,asetpts=PTS-STARTPTS[a3]; \
[3:v]trim=0:20,setpts=PTS-STARTPTS[v4]; \
[0:a]atrim=42:62,asetpts=PTS-STARTPTS[a4]; \
[v0][a0][v1][a1][v2][a2][v3][a3][v4][a4]concat=n=5:v=1:a=1[out]" \
-map "[out]" generated.mkvHowever, there are 2 problems with this solution : -
- I’ve had to define the length of the intro video (
[1:v]trim=0:30 ...
) and the outro video ([3:v]trim=0:20 ...
) - these are variable and would be preferable if I could simply concat the entire video. - Each of the audio tracks are trimmed (using a running total from each video length) e.g.
[0:a]atrim=0:30 ...
=>[0:a]atrim=30:34 ...
=>[0:a]atrim=34:38 ...
=> etc. Would be much easier if it simply said - "here’s the audio track - trim depending on the length of the generated video"
Any advice is much appreciated !
-
MP3 stream (ytdl-core) to PCM with fluent-ffmpeg
3 juin 2021, par SchwieriiiiigSo basically im trying to convert a MP3 stream, coming in from an NodeJS readable, to the PCM format so i can play it back via the Speaker Package.


I tried many things including : node-lame, lame, lamejs -> so i figured why not use the ffmpeg libary directly.


My Attempt (doesn't work) :


const args = " u r l "
[...]
const dl = ytdl(args, {
 filter: "audioonly",
});
const speaker = new Speaker();
ffmpeg(dl).audioCodec("libmp3lame").format("s16le").pipe(speaker);



It is however playing something, but it's more like pink or white noise.


Thanks in advance !


PS : i installed FFmpeg correctly

PSS : i use this in the main process from electron but i don't see why this would make a difference