
Recherche avancée
Médias (1)
-
The Great Big Beautiful Tomorrow
28 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Texte
Autres articles (78)
-
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 (...) -
Demande de création d’un canal
12 mars 2010, parEn fonction de la configuration de la plateforme, l’utilisateur peu avoir à sa disposition deux méthodes différentes de demande de création de canal. La première est au moment de son inscription, la seconde, après son inscription en remplissant un formulaire de demande.
Les deux manières demandent les mêmes choses fonctionnent à peu près de la même manière, le futur utilisateur doit remplir une série de champ de formulaire permettant tout d’abord aux administrateurs d’avoir des informations quant à (...)
Sur d’autres sites (4819)
-
PHP : Video file is located in s3, need to find duration a video using getid3 php module
14 mars 2019, par kaliyappan$request = $s3Client->createPresignedRequest($cmd, '+20 minutes');
echo $presignedUrl = (string)$request->getUri();
echo "\n";
//$mp3File = '/home/kaliyappan/test-HD.mov';
$getId3 = new GetId3();
$audio = $getId3->analyze($presignedUrl);
//echo '<pre>';
print_r($audio);
exit;
</pre>I have a video file located in s3, using PHP "phansys/getid3" : "^2.1@dev" module need to calculate duration. Created pre-signed URL try to access that file but it returns "could not open that file".
[GETID3_VERSION] => 1.9.4-20120530
[error] => Array
(
[0] => Could not open "Please suggest any other way to do this, but if I directly give video file path which is in my server that’s work perfectly.
-
ffmpeg-python extract a specific video stream, change its FPS and embed it back in the video
19 mars 2021, par user972014I have a video containing several streams. A few data and one video.


I need to extract the video stream, change the frame rate, embed it back in the video (or combine all stream back to an output file)


If needed, this is the list of existing streams :


I only need stream 0 and 5 (both video streams) Converted to 2 FPS. And stream 3 which is gpmd, which some irrelevant data format that I need to keep.


Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'C:\temp\video.360':
 Metadata:
 major_brand : mp41
 minor_version : 538120216
 compatible_brands: mp41
 creation_time : 2020-09-08 16:35:49
 Duration: 00:00:28.13, start: 0.000000, bitrate: 66559 kb/s
 Stream #0:0(eng): Video: hevc (Main) (hvc1 / 0x31637668), yuvj420p(pc, bt709), 4096x1344 [SAR 1:1 DAR 64:21], 30036 kb/s, 29.97 fps, 29.97 tbr, 90k tbn, 29.97 tbc (default)
 Metadata:
 creation_time : 2020-09-08 16:35:49
 handler_name : GoPro H.265
 encoder : GoPro H.265 encoder
 Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 189 kb/s (default)
 Metadata:
 creation_time : 2020-09-08 16:35:49
 handler_name : GoPro AAC
 Stream #0:2(eng): Data: none (tmcd / 0x64636D74), 0 kb/s (default)
 Metadata:
 creation_time : 2020-09-08 16:35:49
 handler_name : GoPro TCD
 Stream #0:3(eng): Data: none (gpmd / 0x646D7067), 96 kb/s (default)
 Metadata:
 creation_time : 2020-09-08 16:35:49
 handler_name : GoPro MET
 Stream #0:4(eng): Data: none (fdsc / 0x63736466), 20 kb/s (default)
 Metadata:
 creation_time : 2020-09-08 16:35:49
 handler_name : GoPro SOS
 Stream #0:5(eng): Video: hevc (Main) (hvc1 / 0x31637668), yuvj420p(pc, bt709), 4096x1344 [SAR 1:1 DAR 64:21], 30019 kb/s, 29.97 fps, 29.97 tbr, 90k tbn, 29.97 tbc (default)
 Metadata:
 creation_time : 2020-09-08 16:35:49
 handler_name : GoPro H.265
 encoder : GoPro H.265 encoder
 Side data:
 displaymatrix: rotation of nan degrees
 Stream #0:6(eng): Audio: pcm_s32be (in32 / 0x32336E69), 48000 Hz, 4 channels, s32, 6144 kb/s (default)
 Metadata:
 creation_time : 2020-09-08 16:35:49
 handler_name : GoPro AMB



-
How to overlay video on video with FFMPEG
28 septembre 2021, par Yogasihave 2 input video.mp4 (with audio) and notif.mov (with audio). I want to overlay notif.mov on video.mp4. I tried this code :


ffmpeg -y -i video.mp4 -i "notif.mov" -filter_complex "[0:v][1:v]overlay=0:0" output.mp4


both videos playing simultaneously, but sound missing from second input (notif.mov)


Any tips ? Thank you !