
Recherche avancée
Médias (1)
-
Collections - Formulaire de création rapide
19 février 2013, par
Mis à jour : Février 2013
Langue : français
Type : Image
Autres articles (6)
-
Encoding and processing into web-friendly formats
13 avril 2011, parMediaSPIP automatically converts uploaded files to internet-compatible formats.
Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
All uploaded files are stored online in their original format, so you can (...) -
D’autres logiciels intéressants
12 avril 2011, parOn ne revendique pas d’être les seuls à faire ce que l’on fait ... et on ne revendique surtout pas d’être les meilleurs non plus ... Ce que l’on fait, on essaie juste de le faire bien, et de mieux en mieux...
La liste suivante correspond à des logiciels qui tendent peu ou prou à faire comme MediaSPIP ou que MediaSPIP tente peu ou prou à faire pareil, peu importe ...
On ne les connais pas, on ne les a pas essayé, mais vous pouvez peut être y jeter un coup d’oeil.
Videopress
Site Internet : (...) -
Sélection de projets utilisant MediaSPIP
29 avril 2011, parLes exemples cités ci-dessous sont des éléments représentatifs d’usages spécifiques de MediaSPIP pour certains projets.
Vous pensez avoir un site "remarquable" réalisé avec MediaSPIP ? Faites le nous savoir ici.
Ferme MediaSPIP @ Infini
L’Association Infini développe des activités d’accueil, de point d’accès internet, de formation, de conduite de projets innovants dans le domaine des Technologies de l’Information et de la Communication, et l’hébergement de sites. Elle joue en la matière un rôle unique (...)
Sur d’autres sites (3539)
-
Youtube-dl : Download video with maximum FPS and change FPS using OpenCV
8 mai 2021, par MmBaguetteI'm trying to download a YouTube video using YouTube-dl and specifying a maximum FPS. I don't want the lowest FPS, but I also don't want an FPS higher than 30. The code below does not work, but it was my best attempt.


ydl_opts = {
 'format': '(bestvideo[fps<30]/bestvideo)+bestaudio/best', # CHANGE FOR VIDEO
 'outtmpl': "youtube_video.%(ext)s",
}
print("Downloading YouTube video.")
 
with youtube_dl.YoutubeDL(ydl_opts) as ydl:
 ydl.download([text])



If not, can I change the FPS of a video using OpenCV ? I tried using
cap.set(cv2.CAP_PROP_FPS)
but this doesn't work either.

cap = cv2.VideoCapture(file)
fps = cap.get(cv2.CAP_PROP_FPS)
print(fps) # prints 60.0
cap.set(cv2.CAP_PROP_FPS)
fps = cap.get(cv2.CAP_PROP_FPS)
print(fps) # 60.0 again



-
Youtube-DL file download live progress
7 février 2015, par roshkattuI am using the YoutubeDL library in a project. My environment is based on WINDOWS with XAMPP as the webserver boundle (apache,php,mysql,etc). I am using the youtube-dl.exe file to download the video and then use ffmpeg.exe to convert the video to an MP3 audio file.
At the moment, I have an issue related to programming : I want to show live a progressbar while the video is downloaded with the youtube-dl.exe file. This exe creates a log file, that is updated while the video is downloaded. So my approach on this was to create a PHP file, that opens, parses the log file and get’s the progress percent, and sends it as a json encoded value to an AJAX function that is called every 100MS. Indeed, if the video is too large, there will be a very high ammount of data while polling the PHP file to get the progress state. And sometimes, the browser either crashes or freezes because of this ajax polling.
My question is : is there any better approach to do this with PHP/AJAX ? Rathar than poll the file every 100MS, or 50MS ?
-
How to pass a youtube video's audio url as ffmpeg source
8 janvier 2020, par CrystallVRIm trying to get my discord bot to play the audio from any youtube videos using the video’s url from youtube-dl (the audio url) as the ffmpeg path/source. I got it to work kind of but, while testing, the ffmpeg throws an error in the middle of the audio and the process ends. Here is the error :
https://i.imgur.com/uCy8SfK.pngI’ve tried to play the same exact song by downloading it and using the file’s path as ffmpeg source path and it worked fine.
Here is how i start the ffmpeg process :
return Process.Start(new ProcessStartInfo
{
FileName = "ffmpeg.exe",
Arguments = $"-xerror -i \"{path}\" -ac 2 -f s16le -ar 48000 pipe:1",
UseShellExecute = false,
RedirectStandardOutput = true
});path is the audio url from youtube-dl process. (can also see the url in the error screenshot)
And here is how i get the link from youtube-dl :
Process youtubedl;
ProcessStartInfo youtubedlGetTitle = new ProcessStartInfo()
{
FileName = "youtube-dl",
Arguments = $"--get-title --get-duration --get-url {url}",
CreateNoWindow = true,
RedirectStandardOutput = true,
UseShellExecute = false
};
youtubedl = Process.Start(youtubedlGetTitle);
youtubedl.WaitForExit();url is a normal youtube video link.
I just started working with ffmpeg and youtube-dl so there probably are some stupid rookie mistakes that i’m not aware of. I would appreciate any guidance and/or explanation of what I did wrong.