Recherche avancée

Médias (91)

Autres articles (71)

  • MediaSPIP Player : les contrôles

    26 mai 2010, par

    Les contrôles à la souris du lecteur
    En plus des actions au click sur les boutons visibles de l’interface du lecteur, il est également possible d’effectuer d’autres actions grâce à la souris : Click : en cliquant sur la vidéo ou sur le logo du son, celui ci se mettra en lecture ou en pause en fonction de son état actuel ; Molette (roulement) : en plaçant la souris sur l’espace utilisé par le média (hover), la molette de la souris n’exerce plus l’effet habituel de scroll de la page, mais diminue ou (...)

  • L’agrémenter visuellement

    10 avril 2011

    MediaSPIP est basé sur un système de thèmes et de squelettes. Les squelettes définissent le placement des informations dans la page, définissant un usage spécifique de la plateforme, et les thèmes l’habillage graphique général.
    Chacun peut proposer un nouveau thème graphique ou un squelette et le mettre à disposition de la communauté.

  • Ecrire une actualité

    21 juin 2013, par

    Pré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 (4998)

  • Using ffmpeg to embed cover art into mp3 does not work with some images

    31 août 2016, par Yves

    I am using the code described here http://www.ffmpeg.org/ffmpeg-all.html#mp3 to embed cover art into an mp3 :

    ffmpeg -i input.mp3 -i cover.jpg -c copy -map 0 -map 1 -metadata:s:v title="Album cover" -metadata:s:v comment="Cover (Front)" out.mp3

    This works with most images such as youtube thumbnails (example that works : https://i.ytimg.com/vi/ubkWrjeCNGI/hqdefault.jpg), however when I try to embed any cover art from soundcloud such as https://i1.sndcdn.com/artworks-000174313329-x742lv-t500x500.jpg I get the following errors

    [image2 @ 0x7fb009008600] Could not find codec parameters for stream 0 (Video : mjpeg, none(bt470bg/unknown/unknown)) : unspecified size
    Consider increasing the value for the ’analyzeduration’ and ’probesize’ options

    https://i1.sndcdn.com/artworks-000174313329-x742lv-t500x500.jpg : could not find codec parameters

    [mp3 @ 0x7fb009029a00] dimensions not set

    Could not write header for output file #0 (incorrect codec parameters ?) : Invalid argument

    I have increased both of these parameters to MAX_INT64 to no avail. Whats even weirder is that if I download the image to my desktop first and then reference it in ffmpeg from there it works !

    Any ideas ? Thank you !

  • How can I skip an image error when trimming an mp3 with ffmpeg

    29 septembre 2016, par John Pollard

    I am running the following command to get cut a 30 second section of the file

    ffmpeg -i 'river.mp3' -ss 30 -t 30 -acodec libmp3lame -b:a 128k 'audio_trimmed.mp3'

    but I am getting a "Invalid PNG signature" error. Is there a way to skip the image since I don’t need it and have the command run successfully ?

    ffmpeg version 2.8.5 Copyright (c) 2000-2016 the FFmpeg developers
     built with Apple LLVM version 7.3.0 (clang-703.0.31)
     configuration: --prefix=/usr/local/Cellar/ffmpeg/2.8.5 --enable-shared --enable-pthreads --enable-gpl --enable-version3 --enable-hardcoded-tables --enable-avresample --cc=clang --host-cflags= --host-ldflags= --enable-opencl --enable-libx264 --enable-libmp3lame --enable-libvo-aacenc --enable-libxvid --enable-libvorbis --enable-vda
     libavutil      54. 31.100 / 54. 31.100
     libavcodec     56. 60.100 / 56. 60.100
     libavformat    56. 40.101 / 56. 40.101
     libavdevice    56.  4.100 / 56.  4.100
     libavfilter     5. 40.101 /  5. 40.101
     libavresample   2.  1.  0 /  2.  1.  0
     libswscale      3.  1.101 /  3.  1.101
     libswresample   1.  2.101 /  1.  2.101
     libpostproc    53.  3.100 / 53.  3.100
    [mp3 @ 0x7f8419010600] Skipping 0 bytes of junk at 73436.
    [png @ 0x7f8419812600] Invalid PNG signature 0xFFD8FFE000104A46.
    [mp3 @ 0x7f8419010600] decoding for stream 1 failed
    [mp3 @ 0x7f8419010600] Could not find codec parameters for stream 1 (Video: png, none(pc)): unspecified size
    Consider increasing the value for the 'analyzeduration' and 'probesize' options
    Input #0, mp3, from 'river.mp3':
     Metadata:
       genre           : Podcast
       album           : River City Church's Podcast
       artist          : Antley Fowler
       title           : Jubilee Brings Justice
       date            : 2016-08-15 10:23
     Duration: 00:28:28.07, start: 0.025056, bitrate: 64 kb/s
       Stream #0:0: Audio: mp3, 44100 Hz, mono, s16p, 64 kb/s
       Stream #0:1: Video: png, none(pc), 90k tbr, 90k tbn, 90k tbc
       Metadata:
         title           : Episode Artwork
         comment         : Cover (front)
    [buffer @ 0x7f8418c18de0] Unable to parse option value "0x0" as image size
    [buffer @ 0x7f8418c18de0] Unable to parse option value "-1" as pixel format
    [buffer @ 0x7f8418c18de0] Unable to parse option value "0x0" as image size
    [buffer @ 0x7f8418c18de0] Error setting option video_size to value 0x0.
    [graph 0 input from stream 0:1 @ 0x7f8418c18ee0] Error applying options to the filter.
    Error opening filters!
  • Automatic encoder selection failed for output stream #0:0 [duplicate]

    2 octobre 2016, par mgt1234

    This question already has an answer here :

    I use this command on ffmpeg :

    /usr/local/bin/ffmpeg -ss 40 -t 40 -i mymusic.mp3 -ab 15 voice.mp3 2>&1

    but I see this error :

    Automatic encoder selection failed for output stream #0:0. Default encoder for format mp3 (codec png) is probably disabled. Please choose an encoder manually. Error selecting an encoder for stream 0:0

    Also lamemp3 installed and enabled, how can I fix it ?

    this is complete output :

    ffmpeg version N-81842-g0fbd423 Copyright (c) 2000-2016 the FFmpeg developers
     built with gcc 4.4.7 (GCC) 20120313 (Red Hat 4.4.7-17)
     configuration: --enable-decoder=png --enable-encoder=png
     libavutil      55. 32.100 / 55. 32.100
     libavcodec     57. 60.101 / 57. 60.101
     libavformat    57. 51.102 / 57. 51.102
     libavdevice    57.  0.102 / 57.  0.102
     libavfilter     6. 63.100 /  6. 63.100
     libswscale      4.  1.100 /  4.  1.100
     libswresample   2.  2.100 /  2.  2.100
    [mp3 @ 0x3ccd3c0] Estimating duration from bitrate, this may be inaccurate
    Input #0, mp3, from 'mymusic.mp3':
     Metadata:
       album_artist    : .:.:. WWW.NEWSONG3.COM .:.:.
       title           : Eshtebah .:.:. WWW.NEWSONG3.COM .:.:.
       artist          : Abolfazl Fallah .:.:. WWW.NEWSONG3.COM .:.:.
       album           : .:.:. WWW.NEWSONG3.COM .:.:.
       comment         : .:.:. WWW.NEWSONG3.COM .:.:.
       genre           : .:.:. WWW.NEWSONG3.COM .:.:.
       track           : .:.:. WWW.NEWSONG3.COM .:.:.
       copyright       : .:.:. WWW.NEWSONG3.COM .:.:.
       TOPE            : .:.:. WWW.NEWSONG3.COM .:.:.
       composer        : .:.:. WWW.NEWSONG3.COM .:.:.
       TBPM            : .:.:. WWW.NEWSONG3.COM .:.:.
       TIT3            : .:.:. WWW.NEWSONG3.COM .:.:.
       encoded_by      : .:.:. WWW.NEWSONG3.COM .:.:.
       disc            : .:.:. WWW.NEWSONG3.COM .:.:.
       MusicMatch_Mood : .:.:. WWW.NEWSONG3.COM .:.:.
       date            : 2013
     Duration: 00:04:08.77, start: 0.000000, bitrate: 129 kb/s
       Stream #0:0: Audio: mp3, 48000 Hz, stereo, s16p, 128 kb/s
       Stream #0:1: Video: mjpeg, yuvj420p(pc, bt470bg/unknown/unknown), 300x300 [SAR 96:96 DAR 1:1], 90k tbr, 90k tbn, 90k tbc
       Metadata:
         comment         : Cover (front)
    Automatic encoder selection failed for output stream #0:0. Default encoder for format mp3 (codec png) is probably disabled. Please choose an encoder manually.
    Error selecting an encoder for stream 0:0