Recherche avancée

Médias (91)

Autres articles (65)

  • Amélioration de la version de base

    13 septembre 2013

    Jolie sélection multiple
    Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
    Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)

  • Emballe médias : à quoi cela sert ?

    4 février 2011, par

    Ce plugin vise à gérer des sites de mise en ligne de documents de tous types.
    Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ;

  • Menus personnalisés

    14 novembre 2010, par

    MediaSPIP utilise le plugin Menus pour gérer plusieurs menus configurables pour la navigation.
    Cela permet de laisser aux administrateurs de canaux la possibilité de configurer finement ces menus.
    Menus créés à l’initialisation du site
    Par défaut trois menus sont créés automatiquement à l’initialisation du site : Le menu principal ; Identifiant : barrenav ; Ce menu s’insère en général en haut de la page après le bloc d’entête, son identifiant le rend compatible avec les squelettes basés sur Zpip ; (...)

Sur d’autres sites (7773)

  • why ffmpeg encodes a ogg file with flac encoder ?

    8 septembre 2016, par tangren

    I want to convert an audio into an ogg file, my command is :

    ffmpeg -i in.wav out.ogg

    I found that the output stream encoder is flac instead of ogg or vorbis !

    The ffmpeg output message shows below :

    ffmpeg version 3.1.2 Copyright (c) 2000-2016 the FFmpeg developers
     built with gcc 4.9.2 (GCC)
    Guessed Channel Layout for Input Stream #0.0 : mono
    Input #0, wav, from 'in.wav':
     Metadata:
       encoder         : Lavf55.48.100
     Duration: 00:00:11.97, bitrate: 256 kb/s
       Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 16000 Hz, 1 channels, s16, 256 kb/s
    [ogg @ 0x8003e020] Using AVStream.codec to pass codec parameters to muxers is deprecated, use AVStream.codecpar instead.
    Output #0, ogg, to 'out.ogg':
     Metadata:
       encoder         : Lavf57.41.100
       Stream #0:0: Audio: flac, 16000 Hz, mono, s16, 128 kb/s
       Metadata:
         encoder         : Lavc57.48.101 flac
    Stream mapping:
     Stream #0:0 -> #0:0 (pcm_s16le (native) -> flac (native))

    Anyone tell me why ? Thanks !

  • libavdevice.so.57 : failed to map segment from shared object : Permission denied"

    10 septembre 2016, par user3579130

    I have successfully installed ffmpeg ver. 4.4.7 on centos, with shared enabled as such :

    [root@localhost ~]# ffmpeg
    ffmpeg version N-81555-g496d97f Copyright (c) 2000-2016 the FFmpeg developers
     built with gcc 4.4.7 (GCC) 20120313 (Red Hat 4.4.7-17)
     configuration: --prefix=/usr/local/ffmpeg_build --extra-cflags=-I/usr/local/ffmpeg_build/include --extra-ldflags=-L/usr/local/ffmpeg_build/lib --bindir=/usr/local/bin --pkg-config-flags=--static --enable-gpl --enable-nonfree --enable-libfdk-aac --enable-libx264 --enable-libx265 --enable-shared
     libavutil      55. 29.100 / 55. 29.100
     libavcodec     57. 54.102 / 57. 54.102
     libavformat    57. 48.102 / 57. 48.102
     libavdevice    57.  0.102 / 57.  0.102
     libavfilter     6. 60.100 /  6. 60.100
     libswscale      4.  1.100 /  4.  1.100
     libswresample   2.  1.100 /  2.  1.100
     libpostproc    54.  0.100 / 54.  0.100
    Hyper fast Audio and Video encoder
    usage: ffmpeg [options] [[infile options] -i infile]... {[outfile options] outfile}...

    However, when I run in php, through exec I get

    "/usr/local/bin/ffmpeg : error while loading shared libraries :
    libavdevice.so.57 : failed to map segment from shared object :
    Permission denied"

    I know the web server executes the command as user ’apache’ and not root, but I installed ffmpeg in /usr/local/ffmpeg_build for that specific reason, so that the regular users can use ffmpeg.

    What did I miss ? What does this error mean ?

  • ffmpeg concat video fails on Android

    2 septembre 2016, par Cynapsis

    I’m using this library to integrate ffmpeg to my android app.

    I was able to successfully crop videos with the library but now I need to concatenate two videos that are exactly the same resolution.

    The ffmpeg command I use is

    -i input1.mp4 -i input2.mp4 -filter_complex concat=n=2:v=1:a=1 -f MP4 out.mp4

    I’m getting the above error when I run that command on those 2 videos


    ffmpeg version n3.0.1 Copyright (c) 2000-2016 the FFmpeg developers
                                                                          built with gcc 4.8 (GCC)
                                                                          configuration: --target-os=linux --cross-prefix=/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/bin/arm-linux-androideabi- --arch=arm --cpu=cortex-a8 --enable-runtime-cpudetect --sysroot=/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/sysroot --enable-pic --enable-libx264 --enable-libass --enable-libfreetype --enable-libfribidi --enable-libmp3lame --enable-fontconfig --enable-pthreads --disable-debug --disable-ffserver --enable-version3 --enable-hardcoded-tables --disable-ffplay --disable-ffprobe --enable-gpl --enable-yasm --disable-doc --disable-shared --enable-static --pkg-config=/home/vagrant/SourceCode/ffmpeg-android/ffmpeg-pkg-config --prefix=/home/vagrant/SourceCode/ffmpeg-android/build/armeabi-v7a --extra-cflags='-I/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/include -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fno-strict-overflow -fstack-protector-all' --extra-ldflags='-L/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/lib -Wl,-z,relro -Wl,-z,now -pie' --extra-libs='-lpng -lexpat -lm' --extra-cxxflags=
                                                                          libavutil      55. 17.103 / 55. 17.103
                                                                          libavcodec     57. 24.102 / 57. 24.102
                                                                          libavformat    57. 25.100 / 57. 25.100
                                                                          libavdevice    57.  0.101 / 57.  0.101
                                                                          libavfilter     6. 31.100 /  6. 31.100
                                                                          libswscale      4.  0.100 /  4.  0.100
                                                                          libswresample   2.  0.101 /  2.  0.101
                                                                          libpostproc    54.  0.100 / 54.  0.100
                                                                        Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/storage/emulated/0/DCIM/CameraDemo/1.mp4':
                                                                          Metadata:
                                                                            major_brand     : mp42
                                                                            minor_version   : 0
                                                                            compatible_brands: isommp42
                                                                            creation_time   : 2016-09-02 10:17:23
                                                                            com.android.version: 7.0
                                                                          Duration: 00:00:04.46, start: 0.000000, bitrate: 6078 kb/s
                                                                            Stream #0:0(eng): Video: h264 (Baseline) (avc1 / 0x31637661), yuvj420p(pc, bt470bg/bt470bg/smpte170m), 720x480, 6010 kb/s, SAR 1:1 DAR 3:2, 30 fps, 30 tbr, 90k tbn, 180k tbc (default)
                                                                            Metadata:
                                                                              rotate          : 270
                                                                              creation_time   : 2016-09-02 10:17:23
                                                                              handler_name    : VideoHandle
                                                                            Side data:
                                                                              displaymatrix: rotation of 90.00 degrees
                                                                            Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, mono, fltp, 96 kb/s (default)
                                                                            Metadata:
                                                                              creation_time   : 2016-09-02 10:17:23
                                                                              handler_name    : SoundHandle
                                                                        Input #1, mov,mp4,m4a,3gp,3g2,mj2, from '/storage/emulated/0/DCIM/CameraDemo/1.mp4':
                                                                          Metadata:
                                                                            major_brand     : mp42
                                                                            minor_version   : 0
                                                                            compatible_brands: isommp42
                                                                            creation_time   : 2016-09-02 10:17:23
                                                                            com.android.version: 7.0
                                                                          Duration: 00:00:04.46, start: 0.000000, bitrate: 6078 kb/s
                                                                            Stream #1:0(eng): Video: h264 (Baseline) (avc1 / 0x31637661), yuvj420p(pc, bt470bg/bt470bg/smpte170m), 720x480, 6010 kb/s, SAR 1:1 DAR 3:2, 30 fps, 30 tbr, 90k tbn, 180k tbc (default)
                                                                            Metadata:
                                                                              rotate          : 270
                                                                              creation_time   : 2016-09-02 10:17:23
                                                                              handler_name    : VideoHandle
                                                                            Side data:
                                                                              displaymatrix: rotation of 90.00 degrees
                                                                            Stream #1:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, mono, fltp, 96 kb/s (default)
                                                                            Metadata:
                                                                              creation_time   : 2016-09-02 10:17:23
                                                                              handler_name    : SoundHandle
                                                                        Cannot find a matching stream for unlabeled input pad 4 on filter Parsed_concat_0

    edit 1 : Fixin the n=3 to n=2 changed the error message to
    Filter concat:out:v0 has a unconnected output