Recherche avancée

Médias (91)

Autres articles (61)

  • Mise à jour de la version 0.1 vers 0.2

    24 juin 2013, par

    Explications 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, par

    Certains 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, par

    Pré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 Thelen
    libavformat/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>

    • [DH] doc/muxers.texi
    • [DH] libavformat/segment.c
  • Using ffmpeg to get a passthrough stream and create an audio resource for discordjs/voice ?

    5 novembre 2022, par Zer0

    I have access to an hls manifest file which i can use to download a song.&#xA;I use the following command to download it/pipe it to stdout :&#xA;ffmpeg -i &#x27;https://api.someurl.com/1/2/3/stream.ismd/manifest.m3u8&#x27; -vn -sn -f flv -c copy -|ffmpeg -i - -b:a 192k -f mp3 -.

    &#xA;

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

    &#xA;

    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.

    &#xA;

    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.

    &#xA;

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

    &#xA;

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

    &#xA;

    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.&#xA;Any help to make this work is appreciated. Thanks !

    &#xA;

  • FFmpeg : omitting -filter_complex results in missing video in some players

    17 mai 2017, par pintxo

    I 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"