
Recherche avancée
Médias (10)
-
Demon Seed
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Demon seed (wav version)
26 septembre 2011, par
Mis à jour : Avril 2013
Langue : English
Type : Audio
-
The four of us are dying (wav version)
26 septembre 2011, par
Mis à jour : Avril 2013
Langue : English
Type : Audio
-
Corona radiata (wav version)
26 septembre 2011, par
Mis à jour : Avril 2013
Langue : English
Type : Audio
-
Lights in the sky (wav version)
26 septembre 2011, par
Mis à jour : Avril 2013
Langue : English
Type : Audio
-
Head down (wav version)
26 septembre 2011, par
Mis à jour : Avril 2013
Langue : English
Type : Audio
Autres articles (19)
-
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 (...) -
Ajouter notes et légendes aux images
7 février 2011, parPour pouvoir ajouter notes et légendes aux images, la première étape est d’installer le plugin "Légendes".
Une fois le plugin activé, vous pouvez le configurer dans l’espace de configuration afin de modifier les droits de création / modification et de suppression des notes. Par défaut seuls les administrateurs du site peuvent ajouter des notes aux images.
Modification lors de l’ajout d’un média
Lors de l’ajout d’un média de type "image" un nouveau bouton apparait au dessus de la prévisualisation (...) -
Automated installation script of MediaSPIP
25 avril 2011, parTo overcome the difficulties mainly due to the installation of server side software dependencies, an "all-in-one" installation script written in bash was created to facilitate this step on a server with a compatible Linux distribution.
You must have access to your server via SSH and a root account to use it, which will install the dependencies. Contact your provider if you do not have that.
The documentation of the use of this installation script is available here.
The code of this (...)
Sur d’autres sites (4390)
-
Fluent ffmpeg low video quality using original file bitrate
18 février 2021, par KopEreI have downloaded few sample videos from youtube with 1080p quality now I try to scale it to 1080p, 720p, and 480p but after encoding the quality is much lower (Visible compression artifacts). When I set the bitrate automatically the quality is comparable to that of the original file but the file size is a few times bigger than original. I am not sure if I am making a mistake in FFmpeg options or if youtube has any advanced algorithms that allow such a low bitrate.




ffmpeg(req.file.path)
.output(`${videoPath}/1920x1080.mp4`)
.outputOption('-x264-params', 'keyint=48:min-keyint=48:scenecut=0:ref=5:bframes=3:b-adapt=2', '-force_key_frames', 'expr:gte(t,n_forced*2)')
.addOption('-preset ultrafast')
.videoCodec('libx264')
.videoBitrate(`${bitRate/1000}k`)
.audioBitrate('320k')
.audioChannels(2)
.size('1920x1080')







-
How can I pass chapter data to multiple streams with tee muxer
11 février 2021, par jonnywishboneI'm trying to transcode several videos from their original format into 4K and 1080p HD MKV and/or MP4 containers. The original contains chapter info, but no matter how many incarnations of ffmpeg flags/settings I've tried, the chapter data doesn't wind up in either output stream.


Here's a redacted version of the command I'm using (PowerShell 7.1) :
...


ffmpeg -i "XXXXXxxxx.mkv" `
 -loglevel repeat+warning -stats -hide_banner -y -benchmark `
 -flags +global_header -filter_complex `
 "[0:v]split=2[s0][s1]; `
 [s0]null[v2160]; [s1]scale=1920:-1[v1080]" `
 -to 00:01:05 -map "[v2160]" -map "[v1080]" -map 0:1 -map_metadata 0 -map_chapters 0 -movflags use_metadata_tags `
 -c:v libx265 -x265-params `
 "log-level=error" -pix_fmt yuv420p10le `
 -b:v:0 3100K -b:v:1 2200K -minrate 400K -bufsize 8M `
 -c:a:0 aac -ac:a:0 2 -ar:a:0 48000 -af:a:0 dynaudnorm -b:a:0 192k -disposition:a:0 default+original `
 -metadata:s:a:0 language=eng -metadata:s:a:0 title="aac-stereo" -metadata:s:a:0 handler="aac-stereo" `
 -metadata comment=" " -metadata title=""XXXXXxxxx" `
 -f tee "[select=\'v:0,a\':f=matroska]`""XXXXXxxxx [2160p].mkv`"|[select=\'v:1,a\':f=matroska]`""XXXXXxxxx [1080p].mkv`""



...


What's the secret sauce for getting chapter info passed to the output streams ? Is it a tee
select
of some sort ? A different-map_metadata
-type setting ?

Please forgive the odd code formatting - the editor really didn't know what to do with PowerShell back-tick escape characters that delimit quotes and other literals in PS scripting !


-
Use ffmpeg to downscale, tonemap, downmix and re encode mkv
1er février 2021, par nikartzI try to use ffmpeg to downscale a 4k and tonemap a 4k HDR mkv to a 1080p SDR mkv with this code :


ffmpeg -i "Input.mkv" -vf zscale=t=linear:npl=100,format=gbrpf32le,zscale=p=bt709,tonemap=tonemap=hable:desat=0,zscale=t=bt709:m=bt709:r=tv,format=yuv420p -c:v hevc_nvenc -b:v 12M -preset slow "Output.mkv"



The problem is, that only the first audio track (of four) is copied to the new mkv and the subtitle tracks are missing :


Input :


Stream #0:0: Video: hevc (Main 10), yuv420p10le(tv, bt2020nc/bt2020/smpte2084), 3840x2160 [SAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 1k tbn, 23.98 tbc (default)
Stream #0:1(ger): Audio: eac3, 48000 Hz, 7.1, fltp (default)
Stream #0:2(ger): Audio: dts (DTS-HD MA), 48000 Hz, 7.1, s16p
Stream #0:3(eng): Audio: truehd, 48000 Hz, 7.1, s32 (24 bit)
Stream #0:4(eng): Audio: ac3, 48000 Hz, 5.1(side), fltp, 640 kb/s
Stream #0:5(ger): Subtitle: subrip (default) (forced)
Stream #0:6(ger): Subtitle: dvd_subtitle, 1920x1080 (forced)
Stream #0:7(ger): Subtitle: hdmv_pgs_subtitle, 1920x1080 (forced)
Stream #0:8(ger): Subtitle: dvd_subtitle, 1920x1080
Stream #0:9(ger): Subtitle: hdmv_pgs_subtitle
Stream #0:10(eng): Subtitle: dvd_subtitle, 1920x1080
Stream #0:11(eng): Subtitle: hdmv_pgs_subtitle



Output :


Stream #0:0: Video: hevc (Main), yuv420p(tv), 3840x2160 [SAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 1k tbn, 23.98 tbc (default)
Stream #0:1(ger): Audio: vorbis, 48000 Hz, 7.1, fltp (default)
Stream #0:2(ger): Subtitle: ass (default) (forced)



I would like to have an mkv as output converts all the audio tracks to aac Stereo (but keeps all four of them), copies the subtitle tracks and tonemaps/downscales the video track.


I have tried to use the
-map 0
or-map 0:a:0 -map 0:a:1 ...
commands (and some similiar to those, however I seemingly end up with either one audio track, no video track or a video track that is just copied.

I possible, I would also like to use nvenc with a high quality preset, which is the reason for
-c:v hevc_nvenc -b:v 12M -preset slow
in my command, however I have no idea, if this is done right, since the ouput mkv also as a 4k video track instead of a 1080p. Maybe this is caused by the-c:v
because it overrides-vf
? Sorry, I am feeling dumb and am just getting started with ffmpeg.

There is so much information about ffmpeg out there, but it is either too complicated for me, or not answering my questions.


Thanks for your help !