
Recherche avancée
Médias (91)
-
DJ Z-trip - Victory Lap : The Obama Mix Pt. 2
15 septembre 2011
Mis à jour : Avril 2013
Langue : English
Type : Audio
-
Matmos - Action at a Distance
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
DJ Dolores - Oslodum 2004 (includes (cc) sample of “Oslodum” by Gilberto Gil)
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Danger Mouse & Jemini - What U Sittin’ On ? (starring Cee Lo and Tha Alkaholiks)
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Cornelius - Wataridori 2
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
The Rapture - Sister Saviour (Blackstrobe Remix)
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
Autres articles (97)
-
Demande de création d’un canal
12 mars 2010, parEn fonction de la configuration de la plateforme, l’utilisateur peu avoir à sa disposition deux méthodes différentes de demande de création de canal. La première est au moment de son inscription, la seconde, après son inscription en remplissant un formulaire de demande.
Les deux manières demandent les mêmes choses fonctionnent à peu près de la même manière, le futur utilisateur doit remplir une série de champ de formulaire permettant tout d’abord aux administrateurs d’avoir des informations quant à (...) -
Les formats acceptés
28 janvier 2010, parLes commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
ffmpeg -codecs ffmpeg -formats
Les format videos acceptés en entrée
Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
Les formats vidéos de sortie possibles
Dans un premier temps on (...) -
Supporting all media types
13 avril 2011, parUnlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)
Sur d’autres sites (7472)
-
d3d11va : Check WINAPI_FAMILY instead of HAVE_LOADLIBRARY
4 juillet 2017, par Martin Storsjöd3d11va : Check WINAPI_FAMILY instead of HAVE_LOADLIBRARY
If using the winstore compat library, a fallback LoadLibrary
function does exist, that only calls LoadPackagedLibrary though
(which doesn’t work for dynamically loading d3d11 DLLs).Therefore explicitly check the targeted API family instead.
Make this check a reusable HAVE_* component which other parts
of the libraries can check when necessary as well.Signed-off-by : Martin Storsjö <martin@martin.st>
-
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)



-
pydub no ffprobe found
21 septembre 2019, par Virgil SisoeI have an app for MacOS that is compiled with
py2app
. The app uses thepydub
module and the latter uses ffmpeg family package.The problem is that once I compile the app and move it to a different OS, the
subprocess
call frompydub
fails to find any of theffmpeg
packages even though they are installed in/usr/local/bin
.If I launch the app from terminal
./Nameapp.app/Contents/MacOs/Nameapp
then it runs no problem, but if I launch it with double click thenpydub
complains not finding the packages and the app hangs whereffmpeg/ffprobe
should do the work.I can see that
pydub
searches in the/usr/local/bin
only if launched from terminal, otherwise no. If I add/usr/local/bin
toPATH
,pydub
doesnt complain anymore that it doesnt find ffmpeg/ffprobe, but it still gives me an error for both ffmpeg and ffprobe :[Errno 2] No such file or directory:
.If I hardcode the path
pydub.AudioSegment.converter = "/usr/local/bin/ffmpeg"
, the app gives me only ffprobe error[Errno 2] No such file or directory:'ffprobe': 'ffprobe'
.On some other posts i’ve seen
pydub.AudioSegment.ffprobe = "/path/to/ffprobe"
but it doesnt seem to work in my case ?So my two questions are :
How to hardcode the ffprobe path in pydub ?
How to solve this without hardcoding path ?