
Recherche avancée
Médias (91)
-
GetID3 - Boutons supplémentaires
9 avril 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Image
-
Core Media Video
4 avril 2013, par
Mis à jour : Juin 2013
Langue : français
Type : Video
-
The pirate bay depuis la Belgique
1er avril 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Image
-
Bug de détection d’ogg
22 mars 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Video
-
Exemple de boutons d’action pour une collection collaborative
27 février 2013, par
Mis à jour : Mars 2013
Langue : français
Type : Image
-
Exemple de boutons d’action pour une collection personnelle
27 février 2013, par
Mis à jour : Février 2013
Langue : English
Type : Image
Autres articles (42)
-
Gestion générale des documents
13 mai 2011, parMédiaSPIP ne modifie jamais le document original mis en ligne.
Pour chaque document mis en ligne il effectue deux opérations successives : la création d’une version supplémentaire qui peut être facilement consultée en ligne tout en laissant l’original téléchargeable dans le cas où le document original ne peut être lu dans un navigateur Internet ; la récupération des métadonnées du document original pour illustrer textuellement le fichier ;
Les tableaux ci-dessous expliquent ce que peut faire MédiaSPIP (...) -
Des sites réalisés avec MediaSPIP
2 mai 2011, parCette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page. -
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 (...)
Sur d’autres sites (3255)
-
Ffmpeg is installed, but I get the exception : You do not have ffmpeg installed on your machine
13 janvier 2023, par Tin KommenI've searched for hours for a solution, but I haven't found one yet. Maybe someone here knows what is going wrong.


I'm trying to make a Bar Chart Race in Python. Although I have downloaded and installed Ffmpeg,
I keep on getting multiple errors :


MovieWriter ffmpeg unavailable; using Pillow instead.
 Traceback (most recent call last):
 File "/Users/___/PycharmProjects/data_visualization/venv/lib/python3.6/site- packages/matplotlib/animation.py", line 251, in saving
 yield self
 File "/Users/___/PycharmProjects/data_visualization/venv/lib/python3.6/site- packages/matplotlib/animation.py", line 1161, in save
 writer.grab_frame(**savefig_kwargs)
 File "/Users/____/PycharmProjects/data_visualization/venv/lib/python3.6/site- packages/matplotlib/animation.py", line 549, in grab_frame
 renderer = self.fig.canvas.get_renderer()
 AttributeError: 'FigureCanvasBase' object has no attribute 'get_renderer'

 During handling of the above exception, another exception occurred:

 Traceback (most recent call last):
 File "/Users/___/PycharmProjects/data_visualization/venv/lib/python3.6/site- packages/bar_chart_race/_make_chart.py", line 435, in make_animation
 ret_val = anim.save(self.filename, fps=self.fps, writer=self.writer)
 File "/Users/___/PycharmProjects/data_visualization/venv/lib/python3.6/site- packages/matplotlib/animation.py", line 1161, in save
 writer.grab_frame(**savefig_kwargs)
 File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/contextlib.py", line 100, in __exit__
 self.gen.throw(type, value, traceback)
 File "/Users/___/PycharmProjects/data_visualization/venv/lib/python3.6/site- packages/matplotlib/animation.py", line 253, in saving
 self.finish()
 File "/Users/____/PycharmProjects/data_visualization/venv/lib/python3.6/site- packages/matplotlib/animation.py", line 554, in finish
 self._frames[0].save(
 IndexError: list index out of range

 During handling of the above exception, another exception occurred:

 Exception: You do not have ffmpeg installed on your machine. Download
 ffmpeg from here: https://www.ffmpeg.org/download.html.
 Matplotlib's original error message below:
 list index out of range



I've tried installing ffmpeg with conda, pip and homebrew. When I check the version, i get the following :


ffmpeg version 4.2.3 Copyright (c) 2000-2020 the FFmpeg developers
 built with clang version 9.0.1
 configuration: --prefix=/Users/___/opt/miniconda3 --cc=x86_64-apple-darwin13.4.0-clang --disable-doc --disable-openssl --enable-avresample --enable-gnutls --enable-gpl --enable-hardcoded-tables --enable-libfreetype --enable-libopenh264 --enable-libx264 --enable-pic --enable-pthreads --enable-shared --enable-static --enable-version3 --enable-zlib --enable-libmp3lame
 libavutil 56. 31.100 / 56. 31.100
 libavcodec 58. 54.100 / 58. 54.100
 libavformat 58. 29.100 / 58. 29.100
 libavdevice 58. 8.100 / 58. 8.100
 libavfilter 7. 57.100 / 7. 57.100
 libavresample 4. 0. 0 / 4. 0. 0
 libswscale 5. 5.100 / 5. 5.100
 libswresample 3. 5.100 / 3. 5.100
 libpostproc 55. 5.100 / 55. 5.100



Here is the code :


import numpy as np
 import pandas as pd
 import bar_chart_race as bcr
 import os



 df = pd.read_csv('/Users/____/Documents/data/dummy_data.csv', delimiter=';', encoding="utf-8-sig")
 bcr.bar_chart_race(
 df=df,
 filename='test_win2.mov',
 orientation='h',
 sort='desc',
 n_bars=8,
 fixed_order=False,
 fixed_max=False,
 steps_per_period=50,
 interpolate_period=False,
 label_bars=True,
 bar_size=.95,
 period_label={'x': .99, 'y': .25, 'ha': 'right', 'va': 'center'},
 period_summary_func=lambda v, r: {'x': .99, 'y': .18,
 's': f'Totaal: {v.nlargest(8).sum():,.0f}',
 'ha': 'right', 'size': 8, 'family': 'Courier New'},
 perpendicular_bar_func='median',
 figsize=(3.5, 3),
 period_length=100,
 dpi=300,
 cmap='dark12',
 title='Title?',
 title_size='',
 bar_label_size=4,
 tick_label_size=4,
 shared_fontdict={'family': 'Helvetica', 'color': '.1'},
 scale='linear',
 writer=None,
 fig=None,
 bar_kwargs={'alpha': .3},
 filter_column_colors=False)



-
mute audio if the volume *exceeds* a threshold
15 février 2023, par a1s2d3f4So, I have spent quite a bit of time looking for the answer but I get the exact opposite (something I already know how to do), namely, the audio below a certain threshold can get muted (can be done either with ffmpeg or sox).


What I need is for the command to search my audio for anything that exceeds -18dB and mute all such segments. (The reason for this is because I have a recording where I am playing an electric piano with the audio output being recorded directly through the cable, but I am also recording from two microphones what I am speaking - between my playing. When I am playing the keyboard, the mics pick up a lot of action noise which I want to mute, and that's easy to do because the channel that records my piano input has piano sounds at that point and that corresponds exactly with when I want the audio from my mics to be muted, or at least attenuated.)


Does anyone know if such a feat is possible ?
If it cannot be done with just one command, that's fine I'll try anything.


-
How to Remove Hard Subtitles in a video file using ffmpeg ? [migrated]
23 mars 2021, par xinYapengI use the follow code to cover Hard Subtitle, but it is a little effective.


ffmpeg -i in.mp4 -strict -2 -vf delogo=x=x:y=y:w=w:h=h:show=0 out.mp4



The out.mp4 is a little mosaic somewhere.


in.mp4 just has video stream and audio stream, NO subtitle steam.


How to remove subtitle from in.mp4 using ffmpeg ?


Thank you.