Recherche avancée

Médias (0)

Mot : - Tags -/clipboard

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (71)

  • 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 (...)

  • Le plugin : Podcasts.

    14 juillet 2010, par

    Le problème du podcasting est à nouveau un problème révélateur de la normalisation des transports de données sur Internet.
    Deux formats intéressants existent : Celui développé par Apple, très axé sur l’utilisation d’iTunes dont la SPEC est ici ; Le format "Media RSS Module" qui est plus "libre" notamment soutenu par Yahoo et le logiciel Miro ;
    Types de fichiers supportés dans les flux
    Le format d’Apple n’autorise que les formats suivants dans ses flux : .mp3 audio/mpeg .m4a audio/x-m4a .mp4 (...)

Sur d’autres sites (4390)

  • download part youtube video with ffmpeg ?

    1er août 2020, par testoflow

    I can't get this right
    
ffmpeg works well so can you help me ?

    


    #I can't get this right

    


    #!/bin/bash
var=$(xclip -o)

if [ -z $var ]; then  
    echo 'copia url a descargar al portapapeles'  
fi  

printf "(1) download part of video without audio\n"
printf "(2) download part of audio\n"
echo
echo -n 'opcion: '
read opcion
case $opcion in
    "1") c=$(youtube-dl -g $var | awk '{ if(NR==1) print $0 }' | sed 's/^/"/;s/$/"/')  && echo -n 'start time: ' && read segundos && echo -n 'duration: ' && read duration &&  ffmpeg -i $c -ss $segundos -t $duration probe.mp4;;  
    "2") b=$(youtube-dl -g $var | awk '{ if(NR==2) print $0 }' | sed 's/^/"/;s/$/"/')  && echo $b && ffmpeg -ss 0 -i $b  -t 10 probe.mp3;;  
esac  


    


  • Evolution #3092 : Gestion des contenus par lots

    29 septembre 2015, par Valéry -

    Notons que pour la fonction "déplacement" le Plan du site amélioré http://contrib.spip.net/Plan-du-site-ameliore-4718 fait ceci (mais avec la contrainte du glisser / déposer parfois délicat à manipuler).

  • Convert Webp to MP4 file in Python Script [duplicate]

    13 mai 2021, par Sar sinua

    is there any way to convert Webp file to MP4 in python script ?i want to execute my codes on Heroku

    


    i tried...

    


    import moviepy.editor as mp

clip = mp.VideoFileClip("input.webp")
clip.write_videofile("output.mp4")


    


    i got error :

    


    OSError : MoviePy error : failed to read the duration of file giphy.webp.
Here are the file infos returned by ffmpeg :

    


    ffmpeg version 4.2.2 Copyright (c) 2000-2019 the FFmpeg developers
built with gcc 9.2.1 (GCC) 20200122
configuration : —enable-gpl —enable-version3 —enable-sdl2 —enable-fontconfig —enable-gnutls —enable-iconv —enable-libass —enable-libdav1d —enable-libbluray —enable-libfreetype —enable-libmp3lame —enable-libopencore-amrnb —enable-libopencore-amrwb —enable-libopenjpeg —enable-libopus —enable-libshine —enable-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 —enable-libvidstab —enable-libvorbis —enable-libvo-amrwbenc —enable-libmysofa —enable-libspeex —enable-libxvid —enable-libaom —enable-libmfx —enable-amf —enable-ffnvcodec —enable-cuvid —enable-d3d11va —enable-nvenc —enable-nvdec —enable-dxva2 —enable-avisynth —enable-libopenmpt
libavutil 56. 31.100 / 56. 31.100
libavcodec 58. 54.100 / 58. 54.100
libavformat 58. 29.100 / 58. 29.100
libavdevice 58. 8.100 / 58. 8.100
libavfilter 7. 57.100 / 7. 57.100
libswscale 5. 5.100 / 5. 5.100
libswresample 3. 5.100 / 3. 5.100
libpostproc 55. 5.100 / 55. 5.100
[webp @ 00000275c1bab780] skipping unsupported chunk : ANIM
[webp @ 00000275c1bab780] skipping unsupported chunk : ANMF
Last message repeated 36 times
[webp @ 00000275c1bab780] image data not found
[webp_pipe @ 00000275c1b99380] decoding for stream 0 failed
[webp_pipe @ 00000275c1b99380] Could not find codec parameters for stream 0 (Video : webp, none) : unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
Input #0, webp_pipe, from 'giphy.webp' :
Duration : N/A, bitrate : N/A
Stream #0:0 : Video : webp, none, 25 tbr, 25 tbn, 25 tbc
At least one output file must be specified

    


    and also i tried this command in command line :

    


    C:\Users\***\Desktop\Notebook>ffmpeg -i giphy.webp giphy.mp4


    


    i got this error :

    


    ffmpeg version 2021-05-12-git-175f675f7b-full_build-www.gyan.dev Copyright (c) 2000-2021 the FFmpeg developers
  built with gcc 10.2.0 (Rev6, Built by MSYS2 project)
  configuration: --enable-gpl --enable-version3 --enable-static --disable-w32threads --disable-autodetect --enable-fontconfig --enable-iconv --enable-gnutls --enable-libxml2 --enable-gmp --enable-lzma --enable-libsnappy --enable-zlib --enable-librist --enable-libsrt --enable-libssh --enable-libzmq --enable-avisynth --enable-libbluray --enable-libcaca --enable-sdl2 --enable-libdav1d --enable-libzvbi --enable-librav1e --enable-libsvtav1 --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxvid --enable-libaom --enable-libopenjpeg --enable-libvpx --enable-libass --enable-frei0r --enable-libfreetype --enable-libfribidi --enable-libvidstab --enable-libvmaf --enable-libzimg --enable-amf --enable-cuda-llvm --enable-cuvid --enable-ffnvcodec --enable-nvdec --enable-nvenc --enable-d3d11va --enable-dxva2 --enable-libmfx --enable-libglslang --enable-vulkan --enable-opencl --enable-libcdio --enable-libgme --enable-libmodplug --enable-libopenmpt --enable-libopencore-amrwb --enable-libmp3lame --enable-libshine --enable-libtheora --enable-libtwolame --enable-libvo-amrwbenc --enable-libilbc --enable-libgsm --enable-libopencore-amrnb --enable-libopus --enable-libspeex --enable-libvorbis --enable-ladspa --enable-libbs2b --enable-libflite --enable-libmysofa --enable-librubberband --enable-libsoxr --enable-chromaprint
  libavutil      57.  0.100 / 57.  0.100
  libavcodec     59.  1.100 / 59.  1.100
  libavformat    59.  0.101 / 59.  0.101
  libavdevice    59.  0.100 / 59.  0.100
  libavfilter     8.  0.101 /  8.  0.101
  libswscale      6.  0.100 /  6.  0.100
  libswresample   4.  0.100 /  4.  0.100
  libpostproc    56.  0.100 / 56.  0.100
[webp @ 0000025fb2a2ff00] skipping unsupported chunk: ANIM
[webp @ 0000025fb2a2ff00] skipping unsupported chunk: ANMF
    Last message repeated 36 times
[webp @ 0000025fb2a2ff00] image data not found
[webp_pipe @ 0000025fb2a1b180] decoding for stream 0 failed
[webp_pipe @ 0000025fb2a1b180] Could not find codec parameters for stream 0 (Video: webp, none): unspecified size
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options
Input #0, webp_pipe, from 'giphy.webp':
  Duration: N/A, bitrate: N/A
  Stream #0:0: Video: webp, none, 25 fps, 25 tbr, 25 tbn
File 'giphy.mp4' already exists. Overwrite? [y/N] y
Stream mapping:
  Stream #0:0 -> #0:0 (webp (native) -> h264 (libx264))
Press [q] to stop, [?] for help
[webp @ 0000025fb324c1c0] skipping unsupported chunk: ANIM
[webp @ 0000025fb324c1c0] skipping unsupported chunk: ANMF
    Last message repeated 36 times
[webp @ 0000025fb324c1c0] image data not found
Error while decoding stream #0:0: Invalid data found when processing input
Cannot determine format of input stream 0:0 after EOF
Error marking filters as finished
Conversion failed!