
Recherche avancée
Médias (91)
-
Corona Radiata
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Lights in the Sky
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Head Down
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Echoplex
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Discipline
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Letting You
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
Autres articles (46)
-
Websites made with MediaSPIP
2 mai 2011, parThis page lists some websites based on MediaSPIP.
-
Creating farms of unique websites
13 avril 2011, parMediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...) -
Publier sur MédiaSpip
13 juin 2013Puis-je poster des contenus à partir d’une tablette Ipad ?
Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir
Sur d’autres sites (4992)
-
Batch script to convert, youtube-dl webm file to mp3 with ffmpeg
1er avril 2024, par SneakyShrikeI'm using youtube-dl to extract the best possible audio quality from youtube videos. However the best quality audio usually turns out to be the webm format, which isn't useful. I would like to write a batch script that converts the webm file to an mp3 with ffmpeg. I've already tried using this guide on reddit to do it, but it doesn't seem to work. It appears to create an empty mp3 file that displays an error when i try to play it and the meta data is also completly blank.



Here is the batch script :



for %%a in ("Downloaded\*.*") do %CD%\ffmpeg\bin\ffmpeg.exe -i "%%a" -vn -ar 44100 -ac 2 -ab 192k -f mp3 "Converted\%%~na.mp3" pause




I'll also give an explanation of how the whole thing should work.



The idea is, is that you use youtube-dl to extract the best possible audio, then put that file into the Downloaded folder (see pic below) and then you run the mp3 script (which uses commands from ffmpeg) to convert the webm file in the Downloaded folder to a mp3 file, and place it in the Converted folder. The mp3 script is the code above. But it doesn't seem to work properly.



I'm not very familiar with batch scripting, nor with ffmpeg so any help would be appreicated.



Here is the picture to complement the explanation part.





-
Embed a Youtube with a MP4 File as poster
29 août 2021, par adamplI want to embed a youtube video with a 10 second silent looping MP4 file as the poster.


Currently, I am using the Wordpress video shortcode with my MP4 as the poster source, it works on some browsers but not all. Can anyone help ? I would prefer to find a pure HTML solution separate to the wordpress shortcode as I will need to get this to work on other CMSs.


[video src="https://www.youtube.com/watch?v=[videoID]" poster=<video autoplay="autoplay" loop="loop" muted="muted" playsinline="playsinline">
 <source src="/wp-content-directory/intro.mp4" type="video/mp4">
</source></video>]



What i have found is to get a looping MP4 work on all browsers, I have to use this tag with the autoplay loop muted and playsinline


<video autoplay="autoplay" loop="loop" muted="muted" playsinline="playsinline">
<source src="/directory/intro.mp4" type="video/mp4">
</source></video>



-
Passing file name in youtube-dl post-process script without file extension suffix
2 avril 2021, par AreteThe documentation for youtube-dl says I can run a post-process command with the
--exec
option.

Using Windows, here is an example I have tried :


youtube-dl --exec "ffmpeg -i {} -ac 2 -c:a libfdk_aac -cutoff 20000 -afterburner 1 -vbr 0 {}.m4a" https://www.youtube.com/watch?v=sw9DlMNnpPM



Note that
{}
passes the file name to the post-process command. For examplefilename.webm
.

The problem is that
{}
includes the file extension.

How can I pass the file name to the post-process command without the file extension ?


For example, if I were to convert the video, I would rather avoid getting an output name like
filename.webm.m4a
. Needless to say, I would rather wantfilename.m4a
.