
Recherche avancée
Autres articles (94)
-
HTML5 audio and video support
13 avril 2011, parMediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
For older browsers the Flowplayer flash fallback is used.
MediaSPIP allows for media playback on major mobile platforms with the above (...) -
De l’upload à la vidéo finale [version standalone]
31 janvier 2010, parLe chemin d’un document audio ou vidéo dans SPIPMotion est divisé en trois étapes distinctes.
Upload et récupération d’informations de la vidéo source
Dans un premier temps, il est nécessaire de créer un article SPIP et de lui joindre le document vidéo "source".
Au moment où ce document est joint à l’article, deux actions supplémentaires au comportement normal sont exécutées : La récupération des informations techniques des flux audio et video du fichier ; La génération d’une vignette : extraction d’une (...) -
Librairies et binaires spécifiques au traitement vidéo et sonore
31 janvier 2010, parLes logiciels et librairies suivantes sont utilisées par SPIPmotion d’une manière ou d’une autre.
Binaires obligatoires FFMpeg : encodeur principal, permet de transcoder presque tous les types de fichiers vidéo et sonores dans les formats lisibles sur Internet. CF ce tutoriel pour son installation ; Oggz-tools : outils d’inspection de fichiers ogg ; Mediainfo : récupération d’informations depuis la plupart des formats vidéos et sonores ;
Binaires complémentaires et facultatifs flvtool2 : (...)
Sur d’autres sites (5306)
-
ffmpeg Error : Pattern type 'glob' was selected but globbing is not support ed by this libavformat build
14 septembre 2017, par Aryan NaimI’m trying to convert group of ".jpg" files acting as individual frames into 1 single mpeg video ".mp4"
Example parameters i used :
frame duration = 2 secs
frame rate = 30 fps
encoder = libx264 (mpeg)
input pattern = "*.jpg"
output pattern = video.mp4Based on ffmpeg wiki instructions at (https://trac.ffmpeg.org/wiki/Create%20a%20video%20slideshow%20from%20images), I issued this command :
ffmpeg -framerate 1/2 -pattern_type glob -i "*.jpg" -c:v libx264 -r 30 -pix_fmt yuv420p video.mp4
But I’m getting this error :
[image2 @ 049ab120] Pattern type 'glob' was selected but globbing is not
supported by this libavformat build *.jpg: Function not implementedWhich probably means the API pattern matching commands for my build/version have changed. By the way this my windows 32bit ffmpeg download build (
ffmpeg-20150702-git-03b2b40-win32-static
).How can I choose a group of files using pattern matching using ffmpeg ?
-
Bash : sort find results using part of a filename
13 novembre 2015, par utt50I have 3 webcams set up in a building, uploading still images to a webserver. I’m using ffmpeg to encode the jpgs to mp4 video.
The directories are set up like this :
Cam1/201504
Cam1/201505
Cam2/201504
Cam2/201505
Cam3/201504
Cam3/201505I’m using the following bash loop/ffmpeg parameters to make one video per camera, per year. This works well so far (well... except that my SSD is rapidly degrading in performance - too many simultaneous read/write operations ?) :
find Cam2/2013* -name "*.jpg" -print0 | xargs -0 cat | ffmpeg -f image2pipe -framerate 30 -vcodec mjpeg -i - -vcodec libx264 -profile:v baseline -level 3.0 -movflags +faststart -crf 19 -pix_fmt yuv420p -r 30 "Cam2-2013-30fps-19crf.mp4"
The individual files are named like this (confusing ffmpeg’s built-in file sequencer) :
Cam1_2015052413543201.jpg
Cam1_2015052413544601.jpg
Cam2_2015052413032601.jpg
Cam2_2015052413544901.jpgI now need to create one video for an entire year across all 3 cameras, ordered by timestamp. To accomplish this, I need to sort the find results by the segment of the filename after the underscore.
What do I pipe the find output to to accomplish this ? For example, the files above would be ordered like this :
Cam2_2015052413032601.jpg
Cam1_2015052413543201.jpg
Cam1_2015052413544601.jpg
Cam2_2015052413544901.jpgAny help is very much appreciated !
-
ffmpeg is not executing clip.run() when compiled with pyinstaller
24 septembre 2018, par ThriskelWhen executing the .exe file in another machine that doens’t have it’s requeriments installed, running the programs gives the error :
Exception in thread Thread-1:
Traceback (most recent call last):
File "threading.py", line 916, in _bootstrap_inner
File "threading.py", line 864, in run
File "y2m.py", line 80, in workit
File "site-packages\ffmpeg\_run.py", line 202, in run
File "subprocess.py", line 707, in __init__
File "subprocess.py", line 992, in _execute_child
FileNotFoundError: [WinError 2] The system cannot find the file specifiedI’m compiling the exe file using the command :
pyinstaller y2m.py
I’ve been reading every other post in this and others forums refered to this kind of problem but I don’t seem to find or understand the way of fixing this.
The source code is in here
and the warny2m.txt file is in here
Things that I have tried :
- using —paths=pathToLibFolder
- using -w
- using an older pyinstaller version
- adding python3 to path
- using -p DIR to add C :\Python3\Lib location then sub locations, also individual scripts. (those 3 ways to see if it would work)
EDIT :
When using ffmpeg_run.py the code fails. line is
clip.run()
where clip presents the input and output file.