
Recherche avancée
Autres articles (72)
-
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 (...) -
Contribute to a better visual interface
13 avril 2011MediaSPIP is based on a system of themes and templates. Templates define the placement of information on the page, and can be adapted to a wide range of uses. Themes define the overall graphic appearance of the site.
Anyone can submit a new graphic theme or template and make it available to the MediaSPIP community.
Sur d’autres sites (5702)
-
Revision 6491065775 : Remove the redundant index computation in the first pass Remove the redundant i
29 juillet 2014, par Pengchong JinChanged Paths :
Modify /vp9/encoder/vp9_firstpass.c
Remove the redundant index computation in the first passRemove the redundant index computation when store the first
pass block-wise statistics. Currently, a single byte is
allocated for a 16x16 blocks, and all the frame statistics
saved during the first pass will be kept in memory for use
in the second pass. For a 1920x1080 300-frame clip, it will
take about 2.3 MB memory. This feature is off in current
setting.Change-Id : I135a95b348ec093d54c6a07e1e8237626909e3bd
-
Muxing files with different run times
16 novembre 2019, par Dhruv KanojiaI’ve got a few files I want to mux.
File 1 : MP4 File with runtime of 23 Minutes 45 Seconds
File 2 : MP4 File with runtime of 23 Minutes 39 Seconds
File 3 : Subtitle File
File 4 : Subtitle File
File 5 : Subtitle File
File 6 : Subtitle File
File 7 : Subtitle File
File 8 : Subtitle File
File 9 : Subtitle FileI’m trying to mux these files. Now, since there’s a runtime difference, I’m getting weird errors like :
[matroska @ 0x55e029fbd1a0] Only audio, video, and subtitles are supported for Matroska.
av_interleaved_write_frame(): Invalid argument
Error writing trailer of /root/my_dls/Output/My Vid/1/en-us/1080p/My Video - 1 [Dual Audio].mkv: Invalid argumentI can mux files with same run time just fine... but, I’m stuck on this one. Can someone help me out here.
The command I’m using :
ffmpeg -i "/root/my_dls/Output/My Vid/1/en-us/1080p/My Video - 1 [enUS].mp4" -i "/root/my_dls/Output/My Vid/1/en-us/1080p/My Video - 1 [jaJP].mp4" -i "/root/my_dls/Output/My Vid/1/en-us/1080p/My Video - 1 [enUS] .ass" -i "/root/my_dls/Output/My Vid/1/en-us/1080p/My Video - 1 [itIT] .ass" -i "/root/my_dls/Output/My Vid/1/en-us/1080p/My Video - 1 [esLA] .ass" -i "/root/my_dls/Output/My Vid/1/en-us/1080p/My Video - 1 [frFR] .ass" -i "/root/my_dls/Output/My Vid/1/en-us/1080p/My Video - 1 [esES] .ass" -i "/root/my_dls/Output/My Vid/1/en-us/1080p/My Video - 1 [deDE] .ass" -i "/root/my_dls/Output/My Vid/1/en-us/1080p/My Video - 1 [ruRU] .ass" -i "/root/my_dls/Output/My Vid/1/en-us/1080p/My Video - 1 [ptBR] .ass" -map 1 -map 2 -map 3 -map 4 -map 5 -map 6 -map 7 -map 8 -map 0:v -map 0:a -map 1:a -c copy -metadata:s:a:0 title="English Audio" -metadata:s:a:1 title="Japanese Audio" -metadata:s:a:0 language=eng -metadata:s:a:1 language=jpn -metadata:s:s:0 title="English (US) Subtitle" -metadata:s:s:1 title="Italian Subtitle" -metadata:s:s:2 title="Spanish (Latin America) Subtitle" -metadata:s:s:3 title="French Subtitle" -metadata:s:s:4 title="Spanish Subtitle" -metadata:s:s:5 title="Deutsch Subtitle" -metadata:s:s:6 title="Russian Subtitle" -metadata:s:s:7 title="Portuguese Subtitle" "/root/my_dls/Output/My Vid/1/en-us/1080p/My Video - 1 [Dual Audio].mkv"
-
FFMPEG execution from PHP
13 juin 2014, par egekhterI’m trying to execute FFMPEG from a PHP script and could not figure out the best practice for doing so when running a background process - do we use shell_exec, exec, passthru, proc_open...?
On https://trac.ffmpeg.org/wiki/Using%20FFmpeg%20from%20PHP%20scripts, they use an example of
echo shell_exec("ffmpeg -y -i input.avi output.avi null >/dev/null 2>/var/log/ffmpeg.log &");
In my code I was initially using :
exec($cmd." 2>&1", $out, $ret);
But then switched to :
passthru($cmd." 2>&1", $ret);
I chose passthru because I could actually see the encoding process in terminal, but now it’s a moot point since I’m running multiple background processes. Which is the recommended function for running background processes ?