
Recherche avancée
Médias (91)
-
Les Miserables
9 décembre 2019, par
Mis à jour : Décembre 2019
Langue : français
Type : Textuel
-
VideoHandle
8 novembre 2019, par
Mis à jour : Novembre 2019
Langue : français
Type : Video
-
Somos millones 1
21 juillet 2014, par
Mis à jour : Juin 2015
Langue : français
Type : Video
-
Un test - mauritanie
3 avril 2014, par
Mis à jour : Avril 2014
Langue : français
Type : Textuel
-
Pourquoi Obama lit il mes mails ?
4 février 2014, par
Mis à jour : Février 2014
Langue : français
-
IMG 0222
6 octobre 2013, par
Mis à jour : Octobre 2013
Langue : français
Type : Image
Autres articles (38)
-
Personnaliser en ajoutant son logo, sa bannière ou son image de fond
5 septembre 2013, parCertains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;
-
MediaSPIP v0.2
21 juin 2013, parMediaSPIP 0.2 est la première version de MediaSPIP stable.
Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Comme pour la version précédente, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...) -
Ecrire une actualité
21 juin 2013, parPrésentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
Vous pouvez personnaliser le formulaire de création d’une actualité.
Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)
Sur d’autres sites (2776)
-
youtube-dl (ffmpeg) blank error on embedding subtitles
22 mars 2021, par Human1I am new to using youtube-dl, and therefore is quite unfamiliar with how it works. I configured it to download auto subs and english subs (if there were any), and embed them in the video. It worked for me for quite a good while (1 or 2 months), and it suddenly stopped working with blank errors starting to pop up, and I have no idea why that happened. I have checked that I am using the most updated version of youtube-dl and ffmpeg. I am currently using a m1 mac , and I don't know if that caused the problem. Below is the output I got with the
-v
command, as well as some background information.

[debug] System config: []
[debug] User config: ['-o', '~/Documents/playlists/%(playlist)s/%(playlist_index)-i%(title)s.%(ext)s', '-f', 'mp4', '--write-sub', '--sub-lang', 'en', '--write-auto-sub', '--embed-subs']
[debug] Custom config: []
[debug] Command-line args: ['https://youtube.com/playlist?list=PL4cUxeGkcC9i3FXJSUfmsNOx8E7u6UuhG', '-v']
[debug] Encodings: locale UTF-8, fs utf-8, out utf-8, pref UTF-8
[debug] youtube-dl version 2021.03.14
[debug] Git HEAD: 59ada80ca
[debug] Python version 3.9.2 (CPython) - macOS-11.2.3-arm64-arm-64bit
[debug] exe versions: ffmpeg present, ffprobe present, rtmpdump 2.4
[debug] Proxy map: {}
[youtube:tab] PL4cUxeGkcC9i3FXJSUfmsNOx8E7u6UuhG: Downloading webpage
[download] Downloading playlist: CSS Flexbox Tutorial
[youtube:tab] playlist CSS Flexbox Tutorial: Downloading 12 videos
[download] Downloading video 1 of 12
[youtube] Y8zMYaD1bz0: Downloading webpage
[info] Writing video subtitles to: /Users/{username}/Documents/playlists/CSS Flexbox Tutorial/1CSS Flexbox Tutorial #1 - Introduction.en.vtt
[debug] Invoking downloader on 'https://r2---sn-45gpjx-3x4e.googlevideo.com/videoplayback?expire=1616392628&ei=VN1XYKikA9eo1gai6KegBg&ip=45.133.192.196&id=o-APtlxrUI2wU4tPFiSxBi5MzLnuR5EFYL3-TE-BpiPEYG&itag=22&source=youtube&requiressl=yes&mh=U3&mm=31%2C29&mn=sn-45gpjx-3x4e%2Csn-5hne6nlr&ms=au%2Crdu&mv=m&mvi=2&pl=24&initcwndbps=1155000&vprv=1&mime=video%2Fmp4&ns=r0wuXA2lBVMGhop9uJeEHHUF&ratebypass=yes&dur=317.161&lmt=1607169749865434&mt=1616370759&fvip=3&fexp=24001373%2C24007246&c=WEB&txp=5432434&n=_jK4PI5-7sa9Q0X2ye&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cvprv%2Cmime%2Cns%2Cratebypass%2Cdur%2Clmt&sig=AOq0QJ8wRAIgR0wbVc18mWDheT_QVT5Jsbmd647wKJNyVfzGRJd_oOkCIArV-vvKQmD3D7W90dw1l9b3zaJQNzltitp3BJPt2fqA&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=AG3C_xAwRgIhAI9I7LQw5zTAldgCydhe3yzicBgvxYfxeHxI8lCxh3sLAiEAlT8Dpf93fiPbdMI3rHOebH-nFkToCZr1VfWaoX0HVeg%3D'
[download] /Users/{username}/Documents/playlists/CSS Flexbox Tutorial/1CSS Flexbox Tutorial #1 - Introduction.mp4 has already been downloaded
[download] 100% of 16.50MiB
[ffmpeg] Embedding subtitles in '/Users/{username}/Documents/playlists/CSS Flexbox Tutorial/1CSS Flexbox Tutorial #1 - Introduction.mp4'
[debug] ffmpeg command line: ffmpeg -y -loglevel repeat+info -i 'file:/Users/{username}/Documents/playlists/CSS Flexbox Tutorial/1CSS Flexbox Tutorial #1 - Introduction.mp4' -i 'file:/Users/{username}/Documents/playlists/CSS Flexbox Tutorial/1CSS Flexbox Tutorial #1 - Introduction.en.vtt' -map 0 -c copy -map -0:s -map -0:d -c:s mov_text -map 1:0 -metadata:s:s:0 language=eng 'file:/Users/{username}/Documents/playlists/CSS Flexbox Tutorial/1CSS Flexbox Tutorial #1 - Introduction.temp.mp4'
ERROR: 
Traceback (most recent call last):
 File "/opt/homebrew/Cellar/youtube-dl/2021.3.14/libexec/lib/python3.9/site-packages/youtube_dl/YoutubeDL.py", line 2106, in post_process
 files_to_delete, info = pp.run(info)
 File "/opt/homebrew/Cellar/youtube-dl/2021.3.14/libexec/lib/python3.9/site-packages/youtube_dl/postprocessor/ffmpeg.py", line 426, in run
 self.run_ffmpeg_multiple_files(input_files, temp_filename, opts)
 File "/opt/homebrew/Cellar/youtube-dl/2021.3.14/libexec/lib/python3.9/site-packages/youtube_dl/postprocessor/ffmpeg.py", line 235, in run_ffmpeg_multiple_files
 raise FFmpegPostProcessorError(msg)
youtube_dl.postprocessor.ffmpeg.FFmpegPostProcessorError



I would be very grateful if anyone can tell me what happened and what should I do next. Thanks ! ;)


-
Use ffmpeg to add text subtitles [closed]
9 octobre 2024, par 0-alphaI am trying to add text subtitles to an .mp4 container using ffmpeg :



ffmpeg -i input.mp4 -i input.srt -map 0.0 -map 0.1 -map 1.0 output.mp4




When I am trying to run this line, it gives me an error :





Nmber of stream maps must match number of output streams.





If I try to change the mp4 to mkv (although mp4 supports text subtitles), like this :



ffmpeg -i input.mp4 -i input.srt -map 0.0 -map 0.1 -map 1.0 output.mkv




It correctly maps the streams, but gives an error :





Encoder (codec id 94210) not found for output stream #0.2





When I launch



ffmpeg -codecs




I can see that srt codec is supported as decoder and encoder, however I am not sure what is used for mp4 and mkv subs encoding, and whether I need to switch it on or compile separately.


-
Use ffmpeg to add text subtitles
25 novembre 2016, par 0-alphaI am trying to add text subtitles to an .mp4 container using ffmpeg :
ffmpeg -i input.mp4 -i input.srt -map 0.0 -map 0.1 -map 1.0 output.mp4
When I am trying to run this line, it gives me an error :
Nmber of stream maps must match number of output streams.
If I try to change the mp4 to mkv (although mp4 supports text subtitles), like this :
ffmpeg -i input.mp4 -i input.srt -map 0.0 -map 0.1 -map 1.0 output.mkv
It correctly maps the streams, but gives an error :
Encoder (codec id 94210) not found for output stream #0.2
When I launch
ffmpeg -codecs
I can see that srt codec is supported as decoder and encoder, however I am not sure what is used for mp4 and mkv subs encoding, and whether I need to switch it on or compile separately.