
Recherche avancée
Autres articles (60)
-
Pas question de marché, de cloud etc...
10 avril 2011Le vocabulaire utilisé sur ce site essaie d’éviter toute référence à la mode qui fleurit allègrement
sur le web 2.0 et dans les entreprises qui en vivent.
Vous êtes donc invité à bannir l’utilisation des termes "Brand", "Cloud", "Marché" etc...
Notre motivation est avant tout de créer un outil simple, accessible à pour tout le monde, favorisant
le partage de créations sur Internet et permettant aux auteurs de garder une autonomie optimale.
Aucun "contrat Gold ou Premium" n’est donc prévu, aucun (...) -
Contribute to documentation
13 avril 2011Documentation is vital to the development of improved technical capabilities.
MediaSPIP welcomes documentation by users as well as developers - including : critique of existing features and functions articles contributed by developers, administrators, content producers and editors screenshots to illustrate the above translations of existing documentation into other languages
To contribute, register to the project users’ mailing (...) -
Selection of projects using MediaSPIP
2 mai 2011, parThe examples below are representative elements of MediaSPIP specific uses for specific projects.
MediaSPIP farm @ Infini
The non profit organizationInfini develops hospitality activities, internet access point, training, realizing innovative projects in the field of information and communication technologies and Communication, and hosting of websites. It plays a unique and prominent role in the Brest (France) area, at the national level, among the half-dozen such association. Its members (...)
Sur d’autres sites (6752)
-
How to yt-dlp extract youtube audio-only to 32-bit float 48000 .wav ? [closed]
28 avril 2024, par Rowe MorehouseMy use case : Extract just the audio from a youtube URL directly to a
.wav
at 32-bit float 48000.

Preferably without any post process args or secondary passes or after-the-fact conversion or muxing.


I want f32le, aka PCM_f32le, aka PCM 32-bit floating-point little-endian, which is supported by
ffmpeg
. Also want 48000 sample rate, as stated.

Is this possible ?


My current command :


yt-dlp -f bestaudio --extract-audio --audio-format wav --audio-quality 0



What do I need to add to achieve my use case / job-to-be-done ??


-
How to limit youtube-dl on video length when downloading a youtube stream
26 novembre 2018, par M BIm trying to write a small script that records a live stream from youtube.
when using youtube-dl.download function it just keeps on downloading until the stream ends, but i want to stop downloading after 20min or so.
the problem is when i try killing it after a while the output is corrupted (im using mp4 format), and i tried fixing it with ffmpeg but a "moov atom not found" error occurs.How can i make youtube-dl (or any other tool) record a fixed length of a live stream ?
Here’s a portion of the code :
class recordingThread (threading.Thread):
def __init__(self, threadID, output_location, name, yt_stream, start_time):
threading.Thread.__init__(self)
self.threadID = threadID
self.output = os.path.abspath(output_location)
self.name = name
self.start_time = start_time
self.ydl_opts = {'quiet': True,
'format': 'mp4',
'outtmpl': name+ '%(ext)s',
'sleep_interval': 2
}
self.yt_stream = yt_stream.strip('\'"')
def run(self):
print "Starting %s Thread Recorder - %s" % (self.name, self.start_time)
with youtube_dl.YoutubeDL(self.ydl_opts) as ydl:
self.download_prc = ydl.download([self.yt_stream])Thanks.
-
C# (discord music bot) Youtube to mp3 api with ffmpeg
4 octobre 2017, par Greg VaradiOk, so i have made a discord music bot before with youtube-dl in C#. But I don’t like it because it’s very slow. It has to download the song and then stream it using ffmpeg to discord. I don’t know but I think there is a quicker way.
So, i decided to use a youtube to mp3 api to get a mp3 as quick as possible, but it won’t work. I mean I found an api that worked, but it’s the worst api I ever seen. This is the api : http://www.convertmp3.io/api/ . Sometimes doesn’t give the mp3, just a link to a download page that doesn’t work.
I’m still searching for an api. Last time I found this :
http://www.yt-mp3.com/fetch?v=VIDEO-ID&apikey=1234567
This is for me the best. But ffmpeg doesn’t recognize the mp3. And I don’t know why because I can’t see any difference beetween them. Of course it’s probably something different but I can’t see what. And I don’t even know that ffmpeg will recognize any of these api’s mp3 files, but it’s working with this convertmp3.io api.So, my question is, is there someone who did something like this or someone who can give me advice ?
By the way, I want something that is as quick as oxyl- or hime bot. And I know that using apis for getting mp3 from youtube videos is not by all means the most legal thing, because the copyright and stuff, but yeah... This is the only way, I think.