Recherche avancée

Médias (91)

Autres articles (85)

  • Organiser par catégorie

    17 mai 2013, par

    Dans MédiaSPIP, une rubrique a 2 noms : catégorie et rubrique.
    Les différents documents stockés dans MédiaSPIP peuvent être rangés dans différentes catégories. On peut créer une catégorie en cliquant sur "publier une catégorie" dans le menu publier en haut à droite ( après authentification ). Une catégorie peut être rangée dans une autre catégorie aussi ce qui fait qu’on peut construire une arborescence de catégories.
    Lors de la publication prochaine d’un document, la nouvelle catégorie créée sera proposée (...)

  • Récupération d’informations sur le site maître à l’installation d’une instance

    26 novembre 2010, par

    Utilité
    Sur le site principal, une instance de mutualisation est définie par plusieurs choses : Les données dans la table spip_mutus ; Son logo ; Son auteur principal (id_admin dans la table spip_mutus correspondant à un id_auteur de la table spip_auteurs)qui sera le seul à pouvoir créer définitivement l’instance de mutualisation ;
    Il peut donc être tout à fait judicieux de vouloir récupérer certaines de ces informations afin de compléter l’installation d’une instance pour, par exemple : récupérer le (...)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

Sur d’autres sites (4482)

  • Can ffmpeg copy metadata/ID3 from FLAC to MP3 ?

    9 avril 2019, par krypterro

    I have a bit of Python code that loops through audio files, finds .FLAC files, and then uses the Python subcommand to run ffmpeg. It works. The audio is fine, but even though I see the metadata in the shell, it doesn’t transfer the data to the ID3 tags in the MP3, and I am using the example found in the previous post here. Here’s the command :

    cmd = 'ffmpeg -y -i "' + src + '" -codec:a libmp3lame -q:a 0 -map_metadata 0 -id3v2_version 3 -write_id3v1 1 "' + dst + '"'

    Which works out to :

    ffmpeg -y -i "source.flac" -codec:a libmp3lame -q:a 0 -map_metadata 0 -id3v2_version 3 -write_id3v1 1 "destination.mp3"

    And here is the log dump :

    /usr/local/bin/python3.7 /home/krypterro/PycharmProjects/mediaman/RipFLAC.py
    1 Music Files Found
    2019-04-09 14:32:47.758 | INFO     | __main__:main:31 - Start of program
    2019-04-09 14:32:48.110 | DEBUG    | __main__:ripmp3:206 - Running Command: ffmpeg -y -i "/home/krypterro/audio/music_in/Visions/01-grimes-laughing_and_not_being_normal.flac" -acodec libmp3lame -ab 192000 "/home/krypterro/audio/music_out/Visions/01-grimes-laughing_and_not_being_normal.mp3"
    ffmpeg version 3.4.4-0ubuntu0.18.04.1 Copyright (c) 2000-2018 the FFmpeg developers
     built with gcc 7 (Ubuntu 7.3.0-16ubuntu3)
     configuration: --prefix=/usr --extra-version=0ubuntu0.18.04.1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --enable-gpl --disable-stripping --enable-avresample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librubberband --enable-librsvg --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-omx --enable-openal --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libopencv --enable-libx264 --enable-shared
     WARNING: library configuration mismatch
     avcodec     configuration: --prefix=/usr --extra-version=0ubuntu0.18.04.1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --enable-gpl --disable-stripping --enable-avresample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librubberband --enable-librsvg --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-omx --enable-openal --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libopencv --enable-libx264 --enable-shared --enable-version3 --disable-doc --disable-programs --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libtesseract --enable-libvo_amrwbenc
     libavutil      55. 78.100 / 55. 78.100
     libavcodec     57.107.100 / 57.107.100
     libavformat    57. 83.100 / 57. 83.100
     libavdevice    57. 10.100 / 57. 10.100
     libavfilter     6.107.100 /  6.107.100
     libavresample   3.  7.  0 /  3.  7.  0
     libswscale      4.  8.100 /  4.  8.100
     libswresample   2.  9.100 /  2.  9.100
     libpostproc    54.  7.100 / 54.  7.100
    Input #0, flac, from '/home/krypterro/audio/music_in/Visions/01-grimes-laughing_and_not_being_normal.flac':
     Metadata:
       ARTIST          : Grimes
       TITLE           : Laughing And Not Being Normal
       ALBUM           : Art Angels
       DATE            : 2015
       track           : 1
       GENRE           : Electronic
       disc            : 1
       TOTALDISCS      : 1
       TOTALTRACKS     : 15
       LANGUAGE        : English
       RIP DATE        : 2015-12-12
       RETAIL DATE     : 2015-00-00
       MEDIA           : CD
       ENCODER         : FLAC 1.2.1 -8 -V
       RIPPING TOOL    : EAC 1.0 Beta 3
       RELEASE TYPE    : Retail
       ORGANIZATION    : 4AD
       CATALOG         : CAD3535CD
     Duration: 00:01:47.51, start: 0.000000, bitrate: 743 kb/s
       Stream #0:0: Audio: flac, 44100 Hz, stereo, s16
    Stream mapping:
     Stream #0:0 -> #0:0 (flac (native) -> mp3 (libmp3lame))
    Press [q] to stop, [?] for help
    Output #0, mp3, to '/home/krypterro/audio/music_out/Visions/01-grimes-laughing_and_not_being_normal.mp3':
     Metadata:
       TPE1            : Grimes
       TIT2            : Laughing And Not Being Normal
       TALB            : Art Angels
       TDRC            : 2015
       TRCK            : 1
       TCON            : Electronic
       TPOS            : 1
       TOTALDISCS      : 1
       TOTALTRACKS     : 15
       TLAN            : English
       RIP DATE        : 2015-12-12
       RETAIL DATE     : 2015-00-00
       MEDIA           : CD
       CATALOG         : CAD3535CD
       RIPPING TOOL    : EAC 1.0 Beta 3
       RELEASE TYPE    : Retail
       ORGANIZATION    : 4AD
       TSSE            : Lavf57.83.100
       Stream #0:0: Audio: mp3 (libmp3lame), 44100 Hz, stereo, s16p, 192 kb/s
       Metadata:
         encoder         : Lavc57.107.100 libmp3lame
    size=    2522kB time=00:01:47.52 bitrate= 192.1kbits/s speed=  41x    
    video:0kB audio:2521kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.042501%
    2019-04-09 14:32:50.811 | INFO     | __main__:main:73 - End of program

    Process finished with exit code 0
  • batch i need to encode hole folder files

    4 mai 2019, par jonedave

    I need one batch code for ffmpeg which can encode & zoom resolution of all videos inside folder to 110% & 125% of original using batch code.

    Here are some codes which I test not working :

    for %%a in ("*.*") do ffmpeg -i "%%a"  -vf scale=2*iw:-1, crop=iw/2:ih/2" "newfiles\%%~na.mp4"
    pause
    for %%a in ("*.*") do ffmpeg -i "%%a" -vf "zoompan=z='1+(1.4*in/300)':x='70*in/300':y='190*in/300':d=1"  "newfiles\%%~na.mp4"
    for %%a in ("*.*") do ffmpeg -i "%%a" -vf "zoompan=z='1+(1.4*in/300"  "newfiles\%%~na.mp4"
    pause

    error i getting

    C:\down\Compressed\DRIVER PACK FOR MOBILE PHONE\DRIVER PACK FOR MOBILE PHONE>ffm
    peg -i "avutil-ics-56.dll" -vf "zoompan=z='1+(1.4*in/300"  "newfiles\avutil-ics-
    56.mp4"
    ffmpeg version N-93461-g6e42021128 Copyright (c) 2000-2019 the FFmpeg developers

     built with gcc 8.2.1 (GCC) 20190212
     configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-fontconfi
    g --enable-gnutls --enable-iconv --enable-libass --enable-libdav1d --enable-libb
    luray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enab
    le-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --e
    nable-libsnappy --enable-libsoxr --enable-libtheora --enable-libtwolame --enable
    -libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 -
    -enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enab
    le-libvidstab --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --en
    able-libspeex --enable-libxvid --enable-libaom --enable-libmfx --enable-amf --en
    able-ffnvcodec --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --e
    nable-dxva2 --enable-avisynth --enable-libopenmpt
     libavutil      56. 26.100 / 56. 26.100
     libavcodec     58. 47.105 / 58. 47.105
     libavformat    58. 26.101 / 58. 26.101
     libavdevice    58.  7.100 / 58.  7.100
     libavfilter     7. 48.100 /  7. 48.100
     libswscale      5.  4.100 /  5.  4.100
     libswresample   3.  4.100 /  3.  4.100
     libpostproc    55.  4.100 / 55.  4.100
    avutil-ics-56.dll: Invalid data found when processing input

    C:\down\Compressed\DRIVER PACK FOR MOBILE PHONE\DRIVER PACK FOR MOBILE PHONE>ffm
    peg -i "ffmpeg.exe" -vf "zoompan=z='1+(1.4*in/300"  "newfiles\ffmpeg.mp4"
    ffmpeg version N-93461-g6e42021128 Copyright (c) 2000-2019 the FFmpeg developers

     built with gcc 8.2.1 (GCC) 20190212
     configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-fontconfi
    g --enable-gnutls --enable-iconv --enable-libass --enable-libdav1d --enable-libb
    luray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enab
    le-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --e
    nable-libsnappy --enable-libsoxr --enable-libtheora --enable-libtwolame --enable
    -libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 -
    -enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enab
    le-libvidstab --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --en
    able-libspeex --enable-libxvid --enable-libaom --enable-libmfx --enable-amf --en
    able-ffnvcodec --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --e
    nable-dxva2 --enable-avisynth --enable-libopenmpt
     libavutil      56. 26.100 / 56. 26.100
     libavcodec     58. 47.105 / 58. 47.105
     libavformat    58. 26.101 / 58. 26.101
     libavdevice    58.  7.100 / 58.  7.100
     libavfilter     7. 48.100 /  7. 48.100
     libswscale      5.  4.100 /  5.  4.100
     libswresample   3.  4.100 /  3.  4.100
     libpostproc    55.  4.100 / 55.  4.100
    ffmpeg.exe: Invalid data found when processing input
  • Anomalie #4328 : Depots inaccessibles

    7 mai 2019, par Armen Spidermian

    oui j’ai commencé par poser la question sur #spip
    ou l’on m’a invite a ouvrir un ticket ^^

    a écrit :

    La demande #4328 <https://core.spip.net/issues/4328#change-14931> a
    été mise à jour par b b.

    Dans ce cas je t’invite à poser la question sur la liste spip-zone ou
    passer sur http://irc.spip.net/ pour en discuter.


    Anomalie #4328 : Depots inaccessibles
    <https://core.spip.net/issues/4328#change-14931>

    • Auteur : Armen Spidermian
    • Statut : Fermé
    • Priorité : Normal
    • Assigné à :
    • Catégorie :
    • Version cible :
    • Resolution : invalid
    • Navigateur :

    Spip refuse de se connecter au dépot.

    2019-05-06 13:50:01 78.230.118.204 (pid 7481) :Pri:ERREUR : Erreur
    connexion
    2019-05-06 13:50:02 78.230.118.204 (pid 7481) :Pri:ERREUR : Erreur
    connexion
    2019-05-06 13:50:02 78.230.118.204 (pid 7481) :Pri : !INFO : copie_locale
     : Echec recuperation https://plugins.spip.net/depots/principal.xml sur
    ../IMG/distant/xml/principalxml2fdc.xml status : 0

    Je n’arrive pas a comprendre d’ou ca vient...

    Fichiers ErreurSpip.png
    <https://core.spip.net/attachments/download/1083/ErreurSpip.png> (84,9 ko)


    Vous recevez ce mail car vous êtes impliqués sur ce projet.
    Pour changer les préférences d’envoi de mail, allez sur
    http://core.spip.net/my/account