
Recherche avancée
Médias (2)
-
SPIP - plugins - embed code - Exemple
2 septembre 2013, par
Mis à jour : Septembre 2013
Langue : français
Type : Image
-
Publier une image simplement
13 avril 2011, par ,
Mis à jour : Février 2012
Langue : français
Type : Video
Autres articles (53)
-
Mise à jour de la version 0.1 vers 0.2
24 juin 2013, parExplications des différents changements notables lors du passage de la version 0.1 de MediaSPIP à la version 0.3. Quelles sont les nouveautés
Au niveau des dépendances logicielles Utilisation des dernières versions de FFMpeg (>= v1.2.1) ; Installation des dépendances pour Smush ; Installation de MediaInfo et FFprobe pour la récupération des métadonnées ; On n’utilise plus ffmpeg2theora ; On n’installe plus flvtool2 au profit de flvtool++ ; On n’installe plus ffmpeg-php qui n’est plus maintenu au (...) -
Personnaliser en ajoutant son logo, sa bannière ou son image de fond
5 septembre 2013, parCertains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;
-
Ecrire une actualité
21 juin 2013, parPrésentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
Vous pouvez personnaliser le formulaire de création d’une actualité.
Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)
Sur d’autres sites (6830)
-
Python get list of streams from video (audio/video)
2 août 2019, par user972014I have a video file and I want to get the list of streams from it. I can see the needed result by for example executing a simple `ffprobe video.mp4 :
....
Stream #0:0(eng): Video: h264 (High) (avc1 / 0x31637661) ......
Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), ......
....But I need to use python and code that will work both on Windows and Ubuntu, without executing an external process.
My real goal is to check whether there is ANY audio stream within the video (a simple yes/no would suffice), but I think getting extra information can be helpful for my problem, so I’m asking about the entire streams
EDIT : Clarifying that I need to avoid executing some external process, but looking for some python code/library to do it within the process.
-
Is there a way to concatenate mp4 video files in ffmpeg without video resolution switching ? [closed]
15 mai 2024, par Micery999So i tried this command from windows


(echo file 'first file.mp4' & echo file 'second file.mp4' )>list.txt
ffmpeg -safe 0 -f concat -i list.txt -c copy output.mp4



while making a batch file


Then i concatenate two video's and as soon as the one video ended. It changes resolution, then the video player started to glitch out pixel's like in vlc.


Even if i typed


ffmpeg -safe 0 -f concat -i list.txt -vf scale=640:360 -c copy output.mp4



Nothing happened.


-
Extracting audio from video per video frame (C++) [on hold]
5 septembre 2015, par PaulZyCZSeveral days ago I had written an interface (in C) to simple DLL library which processes video in OpenCV using Qt5 framework. There is a function which takes frame ID and returns the raw picture data of the frame (so it can be played in Unity using C#). There is however no function to extract corresponding audio. So I am looking for a way to write such a function.
I am thinking of a way to extract audio from video file (say MP4 with MPEG-4), with length of the corresponding video frame. But so far I have found only tutorials about extracting whole track (via FFMPEG) either to save or play the sound.
Is there a way to extract only a "frame" (1/fps seconds of audio) ? Or would it be better to create indexes and extract whole track ?
Thank you for answers.
PS : Usual questions deal with whole track, not one frame-length sample specified by video frame ID. I have little knowledge of the FFMPEG and it has been several months since I used it last in uni project.
I have frame, it’s ID, but no sound to it.