Recherche avancée

Médias (0)

Mot : - Tags -/configuration

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

Autres articles (26)

  • Use, discuss, criticize

    13 avril 2011, par

    Talk to people directly involved in MediaSPIP’s development, or to people around you who could use MediaSPIP to share, enhance or develop their creative projects.
    The bigger the community, the more MediaSPIP’s potential will be explored and the faster the software will evolve.
    A discussion list is available for all exchanges between users.

  • Contribute to a better visual interface

    13 avril 2011

    MediaSPIP is based on a system of themes and templates. Templates define the placement of information on the page, and can be adapted to a wide range of uses. Themes define the overall graphic appearance of the site.
    Anyone can submit a new graphic theme or template and make it available to the MediaSPIP community.

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

Sur d’autres sites (6740)

  • FFMPEG - Merge mp4 files and audio file

    4 octobre 2016, par Jon Stevens

    I have an ffmpeg that merges 3 mp4 videos and then another command that adds audio to the output file from the first command. The commands are as follows :

    ffmpeg -i vid-1.mp4 -i vid-2.mp4 -i vid-3.mp4 -filter_complex "[0:v][1:v][2:v]concat=n=3:v=1" -preset ultrafast -crf 1 output.mp4

    ffmpeg -i output.mp4 -i audio.mp3 -preset ultrafast -crf 1 final.mp4
    • vid-1.mp4 (does NOT have audio stream)
    • vid-2.mp4 (does NOT have audio stream)

    Is there anyway to do this in one command ? I would like to also add the audio to the video that is getting created in the first command. Is this possible ?

    Console output of "ffmpeg -i vid-1.mp4 -i vid-2.mp4 -i vid-3.mp4 -i audio.mp3"

    [jstevens@jr testing]$ ffmpeg -i vid-1.mp4 -i vid-2.mp4 -i vid-3.mp4 -i audio.mp3
    ffmpeg version 3.0.2 Copyright (c) 2000-2016 the FFmpeg developers
     built with gcc 6.1.1 (GCC) 20160510 (Red Hat 6.1.1-2)
     configuration: --prefix=/usr --bindir=/usr/bin --datadir=/usr/share/ffmpeg --incdir=/usr/include/ffmpeg --libdir=/usr/lib64 --mandir=/usr/share/man --arch=x86_64 --optflags='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic' --enable-bzlib --disable-crystalhd --enable-frei0r --enable-gnutls --enable-ladspa --enable-libass --enable-libcdio --enable-libdc1394 --disable-indev=jack --enable-libfreetype --enable-libgsm --enable-libmp3lame --enable-openal --enable-libopencv --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libv4l2 --enable-libvpx --enable-libx264 --enable-libx265 --enable-libxvid --enable-x11grab --enable-avfilter --enable-avresample --enable-postproc --enable-pthreads --disable-static --enable-shared --enable-gpl --disable-debug --disable-stripping --shlibdir=/usr/lib64 --enable-runtime-cpudetect
     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
     libavresample   3.  0.  0 /  3.  0.  0
     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 'vid-1.mp4':
     Metadata:
       major_brand     : isom
       minor_version   : 512
       compatible_brands: isomiso2avc1mp41
       encoder         : Lavf56.25.101
     Duration: 00:00:05.00, start: 0.000000, bitrate: 1085 kb/s
       Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 1081 kb/s, 25 fps, 25 tbr, 12800 tbn, 50 tbc (default)
       Metadata:
         handler_name    : VideoHandler
    Input #1, mov,mp4,m4a,3gp,3g2,mj2, from 'vid-2.mp4':
     Metadata:
       major_brand     : isom
       minor_version   : 512
       compatible_brands: isomiso2avc1mp41
       encoder         : Lavf56.25.101
     Duration: 00:00:05.00, start: 0.000000, bitrate: 1018 kb/s
       Stream #1:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 1014 kb/s, 25 fps, 25 tbr, 12800 tbn, 50 tbc (default)
       Metadata:
         handler_name    : VideoHandler
    Input #2, mov,mp4,m4a,3gp,3g2,mj2, from 'vid-3.mp4':
     Metadata:
       major_brand     : isom
       minor_version   : 512
       compatible_brands: isomiso2avc1mp41
       encoder         : Lavf56.25.101
     Duration: 00:00:05.00, start: 0.000000, bitrate: 823 kb/s
       Stream #2:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 819 kb/s, 25 fps, 25 tbr, 12800 tbn, 50 tbc (default)
       Metadata:
         handler_name    : VideoHandler
    [mp3 @ 0x1ca30c0] Skipping 0 bytes of junk at 0.
    [mp3 @ 0x1ca30c0] Estimating duration from bitrate, this may be inaccurate
    Input #3, mp3, from 'audio.mp3':
     Duration: 00:00:19.57, start: 0.000000, bitrate: 64 kb/s
       Stream #3:0: Audio: mp3, 44100 Hz, mono, s16p, 64 kb/s
    At least one output file must be specified
  • Anomalie #3535 : liste des rédacteurs connectés

    13 octobre 2016, par guytarr °

    Pierre KUHN a écrit :

    Frank, c’est aussi le cas en 3.0.29 ou la valeur par défaut est vide.

    Je viens de tomber sur ce cas lors d’une montée de version 2.1 à 3.0.
    En 2.1, avec imessage vide, on apparaît dans la liste des connectés. Du coup, pour conserver le comportement sans rien touché, que pensez-vous de peupler à "oui" lorsque la valeur n’est pas "non" pour les 1comite et 0minirezo, afin de suivre la même logique ? c’est ce que j’ai fait pour ma part.
    en 3.0 et 3.1 la résultat de la boucle

    (#VAL’Y-m-d H:i:s’|date(#VAL’-15 minutes’) !par en_lignepagination 10’, ’>(#ID_AUTEUR">#NOM[&nbsp ;...
     (#GRAND_TOTAL|>10|oui)
     ([(#GRAND_TOTAL|objet_afficher_nbauteur)])
    ]
    
    donne :<br /><pre>
    SELECT auteurs.en_ligne, auteurs.id_auteur, auteurs.nom
    FROM spip_auteurs AS `auteurs`
    WHERE NOT((auteurs.id_auteur = '1'))
       AND ((auteurs.statut  IN ('1comite','0minirezo')))
       AND NOT((auteurs.imessage = 'non'))
       AND (auteurs.en_ligne > '2016-10-12 23:39:09')
    ORDER BY auteurs.en_ligne DESC
    </pre>

    Autre solution, corriger la boucle pour obtenir le même comportement qu’en 2.1 que la valeur soit à oui ou vide.

  • Chrome, ffmpeg, and ogg

    13 novembre 2016, par porton

    We need to convert mp4 into ogg by ffmpeg (or maybe some other converter) in such a way that the ogg file to be compatible with Chrome browser.

    The command like

    ffmpeg -i x.mp4 x.ogg

    produces an ogg file which does not work in Chrome.

    ffmpeg -i video_mp4_01_vlublennaya_mama.mp4 x.ogg 2>&amp;1 | tee log.txt

    produces

    ffmpeg version 3.2-2 Copyright (c) 2000-2016 the FFmpeg developers
     built with gcc 6.2.0 (Debian 6.2.0-10) 20161027
     configuration: --prefix=/usr --extra-version=2 --toolchain=hardened --libdir=/usr/lib/i386-linux-gnu --incdir=/usr/include/i386-linux-gnu --enable-gpl --disable-libtesseract --disable-stripping --disable-decoder=libschroedinger --enable-avresample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libebur128 --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmodplug --enable-libmp3lame --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-librubberband --enable-libschroedinger --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-opengl --enable-sdl2 --enable-x11grab --enable-libdc1394 --enable-libiec61883 --enable-openal --enable-frei0r --enable-libopencv --enable-libx264 --enable-chromaprint --enable-shared
     libavutil      55. 34.100 / 55. 34.100
     libavcodec     57. 64.100 / 57. 64.100
     libavformat    57. 56.100 / 57. 56.100
     libavdevice    57.  1.100 / 57.  1.100
     libavfilter     6. 65.100 /  6. 65.100
     libavresample   3.  1.  0 /  3.  1.  0
     libswscale      4.  2.100 /  4.  2.100
     libswresample   2.  3.100 /  2.  3.100
     libpostproc    54.  1.100 / 54.  1.100
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'video_mp4_01_vlublennaya_mama.mp4':
     Metadata:
       major_brand     : isom
       minor_version   : 512
       compatible_brands: isomiso2avc1mp41
       encoder         : Lavf54.63.104
     Duration: 00:01:23.87, start: 0.000000, bitrate: 840 kb/s
       Stream #0:0(und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p, 304x224 [SAR 1:1 DAR 19:14], 762 kb/s, 25 fps, 25 tbr, 12800 tbn, 50 tbc (default)
       Metadata:
         handler_name    : VideoHandler
       Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 22050 Hz, stereo, fltp, 74 kb/s (default)
       Metadata:
         handler_name    : SoundHandler
    Output #0, ogg, to 'x.ogg':
     Metadata:
       major_brand     : isom
       minor_version   : 512
       compatible_brands: isomiso2avc1mp41
       encoder         : Lavf57.56.100
       Stream #0:0(und): Video: theora (libtheora), yuv420p, 304x224 [SAR 1:1 DAR 19:14], q=2-31, 200 kb/s, 25 fps, 25 tbn, 25 tbc (default)
       Metadata:
         handler_name    : VideoHandler
         encoder         : Lavc57.64.100 libtheora
         major_brand     : isom
         minor_version   : 512
         compatible_brands: isomiso2avc1mp41
       Stream #0:1(und): Audio: vorbis (libvorbis), 22050 Hz, stereo, fltp (default)
       Metadata:
         handler_name    : SoundHandler
         encoder         : Lavc57.64.100 libvorbis
         major_brand     : isom
         minor_version   : 512
         compatible_brands: isomiso2avc1mp41
    Stream mapping:
     Stream #0:0 -> #0:0 (h264 (native) -> theora (libtheora))
     Stream #0:1 -> #0:1 (aac (native) -> vorbis (libvorbis))
    Press [q] to stop, [?] for help
    frame=  117 fps=0.0 q=-0.0 size=     124kB time=00:00:04.96 bitrate= 205.4kbits/s speed=9.91x    
    frame=  247 fps=247 q=-0.0 size=     291kB time=00:00:10.12 bitrate= 235.9kbits/s speed=10.1x    
    frame=  376 fps=250 q=-0.0 size=     438kB time=00:00:15.28 bitrate= 234.9kbits/s speed=10.2x    
    frame=  501 fps=250 q=-0.0 size=     605kB time=00:00:20.30 bitrate= 244.0kbits/s speed=10.1x    
    frame=  635 fps=253 q=-0.0 size=     756kB time=00:00:25.58 bitrate= 241.9kbits/s speed=10.2x    
    frame=  762 fps=253 q=-0.0 size=     901kB time=00:00:30.74 bitrate= 240.0kbits/s speed=10.2x    
    frame=  895 fps=255 q=-0.0 size=    1087kB time=00:00:35.99 bitrate= 247.3kbits/s speed=10.3x    
    frame= 1018 fps=254 q=-0.0 size=    1219kB time=00:00:40.92 bitrate= 244.0kbits/s speed=10.2x    
    frame= 1149 fps=255 q=-0.0 size=    1367kB time=00:00:46.21 bitrate= 242.3kbits/s speed=10.2x    
    frame= 1275 fps=254 q=-0.0 size=    1527kB time=00:00:51.26 bitrate= 244.0kbits/s speed=10.2x    
    frame= 1407 fps=255 q=-0.0 size=    1709kB time=00:00:56.47 bitrate= 247.9kbits/s speed=10.2x    
    frame= 1533 fps=255 q=-0.0 size=    1865kB time=00:01:01.58 bitrate= 248.0kbits/s speed=10.2x    
    frame= 1667 fps=256 q=-0.0 size=    2018kB time=00:01:06.88 bitrate= 247.2kbits/s speed=10.3x    
    frame= 1798 fps=256 q=-0.0 size=    2171kB time=00:01:12.12 bitrate= 246.6kbits/s speed=10.3x    
    frame= 1923 fps=256 q=-0.0 size=    2334kB time=00:01:17.13 bitrate= 247.9kbits/s speed=10.3x    
    [h264 @ 0x81dd77e0] error while decoding MB 8 10, bytestream -13
    [h264 @ 0x81dd77e0] concealing 117 DC, 117 AC, 117 MV errors in P frame
    [aac @ 0x81dbc020] channel element 2.6 is not allocated
    Error while decoding stream #0:1: Invalid data found when processing input
    [h264 @ 0x81e11840] Invalid nal size -352448305
    [h264 @ 0x81e11840] Error splitting the input into NAL units.
    [aac @ 0x81dbc020] Sample rate index in program config element does not match the sample rate index configured by the container.
    [aac @ 0x81dbc020] Inconsistent channel configuration.
    [aac @ 0x81dbc020] get_buffer() failed
    Error while decoding stream #0:1: Invalid argument
    [h264 @ 0x81e55860] Invalid nal size 127321414
    [h264 @ 0x81e55860] Error splitting the input into NAL units.
    Error while decoding stream #0:0: Invalid data found when processing input
       Last message repeated 1 times
    frame= 2045 fps=255 q=-0.0 size=    2483kB time=00:01:22.05 bitrate= 247.9kbits/s dup=2 drop=0 speed=10.2x    
    frame= 2096 fps=255 q=-0.0 Lsize=    2549kB time=00:01:23.86 bitrate= 249.0kbits/s dup=2 drop=0 speed=10.2x    
    video:2046kB audio:472kB subtitle:0kB other streams:0kB global headers:7kB muxing overhead: 1.239568%