
Recherche avancée
Médias (29)
-
#7 Ambience
16 octobre 2011, par
Mis à jour : Juin 2015
Langue : English
Type : Audio
-
#6 Teaser Music
16 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#5 End Title
16 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#3 The Safest Place
16 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#4 Emo Creates
15 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#2 Typewriter Dance
15 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
Autres articles (17)
-
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 (...) -
Organiser par catégorie
17 mai 2013, parDans MédiaSPIP, une rubrique a 2 noms : catégorie et rubrique.
Les différents documents stockés dans MédiaSPIP peuvent être rangés dans différentes catégories. On peut créer une catégorie en cliquant sur "publier une catégorie" dans le menu publier en haut à droite ( après authentification ). Une catégorie peut être rangée dans une autre catégorie aussi ce qui fait qu’on peut construire une arborescence de catégories.
Lors de la publication prochaine d’un document, la nouvelle catégorie créée sera proposée (...) -
Les formats acceptés
28 janvier 2010, parLes commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
ffmpeg -codecs ffmpeg -formats
Les format videos acceptés en entrée
Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
Les formats vidéos de sortie possibles
Dans un premier temps on (...)
Sur d’autres sites (6432)
-
Adding total duration information in mp4 audio stream file with FFMPEG
6 avril 2016, par lex82I’m trying to write an AAC audio stream into an mp4 file using the FFMPEG libraries. I am using a custom IO context that writes directly to a socket so I have to set
ioContext->seekable = 0
. To make this work I had to add the "movflags"empty_moov
andfrag_keyframe
when writing the header.After writing the output to a file on the other end of the socket, I can play the file in VLC or Windows Media Player. However, seeking to a specific position in the file is not working properly in both players. WMP also does not show the total duration and VLC only flashes it shortly when reaching the end of the audio.
Is there a way to add more metadata when muxing so the players are able to treat the file as if it was not written as a stream ? Transfer via the socket is not interrupted abruptly, so I could write metadata at the end of the file. I also know the total duration in advance, so I could add it to the header of the file if it was possible. I cannot use the
faststart
flag because this would require output to a seekable file before writing to the socket.Update : Tried setting
nb_frames
andavg_frame_rate
on the stream but it didn’t help. -
FFMPEG linux how to get the total time duration of a folder containing videos ?
3 octobre 2015, par Andrea Turcoi need to get the total count of video times in a folder
I need to generate a file .txt that export just the total time of the videos in the folder in the format :
HH:MM:SS
Actually with this script i get just the duration of single files splitted..i need just single output in the file video_times.txt with the total duration.
videos=( "/home/videos")
default_ext=( mp4 avi )
dump_file=./video_times.txt
# parameters or default values?
(( $#==0 )) && ext=( "${default_ext[@]}" ) || ext=( "$@" )
echo "locations: ${videos[@]/$HOME/~}"
echo "extensions: ${ext[@]}"
for(( i=0; i<${#ext[@]}; i++ ))
do
(( i>0 )) && find_params+=( -o )
find_params+=( -iname '*.'${ext[$i]} )
done
find_params=( '(' "${find_params[@]}" ')' )
rm "$dump_file" 2>/dev/null
while IFS= read -rd '' f
do
echo "$(( ++n )): $f"
# time in original HH:MM:SS.ms format and in SSSSSS.ms
ffmpeg -i "$f" 2>&1 | awk '/Duration:/ {split($2, t, ":|,"); print $2 t[1]*3600+t[2]*60+t[3]; }' >> "$dump_file"
done < <( find "${videos[@]}" "${find_params[@]}" -print0 )
awk -F, ' {
total=$2;
# printing numbers during work
# printf("%+10.2f\t(%10.2f)\n", $2, total );
}
END {
# print "-----------------------------";
printf( "%.2f seconds in %d files\n", total, NR );
h=total/3600; total%=3600;
m=total/60; total%=60;
printf( "%02d:%02d:%s\n", h, m, total )
}' "$dump_file" -
Safari on Yosemite doesn't get total media duration from init file of video generated using MP4Box
30 avril 2015, par sonamI am trying to play HTML5 video using MediaSource Extesion. I am generating dash fragmnets using MP4Box. I am creating init fragment and respective dash fragments.
I am creating mediasource and adding init fragment to it. When this is done, all the browsers where media source extension is supported(chrome, firefox developer version, android chrome, windows 8 IE11), return correct media duration. But the same doesn’t work with safari on Yosemite, where spec says media source is supported. So on safari, media duration is updated as and when data fragments are appended to it progressively. How can I make it work in safari ? Is there something that is missing from init fragment and how to add it ?