
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 (90)
-
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 (...) -
MediaSPIP version 0.1 Beta
16 avril 2011, parMediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...) -
Amélioration de la version de base
13 septembre 2013Jolie sélection multiple
Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)
Sur d’autres sites (7433)
-
FFMPEG - Add (white, color-less, analog) grain to the video without desaturating video itself
2 décembre 2018, par dd_codeI am working on old videos where I am basically converting them to HVEC and sharpening, so i.e. my command can look like this
.\ffmpeg.exe -i F:\file.mkv -vf unsharp=3:3:1.5 -c:v hevc_nvenc -qp 27 -a:c copy file_new.mkv
inherent problem with this is, of course that with reducing bitrate and sharpening every now and then I can notice some nasty artifacts around the edges and on at plain-color objects.
I noticed with some older, many times remastered movies/series that they have quite a lot of grain in the video, so I was thinking - what if I add grain and help it to mask the compression and sharpening artifacts ?
After bit of searching I got to
https://ffmpeg.org/ffmpeg-filters.html#noise
and now I am using this command.\ffmpeg.exe -i F:\file.mkv -vf unsharp=3:3:1.5,noise=alls=14:allf=t+u -c:v hevc_nvenc -qp 30 -a:c copy file_new.mkv
however this has one big problem, it is merely a digital RGB noise, is there a way to make it desaturated, analog-ish ? I tried adding h=s=0, however this is applying 0 saturation to the video track as a whole. Is there an effect which would achieve this or is there a way that I can reduce the saturation only of the very effect which then gets to "overlay" the video track, so the track would not be touched ?
-
converting one video file to another video file with sound from ffmpeg using vc++2010 [closed]
18 février 2013, par user2047514I am devloping a application that convert one video to another including sound (means in source file has video as well as sound) with the help of FFMPEG Librrary. I have created a video. But sound is not availabe in converted video. so please help me how can i fix this issue. I am sending You link .
FFmpeg not honoring bitrate for different containers ?
i have used this code for doing my work but sound is not availble. so please help my how can we handle this situation.Thanks for your cooperation
Waiting your response. -
AttributeError : '_io.BytesIO' object has no attribute 'endswith' when attempting to check audio and video codec from base64 video file in Django
12 novembre 2023, par mahmudsajibI'm currently working on a Django project where I need to check the audio and video codec of a base64-encoded video file. To achieve this, I've implemented a function that decodes the base64 string into binary data and then attempts to load the video clip using MoviePy. However, I'm encountering an AttributeError : '_io.BytesIO' object has no attribute 'endswith' when trying to run the code.


Here's the relevant part of the code :


import base64
from io import BytesIO
from moviepy.editor import VideoFileClip

def get_video_codec_info(base64_data):
 # Decode base64 string into binary data
 _format, _file_str = base64_data.split(";base64,")
 binary_data = base64.b64decode(_file_str)

 # Load the video clip using MoviePy
 clip = VideoFileClip(BytesIO(binary_data))

 # Get information about the video codec
 codec_info = {
 'video_codec': clip.video_codec,
 'audio_codec': clip.audio_codec,
 }

 return codec_info



The error occurs at the line
clip = VideoFileClip(BytesIO(binary_data))
and it seems related to the use of BytesIO. I've tried to find a solution, but I'm stuck at the moment.

Any suggestions on how to resolve this issue or alternative approaches to check the audio and video codec of a base64-encoded video file in Django would be greatly appreciated. Thanks !