
Recherche avancée
Médias (91)
-
Les Miserables
9 décembre 2019, par
Mis à jour : Décembre 2019
Langue : français
Type : Textuel
-
VideoHandle
8 novembre 2019, par
Mis à jour : Novembre 2019
Langue : français
Type : Video
-
Somos millones 1
21 juillet 2014, par
Mis à jour : Juin 2015
Langue : français
Type : Video
-
Un test - mauritanie
3 avril 2014, par
Mis à jour : Avril 2014
Langue : français
Type : Textuel
-
Pourquoi Obama lit il mes mails ?
4 février 2014, par
Mis à jour : Février 2014
Langue : français
-
IMG 0222
6 octobre 2013, par
Mis à jour : Octobre 2013
Langue : français
Type : Image
Autres articles (61)
-
Mise à jour de la version 0.1 vers 0.2
24 juin 2013, parExplications des différents changements notables lors du passage de la version 0.1 de MediaSPIP à la version 0.3. Quelles sont les nouveautés
Au niveau des dépendances logicielles Utilisation des dernières versions de FFMpeg (>= v1.2.1) ; Installation des dépendances pour Smush ; Installation de MediaInfo et FFprobe pour la récupération des métadonnées ; On n’utilise plus ffmpeg2theora ; On n’installe plus flvtool2 au profit de flvtool++ ; On n’installe plus ffmpeg-php qui n’est plus maintenu au (...) -
Personnaliser en ajoutant son logo, sa bannière ou son image de fond
5 septembre 2013, parCertains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;
-
Ecrire une actualité
21 juin 2013, parPrésentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
Vous pouvez personnaliser le formulaire de création d’une actualité.
Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)
Sur d’autres sites (10397)
-
libavformat/segment : change segment_list_size behavior to match hls_list_size behavior.
9 juillet 2014, par Simon Thelenlibavformat/segment : change segment_list_size behavior to match hls_list_size behavior.
Make the segment muxer keep segment_list_size segments instead of
segment_list_size + 1 segments. This patch also changes the
documentation for segment_list_size to reduce possible confusion over
how many segments are kept.this allows the segment list to
be limited to containing only one segment which used to be impossible
because a segment_list_size of 0 kept all the segments and a
segment_list_size of 1 kept 2 segments.Signed-off-by : Simon Thelen <ffmpeg-dev@c-14.de>
Signed-off-by : Michael Niedermayer <michaelni@gmx.at> -
Using ffmpeg to get a passthrough stream and create an audio resource for discordjs/voice ?
5 novembre 2022, par Zer0I have access to an hls manifest file which i can use to download a song.
I use the following command to download it/pipe it to stdout :

ffmpeg -i 'https://api.someurl.com/1/2/3/stream.ismd/manifest.m3u8' -vn -sn -f flv -c copy -|ffmpeg -i - -b:a 192k -f mp3 -
.

I am successfully able to output a playable mp3 from this command.


I am looking for a way to get the same kind of result in nodejs and get a readable stream from the final download and then pipe it to
createAudioResource()
to make it playable in a discord voice channel.

There is a nodejs module called
m3u8stream
which i tried using with the code mentioned below but i couldnt get it to work as my knowledge of nodejs streams is limited and the documentation is confusing to understand.

const stream = new PassThrough()
let resource
const stream = m3u8stream('https://api.someurl.com/1/2/3/stream.ismd/manifest.m3u8', {parser : 'm3u8',
requestOptions : {headers : {"content-type" : "video/mp4"}}
}).pipe(stream)
stream.on('data', d=>{resource = createAudioResource(d)})
player.play(resource)



This code did not work and i am assuming this has something to do with
m3u8stream
itself because piping the stream tofs.createWriteStream('file.mp4')
as shown in their example results in a zero kb mp4 file.

I am sure there is be a better tool or a way to get a stream from the manifest and get it to play on discord and i would be happy to know about them as i am not bound to use ffmpeg for this.
Any help to make this work is appreciated. Thanks !


-
FFmpeg : omitting -filter_complex results in missing video in some players
17 mai 2017, par pintxoI created a not so simple ffmpeg command with a complex filter to append opening/closing credits to a video. In the same process the video is resized and re-encoded. This works fine in all players I tested.
When I leave out the -filter_complex arg and image inputs, the resulting file plays as expected in VLC but has only audio (no video) in Windows Media Player.
This is all done on Windows 10, using a standard windows batch file.
Any one an idea what’s going on here ? My ffmpeg foo is very limited.
ffmpeg.exe ^
-i "..\videos\film.mov" ^
-y ^
-codec:a aac ^
-s:v 1280x720 ^
-codec:v libx264 -preset slower -tune animation -crf 22 ..\videos\film.mov.m4v"
ffmpeg.exe ^
-i "..\videos\film.mov" ^
-i OpeningCredits.de.png -i ClosingCredits.de.png ^
-filter_complex "[0:v][1:v] overlay=0:0:enable='between(t,0,3.5)',drawtext=enable='between(t,0,3.5)':fontfile=fonts/Roboto-Bold.ttf:text=Test:fontcolor=white:fontsize=104:x=(w-text_w)/2:y=(h-text_h)/2+45,drawtext=enable='between(t,0,3.5)':fontfile=fonts/Roboto-Bold.ttf:text=:fontcolor=white:fontsize=104:x=(w-text_w)/2:y=(h-text_h)/2+45+text_h+20 [tmp]; [tmp][2:v] overlay=0:0:enable='between(t,39-5.2,39)'" ^
-y ^
-codec:a aac ^
-s:v 1280x720 ^
-codec:v libx264 -preset slower -tune animation -crf 22 "..\videos\film.mov.m4v"