
Recherche avancée
Médias (1)
-
Bug de détection d’ogg
22 mars 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Video
Autres articles (38)
-
Publier sur MédiaSpip
13 juin 2013Puis-je poster des contenus à partir d’une tablette Ipad ?
Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir -
Contribute to translation
13 avril 2011You can help us to improve the language used in the software interface to make MediaSPIP more accessible and user-friendly. You can also translate the interface into any language that allows it to spread to new linguistic communities.
To do this, we use the translation interface of SPIP where the all the language modules of MediaSPIP are available. Just subscribe to the mailing list and request further informantion on translation.
MediaSPIP is currently available in French and English (...) -
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 (...)
Sur d’autres sites (3859)
-
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 ? -
I need assistance of making a automated script for ffmpeg [closed]
18 décembre 2024, par user2614404Currently i use this script that GPT generated :


ffmpeg -c:v av1_qsv -b:v 0 -global_quality 20 -preset veryslow -look_ahead 64 -c:a copy -c:s copy G:\1ARC-movies\A-View-to-a-kill.mkv -i Y:\media\Movies\A_VIEW_TO_A_KILL_t05.mkv


But sadly GPT being gpt, it hallucinates answers, and none of it's deeper automation code scripts were working when it made the scripts for a .ps1 script file.


And as i find most of the docs quite overwhelming, i need help to simplify what i need. As i learn best when i get explained what i currently try to do, and not every variable ffmpeg can do.


what i want the script to do is :


1 : convert movies with AV1_QSV with "veryslow", as that's apparently from what i've read up being the best it can do


2 : Global quality as close to 50 as possible (smaller, the better), as 20-6 gave the same range of percentage of 97% VMAF score, 22 gave 95%, so 20 is the largest number i can go, as VMAF via NMKODER reported any higher number was sub 97%.


3 : Give it a main folder for movies and shows to scan, and convert all the media in there to their respective subfolders to a designated output folder.


2 : Automatic crop detection, as some crops it to a 21:9 ratio, others has very small letterboxes. As GPT's code for that attempt for some reason used cpu instead of arc's quicksync.


As this will be ran from powershell, and it's to replace my plex library, by transcoding all movies and shows, starting with the least watched ones/shows that my family has seen, as then those will be unavailable for them until unraid 7 is out of beta to read intel arc for av1.