
Recherche avancée
Autres articles (62)
-
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 ;
-
Des sites réalisés avec MediaSPIP
2 mai 2011, parCette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page. -
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 (6205)
-
Make a video file with the song cover for each song in a folder [closed]
19 novembre 2024, par Nathan KaufmannI have a folder full of wav audio files, and I would want, using ffmpeg in a batch file, to output as many video files as there is songs, with a still image of the cover, with the highest possible audio quality as permitted by ffmpeg. Additionally I would want the metadata (title, artist, album and year) to be copied to the corresponding video file.


For now I have the command :

ffmpeg -f lavfi -i color=c=black:s=640x480 -i song.wav -c:v libx264 -tune stillimage -pix_fmt yuv420p -shortest -c:a aac -ar 96000 -b:a -metadata title="My title" 1000000000k output.mp4


But it only makes a black video with the song, with the highest quality sound I could set, and it changes the title but I couldn't find how to change it to the song's title. Also for now I don't know how to automate it for a whole folder.


-
ffmpeg — copy attached cover image (cover.jpg) of video file during encode ? [closed]
15 octobre 2024, par emk2203I am trying to encode a video with
ffmpeg
which has a cover file attached. This cover file should end up in the encoded video as well.

I can do this with
mkvextract attachments movie.mkv 1
&&<long ffmpeg="ffmpeg" encode="encode" command="command"></long>
&&mkvpropedit movie_new.mkv --add-attachment cover.jpg
. Both old and new show up inmediainfo
with the two lines

Cover : Yes
Attachments : cover.jpg



But when I try to integrate this into a
ffmpeg
command,ffmpeg
insists on detecting a second video stream and either dropping it or encoding it as a second video stream which completely confuses the player.

What I tried :

-map 0:t
—> error, cannot find attachments ;-map 0:t?
—> runs and encodes second video stream

All kinds of
-map
combinations, even a merge with a separatecover.jpg
andffmpeg -i movie.mkv -i cover.jpg ... -map 1 -map 0 -c copy -disposition:0 attached_pic
fails.

Any ideas ?


-
FFmpeg filter_complex to merge audio from two files fails without an error due to album cover PNG stream
13 décembre 2023, par kaushalWhen you run FFmpeg filter_complex command to process two mp3 files and merge them into one, the command runs successfully, the output mp3 file is generated. No errors are reported. But the output fails to run. The result log from FFmpeg looks something like this, which points to an PNG stream in one of the mp3.


[mp3 @ 00000215d251e7c0] Estimating duration from bitrate, this may be inaccurate
Input #0, mp3, from 'C:\\vid gen\\Track_ Outwild x She Is Jules - Golden [NCS Release].mp3':
 Metadata:
 artist : Outwild x She Is Jules
 album_artist : Outwild x She Is Jules
 TCM : Outwild, She Is Jules
 album : Golden [Single]
 title : Golden
 genre : Electronic
 date : 2021
 Duration: 00:04:09.60, 
start: 0.000000, bitrate: 378 kb/s
 Stream #0:0: Audio: mp3, 48000 Hz, stereo, fltp, 320 kb/s
 Stream #0:1: Video: mjpeg (Baseline), yuvj444p(pc, bt470bg/unknown/unknown), 3000x3000, 90k tbr, 90k tbn (attached pic)
 Metadata:
 comment : Other
[mp3 @ 00000215d253f380] Estimating duration from bitrate, this may be inaccurate
Input #1, mp3, from 'E:\voiceover.mp3':
 Duration: 00:00:51.96, start: 0.000000, bitrate: 32 kb/s
 Stream #1:0: Audio: mp3, 24000 Hz, mono, fltp, 32 kb/s
Stream mapping:
 Stream #0:0 (mp3float) -> volume:default (graph 0)
 Stream #1:0 (mp3float) -> adelay:default (graph 0)
 amerge:default (graph 0) -> Stream #0:0 (libmp3lame)
 Stream #0:1 -> #0:1 (mjpeg (native) -> png (native))
Press [q] to stop, [?] for help
[swscaler @ 00000215d46ff480] deprecated pixel format used, make sure you did set range correctly
 Last message repeated 3 times
[Parsed_amerge_6 @ 00000215d470d2c0] No channel layout for input 1
Output #0, mp3, to 'output_test.mp3':
 Metadata:
 TPE1 : Outwild x She Is Jules
 TPE2 : Outwild x She Is Jules
 TCM : Outwild, She Is Jules
 TALB : Golden [Single]
 TIT2 : Golden
 TCON : Electronic
 TDRC : 2021
 TSSE : Lavf60.18.100
 Stream #0:0: Audio: mp3, 48000 Hz, stereo, fltp\r\rame= 0 fps=0.0 q=0.0 size= 0kB time=-00:00:00.02 bitrate=N/A speed=N/A \rframe= 0 fps=0.0 q=0.0 size= 0kB time=-00:00:00.02 bitrate=N/A speed=N/A \r[out#0/mp3 @ 00000215d2537400] video:3696kB audio:2kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.011831%
frame= 1 fps=0.8 q=-0.0 Lsize= 3698kB time=00:00:00.07 bitrate=415140.5kbits/s speed=0.0601x