Recherche avancée

Médias (1)

Mot : - Tags -/book

Autres articles (75)

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

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

  • Configurer la prise en compte des langues

    15 novembre 2010, par

    Accéder à la configuration et ajouter des langues prises en compte
    Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
    De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
    Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...)

Sur d’autres sites (9014)

  • FFMPEG Android concat videos

    19 novembre 2016, par Willian Feltri

    I’m getting strange message when concatening some videos in my Android App. How shoould i fix that ?

    command : String[] cmd = "-auto_convert", "1", "-f", "concat", "-safe", "0", "-i", txtFilePath, "-c", "copy", finalHighlightVideoPath ;

    For the txtFilePath, it has a list of mp4 videos that I need to concat.

    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
                                                         [mov,mp4,m4a,3gp,3g2,mj2 @ 0xb7b621f0] Auto-inserting h264_mp4toannexb bitstream filter
                                                         Input #0, concat, from '/data/user/0/com.qouyou.qouyou/cache/ffmpegvideosfinalfile-2042067805.txt':
                                                           Duration: N/A, start: 0.000000, bitrate: 4364 kb/s
                                                             Stream #0:0(eng): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1280x720, 4296 kb/s, 25.28 fps, 120 tbr, 90k tbn, 180k tbc
                                                             Metadata:
                                                               handler_name    : VideoHandler
                                                             Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 68 kb/s
                                                             Metadata:
                                                               handler_name    : SoundHandler
                                                         Output #0, mp4, to '/storage/emulated/0/Movies/videohighlight.mp4':
                                                           Metadata:
                                                             encoder         : Lavf57.25.100
                                                             Stream #0:0(eng): Video: h264 ([33][0][0][0] / 0x0021), yuv420p, 1280x720, q=2-31, 4296 kb/s, 25.28 fps, 120 tbr, 90k tbn, 90k tbc
                                                             Metadata:
                                                               handler_name    : VideoHandler
                                                             Stream #0:1(eng): Audio: aac (LC) ([64][0][0][0] / 0x0040), 48000 Hz, stereo, 68 kb/s
                                                             Metadata:
                                                               handler_name    : SoundHandler
                                                         Stream mapping:
                                                           Stream #0:0 -> #0:0 (copy)
                                                           Stream #0:1 -> #0:1 (copy)
                                                         Press [q] to stop, [?] for help
                                                         [mov,mp4,m4a,3gp,3g2,mj2 @ 0xb7b67030] Auto-inserting h264_mp4toannexb bitstream filter
                                                         [mp4 @ 0xb7bda280] Non-monotonous DTS in output stream 0:0; previous: 377898, current: 64352; changing to 377899. This may result in incorrect timestamps in the output file.
                                                         [mp4 @ 0xb7bda280] Non-monotonous DTS in output stream 0:0; previous: 377899, current: 64864; changing to 377900. This may result in incorrect timestamps in the output file.
                                                         [mp4 @ 0xb7bda280] Non-monotonous DTS in output stream 0:1; previous: 201520, current: 186675; changing to 201521. This may result in incorrect timestamps in the output file.
                                                         [mp4 @ 0xb7bda280] Non-monotonous DTS in output stream 0:0; previous: 377900, current: 65376; changing to 377901. This may result in incorrect timestamps in the output file.
                                                         [mp4 @ 0xb7bda280] Non-monotonous DTS in output stream 0:1; previous: 201521, current: 187699; changing to 201522. This may result in incorrect timestamps in the output file.
                                                         [mp4 @ 0xb7bda280] Non-monotonous DTS in output stream 0:1; previous: 201522, current: 188723; changing to 201523. This may result in incorrect timestamps in the output file.
                                                         [mp4 @ 0xb7bda280] Non-monotonous DTS in output stream 0:0; previous: 377901, current: 65888; changing to 377902. This may result in incorrect timestamps in the output file.
                                                         [mp4 @ 0xb7bda280] Non-monotonous DTS in output stream 0:1; previous: 201523, current: 189747; changing to 201524. This may result in incorrect timestamps in
  • Ffmpeg change aspect ratio do not succeeded

    22 novembre 2016, par Ngoral

    I’m trying to change the aspect ratio of video, cause it’s being showed in a wrong way (it sould be 16:9 but shows 3:4).
    I’ve tried a lot of things, and none worked.
    E.g. I’ve tried to set SAR, but it changes DAR, so the aspect ratio stays the same. Here’s an example :

    ffmpeg -y -i rtmp://localhost/in/air-hdmi -vf "setsar=sar=16/9" -f flv rtmp://localhost/in/ngoraltestffmpeg


       ffmpeg version N-80388-gfd1d84b Copyright (c) 2000-2016 the FFmpeg developers
     built with gcc 4.8 (Ubuntu 4.8.4-2ubuntu1~14.04.3)
     configuration: --prefix=/home/anastasia/ffmpeg_build --pkg-config-flags=--static --extra-cflags=-I/home/anastasia/ffmpeg_build/include --extra-ldflags=-L/home/anastasia/ffmpeg_build/lib --bindir=/home/anastasia/bin --enable-gpl --enable-libass --enable-libfdk-aac --enable-libfreetype --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-nonfree
     libavutil      55. 24.100 / 55. 24.100
     libavcodec     57. 46.100 / 57. 46.100
     libavformat    57. 38.101 / 57. 38.101
     libavdevice    57.  0.101 / 57.  0.101
     libavfilter     6. 46.101 /  6. 46.101
     libswscale      4.  1.100 /  4.  1.100
     libswresample   2.  1.100 /  2.  1.100
     libpostproc    54.  0.100 / 54.  0.100

    [flv @ 0x38143c0] audio stream discovered after head already parsed
    [aac @ 0x3818f20] element type mismatch 1 != 0
    [flv @ 0x38143c0] video stream discovered after head already parsed
    Input #0, flv, from 'rtmp://localhost/in/air-hdmi':
     Metadata:
       Server          : NGINX RTMP (github.com/arut/nginx-rtmp-module)
       displayWidth    : 720
       displayHeight   : 576
       fps             : 0
       profile         :
       level           :
     Duration: 00:00:00.00, start: 181748.084000, bitrate: N/A
       Stream #0:0: Audio: aac (HE-AAC), 44100 Hz, stereo, fltp
       Stream #0:1: Video: h264 (High), yuv420p, 720x576, 25 fps, 25 tbr, 1k tbn, 50 tbc
    [flv @ 0x39bf5a0] Using AVStream.codec to pass codec parameters to muxers is deprecated, use AVStream.codecpar instead.
       Last message repeated 1 times
    Output #0, flv, to 'rtmp://localhost/in/ngoraltest':
     Metadata:
       Server          : NGINX RTMP (github.com/arut/nginx-rtmp-module)
       displayWidth    : 720
       displayHeight   : 576
       fps             : 0
       profile         :
       level           :
       encoder         : Lavf57.38.101
       Stream #0:0: Video: flv1 (flv) ([2][0][0][0] / 0x0002), yuv420p, 720x576 [SAR 16:9 DAR 20:9], q=2-31, 200 kb/s, 25 fps, 1k tbn, 25 tbc
       Metadata:
         encoder         : Lavc57.46.100 flv
       Side data:
         cpb: bitrate max/min/avg: 0/0/200000 buffer size: 0 vbv_delay: -1
       Stream #0:1: Audio: mp3 (libmp3lame) ([2][0][0][0] / 0x0002), 44100 Hz, stereo, fltp
       Metadata:
         encoder         : Lavc57.46.100 libmp3lame
    Stream mapping:
     Stream #0:1 -> #0:0 (h264 (native) -> flv1 (flv))
     Stream #0:0 -> #0:1 (aac (native) -> mp3 (libmp3lame))
    Press [q] to stop, [?] for help
    [aac @ 0x3a37000] element type mismatch 1 != 0
       Last message repeated 7 times
    [flv @ 0x39bf5a0] Failed to update header with correct duration.ate= 942.7kbits/s speed=2.37x    
    [flv @ 0x39bf5a0] Failed to update header with correct filesize.
    frame=  112 fps= 48 q=31.0 Lsize=     633kB time=00:00:05.18 bitrate= 999.9kbits/s speed=2.23x    
    video:546kB audio:82kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.846813%
    Exiting normally, received signal 2.

    Using setdar=16/9 do not succeeds : it changes PAR, so the result is the same :

    Input #0, flv, from 'rtmp://localhost/in/air-hdmi':
     Metadata:
       Server          : NGINX RTMP (github.com/arut/nginx-rtmp-module)
       displayWidth    : 720
       displayHeight   : 576
       fps             : 0
       profile         :
       level           :
     Duration: 00:00:00.00, start: 287464.746000, bitrate: N/A
       Stream #0:0: Audio: aac (HE-AAC), 44100 Hz, stereo, fltp
       Stream #0:1: Video: h264 (High), yuv420p, 720x576, 25 fps, 25 tbr, 1k tbn, 50 tbc
    [flv @ 0x3a5ea20] Using AVStream.codec to pass codec parameters to muxers is deprecated, use AVStream.codecpar instead.
       Last message repeated 1 times
    Output #0, flv, to 'rtmp://localhost/in/ngoraltest':
     Metadata:
       Server          : NGINX RTMP (github.com/arut/nginx-rtmp-module)
       displayWidth    : 720
       displayHeight   : 576
       fps             : 0
       profile         :
       level           :
       encoder         : Lavf57.38.101
       Stream #0:0: Video: flv1 (flv) ([2][0][0][0] / 0x0002), yuv420p, 720x576 [SAR 64:45 DAR 16:9], q=2-31, 200 kb/s, 25 fps, 1k tbn, 25 tbc
       Metadata:
         encoder         : Lavc57.46.100 flv
       Side data:
         cpb: bitrate max/min/avg: 0/0/200000 buffer size: 0 vbv_delay: -1
       Stream #0:1: Audio: mp3 (libmp3lame) ([2][0][0][0] / 0x0002), 44100 Hz, stereo, fltp
       Metadata:
         encoder         : Lavc57.46.100 libmp3lame
    Stream mapping:
     Stream #0:1 -> #0:0 (h264 (native) -> flv1 (flv))
     Stream #0:0 -> #0:1 (aac (native) -> mp3 (libmp3lame))
    Press [q] to stop, [?] for help

    (When use setsar, the params are 720x576 [SAR 16:9 DAR 20:9], when setdar720x576 [SAR 64:45 DAR 16:9])

    I’ve also tried to apply scale=720:-1 and -aspect 16:9 and all left the same.

    BUT ! Wnen I write ffplay -vf setsar=16/9 rtmp://localhost/in/ngoraltest it shows perfectly what I need.
    What could be thae problem and hoe to solve it ?

    P.S. I’m little bit confused that there’s no onformation about SAR and DAR of input signal, but I can do totally nothing with it.

  • Anomalie #3862 : .spip_logo

    22 novembre 2016, par J. Alberto ZAMBRANO

    bonjour,

    "est-ce un problème sur un squelettes-dist de SPIP ou bien un squelettes
    déjà modifié ? "
    Les deux mon capitaine :-)
    Je fais un site pour une amie, je prends spip et je fait quelques
    modifications (j’allège) à partir des squelettes-dist. L’entête de la dist
    me vas parfait, mais...
    Je fais une page "catalogue" (rubrique) pour afficher les articles, et je
    me lance dans une flexbox grids
    <http://codepen.io/raphaelgoetter/pen/mzKrh?editors=110> qui m’afficherait
    le titre et le logo de l’article. Juste modifier la classe dans le
    squelette de la rubrique et le tour est joué :