
Recherche avancée
Médias (1)
-
Video d’abeille en portrait
14 mai 2011, par
Mis à jour : Février 2012
Langue : français
Type : Video
Autres articles (54)
-
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 (...) -
Menus personnalisés
14 novembre 2010, parMediaSPIP utilise le plugin Menus pour gérer plusieurs menus configurables pour la navigation.
Cela permet de laisser aux administrateurs de canaux la possibilité de configurer finement ces menus.
Menus créés à l’initialisation du site
Par défaut trois menus sont créés automatiquement à l’initialisation du site : Le menu principal ; Identifiant : barrenav ; Ce menu s’insère en général en haut de la page après le bloc d’entête, son identifiant le rend compatible avec les squelettes basés sur Zpip ; (...) -
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 (...)
Sur d’autres sites (5173)
-
yt-dlp and ffmpeg CLI : dynamically naming output file using ${}
14 juin 2022, par garsonI'm trying to dynamically name the output created by running yt-dlp and piping to ffmpeg for further processing. Ideally I'd also like to preserve other metadata from the Youtube in the output mp4 file.


What I have tried (working example)


yt-dlp "https://www.youtube.com/watch?v=PtkqwslbLY8" -o - | /
ffmpeg -i - -vcodec libx264 -crf 23 -preset fast -profile:v /
baseline -level 3 -refs 6 -vf "scale=640:-1,pad=iw:480:0:(oh-ih)/2,/
format=yuv420p" -acodec copy ${%(title)s}out.mp4



What the current result is


However, this just creates a file called out.mp4, without anything of the earlier video title in the file name.


What I want the result to be


I want the result to be a file called something like Jupiter_101_National_Geographicout.mp4 (based on the title of the Youtube Video).


-
php streaming video : can tmp file be accessed before move_uploaded_file ?
5 août 2019, par JintorMy question is about accessing file while they are being uploaded to the server.
Can I perform "live" video streaming but BEFORE move_uploaded_file ???
because move_uploaded_file have to wait until the video is completely finished.
<?php
// Can I access tmp before move_uploaded_file ?
move_uploaded_file('tmp_name','new_location');Is there a way to access the tmp file during upload and perform ffmpeg ?
I was considering upload by chunk via xhr request... but it seems .mp4 from a mobile don’t necessarily apply a fast start...
how live streaming services companies do it ?
**** More clarifications :
Live streaming. Example User X take his phone and want to go live, he hit a button "stream yourself" than the camera starts recording and while uploading, the server begins to save it to the server and other users like Y, Z, A, B begin to watch while X is still begin live -
how can i insert an empty subtitle
22 avril 2020, par Ginsoi have a bunch of mp4 files and i would like to convert them to mkv, so that the automatic selection auf audio and subtitle track of vlc works.
the thing is some of them have 4 subtitles (first german and english only for foreign languages and then german and english for all) and some of them only 2 (because in those episodes there are no foreign languages). Can i insert 2 empty subtitle tracks before them so that i can set my vlc to select the first or second subtitle when i watch them ?



i convert the episodes with 4 subtitles like this :



ffmpeg -i in.mp4 -map 0:0 -map 0:1 -map 0:2 -map 0:3 -map 0:4 -map 0:5 -map 0:6 out.mkv



0:0 is of course the video



0:1 and 0:2 are audio tracks



the rest are the subtitles



BTW : is there a language code for forced subtitles ?
-metadata:s:s:1 language=?