
Recherche avancée
Médias (1)
-
MediaSPIP Simple : futur thème graphique par défaut ?
26 septembre 2013, par
Mis à jour : Octobre 2013
Langue : français
Type : Video
Autres articles (33)
-
Personnaliser les catégories
21 juin 2013, parFormulaire de création d’une catégorie
Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
On peut modifier ce formulaire dans la partie :
Administration > Configuration des masques de formulaire.
Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...) -
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 (...) -
Support audio et vidéo HTML5
10 avril 2011MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...)
Sur d’autres sites (9739)
-
Cannot find specified path : Whisper Error, python 3.7.7
4 janvier 2023, par Ammar Ahmed SiddiquiTraceback (most recent call last) :
File "C :\Users\SAMSUNG\Desktop\Whisper\test.py", line 4, in 
audio = whisper.load_audio("audio.mp3")
File "C :\Users\SAMSUNG\AppData\Local\Programs\Python\Python37\lib\site-packages\whisper\audio.py", line 44, in load_audio
.run(cmd=["ffmpeg", "-nostdin"], capture_stdout=True, capture_stderr=True)
File "C :\Users\SAMSUNG\AppData\Local\Programs\Python\Python37\lib\site-packages\ffmpeg_run.py", line 320, in run
overwrite_output=overwrite_output,
File "C :\Users\SAMSUNG\AppData\Local\Programs\Python\Python37\lib\site-packages\ffmpeg_run.py", line 285, in run_async
args, stdin=stdin_stream, stdout=stdout_stream, stderr=stderr_stream
File "C :\Users\SAMSUNG\AppData\Local\Programs\Python\Python37\lib\subprocess.py", line 800, in init
restore_signals, start_new_session)
File "C :\Users\SAMSUNG\AppData\Local\Programs\Python\Python37\lib\subprocess.py", line 1207, in _execute_child
startupinfo)
FileNotFoundError : [WinError 2] The system cannot find the file specified


-
Fastest way to extract moving dynamic crop from video using ffmpeg
5 avril 2024, par NateWI'm working on an AI project that involves object detection and action recognition on roughly 30 minute videos.


My pipeline is the following :


- 

- determine crops using object detection model
- extract crops using Python and write them to disk as individual images for each frame.
- use action recognition model by inputting a series of the crops.








The models are fast but actual writing of the crops to disk is slow. Sure, using an SSD would speed it up but I'm sure ffmpeg would greatly speed it up.


Some of the challenges with the crops :


- 

- the output size is always 128x128
- the input size is variable
- the crop moves on every frame








My process for extracting crops is simple using
cv2.imwrite(output_crop_path, crop)
in a for loop.

I've done experiments trying to use
sndcommand
andfilter_complex
. I tried this https://stackoverflow.com/a/67508233/4447761 but it outputs an image with black below the crop and the image gets wrapped around on the x axis.



-
FFMPEG “buffer queue overflow, dropping.” while filter_complex concating
8 août 2019, par March3April4I’m using the below command to concat several videos to a single video.
ffmpeg -i /storage/emulated/0/Cache/1565235095822.mp4
-i /storage/emulated/0/Cache/1565235097989.mp4
-i /storage/emulated/0/Cache/1565235099167.mp4
-i /storage/emulated/0/Cache/1565235100276.mp4
-i /storage/emulated/0/Cache/1565235096982.mp4
-filter_complex [0:v:0] [0:a:0] [1:v:0] [1:a:0] [2:v:0] [2:a:0] [3:v:0] [3:a:0] [4:v:0] [4:a:0] concat=n=5:v=1:a=1 [v] [a]
-map [v]
-map [a]
-max_muxing_queue_size 9999
-preset ultrafast
/storage/emulated/0/Cache/1565235101418.mp4The input videos are also made by ffmpeg, and are about 1 megabyte big. (Each consists of a single picture and an audio)
The above command line works well for mainstream devices such as galaxy s10 series, but for models like Lg K10, the below line appears.
[Parsed_concat_0 @ 0xb9ab05a0] Buffer queue overflow, dropping.
The encoding does not stop even though the above line shows up, but the result video contains some time skips and missing audio.
I assumed that this has to do with performance of the device itself, so, I tried to do the job without encoding. I’ve tried the concat demuxer with no luck.
What else can I try to make this to work ? Any help will be thankful.
------------------Edit-------------------------
The ffmpeg videos are create by the following command.
String[] array = {
"-framerate", "1",
"-i", "targetVideo.png",
"-i", "targetAudio.mp3",
"-r", "14",
"-c:v", "libx264",
"-c:a", "aac",
"-pix_fmt", "yuv420p",
"-video_track_timescale", "90000",
"-c:a", "copy",
outputPath.mp4};