
Recherche avancée
Autres articles (41)
-
Les tâches Cron régulières de la ferme
1er décembre 2010, parLa gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
Le super Cron (gestion_mutu_super_cron)
Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...) -
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 -
List of compatible distributions
26 avril 2011, parThe table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...)
Sur d’autres sites (6446)
-
Streaming playlist with browser overlay [closed]
28 juin 2024, par TchouneDo you have any idea how I can stream a video playlist on twitch (with ffmpeg or another lib) and overlay a web page (with sub twitch alerts for example).


I also need to be aware that my system needs to be multi-user. A user can stream on 1 to n different twitch channels. (multi instance).


For my production, I plan to use linux server without GUI. I've been looking for a solution for 4 months, but I've run out of ideas.


I've already tried xvfb to create a virtual desktop and display a chorimum browser, but it's not effective for production.
I've tried the whole pupeertee thing but it's not usable either.


And my backend server is under nodejs with adonisjs.
I'm currently using ffmpeg to broadcast a video playlist with m3u8 :


startStream(): number {
let parameters = [
 '-nostdin',
 '-re',
 '-f',
 'concat',
 '-safe',
 '0',
 '-vsync',
 'cfr',
 '-i',
 `concat:${app.publicPath(this.timelinePath)}`,
]

let filterComplex = ''

if (this.logo) {
 parameters.push('-i', app.publicPath(this.logo))
 filterComplex += '[1:v]scale=200:-1[logo];[0:v][logo]overlay=W-w-5:5[main];'
} else {
 filterComplex += '[0:v]'
}

if (this.overlay) {
 parameters.push('-i', app.publicPath(this.overlay))
 filterComplex += '[2:v]scale=-1:ih[overlay];[main][overlay]overlay=0:H-h[main];'
}

filterComplex += `[main]drawtext=fontfile=/usr/share/fonts/truetype/dejavu/DejaVuSans.ttf:textfile=${app.publicPath(this.guestFile)}:reload=1:x=(w-text_w)/2:y=h-text_h-10:fontsize=18:fontcolor=white[main]; [main]drawtext=fontfile=/usr/share/fonts/truetype/dejavu/DejaVuSans.ttf:text='%{localtime\\:%X}':x=10:y=h-text_h-10:fontsize=16:fontcolor=white`

parameters.push(
 '-filter_complex',
 filterComplex,
 '-copyts',
 '-pix_fmt',
 'yuv420p',
 '-s',
 '1920x1080',
 '-c:v',
 'libx264',
 '-profile:v',
 'high',
 '-preset',
 'veryfast',
 '-b:v',
 '6000k',
 '-maxrate',
 '7000k',
 '-minrate',
 '5000k',
 '-bufsize',
 '9000k',
 '-g',
 '120',
 '-r',
 '60',
 '-c:a',
 'aac',
 '-f',
 'flv',
 `${this.baseUrl}/${encryption.decrypt(this.streamKey)}`
)

this.instance = spawn('ffmpeg', parameters, {
 detached: true,
 stdio: ['ignore', 'pipe', 'pipe'],
})



I've thought of using Webrtc, but it doesn't seem to meet my needs.


I know that Gstreamer has wpeWebKit or wpesrc to do this, but there's no nodejs wrapper and above all it doesn't take playlist input (m3u8 or txt) into account...


If anyone has any new ideas, I'd be very grateful.


-
Edit duration of video with ffmpeg/ffprobe
16 octobre 2020, par ashish1512Currently in my application, I extract the duration of the video from the metadata.
The objective is that even if the video metadata has incorrect duration, I'll use ffmpeg to decode the video and calculate the correct duration.
I want to test this and want a video which has an incorrect duration in its metadata.
How can I edit the metadata of a regular video using ffmpeg or other ways to create one with an incorrect duration ?


Or if any of you have such a video, could you pls share it with me ?


-
Make sure CMake build files end up in release tarball
29 septembre 2019, par Erik de Castro LopoMake sure CMake build files end up in release tarball
- [DH] Makefile.am
- [DH] doc/Makefile.am
- [DH] doc/html/Makefile.am
- [DH] doc/html/images/Makefile.am
- [DH] examples/Makefile.am
- [DH] examples/c/Makefile.am
- [DH] examples/c/decode/file/Makefile.am
- [DH] examples/c/encode/file/Makefile.am
- [DH] examples/cpp/Makefile.am
- [DH] examples/cpp/decode/file/Makefile.am
- [DH] examples/cpp/encode/file/Makefile.am
- [DH] microbench/Makefile.am
- [DH] src/Makefile.am
- [DH] src/flac/Makefile.am
- [DH] src/libFLAC++/Makefile.am
- [DH] src/libFLAC/Makefile.am
- [DH] src/libFLAC/ia32/Makefile.am
- [DH] src/metaflac/Makefile.am
- [DH] src/plugin_common/Makefile.am
- [DH] src/plugin_xmms/Makefile.am
- [DH] src/share/Makefile.am
- [DH] src/test_grabbag/Makefile.am
- [DH] src/test_grabbag/cuesheet/Makefile.am
- [DH] src/test_grabbag/picture/Makefile.am
- [DH] src/test_libFLAC++/Makefile.am
- [DH] src/test_libFLAC/Makefile.am
- [DH] src/test_libs_common/Makefile.am
- [DH] src/test_seeking/Makefile.am
- [DH] src/test_streams/Makefile.am
- [DH] src/utils/Makefile.am
- [DH] src/utils/flacdiff/Makefile.am
- [DH] src/utils/flactimer/Makefile.am
- [DH] test/Makefile.am