Recherche avancée

Médias (0)

Mot : - Tags -/albums

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

Autres articles (112)

  • 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 ;

  • Script d’installation automatique de MediaSPIP

    25 avril 2011, par

    Afin de palier aux difficultés d’installation dues principalement aux dépendances logicielles coté serveur, un script d’installation "tout en un" en bash a été créé afin de faciliter cette étape sur un serveur doté d’une distribution Linux compatible.
    Vous devez bénéficier d’un accès SSH à votre serveur et d’un compte "root" afin de l’utiliser, ce qui permettra d’installer les dépendances. Contactez votre hébergeur si vous ne disposez pas de cela.
    La documentation de l’utilisation du script d’installation (...)

  • Ajouter des informations spécifiques aux utilisateurs et autres modifications de comportement liées aux auteurs

    12 avril 2011, par

    La manière la plus simple d’ajouter des informations aux auteurs est d’installer le plugin Inscription3. Il permet également de modifier certains comportements liés aux utilisateurs (référez-vous à sa documentation pour plus d’informations).
    Il est également possible d’ajouter des champs aux auteurs en installant les plugins champs extras 2 et Interface pour champs extras.

Sur d’autres sites (9817)

  • ffmpeg : concat and encode with one command

    15 mars 2018, par Massimo Vantaggio

    I have a script that automates encode and concat a series of input video files.
    I’m trying to get encode and concat in a single command.

    At the moment it does not work causing immense empty pauses in the final video output.

    I would like to get the result with concat demux instead of concat protocol because it is much harder to automate in a script

    Do you know if it is possible to archive this result with concat demux ?
    Thanks a lot !

    Massimo

    ENCODE / CONCAT 1080p

    for f in ./*.mp4; do echo "file '$f'" >> list.txt; done

    ffmpeg -f concat -safe 0 -y -i list.txt -i ../logo/logo.png -c:a aac -b:a 384k -ar 48000 -ac 2 -af aresample=async=1000 -c:v libx264 -x264opts keyint=50:min-keyint=50:no-scenecut -bf 0 -r 25 -b:v 4800k -maxrate 4800k -bufsize 3000k -profile:v main -crf 22 -filter_complex "[0:v][1:v]overlay=main_w-overlay_w-10:10,scale=1920:1080,setsar=1" ../buffer/1080set.mp4

    It seems to add long pause at low frame-rate :

    [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fb03f05e600] Auto-inserting h264_mp4toannexb bitstream filter

    frame= 9745 fps= 13 q=27.0 size= 186368kB time=00:18:52.56 bitrate=1348.0kbits

    frame= 9745 fps= 13 q=27.0 size= 186368kB time=00:18:56.57 bitrate=1343.3kbits/

    frame= 9745 fps= 13 q=27.0 size= 186368kB time=00:19:00.65 bitrate=1338.5kbits/

    frame= 9745 fps= 13 q=27.0 size= 186368kB time=00:19:02.29 bitrate=1336.5kbits/

    More than 1000 frames duplicated

    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '1.mp4':
     Metadata:
       major_brand     : mp42
       minor_version   : 512
       compatible_brands: isomiso2avc1mp41
       creation_time   : 2016-02-27T22:25:49.000000Z
       encoder         : HandBrake 0.10.5 2016021100
     Duration: 00:06:29.87, start: 0.000000, bitrate: 3447 kb/s
       Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, bt709), 768x432, 3282 kb/s, 25 fps, 25 tbr, 90k tbn, 180k tbc (default)
       Metadata:
         creation_time   : 2016-02-27T22:25:49.000000Z
         handler_name    : VideoHandler
       Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 159 kb/s (default)
       Metadata:
         creation_time   : 2016-02-27T22:25:49.000000Z
         handler_name    : Stereo

    Input #1, mov,mp4,m4a,3gp,3g2,mj2, from '2.mp4':
     Metadata:
       major_brand     : M4V
       minor_version   : 1
       compatible_brands: M4V mp42isom
       creation_time   : 2016-02-27T18:52:37.000000Z
     Duration: 00:07:16.93, start: 0.000000, bitrate: 1184 kb/s
       Stream #1:0(eng): Video: h264 (Main) (avc1 / 0x31637661), yuv420p(tv, smpte170m), 768x432, 991 kb/s, 25 fps, 25 tbr, 25k tbn, 50 tbc (default)
       Metadata:
         creation_time   : 2016-02-27T18:52:37.000000Z
         handler_name    : Mainconcept MP4 Video Media Handler
         encoder         : AVC Coding
       Stream #1:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 189 kb/s (default)
       Metadata:
         creation_time   : 2016-02-27T18:52:37.000000Z
         handler_name    : Mainconcept MP4 Sound Media Handler

    Input #2, mov,mp4,m4a,3gp,3g2,mj2, from '3.mp4':
     Metadata:
       major_brand     : mp42
       minor_version   : 0
       compatible_brands: mp42mp41
       creation_time   : 2017-06-27T17:58:17.000000Z
     Duration: 00:05:05.05, start: 0.000000, bitrate: 2622 kb/s
       Stream #2:0(eng): Video: h264 (Main) (avc1 / 0x31637661), yuv420p(tv, smpte170m), 768x432, 2301 kb/s, 25 fps, 25 tbr, 25k tbn, 50 tbc (default)
       Metadata:
         creation_time   : 2017-06-27T17:58:17.000000Z
         handler_name    : Alias Data Handler
         encoder         : AVC Coding
       Stream #2:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 317 kb/s (default)
       Metadata:
         creation_time   : 2017-06-27T17:58:17.000000Z
         handler_name    : Alias Data Handler

    Input #3, mov,mp4,m4a,3gp,3g2,mj2, from '4.mp4':
     Metadata:
       major_brand     : mp42
       minor_version   : 0
       compatible_brands: mp42mp41
       creation_time   : 2017-06-27T17:53:32.000000Z
     Duration: 00:06:47.36, start: 0.000000, bitrate: 3144 kb/s
       Stream #3:0(eng): Video: h264 (Main) (avc1 / 0x31637661), yuv420p(tv, smpte170m), 768x432, 2819 kb/s, 25 fps, 25 tbr, 25k tbn, 50 tbc (default)
       Metadata:
         creation_time   : 2017-06-27T17:53:32.000000Z
         handler_name    : Alias Data Handler
         encoder         : AVC Coding
       Stream #3:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 317 kb/s (default)
       Metadata:
         creation_time   : 2017-06-27T17:53:32.000000Z
         handler_name    : Alias Data Handler
  • Compressing a Video for HLS Streaming

    12 mars 2018, par jAndy

    I’m in the situation where I have a source file (very high quality, direct output from FCPX) which is in 1080p resolution.

    I use ffmpeg to create a 240, 360, 480 and 720 version to have an adaptive stream quality via HLS, so far so good. My question is about the strategy I’m using.
    Right now, I always use the original file as input for ffmpeg. I was wondering if it wouldn’t be a better idea to convert from 1080 to 720 with full compression algorithms and after that, just re-scale from 720 to 480, 360 and 240.

    I’m not really into video compression and ffmpeg, so I’d just like to hear some expert opinions on this approach. Is there any advantage to always go "all the way" (original file -> compressed/rescaled file) ?

  • FFMPEG convert and codec

    11 mars 2018, par RonaldoLanhellas

    I have a CENTOS and i installed ffmpeg with : yum install ffmpeg command

    I’m trying to converting a video with the following command :

    ffmpeg -y -i "C:\home\app\cedoc\convert\TREINO_PSC_ACD_PR_02_09_14_IMAGEM_GOROTO_PRESO.MXF" -crf 18.0 -vcodec libx264 -filter:v scale=1920:1080 -preset veryslow -acodec libvo_aacenc -ar 48000 -b:a 192k -coder 1 -flags +loop -cmp chroma -partitions +parti4x4+partp8x8+partb8x8 -me_method hex -subq 6 -me_range 16 -g 250 -keyint_min 25 -sc_threshold 40 -i_qfactor 0.71 -b_strategy 1 -threads 0 "C:\Users\lanhellas\Documents\TREINO_PSC_ACD_PR_02_09_14_IMAGEM_GOROTO_PRESO.mp4"

    But i got the following :

    Unknown encoder 'libvo_aacenc'

    This is my ffmpeg configuration :

    ffmpeg version 2.6.8 Copyright (c) 2000-2016 the FFmpeg developers
     built with gcc 4.8.5 (GCC) 20150623 (Red Hat 4.8.5-4)
     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 -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic' --enable-bzlib --disable-crystalhd --enable-gnutls --enable-ladspa --enable-libass --enable-libcdio --enable-libdc1394 --enable-libfaac --enable-nonfree --enable-libfdk-aac --enable-nonfree --disable-indev=jack --enable-libfreetype --enable-libgsm --enable-libmp3lame --enable-openal --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libv4l2 --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      54. 20.100 / 54. 20.100
     libavcodec     56. 26.100 / 56. 26.100
     libavformat    56. 25.101 / 56. 25.101
     libavdevice    56.  4.100 / 56.  4.100
     libavfilter     5. 11.102 /  5. 11.102
     libavresample   2.  1.  0 /  2.  1.  0
     libswscale      3.  1.101 /  3.  1.101
     libswresample   1.  1.100 /  1.  1.100
     libpostproc    53.  3.100 / 53.  3.100
    Hyper fast Audio and Video encoder
    usage: ffmpeg [options] [[infile options] -i infile]... {[outfile options] outfile}...