
Recherche avancée
Médias (91)
-
999,999
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
The Slip - Artworks
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Texte
-
Demon seed (wav version)
26 septembre 2011, par
Mis à jour : Avril 2013
Langue : English
Type : Audio
-
The four of us are dying (wav version)
26 septembre 2011, par
Mis à jour : Avril 2013
Langue : English
Type : Audio
-
Corona radiata (wav version)
26 septembre 2011, par
Mis à jour : Avril 2013
Langue : English
Type : Audio
-
Lights in the sky (wav version)
26 septembre 2011, par
Mis à jour : Avril 2013
Langue : English
Type : Audio
Autres articles (11)
-
Déploiements possibles
31 janvier 2010, parDeux types de déploiements sont envisageable dépendant de deux aspects : La méthode d’installation envisagée (en standalone ou en ferme) ; Le nombre d’encodages journaliers et la fréquentation envisagés ;
L’encodage de vidéos est un processus lourd consommant énormément de ressources système (CPU et RAM), il est nécessaire de prendre tout cela en considération. Ce système n’est donc possible que sur un ou plusieurs serveurs dédiés.
Version mono serveur
La version mono serveur consiste à n’utiliser qu’une (...) -
Mise à disposition des fichiers
14 avril 2011, parPar défaut, lors de son initialisation, MediaSPIP ne permet pas aux visiteurs de télécharger les fichiers qu’ils soient originaux ou le résultat de leur transformation ou encodage. Il permet uniquement de les visualiser.
Cependant, il est possible et facile d’autoriser les visiteurs à avoir accès à ces documents et ce sous différentes formes.
Tout cela se passe dans la page de configuration du squelette. Il vous faut aller dans l’espace d’administration du canal, et choisir dans la navigation (...) -
Récupération d’informations sur le site maître à l’installation d’une instance
26 novembre 2010, parUtilité
Sur le site principal, une instance de mutualisation est définie par plusieurs choses : Les données dans la table spip_mutus ; Son logo ; Son auteur principal (id_admin dans la table spip_mutus correspondant à un id_auteur de la table spip_auteurs)qui sera le seul à pouvoir créer définitivement l’instance de mutualisation ;
Il peut donc être tout à fait judicieux de vouloir récupérer certaines de ces informations afin de compléter l’installation d’une instance pour, par exemple : récupérer le (...)
Sur d’autres sites (2198)
-
"fmpeg" has no attribute "input"
2 mai 2024, par Robin SinghI had previously built this youtube downloader but when I tested it recently ; it stopped working.


from pytube import YouTube
import ffmpeg
import os

raw = 'C:\ProgramData\ytChache'

path1 = 'C:\ProgramData\ytChache\Video\\'
path2 = 'C:\ProgramData\ytChache\Audio\\'

file_type = "mp4"

if os.path.exists(path1 and path2):
 boo = True
else:
 boo = False

while boo:

 url = str(input("Link : "))
 choice = int(input('Enter 1 for Only Audio and Enter 2 For Both Audio and Video \n: '))

 video = YouTube(url)
 Streams = video.streams

 if choice == 1:
 aud = Streams.filter(only_audio=True).first().download(path2)

 elif choice == 2:
 resol = str(input("Resolution : "))
 vid = Streams.filter(res=resol, file_extension=file_type).first().download(path1)
 aud = Streams.filter(only_audio=True).first().download(path2)

 file = video.title + '.mp4'
 # location = path1
 # location2 = path2
 rem = os.path.join(path1, file)
 rm = os.path.join(path2, file)

 video_stream = ffmpeg.input(path1, video.title + '.mp4')
 audio_stream = ffmpeg.input(path2, video.title + '.mp4')
 ffmpeg.output(audio_stream, video_stream, video.title + '.mp4').run()
 os.remove(rem)
 os.remove(rm)

 else:
 print('Invalid Selection')

if not boo:
 os.mkdir(raw)
 os.mkdir(path1)
 os.mkdir(path2)



so it gives an error saying :


Traceback (most recent call last):
 File "E:\dev files\YouTube Video Downloader\Video Downloader.py", line 39, in <module>
 video_stream = ffmpeg.input(path1 + video.title + '.mp4')
AttributeError: module 'ffmpeg' has no attribute 'input'
</module>


I can't figure out what happened. I think it may have something to do about the versions of ffmpeg or something ??


-
avformat/hls : don't propagate deprecated "user-agent" AVOption
28 avril 2018, par wm4avformat/hls : don't propagate deprecated "user-agent" AVOption
This code will print a warning if any user agent is set - even if the
API user used the proper non-deprecated "user_agent" option.This change should not even break anything, because even if the user
sets the deprecated "user-agent" option, http.c copies it to the
"user_agent" option anyway. -
ffmpeg throwing "errorMessage" : "spawn ffmpeg ENOENT"
4 juin 2024, par ianMy ffmpeg function thats running as a shell command isnt working. I think its because 'ffmpeg' isnt really referring to anything. I have the ffmpeg node module in my bundle, but i dont know the execFile command is referring to it here.



Im following aws-lambda-ffmpeg as an example of how to call this particular function. They are referring to 'ffmpeg' as a 64-bit linux build they created from John Vansickle's static FFMPEG builds in their gulp function.



I want to know how to replace 'ffmpeg' with something that will just recognize it like a node_module without having to do the whole gulp static build process. To my understanding the only reason they are doing that is to get the latest build which i really dont need.



If I am wrong and a static build using gulp is needed for another reason please let me know.



function ffmpegProcess(description, cb) {
console.log('Starting FFmpeg');

child_process.execFile(
 'ffmpeg',
 [
 '-y',
 '-loglevel', 'warning',
 '-i', 'download',
 '-c:a', 'copy',
 '-vf', scaleFilter,
 '-movflags', '+faststart',
 '-metadata', 'description=' + description,
 'out.' + config.format.video.extension,
 '-vf', 'thumbnail',
 '-vf', scaleFilter,
 '-vframes', '1',
 'out.' + config.format.image.extension
 ],
 {
 cwd: tempDir
 },
 function(err, stdout, stderr) {
 console.log('FFmpeg done.');
 return cb(err, 'FFmpeg finished:' + JSON.stringify({ stdout: stdout, stderr: stderr}));
 }
);
}