
Recherche avancée
Médias (2)
-
Granite de l’Aber Ildut
9 septembre 2011, par
Mis à jour : Septembre 2011
Langue : français
Type : Texte
-
Géodiversité
9 septembre 2011, par ,
Mis à jour : Août 2018
Langue : français
Type : Texte
Autres articles (77)
-
Librairies et logiciels spécifiques aux médias
10 décembre 2010, parPour un fonctionnement correct et optimal, plusieurs choses sont à prendre en considération.
Il est important, après avoir installé apache2, mysql et php5, d’installer d’autres logiciels nécessaires dont les installations sont décrites dans les liens afférants. Un ensemble de librairies multimedias (x264, libtheora, libvpx) utilisées pour l’encodage et le décodage des vidéos et sons afin de supporter le plus grand nombre de fichiers possibles. Cf. : ce tutoriel ; FFMpeg avec le maximum de décodeurs et (...) -
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 (...) -
Récupération d’informations sur le site maître à l’installation d’une instance
26 novembre 2010, parUtilité
Sur le site principal, une instance de mutualisation est définie par plusieurs choses : Les données dans la table spip_mutus ; Son logo ; Son auteur principal (id_admin dans la table spip_mutus correspondant à un id_auteur de la table spip_auteurs)qui sera le seul à pouvoir créer définitivement l’instance de mutualisation ;
Il peut donc être tout à fait judicieux de vouloir récupérer certaines de ces informations afin de compléter l’installation d’une instance pour, par exemple : récupérer le (...)
Sur d’autres sites (5946)
-
How to escape spaces in windows cmd ?
21 novembre 2017, par puppon -suSolved, look at Edit2.
I’d like to make a
.bat
file that will call this command :ffplay -f lavfi "movie=loud.mp4:s=dv+da[vid][aud];[aud]asplit[aud][out1];[aud]showcqt=1280x720:volume=30:volume2=30,format=argb,colorchannelmixer=aa=0.8[out_v];[vid][out_v]overlay[out0]"
I’m too lazy to type this every time. I need to replace
loud.mp4
from the line above to a new file.cqt "System Shock Soundtrack - 00 - Intro-6CalFsdE4tA.mp4"
I don’t understand how single and double quotes work, and how to escape spaces in file paths.
Edit1 : I’m trying this :
set arg1=%1
ffplay -f lavfi "movie='%arg1%':s=dv+da[vid][aud];[aud]asplit[aud][out1];[aud]showcqt=1280x720:volume=30:volume2=30,format=argb,colorchannelmixer=aa=0.8[out_v];[vid][out_v]overlay[out0]"and call it like that :
cqt "System Shock Soundtrack - 00 - Intro-6CalFsdE4tA.mp4"
but it results in :
Argument 'Shock' provided as input filename, but 'movie='System' was already specified.
The command that really got executed is this. Notice the
movie='"the movie file name.mp4"'
ffplay -f lavfi "movie='"System Shock Soundtrack - 00 - Intro-6CalFsdE4tA.mp4"':s=dv+da[vid][aud];[aud]asplit[aud][out1];[aud]showcqt=1280x720:volume=30:volume2=30,format=argb,colorchannelmixer=aa=0.8[out_v];[vid][out_v]overlay[out0]"
Edit2 : This worked, the
amovie='%~1'
ffplay -f lavfi "amovie='%~1'[aud];[aud]asplit[aud][out1];[aud]showcqt=1280x720:volume=30:volume2=30[out0]"
and calling as :
cqta "System Shock Soundtrack - 00 - Intro-6CalFsdE4tA.webm"
-
create mp4 video for play online by ffmpeg widthout preload
14 mai 2014, par Hamid Tanhaeii using ffmpeg to create a streamable mp4 video file for play online. but converted video try to load 3 - 4 MB data of video at start. then video can be play and seekable.
i try to remove start load data by different ffmpeg commands. but each commands had problems.
my first command(load 3-4 MB data of video at start and seekable) :
ffmpeg -i file.mkv -movflags faststart -s 500x268 -vf "movie=watermark.png [watermark]; [in][watermark] overlay=10:main_h-overlay_h-10 [out]" -b:v 100k -b:a 45k 1.mp4
and other commands(removed 3-4 MB load data at start and NOT seekable) :
ffmpeg -i CloudywithaChanceofMeatballs.mkv -movflags faststart -frag_size 1024 -s 500x268 -vf "movie=watermark.png [watermark]; [in][watermark] overlay=10:main_h-overlay_h-10 [out]" -b:v 100k -b:a 45k 1.mp4
ffmpeg -i DespicableMe2MiniMovie.mkv -movflags faststart -s 500x268 -vf "movie=watermark.png [watermark]; [in][watermark] overlay=10:main_h-overlay_h-10 [out]" -b:v 100k -b:a 45k 2.mp4
ffmpeg -i DespicableMe2MiniMovie.mkv -movflags faststart -frag_size 10240 -s 500x268 -vf "movie=watermark.png [watermark]; [in][watermark] overlay=10:main_h-overlay_h-10 [out]" -b:v 100k -b:a 45k 2.mp4
ffmpeg -i DespicableMe2MiniMovie.mkv -movflags faststart -frag_duration 2000 -s 500x268 -vf "movie=watermark.png [watermark]; [in][watermark] overlay=10:main_h-overlay_h-10 [out]" -b:v 100k -b:a 45k 2.mp4
ffmpeg -i CloudywithaChanceofMeatballs.mkv -movflags faststart -frag_duration 2000 -s 500x268 -vf "movie=watermark.png [watermark]; [in][watermark] overlay=10:main_h-overlay_h-10 [out]" -b:v 100k -b:a 45k 2.mp4
ffmpeg -i CloudywithaChanceofMeatballs.mkv -movflags frag_keyframe+empty_moov -s 500x268 -vf "movie=watermark.png [watermark]; [in][watermark] overlay=10:main_h-overlay_h-10 [out]" -b:v 100k -b:a 45k 2.mp4
ffmpeg -i CloudywithaChanceofMeatballs.mkv -g 52 -movflags frag_keyframe+empty_moov -s 500x268 -vf "movie=watermark.png [watermark]; [in][watermark] overlay=10:main_h-overlay_h-10 [out]" -b:v 100k -b:a 45k 2.mp4i used this command too(it load 3-4 MB data of video at start and seekable like first code by ffmpeg) :
MP4Box -add video.mp4 videos.mp4
MP4Box -inter 500 video.mp4my video file duration is : 1h 34min and converted size is 100MB
-
Server side video mixing
16 mars 2014, par Nicolas GoyI have a serie of video files encoded in mpeg2 (I can change this encoding), and I have to produce a movie in flash flv (this is a requirement, I can't change that encoding).
One destination movie is a compilation of different source video files.
I have a playlist defining the destination movie. For example :
Video file Position Offset Length
little_gnomes 0 0 8.5
fairies 5.23 0.12 12.234
pixies 14 0 9.2Video file is the name of the file, position is when the file should be started (in the master timeline), offset is the offset within the video file, and length is the length of the video to play. The numbers are seconds (in double).
This would result in something like that (final movie timeline) :
0--5.23|--8.5|--14|--17.464|--23.2|
little_nomes **************
fairies *********************
pixies *****************Where video overlaps, the last video to be added override the last one, the audio should be mixed.
The resulting video track would be :
0--5.23|--8.5|--14|--17.464|--23.2|
little_nomes *******
fairies ***********
pixies *****************While the resulting audio would be :
0--5.23|--8.5|--14|--17.464|--23.2|
little_nomes 11111112222222
fairies 222222211112222222222
pixies 22222222221111111Where 1 or 2 is the number of mixed audio tracks.
There can be a maximum of 3 audio tracks.
I need to write a program which takes the playlist as input and produce the flv file. I'm open to any solution (must be free/open source).
An existing tool that can do that would be the simplest, but I found none. As for making my own solution, I found only ffmpeg, I was able to do basic things with it, but the documentation is terribly lacking.
It can be any language, it doesn't have to be super fast (if it takes 30 minutes to build a 1h movie it's fine).
The solution will run on opensolaris based x64 servers. If I have to use linux, this would work too. But windows is out of the question.