
Recherche avancée
Autres articles (90)
-
Gestion des droits de création et d’édition des objets
8 février 2011, parPar défaut, beaucoup de fonctionnalités sont limitées aux administrateurs mais restent configurables indépendamment pour modifier leur statut minimal d’utilisation notamment : la rédaction de contenus sur le site modifiables dans la gestion des templates de formulaires ; l’ajout de notes aux articles ; l’ajout de légendes et d’annotations sur les images ;
-
Supporting all media types
13 avril 2011, parUnlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)
-
Dépôt de média et thèmes par FTP
31 mai 2013, parL’outil MédiaSPIP traite aussi les média transférés par la voie FTP. Si vous préférez déposer par cette voie, récupérez les identifiants d’accès vers votre site MédiaSPIP et utilisez votre client FTP favori.
Vous trouverez dès le départ les dossiers suivants dans votre espace FTP : config/ : dossier de configuration du site IMG/ : dossier des média déjà traités et en ligne sur le site local/ : répertoire cache du site web themes/ : les thèmes ou les feuilles de style personnalisées tmp/ : dossier de travail (...)
Sur d’autres sites (10326)
-
How to download audio and video as separate files and specify the output format and filename for each ?
14 novembre 2023, par TaakoI'd like to download a video as separate files for both audio and video and have them named
[video_id]-audio.wav
and[video_id]-video.mp4


How do i get yt-dlp to download the video and audio separately, then convert each to the specified output format and rename them as such ?


Right now I can get them each downloaded separately but the naming isnt working out.


I could also use ffmpeg separately to convert the video and audio formats after they are downloaded, so all i really need is to have the audio and video files downloaded and named


Right now my args are


YT_OPTIONS = {
 'format': 'bestvideo[height<=720]+bestaudio/best[height<=720]',
 'extractaudio': True,
 'keepvideo': True,
 'outtmpl': '%(id)s-%(format)s.%(ext)s',
 'restrictfilenames': True,
 'noplaylist': True
}



but the
format
is just coming out as247_-_1280x720_720p_+251_-_audio_only_medium
and whats worse is it is the same for both the audio only and video only files just one has251
and the other has247
.

-
lavfi/selectivecolor : fix picking black as neutral when alpha is present
24 juillet 2016, par Clément Bœsch -
How to get the highest resolution, dividable by 2 that contains the video without black borders after rotation ?
22 avril 2016, par Vitalis HommelI rotate a video. Then my goal is to get the biggest resolution, dividable by 2 that contains the video without black borders.
to
My approach.
ffmpeg -ss 6 -i "t.MP4" -ss 0 -t 5 -vf "rotate='8*PI/180:ow=hypot(iw,ih):oh=ow', scale='1920:1920', crop='1920:1080:0:420'" -c:v libx264 -crf 28 -acodec copy "t2.MP4"
But that does not meet the criteria. Which command do I need ?