
Recherche avancée
Médias (2)
-
Rennes Emotion Map 2010-11
19 octobre 2011, par
Mis à jour : Juillet 2013
Langue : français
Type : Texte
-
Carte de Schillerkiez
13 mai 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Texte
Autres articles (41)
-
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 (...) -
Les autorisations surchargées par les plugins
27 avril 2010, parMediaspip core
autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs -
Contribute to documentation
13 avril 2011Documentation is vital to the development of improved technical capabilities.
MediaSPIP welcomes documentation by users as well as developers - including : critique of existing features and functions articles contributed by developers, administrators, content producers and editors screenshots to illustrate the above translations of existing documentation into other languages
To contribute, register to the project users’ mailing (...)
Sur d’autres sites (4493)
-
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.


-
How can I generate a video file directly from an FFmpeg filter with no actual input file ?
26 août 2016, par blahdiblahFFmpeg has a number of video generating filters, listed in the documentation as "video sources" :
- cellauto
- color
- mptestsrc
- fei0r_src
- life
- nullsrc, rgbtestsrc, testsrc
Those are great for using with other filters like overlay, but is there any way that I can generate a movie consisting of just one of those video sources without any input video ?
Something like :
ffmpeg -vf color=red" red_movie.mp4
Except that that errors out with
At least one input file must be specified
. -
How can I generate a video file directly from an FFmpeg filter with no actual input file ?
12 mai, par blahdiblahFFmpeg has a number of video generating filters, listed in the documentation as "video sources" :



- 

- cellauto
- color
- mptestsrc
- fei0r_src
- life
- nullsrc, rgbtestsrc, testsrc















Those are great for using with other filters like overlay, but is there any way that I can generate a movie consisting of just one of those video sources without any input video ?



Something like :



ffmpeg -vf color=red" red_movie.mp4




Except that that errors out with
At least one input file must be specified
.