
Recherche avancée
Médias (2)
-
Exemple de boutons d’action pour une collection collaborative
27 février 2013, par
Mis à jour : Mars 2013
Langue : français
Type : Image
-
Exemple de boutons d’action pour une collection personnelle
27 février 2013, par
Mis à jour : Février 2013
Langue : English
Type : Image
Autres articles (84)
-
Le plugin : Gestion de la mutualisation
2 mars 2010, parLe plugin de Gestion de mutualisation permet de gérer les différents canaux de mediaspip depuis un site maître. Il a pour but de fournir une solution pure SPIP afin de remplacer cette ancienne solution.
Installation basique
On installe les fichiers de SPIP sur le serveur.
On ajoute ensuite le plugin "mutualisation" à la racine du site comme décrit ici.
On customise le fichier mes_options.php central comme on le souhaite. Voilà pour l’exemple celui de la plateforme mediaspip.net :
< ?php (...) -
Installation en mode ferme
4 février 2011, parLe mode ferme permet d’héberger plusieurs sites de type MediaSPIP en n’installant qu’une seule fois son noyau fonctionnel.
C’est la méthode que nous utilisons sur cette même plateforme.
L’utilisation en mode ferme nécessite de connaïtre un peu le mécanisme de SPIP contrairement à la version standalone qui ne nécessite pas réellement de connaissances spécifique puisque l’espace privé habituel de SPIP n’est plus utilisé.
Dans un premier temps, vous devez avoir installé les mêmes fichiers que l’installation (...) -
Le plugin : Podcasts.
14 juillet 2010, parLe problème du podcasting est à nouveau un problème révélateur de la normalisation des transports de données sur Internet.
Deux formats intéressants existent : Celui développé par Apple, très axé sur l’utilisation d’iTunes dont la SPEC est ici ; Le format "Media RSS Module" qui est plus "libre" notamment soutenu par Yahoo et le logiciel Miro ;
Types de fichiers supportés dans les flux
Le format d’Apple n’autorise que les formats suivants dans ses flux : .mp3 audio/mpeg .m4a audio/x-m4a .mp4 (...)
Sur d’autres sites (4808)
-
FileNotFoundError : [WinError 2] The system cannot find the file specified (using ffmpeg.probe())
28 octobre 2022, par Hjalti Geir ÁgústssonI'm trying to access metadata for a video using ffmpeg.probe() and it gives this error message. There is very little info on probe online.


import os
import ffmpeg


os.chdir('E:/F/Salvaged goods/Videos/Miro/Kvikmyndir/Blade_Runner_2049.1080p.WEB-DL.H264.AC3-EVO')

pprint(ffmpeg.probe(filename='Blade_Runner_2049.1080p.WEB-DL.H264.AC3-EVO.mkv', cmd='ffprobe'))




I have also tried this, and got the same error message :


pprint(ffmpeg.probe(filename='E:/F/Salvaged goods/Videos/Miro/Kvikmyndir/Blade_Runner_2049.1080p.WEB-DL.H264.AC3-EVO/Blade_Runner_2049.1080p.WEB-DL.H264.AC3-EVO.mkv', cmd='ffprobe'))



Here is the Traceback :


Traceback (most recent call last):
 File "C:\Users\hjalt\PycharmProjects\HelloWorld\app_builder.py", line 50, in <module>
 pprint(ffmpeg.probe(filename='Blade_Runner_2049.1080p.WEB-DL.H264.AC3-EVO.mkv', cmd='ffprobe'))
 File "C:\Users\hjalt\PycharmProjects\HelloWorld\venv\lib\site-packages\ffmpeg\_probe.py", line 20, in probe
 p = subprocess.Popen(args, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
 File "C:\Users\hjalt\AppData\Local\Programs\Python\Python310\lib\subprocess.py", line 969, in __init__
 self._execute_child(args, executable, preexec_fn, close_fds,
 File "C:\Users\hjalt\AppData\Local\Programs\Python\Python310\lib\subprocess.py", line 1438, in _execute_child
 hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
FileNotFoundError: [WinError 2] The system cannot find the file specified
</module>


-
Unable to find/write moov atom in the mp4 recorded stream
11 juillet 2014, par AnilJI have written the following code to write the webcam feed into a file (.mp4) on disk. The program is successful, but when I try to play the file using player, it says "moov atom not found" and player is not showing anything. The file however is a valid mp4 file according to ffmpeg command.
This is my main thread where I encode a picture every 30ms.
public void run() {
// Set the thread rolling.
mRunning = true;
while (mRunning) {
// and display it on the Java Swing window
Record();
}
// clean up resources
cleanup();
}
private void Record() {
IVideoPicture picture = null;
BufferedImage image = null;
picture = GetNextPicture();
image = Utils.videoPictureToImage(picture);
if (picture != null) {
// If recording is enabled, record the webcam stream.
if (mRecordStream) {
// convert to the right image type
BufferedImage bgrScreen = ConvertToType(image, BufferedImage.TYPE_3BYTE_BGR);
// encode the image to stream #0
mWriter.encodeVideo(0, bgrScreen, System.nanoTime() - mStartTime, TimeUnit.NANOSECONDS);
}
try {
Thread.sleep(30);
} catch (InterruptedException e) {
return;
}
}
}From the main thread, I do this when I want to stop the recording and close this recording thread. The cleanup() method is eventually called by the main thread to close the writer. The comment does says about writing the trailer (I guess moov atom), but it does not do it. Can someone please help me find where the problem is ?
public void stopRecording() {
// Stop the thread loop.
mRunning = false;
}
private void cleanup() {
// tell the writer to close and write the trailer if needed
if (mWriter != null) {
mWriter.close();
mWriter = null;
}
if (mVideoCoder != null) {
mVideoCoder.close();
mVideoCoder = null;
}
if (mContainer != null) {
mContainer.close();
mContainer = null;
}
} -
Xcode cannot find symbol for particular source
19 novembre 2014, par onemachI have an iOS project utilizing ffmpeg. The library is pre-built and copied to the project tree
ffmpeg/
├── include
│ ├── libavcodec
│ ├── libavdevice
│ ├── libavfilter
│ ├── libavformat
│ ├── libavresample
│ ├── libavutil
│ ├── libpostproc
│ ├── libswresample
│ └── libswscale
└── lib
├── libavcodec.a
├── libavdevice.a
├── libavfilter.a
├── libavformat.a
├── libavresample.a
├── libavutil.a
├── libpostproc.a
├── libswresample.a
└── libswscale.a.h
files are omitted above for clarity.In the
Build Setting
, the Header Search Paths and Library Search Paths are added respectively.When compiling, Xcode complains about tens of
Undefined symbols for architecture x86_64
, all about ffmpeg. All the errors come from the same source file. And in another source file, no error is given though it also utilize ffmpeg.