Recherche avancée

Médias (91)

Autres articles (62)

  • Gestion des droits de création et d’édition des objets

    8 février 2011, par

    Par 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, par

    Cette 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, par

    L’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 Kaufmann

    I 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 emk2203

    I 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 in mediainfo with the two lines

    &#xA;

    Cover                                    : Yes&#xA;Attachments                              : cover.jpg&#xA;

    &#xA;

    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.

    &#xA;

    What I tried :&#xA;-map 0:t —> error, cannot find attachments ; -map 0:t? —> runs and encodes second video stream

    &#xA;

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

    &#xA;

    Any ideas ?

    &#xA;

  • FFmpeg filter_complex to merge audio from two files fails without an error due to album cover PNG stream

    13 décembre 2023, par kaushal

    When 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.

    &#xA;

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

    &#xA;