
Recherche avancée
Médias (1)
-
Rennes Emotion Map 2010-11
19 octobre 2011, par
Mis à jour : Juillet 2013
Langue : français
Type : Texte
Autres articles (72)
-
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 (...) -
Configurer la prise en compte des langues
15 novembre 2010, parAccéder à la configuration et ajouter des langues prises en compte
Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...) -
XMP PHP
13 mai 2011, parDixit Wikipedia, XMP signifie :
Extensible Metadata Platform ou XMP est un format de métadonnées basé sur XML utilisé dans les applications PDF, de photographie et de graphisme. Il a été lancé par Adobe Systems en avril 2001 en étant intégré à la version 5.0 d’Adobe Acrobat.
Étant basé sur XML, il gère un ensemble de tags dynamiques pour l’utilisation dans le cadre du Web sémantique.
XMP permet d’enregistrer sous forme d’un document XML des informations relatives à un fichier : titre, auteur, historique (...)
Sur d’autres sites (10472)
-
FFMPEG - [WinError 2] The system cannot find the file specified
7 avril 2021, par Jules DanyI'm having an issue using the FFmpeg package.


Here's my code :


import ffmpeg_streaming

from ffmpeg_streaming import Formats, Bitrate, Representation, Size

_360p = Representation(Size(640, 360), Bitrate(276 * 1024, 128 * 1024))
_480p = Representation(Size(854, 480), Bitrate(750 * 1024, 192 * 1024))
_720p = Representation(Size(1280, 720), Bitrate(2048 * 1024, 320 * 1024))

hls = video.hls(Formats.h264())
hls.representations(_360p, _480p, _720p)
hls.output('C:/Users/juled/Videos/testStreaming')



Quite simple as you can see, found it on the web.


And here's the error message I have :


Traceback (most recent call last):
 File "C:\Users\juled\OneDrive\Bureau\PACT\streamingMultimedia\streaming.py", line 50, in <module>
 hls.output('C:/Users/juled/Videos/testStreaming')
 File "C:\Users\juled\OneDrive\Bureau\Informatique\WPy64-3760\python-3.7.6.amd64\lib\site-packages\ffmpeg_streaming\_media.py", line 93, in output
 self.run(ffmpeg_bin, monitor, **options)
 File "C:\Users\juled\OneDrive\Bureau\Informatique\WPy64-3760\python-3.7.6.amd64\lib\site-packages\ffmpeg_streaming\_media.py", line 121, in run
 asyncio.run(self.async_run(ffmpeg_bin, monitor, **options))
 File "C:\Users\juled\OneDrive\Bureau\Informatique\WPy64-3760\python-3.7.6.amd64\lib\asyncio\runners.py", line 43, in run
 return loop.run_until_complete(main)
 File "C:\Users\juled\OneDrive\Bureau\Informatique\WPy64-3760\python-3.7.6.amd64\lib\asyncio\base_events.py", line 583, in run_until_complete
 return future.result()
 File "C:\Users\juled\OneDrive\Bureau\Informatique\WPy64-3760\python-3.7.6.amd64\lib\site-packages\ffmpeg_streaming\_media.py", line 112, in async_run
 self._run(ffmpeg_bin, monitor, **options)
 File "C:\Users\juled\OneDrive\Bureau\Informatique\WPy64-3760\python-3.7.6.amd64\lib\site-packages\ffmpeg_streaming\_media.py", line 105, in _run
 with Process(self, command_builder(ffmpeg_bin, self), monitor, **options) as process:
 File "C:\Users\juled\OneDrive\Bureau\Informatique\WPy64-3760\python-3.7.6.amd64\lib\site-packages\ffmpeg_streaming\_process.py", line 58, in __init__
 self.process = _p_open(commands, **options)
 File "C:\Users\juled\OneDrive\Bureau\Informatique\WPy64-3760\python-3.7.6.amd64\lib\site-packages\ffmpeg_streaming\_process.py", line 29, in _p_open
 return subprocess.Popen(shlex.split(commands), **options)
 File "C:\Users\juled\OneDrive\Bureau\Informatique\WPy64-3760\python-3.7.6.amd64\lib\subprocess.py", line 800, in __init__
 restore_signals, start_new_session)
 File "C:\Users\juled\OneDrive\Bureau\Informatique\WPy64-3760\python-3.7.6.amd64\lib\subprocess.py", line 1207, in _execute_child
 startupinfo)
FileNotFoundError: [WinError 2] The system cannot find the file specified
</module>


I've been checking every file quoted in the error message, but only one of them is "my" code, the others are FFmpeg and Python libraries codes.


I'm using IDLEX for Python 3.7.6 on Windows by the way.


I've tried to change some of the FFmpeg library code, especially where subprocess.Popen appears, by putting a shell=True in the parameters. New Error Message, different this time.


I've added FFmpeg to the PATH, no change.


I've reinstalled FFmpeg to be sure, but no change. I'm using this version : python-ffmpeg-video-streaming-0.1.14.


Do any of you have a solution I could try ?


Oh and a friend has the same issue on MAC.


-
Using ffmpeg with chunks of file
27 juin 2020, par YashikI am trying to download a file as 100mb chunks and I need to convert this using ffmpeg and upload this file to dropbox.
The code I tried :


import os
import requests

#---snip---#

for chunk in r.iter_content(chunksize=chunksize):
 #chunksize is 100mb
 fp = open("a.mp4","wb")
 fp.write(chunk)
 fp.close()
 os.system("ffmpeg -i a.mp4 a.mkv")
 
 #code for uploading



The error is
moov atom is not found


1.How can I convert file chunks with ffmpeg ?


2.Can I convert without ever needing to save to
a.mp4
, like givingchunk
directly to ffmpeg ?

Ps : The problem occurs with file size greater than 100mb


Edit :


After converting the file is appended to file in dropbox


What I want :


- 

- Sample.mp4 - 200mb
- Downloads file as chunks 100mb
- Converts the chunk
- Upload to drive (multipart)










-
doc : remove file name from @file directive in Doxygen usage example
14 juillet 2011, par Diego Biurrundoc : remove file name from @file directive in Doxygen usage example