
Recherche avancée
Autres articles (34)
-
La file d’attente de SPIPmotion
28 novembre 2010, parUne file d’attente stockée dans la base de donnée
Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...) -
Ajouter notes et légendes aux images
7 février 2011, parPour pouvoir ajouter notes et légendes aux images, la première étape est d’installer le plugin "Légendes".
Une fois le plugin activé, vous pouvez le configurer dans l’espace de configuration afin de modifier les droits de création / modification et de suppression des notes. Par défaut seuls les administrateurs du site peuvent ajouter des notes aux images.
Modification lors de l’ajout d’un média
Lors de l’ajout d’un média de type "image" un nouveau bouton apparait au dessus de la prévisualisation (...) -
Support de tous types de médias
10 avril 2011Contrairement à beaucoup de logiciels et autres plate-formes modernes de partage de documents, MediaSPIP a l’ambition de gérer un maximum de formats de documents différents qu’ils soient de type : images (png, gif, jpg, bmp et autres...) ; audio (MP3, Ogg, Wav et autres...) ; vidéo (Avi, MP4, Ogv, mpg, mov, wmv et autres...) ; contenu textuel, code ou autres (open office, microsoft office (tableur, présentation), web (html, css), LaTeX, Google Earth) (...)
Sur d’autres sites (11015)
-
How to read errors when compiling from source code
28 décembre 2022, par slyfox1186Goal :


Compile multiple libraries from source code to ultimately install a fully compiled version of FFmpeg with desirable libraries attached.


Problem :


During the compilation, all libraries (seemingly) are successful until liblv2 is reached.


Error output via terminal :


building lv2 - version 1.18.10
=======================
Downloading https://lv2plug.in/spec/lv2-1.18.10.tar.xz as lv2-1.18.10.tar.bz2
... Done
Extracted lv2-1.18.10.tar.bz2
$ python3 ./waf configure --prefix=/home/jman/tmp/ffmpeg/ffmpeg-build/workspace --lv2-user
python3: can't open file '/home/jman/tmp/ffmpeg/ffmpeg-build/packages/lv2-1.18.10/./waf': [Errno 2] No such file or directory

Failed to Execute python3 ./waf configure --prefix=/home/jman/tmp/ffmpeg/ffmpeg-build/workspace --lv2-user



Where I need guidance :


python3: can't open file '/home/jman/tmp/ffmpeg/ffmpeg-build/packages/lv2-1.18.10/./waf': [Errno 2] No such file or directory



My question :


What does this part mean ?


lv2-1.18.10/./waf'

specifically the part /./



My best guess so far is it :


- 

- obviously is looking for a directory it can't find (perhaps because it truly doesn't exist)
- The missing
'waf'
directory should be located inside either the"${PACKAGES}"
or"${WORKSPACE}"
directory.






The
${PACKAGES}"
path in this script should =/home/jman/tmp/ffmpeg/ffmpeg-build/packages


The
${WORKSPACE}"
path in this script should =/home/jman/tmp/ffmpeg/ffmpeg-build/workspace


The full build script :


https://github.com/slyfox1186/ffmpeg-build-script/blob/master/scripts/build-ffmpeg


I tried my best to make this worth sometimes time without giving too much info... sorry if I don't meet the expectations of this forum.


Am I even close ?


-
python imageio.get_reader() returns odd exception
17 août 2020, par tristan_jiaimport imageio

reader = imageio.get_reader("./t.mp4")



As shown above, with python 3.6.10, it returns :


>>> reader = imageio.get_reader("../")
Traceback (most recent call last):
 File "<stdin>", line 1, in <module>
 File "/home/tristan_jia/workspace/py3.6/venv/lib/python3.6/site-packages/imageio/core/functions.py", line 129, in get_reader
 return format.get_reader(request)
 File "/home/tristan_jia/workspace/py3.6/venv/lib/python3.6/site-packages/imageio/core/format.py", line 168, in get_reader
 return self.Reader(self, request)
 File "/home/tristan_jia/workspace/py3.6/venv/lib/python3.6/site-packages/imageio/core/format.py", line 217, in __init__
 self._open(**self.request.kwargs.copy())
 File "/home/tristan_jia/workspace/py3.6/venv/lib/python3.6/site-packages/imageio/plugins/ffmpeg.py", line 357, in _open
 self._initialize()
 File "/home/tristan_jia/workspace/py3.6/venv/lib/python3.6/site-packages/imageio/plugins/ffmpeg.py", line 430, in _initialize
 shell=ISWIN)
 File "/usr/lib64/python3.6/subprocess.py", line 729, in __init__
 restore_signals, start_new_session)
 File "/usr/lib64/python3.6/subprocess.py", line 1364, in _execute_child
 raise child_exception_type(errno_num, err_msg, err_filename)
OSError: [Errno 8] Exec format error: '/home/tristan_jia/.imageio/ffmpeg/ffmpeg-linux64-v3.3.1'

</module></stdin>


I searched everywhere but haven't seen any similar questions. The script runs on Opensuse Leap 15.1, is it related to the system I use ?


-
Invoking ffmpeg from Java correctly
10 mars 2015, par Srinivas SureshI would like to call on ffmpeg to split a video into frames, I used
Process p=Runtime.getRuntime().exec("ffmpeg -i /home/video.mp4 -t 100 -filter:v \"fps=fps=60\" /home/%d.jpeg");
p.waitFor();But I don’t get the desired result. Nothing happens to the video. How do invoke ffmpeg from java correctly
EDIT
Additionally when I invoke ffmpeg without any arguments that have quotes in them it works fine.
Why is this getting voted down ??