
Recherche avancée
Autres articles (80)
-
MediaSPIP 0.1 Beta version
25 avril 2011, parMediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
The zip file provided here only contains the sources of MediaSPIP in its standalone version.
To get a working installation, you must manually install all-software dependencies on the server.
If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...) -
MediaSPIP version 0.1 Beta
16 avril 2011, parMediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...) -
Amélioration de la version de base
13 septembre 2013Jolie sélection multiple
Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)
Sur d’autres sites (13687)
-
How to use ffmpeg to encode mp4 to mov
19 avril 2017, par user1526912I trying to use ffmpeg to encode a video for the first time. Can anyone tell me the exact command to encode a video in the following format :
Music Video HD Source Profile
● Apple ProRes 422 (HQ)
● VBR expected at 220 Mbps
● HD encoded dimensions accepted to support square pixel aspect ratios (PASP) :
Encoded PASP Converted to ProRes From
1920 x 1080 1:1 HDCAM SR, D5, ATSC
1280 x 720 1:1 ATSC progressive● HD encoded dimensions accepted to support non-square pixel aspect ratios (this allows you to send HD video in the native dimensions of your best original source, for example in HD broadcast dimensions*) :
Encoded PASP Converted to ProRes From
1440 x 1080 1:1.33333 XDCAM-HD, HDCAM
1280 x 1080 1:1.5 DVCProHD interlaced
960 x 720 1:1.33333 DVCProHD progressiveNative frame rate of original source :
● 29.97 interlaced frames per second for video sourced
● 24 or 25 progressive frames per second for film sourced
● 23.976 progressive frames for inverse telecine sourced from film
● Telecine materials will not be accepted● HD source may be delivered matted : letterbox, pillarbox, or windowbox.
Music Video Audio Source Profile
Stereo
● MPEG-1 layer II stereo
● 384 kpbs
● 48Khz
● Included in the same file as the delivered video -
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.
-
avcodec/thread : Don't use ThreadFrame when unnecessary
6 février 2022, par Andreas Rheinhardtavcodec/thread : Don't use ThreadFrame when unnecessary
The majority of frame-threaded decoders (mainly the intra-only)
need exactly one part of ThreadFrame : The AVFrame. They don't
need the owners nor the progress, yet they had to use it because
ff_thread_(get|release)_buffer() requires it.This commit changes this and makes these functions work with ordinary
AVFrames ; the decoders that need the extra fields for progress
use ff_thread_(get|release)_ext_buffer() which work exactly
as ff_thread_(get|release)_buffer() used to do.This also avoids some unnecessary allocations of progress AVBuffers,
namely for H.264 and HEVC film grain frames : These frames are not
used for synchronization and therefore don't need a ThreadFrame.Also move the ThreadFrame structure as well as ff_thread_ref_frame()
to threadframe.h, the header for frame-threaded decoders with
inter-frame dependencies.Reviewed-by : Anton Khirnov <anton@khirnov.net>
Signed-off-by : Andreas Rheinhardt <andreas.rheinhardt@outlook.com>- [DH] libavcodec/aic.c
- [DH] libavcodec/alac.c
- [DH] libavcodec/av1dec.c
- [DH] libavcodec/av1dec.h
- [DH] libavcodec/bitpacked_dec.c
- [DH] libavcodec/cfhd.c
- [DH] libavcodec/cllc.c
- [DH] libavcodec/cri.c
- [DH] libavcodec/dnxhddec.c
- [DH] libavcodec/dvdec.c
- [DH] libavcodec/dxtory.c
- [DH] libavcodec/dxv.c
- [DH] libavcodec/dxva2_av1.c
- [DH] libavcodec/error_resilience.h
- [DH] libavcodec/exr.c
- [DH] libavcodec/ffv1.h
- [DH] libavcodec/ffv1dec.c
- [DH] libavcodec/flacdec.c
- [DH] libavcodec/fraps.c
- [DH] libavcodec/h264_picture.c
- [DH] libavcodec/h264_slice.c
- [DH] libavcodec/h264dec.c
- [DH] libavcodec/h264dec.h
- [DH] libavcodec/hapdec.c
- [DH] libavcodec/hevc_refs.c
- [DH] libavcodec/hevcdec.c
- [DH] libavcodec/hevcdec.h
- [DH] libavcodec/hqx.c
- [DH] libavcodec/huffyuvdec.c
- [DH] libavcodec/jpeg2000dec.c
- [DH] libavcodec/lagarith.c
- [DH] libavcodec/lcldec.c
- [DH] libavcodec/libopenjpegdec.c
- [DH] libavcodec/magicyuv.c
- [DH] libavcodec/mdec.c
- [DH] libavcodec/mpegpicture.h
- [DH] libavcodec/notchlc.c
- [DH] libavcodec/nvdec_av1.c
- [DH] libavcodec/photocd.c
- [DH] libavcodec/pixlet.c
- [DH] libavcodec/proresdec2.c
- [DH] libavcodec/pthread_frame.c
- [DH] libavcodec/rv34.c
- [DH] libavcodec/sheervideo.c
- [DH] libavcodec/takdec.c
- [DH] libavcodec/thread.h
- [DH] libavcodec/threadframe.h
- [DH] libavcodec/tiff.c
- [DH] libavcodec/tta.c
- [DH] libavcodec/utils.c
- [DH] libavcodec/utvideodec.c
- [DH] libavcodec/v210dec.c
- [DH] libavcodec/v410dec.c
- [DH] libavcodec/vaapi_av1.c
- [DH] libavcodec/vble.c
- [DH] libavcodec/vp8.h
- [DH] libavcodec/vp9shared.h
- [DH] libavcodec/webp.c
- [DH] libavcodec/ylc.c