
Recherche avancée
Médias (1)
-
SPIP - plugins - embed code - Exemple
2 septembre 2013, par
Mis à jour : Septembre 2013
Langue : français
Type : Image
Autres articles (66)
-
Le profil des utilisateurs
12 avril 2011, parChaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...) -
Sélection de projets utilisant MediaSPIP
29 avril 2011, parLes exemples cités ci-dessous sont des éléments représentatifs d’usages spécifiques de MediaSPIP pour certains projets.
Vous pensez avoir un site "remarquable" réalisé avec MediaSPIP ? Faites le nous savoir ici.
Ferme MediaSPIP @ Infini
L’Association Infini développe des activités d’accueil, de point d’accès internet, de formation, de conduite de projets innovants dans le domaine des Technologies de l’Information et de la Communication, et l’hébergement de sites. Elle joue en la matière un rôle unique (...) -
Personnaliser les catégories
21 juin 2013, parFormulaire de création d’une catégorie
Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
On peut modifier ce formulaire dans la partie :
Administration > Configuration des masques de formulaire.
Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...)
Sur d’autres sites (9222)
-
ffmpeg autodetect and cut black bars on video [closed]
30 octobre 2024, par some_vasyaFILE_SRC="$HOME/some.mp4"
CROP=$(ffmpeg -ss 00:00:15 -i "${FILE_SRC}" -t 00:00:30 -vsync vfr -vf fps=1/2,cropdetect -f null - 2>&1 | awk '/crop/ { print $NF }' | tr ' ' '\n' | sort | uniq -c | sort -n | tail -1 | awk '{ print $NF }')

# before converting, need to check
fplay -vf "${CROP}" # <-- the black stripes remain




Question : how to remove black bars in video correctly so that you can watch video on TV without black bars, taking into account the definition of bars ? I am interested in a solution using ffmpeg, and not other means


I tried to find a solution to work in automatic mode, but I didn't find it


I="$@"
X=${I##*.}
O=${I%.*}_zoomed.${X}
f=$(which ffmpeg 2>/dev/null)
echo ${I}
C=$($f -i "$I" -t 1 -vf cropdetect -f null - 2>&1|awk '/crop/{print $NF}'|tail -n1)
echo "${C}"
echo $f -i "$I" -vf "$C" "$O"; $f -i "$I" -vf "$C" "$O"



-
Embed a Youtube with a MP4 File as poster
29 août 2021, par adamplI want to embed a youtube video with a 10 second silent looping MP4 file as the poster.


Currently, I am using the Wordpress video shortcode with my MP4 as the poster source, it works on some browsers but not all. Can anyone help ? I would prefer to find a pure HTML solution separate to the wordpress shortcode as I will need to get this to work on other CMSs.


[video src="https://www.youtube.com/watch?v=[videoID]" poster=<video autoplay="autoplay" loop="loop" muted="muted" playsinline="playsinline">
 <source src="/wp-content-directory/intro.mp4" type="video/mp4">
</source></video>]



What i have found is to get a looping MP4 work on all browsers, I have to use this tag with the autoplay loop muted and playsinline


<video autoplay="autoplay" loop="loop" muted="muted" playsinline="playsinline">
<source src="/directory/intro.mp4" type="video/mp4">
</source></video>



-
Which command line and version do I need to reproduce those properties ?
26 décembre 2015, par ZurechtweiserI have a file for which ffmpeg gave those properties :
...
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'TEST.MOV':
Metadata:
major_brand : qt
minor_version : 0
compatible_brands: qt
creation_time : 2015-12-26 07:45:26
Duration: 00:00:02.75, start: 0.000000, bitrate: 4935 kb/s
Stream #0:0(eng): Video: h264 (Main) (avc1 / 0x31637661), yuvj420p(pc), 1280x720 [SAR 1:1 DAR 16:9], 4775 kb/s, 59.94 fps, 59.94 tbr, 180k tbn, 119.88 tbc (default)
Metadata:
creation_time : 2015-12-26 07:45:26
handler_name : Ambarella AVC
Stream #0:1(eng): Audio: aac (mp4a / 0x6134706D), 48000 Hz, mono, fltp, 64 kb/s (default)
Metadata:
creation_time : 2015-12-26 07:45:26
handler_name : Ambarella AACWhich command line and version do I need to reproduce those properties ?
I tried
ffmpeg -i "test.mp4" -s 1280x720 -vcodec libx264 -c:a libvo_aacenc -q:a 3 -r 59.94 -b:v 4935k -b:a 64k -ac 1 -ar 48000 TEST2.MOV
But it’s not the same.
Goal is simple : my actioncam has a hdmi-output. I want to watch movies next to my own footage using my actioncam when I am abroad. Goal is to make the actioncam think, it was it’s own footage to play it back. Currently I only get ’invalid’.