
Recherche avancée
Médias (1)
-
Richard Stallman et le logiciel libre
19 octobre 2011, par
Mis à jour : Mai 2013
Langue : français
Type : Texte
Autres articles (24)
-
MediaSPIP Core : La Configuration
9 novembre 2010, parMediaSPIP Core fournit par défaut trois pages différentes de configuration (ces pages utilisent le plugin de configuration CFG pour fonctionner) : une page spécifique à la configuration générale du squelettes ; une page spécifique à la configuration de la page d’accueil du site ; une page spécifique à la configuration des secteurs ;
Il fournit également une page supplémentaire qui n’apparait que lorsque certains plugins sont activés permettant de contrôler l’affichage et les fonctionnalités spécifiques (...) -
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 (...) -
Use, discuss, criticize
13 avril 2011, parTalk to people directly involved in MediaSPIP’s development, or to people around you who could use MediaSPIP to share, enhance or develop their creative projects.
The bigger the community, the more MediaSPIP’s potential will be explored and the faster the software will evolve.
A discussion list is available for all exchanges between users.
Sur d’autres sites (4101)
-
Extracting media duration in R
27 septembre 2015, par Jason FrenchI’m investigating the fastest way to extract film duration in R using
ffprobe
and thedata.table
package.Setup Example Source Media
wget https://ia801403.us.archive.org/13/items/AboutBan1935/AboutBan1935_512kb.mp4
mv AboutBan1935_512kb.mp4 one.mp4
for file in two.mp4 three.mp4 four.mp4 five.mp4 ; do cp one.mp4 "$file" ; doneVarious Approaches
library(data.table)
library(parallel)
# Get locations
executables <- Sys.which(c('ffprobe', 'ffmpeg'))
# Duration Function
get_duration_parallel <- function(files){
mclapply(X = files, FUN = function(file){
ffprobe_duration <- paste(executables['ffprobe'],
" -v quiet -print_format compact=print_section=0:nokey=1:escape=csv -show_entries format=duration ",
'"', file, '"', sep = "")
file_duration <- as.numeric(system(command = ffprobe_duration, intern = TRUE))
return(file_duration)
}, mc.cores = detectCores())
}
get_duration <- function(files){
sapply(X = files, FUN = function(file){
ffprobe_duration <- paste(executables['ffprobe'],
" -v quiet -print_format compact=print_section=0:nokey=1:escape=csv -show_entries format=duration ",
'"', file, '"', sep = "")
file_duration <- as.numeric(system(command = ffprobe_duration, intern = TRUE))
return(file_duration)
})
}
# Example table
dt <- data.table(Path = list.files(path = ".", pattern = "*.mp4$"))
system.time(
dt[, Seconds := get_duration_parallel(Path)]
)
# 9.667 seconds
system.time(
dt[, Seconds := get_duration(Path)]
)
# 0.078 secondsAm I missing any obvious speed-ups ? Scanning a 500-file archive for ffprobe stats takes 5 minutes in testing.
-
A ffmpeg h.265 hardware issue
27 août 2015, par R.P. da CostaHi i have a ffmpeg hardware related problem.
Simply put : The conversion works on mac, but on some TV screens the converted h.265 video will give a few seconds of delay when it starts playing !A response will be much appreciated !
Input :
UHD(3840x2160) Prores 422(HQ) master file
What we used to recompile to a 16bit renderer :
brew uninstall ffmpeg
brew uninstall x265
brew uninstall --force x265
brew install x265 --16-bit
brew install ffmpeg --with-fdk-aac --with-ffplay --with-freetype --with-libass --with-libquvi --with-libvorbis --with-libvpx --with-opus --with-x265Code we used in FFMpeg :
-b:v 36000k -maxrate 38000k -c:v libx265 -pix_fmt yuv420p10le -x265-params "profile=main10:level=5.1:b=36000k" -c:a aac -strict experimental -b:a 256k
Preferred Output
3840x2160 resolution
10bit 4:2:0 colordepth
Main 10@L5.1@High format profile
MP4 container
HEVC codec
24p framerate
38Mb Variable bitrate
256Kb Variable bitrate/AAC audioOutput device is Tarakan UHD Stream Generator T7
Our problem :
The encode file that FFmpeg gives is correct, on spec level.
I would like the file to have a Main 10 High level 5.1 format profile.
Based on the specs I’ve put into FFmpeg, it automatically makes a file with a level 5.0 profile, as it doesn’t need a higher level based on the specs.The file plays correctly on a Mac.
The file must also play correctly on a Tarakan UHD Stream Generator(media player with multiple HDMI outputs). The file takes a while to load, chops off 5-6 seconds of the beginning of the film, then plays correctly. -
checkasm : Remove unnecessary const on scalar parameters
15 décembre 2023, par Martin Storsjöcheckasm : Remove unnecessary const on scalar parameters
The ffmpeg coding style doesn't usually use const on scalar
parameters (or on the pointer values - as opposed to the type
that is pointed to, where it has a semantic meaning), contrary
to the dav1d coding style (where this was imported from).This avoids warnings about differences in the type signatures
between declaration and definition of this function, with older
versions of MSVC.The issue was observed with one version of MSVC 2017,
19.16.27024.1, with warnings like these :src/tests/checkasm/checkasm.c(969) : warning C4028 : formal parameter 3 different from declaration
The warning itself is bogus as the const here is harmless, and
newer versions of MSVC no longer warn about this.Signed-off-by : Martin Storsjö <martin@martin.st>