Recherche avancée

Médias (0)

Mot : - Tags -/xmlrpc

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

Autres articles (84)

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

  • Bash script to convert imgs in subfolders to video (using ffmpeg and Ubuntu)

    2 novembre 2015, par mcExchange

    I’m trying to convert all files in folders given by

    allFolders.txt
    > head folderNames.txt
    0001
    0002
    0003
    0004
    0005
    ...

    to a video using ffmpeg

    ffmpeg version 2.2.3 Copyright (c) 2000-2014 the FFmpeg developers  built on Apr 20 2015 13:38:52 with gcc 4.8 (Ubuntu 4.8.2-19ubuntu1)
    configuration: --prefix=/home/myUsername/usr/local --enable-nonfree --enable-gpl --enable-pic --enable-shared --enable-libx264 --disable-vaapi

    According to some answers here on stackoverflow I wrote the following bash script :

    #!/bin/bash
    while read p; do
       cd "$p"
       ffmpeg -f concat -i "allImgNames.txt" -framerate 30 -c:v libx264 -profile:v high -crf 20 -pix_fmt yuv420p output.mp4
       cd -
    done < folderNames.txt

    where allImgNames.txt is a text file containing all the image names.

    The strange thing is that it works for a few videos but for the rest of the filelist it fails saying allImgNames.txt: No such file or directory, which is not true. I checked all paths several times. Also I can execute the ffmpeg ... command above manually without problems.
    I don’t know what I’m doing wrong. All file / folder names are normal (no special characters). Maybe I don’t understand enough about bash or ffmpeg.

  • ffmpeg with Videoconverter.js MTS to .mp4 conversion issue

    24 juin 2014, par user3679718

    I’ve been scratching my head over this issue and going through dozens of google search results to find a solution to this, but no luck. I’ve got an issue when trying to convert MTS to mp4 with Videoconverter.js, which uses ffmpeg commands for converting video. I have installed ffmpeg, and run successfully .webm to .mp4 conversions. I’ve changed the Videoconverter.js file that specifies files to be used in the terminal, and I’m using commands from tutorials for MTS conversions (I’ve tried multiple options already), but to no avail. I keep getting "File not found", although it certainly is there, next to .webm which I converted before successfully.
    Anyone know what this might be ?

    Worker has received command
    Received command: -i 00091.MTS -vcodec mpeg4 -b:v 15M -acodec libmp3lame -b:a 192k output.mp4.          Processing with 268435456 bits.
    ffmpeg version 2.2.1 Copyright (c) 2000-2014 the FFmpeg developers
     built on Jun  9 2014 20:24:32 with emcc (Emscripten GCC-like replacement) 1.12.0 (commit  6960d2296299e96d43e694806f5d35799ef8d39c)
     configuration: --cc=emcc --prefix=/Users/bgrinstead/Sites/videoconverter.js/build/ffmpeg/../dist --extra-cflags='-I/Users/bgrinstead/Sites/videoconverter.js/build/ffmpeg/../dist/include -v' --enable-cross-compile --target-os=none --arch=x86_32 --cpu=generic --disable-ffplay --disable-ffprobe --disable-ffserver --disable-asm --disable-doc --disable-devices --disable-pthreads --disable-w32threads --disable-network --disable-hwaccels --disable-parsers --disable-bsfs --disable-debug --disable-protocols --disable-indevs --disable-outdevs --enable-protocol=file --enable-libvpx --enable-gpl --extra-libs='/Users/bgrinstead/Sites/videoconverter.js/build/ffmpeg/../dist/lib/libx264.a /Users/bgrinstead/Sites/videoconverter.js/build/ffmpeg/../dist/lib/libvpx.a'
     libavutil      52. 66.100 / 52. 66.100
     libavcodec     55. 52.102 / 55. 52.102
     libavformat    55. 33.100 / 55. 33.100
     libavdevice    55. 10.100 / 55. 10.100
     libavfilter     4.  2.100 /  4.  2.100
     libswscale      2.  5.102 /  2.  5.102
     libswresample   0. 18.100 /  0. 18.100
     libpostproc    52.  3.100 / 52.  3.100
    00091.MTS: No such file or directory
    Finished processing (took 140ms)
  • bash : find truncates some paths [duplicate]

    17 novembre 2023, par fweber

    I'm using MacOS 13.0.1 and try to find + loop over .mov files to convert them to MP4 using FFMPEG. Many of my path contain spaces and special characters. I found a way of putting things together thanks to this post :

    


    function convert_to_mp4_then_rm() {
    while IFS= read -r -d '' file
    do
        ffmpeg -i "$file" "${file%.mov}.mp4"
    done < <(find /Users/f.weber/Downloads -type f -name "*.mov" -print0)
}


    


    This runs but I found a (random ?) error : it looks like some of the paths are truncated when they arrive to the ffmpeg CLI.

    


    Example to reproduce with a basic content :

    


    ll Downloads/
total 9472
-rw-r--r--  1 f.weber  staff   2,3M 26 sep 08:56 23-09-26 08-56-50-2538.mov
-rw-r--r--  1 f.weber  staff   2,3M 26 sep 08:56 23-09-26 08-56-50-2539.mov


    


    When I call convert_to_mp4_then_rm in a terminal, the first MOV file is properly processed then I have the following error from FFMPEG : /Downloads/23-09-26 08-56-50-2539.mov: No such file or directory. In some conditions (e.g. when the path is longer) the truncation is more obvious and can occur in the middle of a word.

    


    What is the explanation for this ? How to forward untruncated paths to my function's core ?

    


    Thanks !