
Recherche avancée
Médias (1)
-
Richard Stallman et le logiciel libre
19 octobre 2011, par
Mis à jour : Mai 2013
Langue : français
Type : Texte
Autres articles (97)
-
MediaSPIP 0.1 Beta version
25 avril 2011, parMediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
The zip file provided here only contains the sources of MediaSPIP in its standalone version.
To get a working installation, you must manually install all-software dependencies on the server.
If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...) -
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 (...) -
ANNEXE : Les plugins utilisés spécifiquement pour la ferme
5 mars 2010, parLe site central/maître de la ferme a besoin d’utiliser plusieurs plugins supplémentaires vis à vis des canaux pour son bon fonctionnement. le plugin Gestion de la mutualisation ; le plugin inscription3 pour gérer les inscriptions et les demandes de création d’instance de mutualisation dès l’inscription des utilisateurs ; le plugin verifier qui fournit une API de vérification des champs (utilisé par inscription3) ; le plugin champs extras v2 nécessité par inscription3 (...)
Sur d’autres sites (10015)
-
Add date of creation to the metadata title in ffmpeg
13 mai 2023, par Louis DidI record a live radio stream 3 times a week and would like to be able to add the date of the recording/creation time to the metadata title using ffmpeg. I want to see the title of the show with date of the recording on it when I play the mp3 file. For example : the title displayed on the player will be like this : Nocturnes 5-13-2023.


I have tried the following :


ffmpeg -i https://medfm.net/live/medfm.mp3 -t 00:05:00.00 -metadata title="Nocturnes $(date +%m-%d-%Y)" -c copy -f segment -strftime 1 -segment_time 3200 Nocturnes_%Y_%m_%d.mp3



-
MoviePy error : failed to read the first frame of video file... That may also mean that you are using a deprecated version of FFMPEG
30 août 2023, par Alister KwapiszWhen I run a python telegram bot script locally, it works completely fine but when I run the script on
PythonAnywhere
I get an error that shows up when I try to generate a video :

"2023-08-29 15:21:53,138 (__init__.py:960 MainThread) ERROR - TeleBot: "Infinity polling exception: MoviePy error: failed to read the first frame of video file /home/AlisterK/video_clips/Video 2023-01-10 
18 45 07.mp4. That might mean that the file is corrupted. That may also mean that you are using a deprecated version of FFMPEG. On Ubuntu/Debian for instance the version in the repos is deprecated. Pleas
e update to a recent version from the website."
2023-08-29 15:21:53,138 (__init__.py:962 MainThread) ERROR - TeleBot: "Exception traceback:
Traceback (most recent call last):
 File "/home/AlisterK/.local/lib/python3.10/site-packages/telebot/__init__.py", line 955, in infinity_polling
 self.polling(non_stop=True, timeout=timeout, long_polling_timeout=long_polling_timeout,
 File "/home/AlisterK/.local/lib/python3.10/site-packages/telebot/__init__.py", line 1043, in polling
 self.__threaded_polling(non_stop=non_stop, interval=interval, timeout=timeout, long_polling_timeout=long_polling_timeout,
 File "/home/AlisterK/.local/lib/python3.10/site-packages/telebot/__init__.py", line 1118, in __threaded_polling
 raise e
 File "/home/AlisterK/.local/lib/python3.10/site-packages/telebot/__init__.py", line 1074, in __threaded_polling
 self.worker_pool.raise_exceptions()
 File "/home/AlisterK/.local/lib/python3.10/site-packages/telebot/util.py", line 147, in raise_exceptions
 raise self.exception_info
 File "/home/AlisterK/.local/lib/python3.10/site-packages/telebot/util.py", line 90, in run
 task(*args, **kwargs)
 File "/home/AlisterK/.local/lib/python3.10/site-packages/telebot/__init__.py", line 6788, in _run_middlewares_and_handler
 result = handler['function'](message)
 File "/home/AlisterK/Video generator.py", line 34, in generate_video_command
 generated_video = generate_video(audio_files[user_id])
 File "/home/AlisterK/Video generator.py", line 72, in generate_video
 clips = [VideoFileClip(os.path.join(input_folder, clip_file)).subclip(0, clip_duration) for clip_file in video_clips]
 File "/home/AlisterK/Video generator.py", line 72, in <listcomp>
 clips = [VideoFileClip(os.path.join(input_folder, clip_file)).subclip(0, clip_duration) for clip_file in video_clips]
 File "/home/AlisterK/.local/lib/python3.10/site-packages/moviepy/video/io/VideoFileClip.py", line 88, in __init__
 self.reader = FFMPEG_VideoReader(filename, pix_fmt=pix_fmt,
 File "/home/AlisterK/.local/lib/python3.10/site-packages/moviepy/video/io/ffmpeg_reader.py", line 73, in __init__
 self.lastread = self.read_frame()
 File "/home/AlisterK/.local/lib/python3.10/site-packages/moviepy/video/io/ffmpeg_reader.py", line 133, in read_frame
 raise IOError(("MoviePy error: failed to read the first frame of "
OSError: MoviePy error: failed to read the first frame of video file /home/AlisterK/video_clips/Video 2023-01-10 18 45 07.mp4. That might mean that the file is corrupted. That may also mean that you are using a deprecated version of FFMPEG. On Ubuntu/Debian for instance the version in the repos is deprecated. Please update to a recent version from the website."
</listcomp>


I tried updating ffmpeg and moviepy. I even tried different versions but to no avail. The video clips are not corrupted as I checked.


This part of the code is responsible for generating the videos :


def generate_video(audio_path):
 input_folder = '/home/AlisterK/video_clips' # Replace with your folder path
 output_file = '/home/AlisterK/output_combined_video.mp4'
 clip_duration = 3 # Duration of each clip in seconds
 num_clips = 10 # Number of video clips to select and combine

 width = 1080 # Replace with your desired width
 height = 1920 # Replace with your desired height

 video_clips = random_files_in_folder(input_folder, '.mp4', num_clips)

 clips = [VideoFileClip(os.path.join(input_folder, clip_file)).subclip(0, clip_duration) for clip_file in video_clips]
 standardized_clips = [clip.resize((width, height)) for clip in clips] # Ensure consistent resolutions

 final_clip = concatenate_videoclips(standardized_clips)

 final_audio = AudioFileClip(audio_path)



-
Not able to install ffmpeg vlc rubberband anything in my centOS stream 9 [closed]
16 septembre 2023, par Yash Goyalsudo dnf install ffmpeg


Last metadata expiration check : 0:15:12 ago on Saturday 16 September 2023 05:22:51 PM.
Error :
Problem : package ffmpeg-5.1.3-1.el9.x86_64 from rpmfusion-free-updates requires libavfilter.so.8()(64bit), but none of the providers can be installed


- 

- package ffmpeg-5.1.3-1.el9.x86_64 from rpmfusion-free-updates requires libavfilter.so.8(LIBAVFILTER_8)(64bit), but none of the providers can be installed
- package libavfilter-free-5.1.3-1.el9.x86_64 from epel requires librubberband.so.2()(64bit), but none of the providers can be installed
- package ffmpeg-libs-5.1.3-1.el9.x86_64 from rpmfusion-free-updates requires librubberband.so.2()(64bit), but none of the providers can be installed
- conflicting requests
- nothing provides ladspa needed by rubberband-3.1.3-1.el9.x86_64 from epel
(try to add '—skip-broken' to skip uninstallable packages or '—nobest' to use not only best candidate packages)
[root@yashgoyal yash]# sudo dnf install ffmpeg —skip-broken
Last metadata expiration check : 0:15:17 ago on Saturday 16 September 2023 05:22:51 PM.
Dependencies resolved.












Problem : package ffmpeg-5.1.3-1.el9.x86_64 from rpmfusion-free-updates requires libavfilter.so.8()(64bit), but none of the providers can be installed


- 

- package ffmpeg-5.1.3-1.el9.x86_64 from rpmfusion-free-updates requires libavfilter.so.8(LIBAVFILTER_8)(64bit), but none of the providers can be installed
- package libavfilter-free-5.1.3-1.el9.x86_64 from epel requires librubberband.so.2()(64bit), but none of the providers can be installed
- package ffmpeg-libs-5.1.3-1.el9.x86_64 from rpmfusion-free-updates requires librubberband.so.2()(64bit), but none of the providers can be installed
- conflicting requests
- nothing provides ladspa needed by rubberband-3.1.3-1.el9.x86_64 from epel
================================================================================
Package Arch Version Repository Size
================================================================================
Skipping packages with broken dependencies :
ffmpeg x86_64 5.1.3-1.el9 rpmfusion-free-updates 1.7 M
ffmpeg-libs x86_64 5.1.3-1.el9 rpmfusion-free-updates 7.8 M
libavfilter-free x86_64 5.1.3-1.el9 epel 1.4 M
rubberband x86_64 3.1.3-1.el9 epel 364 k












Transaction Summary


Skip 4 Packages


Nothing to do.
Complete !


this is the problem i am facing i tried everything that is available on internet but not able to fix it