Recherche avancée

Médias (0)

Mot : - Tags -/metadatas

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

Autres articles (80)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

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

  • Le profil des utilisateurs

    12 avril 2011, par

    Chaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
    L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...)

Sur d’autres sites (11261)

  • "Cannot find ffmpeg" error when using 'audioconcat'

    2 janvier 2020, par Mosukoshide

    I would like to concatenate three ’.oga’ sound files using audioconcat, however whenever I try to do so, I am met with this error :

    Error: Error: Cannot find ffmpeg
       at /root/user/node_modules/fluent-ffmpeg/lib/processor.js:136:22
       at /root/user/node_modules/fluent-ffmpeg/lib/capabilities.js:123:9
       at /root/user/node_modules/fluent-ffmpeg/lib/capabilities.js:116:11
       at /root/user/node_modules/fluent-ffmpeg/lib/utils.js:223:16
       at F (/root/user/node_modules/which/which.js:68:16)
       at E (/root/user/node_modules/which/which.js:80:29)
       at /root/user/node_modules/which/which.js:89:16
       at /root/user/node_modules/isexe/index.js:42:5
       at /root/user/node_modules/isexe/mode.js:8:5
       at FSReqWrap.oncomplete (fs.js:152:21)
    ffmpeg stderr: undefined

    I have already installed ffmpeg with the flags that were listed on the audioconcat npm page like this :

    npm i ffmpeg --enable-libass --enable-libmp3lame

    And the code I am trying to run looks like this :

                   audioconcat(audioFiles)
                   .concat(`main.oga`)
                   .on('start', function (command) {
                     console.log('ffmpeg process started:', command)
                   })
                   .on('error', function (err, stdout, stderr) {
                     console.error('Error:', err)
                     console.error('ffmpeg stderr:', stderr)
                   })
                   .on('end', function (output) {
                     console.error('Audio created in:', output)
                   })

    I’m not sure how to fix this problem...

  • Recursively running ffmpeg concat script in bash across multiple folders

    15 août 2022, par Sam Feldman

    I wrote a bash script that concatenates all video files in a folder using ffmpeg. I would like to be able to run this script recursively on multiple folders. My problem has been that I am unable to change into the directory of every new folder to run the script. This is required for my script to work. Does anyone know what I could accomplish this ?

    


        #!/bin/bash

for f in *; do echo "file '$f'" >> files.txt; done
for f in *; do echo "'$f'" >> filesdelete.txt; done
ffmpeg -f concat -safe 0 -i files.txt -c copy "${PWD##*/}".MP4
xargs -I{} rm -r "{}" < filesdelete.txt
rm files.txt
rm filesdelete.txt


    


    I start with the file structure below. The script runs in each subdirectory (dir1, dir2, dir3) and combines the files in each subdirectory into one video. For the script to run, it needs to cd into each directory.

    


    root
├── dir1
│   ├── video1.mp4
│   ├── video2.mp4
│   └── video3.mp4
├── dir2
│   ├── video1.mp4
│   └── video2.mp4
└── dir3
    ├── video1.mp4
    └── video2.mp4


    


    The end result should look like the structure below.

    


    root
├── dir1
│   └── concat.mp4
├── dir2
│   └── concat.mp4
└── dir3
    └── concat.mp4


    


  • unable ti decode video using h264_cuvid

    1er novembre 2017, par aymen

    I am using nvidia GTX 1080Ti, Driver Version : 387.12 .

    I am using the below command :

    ffmpeg -c:v h264_cuvid -i http://stream:port/channel output.mkv

    And getting the following output :

    ffmpeg version 3.3.4 Copyright (c) 2000-2017 the FFmpeg developers
     built with gcc 5.4.0 (Ubuntu 5.4.0-6ubuntu1~16.04.4) 20160609
     configuration: --prefix=/root/ffmpeg_build --pkg-config-flags=--static --extra-cflags=-I/root/ffmpeg_build/include --extra-ldflags=-L/root/ffmpeg_build/lib --extra-cflags=-I/usr/local/cuda-8.0/include --extra-ldflags=-L/usr/local/cuda-8.0/lib64 --bindir=/root/bin --enable-gpl --enable-libass --enable-libfdk-aac --enable-libfreetype --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-nonfree --enable-cuda --enable-cuvid --enable-nvenc --enable-libnpp
     libavutil      55. 58.100 / 55. 58.100
     libavcodec     57. 89.100 / 57. 89.100
     libavformat    57. 71.100 / 57. 71.100
     libavdevice    57.  6.100 / 57.  6.100
     libavfilter     6. 82.100 /  6. 82.100
     libswscale      4.  6.100 /  4.  6.100
     libswresample   2.  7.100 /  2.  7.100
     libpostproc    54.  5.100 / 54.  5.100
    [h264 @ 0x24d2f60] non-existing PPS 2 referenced
    [h264 @ 0x24d2f60] non-existing PPS 1 referenced
    [h264 @ 0x24d2f60] Invalid NAL unit 0, skipping.
       Last message repeated 2 times
    [h264 @ 0x24d2f60] slice type 12 too large at 1
    [h264 @ 0x24d2f60] decode_slice_header error
    [h264 @ 0x24d2f60] data partitioning is not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file has a feature which has not been implemented.
    [h264 @ 0x24d2f60] If you want to help, upload a sample of this file to ftp://upload.ffmpeg.org/incoming/ and contact the ffmpeg-devel mailing list. (ffmpeg-devel@ffmpeg.org)
    [h264 @ 0x24d2f60] data partitioning is not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file has a feature which has not been implemented.
    [h264 @ 0x24d2f60] If you want to help, upload a sample of this file to ftp://upload.ffmpeg.org/incoming/ and contact the ffmpeg-devel mailing list. (ffmpeg-devel@ffmpeg.org)
    [h264 @ 0x24d2f60] data partitioning is not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file has a feature which has not been implemented.
    [h264 @ 0x24d2f60] If you want to help, upload a sample of this file to ftp://upload.ffmpeg.org/incoming/ and contact the ffmpeg-devel mailing list. (ffmpeg-devel@ffmpeg.org)
    [h264 @ 0x24d2f60] no frame!
    [h264 @ 0x24d2f60] non-existing PPS 1 referenced
    [h264 @ 0x24d2f60] decode_slice_header error
    [h264 @ 0x24d2f60] no frame!
    [h264 @ 0x24d2f60] SEI type 66 size 1104 truncated at 400
    [h264 @ 0x24d2f60] sps_id 1 out of range
    [h264 @ 0x24d2f60] non-existing PPS 3 referenced
    [h264 @ 0x24d2f60] non-existing PPS 2 referenced
    [h264 @ 0x24d2f60] non-existing PPS 1 referenced
    [h264 @ 0x24d2f60] SEI type 87 size 1264 truncated at 1224
    [h264 @ 0x24d2f60] sps_id 1 out of range
    [h264 @ 0x24d2f60] non-existing PPS 3 referenced
    [h264 @ 0x24d2f60] Invalid NAL unit 0, skipping.
    ........

    [h264 @ 0x24d2f60] non-existing PPS 0 referenced
    [h264 @ 0x24d2f60] decode_slice_header error
    [h264 @ 0x24d2f60] no frame!
    [mpegts @ 0x24c4640] decoding for stream 0 failed
    Input #0, mpegts, from 'http://stream:port/channel':
     Duration: N/A, start: 27359.989822, bitrate: N/A
     Program 1108
       Stream #0:0[0x3f2]: Video: h264 ([2][0][0][0] / 0x0002), yuv420p(bottom first), 46x24, 0.69 fps, 25 tbr, 90k tbn, 1.38 tbc
       Stream #0:1[0x3f3](eng): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, s16p, 128 kb/s
    File 'output.mkv' already exists. Overwrite ? [y/N]

    Do you have any idea about this problem ?