Advanced search

Medias (91)

Other articles (8)

  • La sauvegarde automatique de canaux SPIP

    1 April 2010, by

    Dans le cadre de la mise en place d’une plateforme ouverte, il est important pour les hébergeurs de pouvoir disposer de sauvegardes assez régulières pour parer à tout problème éventuel.
    Pour réaliser cette tâche on se base sur deux plugins SPIP : Saveauto qui permet une sauvegarde régulière de la base de donnée sous la forme d’un dump mysql (utilisable dans phpmyadmin) mes_fichiers_2 qui permet de réaliser une archive au format zip des données importantes du site (les documents, les éléments (...)

  • Encoding and processing into web-friendly formats

    13 April 2011, by

    MediaSPIP automatically converts uploaded files to internet-compatible formats.
    Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
    Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
    Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
    All uploaded files are stored online in their original format, so you can (...)

  • Ajouter notes et légendes aux images

    7 February 2011, by

    Pour pouvoir ajouter notes et légendes aux images, la première étape est d’installer le plugin "Légendes".
    Une fois le plugin activé, vous pouvez le configurer dans l’espace de configuration afin de modifier les droits de création / modification et de suppression des notes. Par défaut seuls les administrateurs du site peuvent ajouter des notes aux images.
    Modification lors de l’ajout d’un média
    Lors de l’ajout d’un média de type "image" un nouveau bouton apparait au dessus de la prévisualisation (...)

On other websites (4145)

  • How can I can convert with ffmpeg using this settings?

    18 October 2020, by For Fun

    How can I convert with this settings?
I want to convert using this settings example: ref=4 subme=9
When I try this settings it won't work all settings below go default

    


    


    ffmpeg -i input.mp4 -c:a copy -c:v libx265 -x265-params "cabac=1:ref=4:deblock=1:1:-1:analyse=0x3:0x113:me=umh:subme=9:psy=1:fade_compensate=0.00:psy_rd=1.00:0.00:mixed_ref=1:me_range=32:chroma_me=1:trellis=2:8x8dct=1:cqm=0:deadzone=21,11:fast_pskip=1:chroma_qp_offset=-2:threads=34:lookahead_threads=5:sliced_threads=0:nr=0:decimate=1:interlaced=0:bluray_compat=0:constrained_intra=0:bframes=9:b_pyramid=2:b_adapt=2:b_bias=0:direct=1:weightb=1:open_gop=0:weightp=2:keyint=240:keyint_min=23:scenecut=40:intra_refresh=:rc=crf:mbtree=0:crf=16.0000:qcomp=0.72:qpmin=0:qpmax=81:qpstep=4:ip_ratio=1.40:pb_ratio=1.30:aq=1:0.85" -x265-params profile=main10 -pix_fmt yuv420p10le output.mp4

    


    


    Update:
Full output:
ffmpeg version 4.2.4-1ubuntu0.1 Copyright (c) 2000-2020 the FFmpeg developers built with gcc 9 (Ubuntu 9.3.0-10ubuntu2)   
configuration: --prefix=/usr --extra-version=1ubuntu0.1 --toolchain=hardened --libdir=/usr/lib/aarch64-linux-gnu --incdir=/usr/include/aarch64-linux-gnu --arch=arm64 --enable-gpl --disable-stripping --enable-avresample --disable-filter=resample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librsvg --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --enable-shared
  libavutil      56. 31.100 / 56. 31.100
  libavcodec     58. 54.100 / 58. 54.100
  libavformat    58. 29.100 / 58. 29.100
  libavdevice    58.  8.100 / 58.  8.100
  libavfilter     7. 57.100 /  7. 57.100
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  5.100 /  5.  5.100
  libswresample   3.  5.100 /  3.  5.100
  libpostproc    55.  5.100 / 55.  5.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'input.mp4':
  Metadata:
    major_brand     : mp42
    minor_version   : 0
    compatible_brands: isommp42
    creation_time   : 2020-10-18T17:47:30.000000Z
    com.android.version: 10
    com.android.capture.fps: 60.000000
  Duration: 00:00:01.92, start: 0.000000, bitrate: 19228 kb/s
    Stream #0:0(eng): Video: hevc (Main) (hvc1 / 0x31637668), yuv420p(tv), 1920x1080, 15658 kb/s, SAR 1:1 DAR 16:9, 59.88 fps, 59.94 tbr, 90k tbn, 90k tbc (default)
    Metadata:
      rotate          : 90
      creation_time   : 2020-10-18T17:47:30.000000Z
      handler_name    : VideoHandle
    Side data:
      displaymatrix: rotation of -90.00 degrees
    Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 191 kb/s (default)
    Metadata:
      creation_time   : 2020-10-18T17:47:30.000000Z
      handler_name    : SoundHandle
Stream mapping:
  Stream #0:0 -> #0:0 (hevc (native) -> hevc (libx265))
  Stream #0:1 -> #0:1 (copy)
Press [q] to stop, [?] for help
[libx265 @ 0x30000c4930] Unknown option: profile.
x265 [info]: HEVC encoder version 3.2.1+1-b5c86a64bbbe
x265 [info]: build info [Linux][GCC 9.3.0][32 bit][noasm] 10bit
x265 [info]: using cpu capabilities: none!
x265 [info]: Main 10 profile, Level-4.1 (Main tier)
x265 [warning]: No thread pool allocated, --wpp disabled
x265 [warning]: No thread pool allocated, --lookahead-slices disabled
x265 [info]: Slices                              : 1
x265 [info]: frame threads / pool features       : 3 / none
x265 [info]: Coding QT: max CU size, min CU size : 64 / 8
x265 [info]: Residual QT: max TU size, max depth : 32 / 1 inter / 1 intra
x265 [info]: ME / range / subpel / merge         : hex / 57 / 2 / 3
x265 [info]: Keyframe min / max / scenecut / bias: 25 / 250 / 40 / 5.00
x265 [info]: Lookahead / bframes / badapt        : 20 / 4 / 2
x265 [info]: b-pyramid / weightp / weightb       : 1 / 1 / 0
x265 [info]: References / ref-limit  cu / depth  : 3 / off / on
x265 [info]: AQ: mode / str / qg-size / cu-tree  : 2 / 1.0 / 32 / 1
x265 [info]: Rate Control / qCompress            : CRF-28.0 / 0.60
x265 [info]: tools: rd=3 psy-rd=2.00 early-skip rskip signhide tmvp b-intra
x265 [info]: tools: strong-intra-smoothing deblock sao
Output #0, mp4, to 'output.mp4':
  Metadata:
    major_brand     : mp42
    minor_version   : 0
    compatible_brands: isommp42
    com.android.capture.fps: 60.000000
    com.android.version: 10
    encoder         : Lavf58.29.100
    Stream #0:0(eng): Video: hevc (libx265) (hev1 / 0x31766568), yuv420p10le, 1080x1920 [SAR 1:1 DAR 9:16], q=2-31, 59.94 fps, 60k tbn, 59.94 tbc (default)
    Metadata:
      encoder         : Lavc58.54.100 libx265
      creation_time   : 2020-10-18T17:47:30.000000Z
      handler_name    : VideoHandle
    Side data:
      cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: -1
      displaymatrix: rotation of -0.00 degrees
    Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 191 kb/s (default)
    Metadata:
      creation_time   : 2020-10-18T17:47:30.000000Z
      handler_name    : SoundHandle
frame=   18 fps=0.0 q=0.0 size=       0kB time=00:00:00.frame=   28 fps=3.6 q=0.0 size=       0kB time=00:00:00.frame=   31 fps=2.6 q=-0.0 size=       0kB time=00:00:00frame=   33 fps=2.6 q=-0.0 size=       0kB time=00:00:00frame=   34 fps=2.3 q=-0.0 size=       0kB time=00:00:00frame=   37 fps=2.2 q=-0.0 size=       0kB time=00:00:00frame=   39 fps=2.1 q=-0.0 size=       0kB time=00:00:00frame=   42 fps=2.0 q=-0.0 size=       0kB time=00:00:00frame=   44 fps=1.9 q=-0.0 size=       0kB time=00:00:00frame=   47 fps=1.9 q=-0.0 size=       0kB time=00:00:00frame=   49 fps=1.8 q=-0.0 size=       0kB time=00:00:00frame=   52 fps=1.8 q=-0.0 size=       0kB time=00:00:00frame=   54 fps=1.7 q=-0.0 size=       0kB time=00:00:00frame=   57 fps=1.7 q=-0.0 size=       0kB time=00:00:01frame=   59 fps=1.6 q=-0.0 size=       0kB time=00:00:01frame=   62 fps=1.6 q=-0.0 size=       0kB time=00:00:01frame=   64 fps=1.6 q=-0.0 size=       0kB time=00:00:01frame=   67 fps=1.6 q=-0.0 size=       0kB time=00:00:01frame=   69 fps=1.6 q=-0.0 size=       0kB time=00:00:01frame=   72 fps=1.6 q=-0.0 size=       0kB time=00:00:01frame=   74 fps=1.5 q=-0.0 size=       0kB time=00:00:01frame=   77 fps=1.6 q=-0.0 size=       0kB time=00:00:01frame=   78 fps=1.5 q=-0.0 size=       0kB time=00:00:01frame=   81 fps=1.5 q=-0.0 size=       0kB time=00:00:01frame=   83 fps=1.5 q=-0.0 size=       0kB time=00:00:01frame=   86 fps=1.5 q=-0.0 size=       0kB time=00:00:01frame=   88 fps=1.5 q=-0.0 size=       0kB time=00:00:01frame=   91 fps=1.5 q=-0.0 size=       0kB time=00:00:01frame=   93 fps=1.5 q=-0.0 size=       0kB time=00:00:01frame=   96 fps=1.5 q=-0.0 size=       0kB time=00:00:01frame=   97 fps=1.2 q=-0.0 Lsize=     135kB time=00:00:01.89 bitrate= 586.0kbits/s speed=0.0234x
video:85kB audio:45kB subtitle:0kB other streams:0kB global headers:2kB muxing overhead: 4.650742%
x265 [info]: frame I:      1, Avg QP:31.00  kb/s: 6091.83
x265 [info]: frame P:     20, Avg QP:31.26  kb/s: 1253.18
x265 [info]: frame B:     76, Avg QP:35.37  kb/s: 134.14
x265 [info]: Weighted P-Frames: Y:0.0% UV:0.0%
x265 [info]: consecutive B-frames: 4.8% 0.0% 0.0% 19.0% 76.2%encoded 97 frames in 80.86s (1.20 fps), 426.29 kb/s, Avg QP:34.48


    


  • avformat/movenc: write the mdcv atom by default

    28 March 2020, by Michael Bradshaw
    avformat/movenc: write the mdcv atom by default
    

    The mdcv atom isn't in ISO/IEC 14496-12:2015 but it is expected to be
    added soon. See:
    http://ffmpeg.org/pipermail/ffmpeg-devel/2020-April/259529.html

    The mdcv atom is already parsed in FFmpeg in mov.c.

    Signed-off-by: Michael Bradshaw <mjbshaw@google.com>

    • [DH] libavformat/movenc.c
  • ffmpeg filter_complex concat never completes

    10 July 2020, by seawolf

    I am trying to concatenate mp4 files into a single file. I am attempting to use the concat filter directly for reasons independent from this question (so -i list.txt is not a valid solution). All video files in question are between 4 and 20 minutes in length.

    &#xA;

    What I am executing:

    &#xA;

    % ffmpeg -i f01.mp4 -i f02.mp4 -filter_complex "[0:v][0:a][1:v][1:a]concat=n=2:v=1:a=1[v][a]" -map "[v]" -map "[a]" output.mp4&#xA;

    &#xA;

    This is my understanding of the form of this command from references such as FFmpeg Filters Documentation: concat and Concatenate Videos Together Using FFMPEG!.

    &#xA;

    What happens:

    &#xA;

    ffmpeg gives a lot of output as it checks the metadata for each stream and then begins processing. After a short duration (several seconds to a minute or so, seems to be prortional to the duration of the first video) I start seeing messages like this:

    &#xA;

    More than 1000 frames duplicated&#xA;More than 10000 frames duplicated     512kB time=00:00:00.12 bitrate=32771.0kbits/s dup=33365 drop=0 speed=0.00449x&#xA;More than 100000 frames duplicated   1280kB time=00:00:00.17 bitrate=61442.1kbits/s dup=66730 drop=0 speed=0.00272x&#xA;

    &#xA;

    ... and then the process never completes. If I leave my computer running for 24 hours, ffmpeg is still using max available CPU (200-300%). The output file is 48 bytes in length.

    &#xA;

    Note: the inputs are only a few minutes each, so individually re-encoding the inputs would take only a few minutes each.

    &#xA;

    Note: if I change the command to use f01.mp4 for both source 0 and source 1, the command completes as expected in under 5 minutes:

    &#xA;

    % # example that works:&#xA;% # note, however, that this just repeats the same source twice&#xA;% ffmpeg -i f01.mp4 -i f01.mp4 -filter_complex "[0:v][0:a][1:v][1:a]concat=n=2:v=1:a=1[v][a]" -map "[v]" -map "[a]" output.mp4&#xA;

    &#xA;

    Full output:

    &#xA;

    Here is the complete output of a run in case it's helpful:

    &#xA;

    % ffmpeg -i f01.mp4 -i f02.mp4 -filter_complex "[0:v][0:a][1:v][1:a]concat=n=2:v=1:a=1[v][a]" -map "[v]" -map "[a]" output.mp4&#xA;ffmpeg version 4.3 Copyright (c) 2000-2020 the FFmpeg developers&#xA;  built with Apple clang version 11.0.3 (clang-1103.0.32.62)&#xA;  configuration: --prefix=/usr/local/Cellar/ffmpeg/4.3_2 --enable-shared --enable-pthreads --enable-version3 --enable-avresample --cc=clang --host-cflags= --host-ldflags= --enable-ffplay --enable-gnutls --enable-gpl --enable-libaom --enable-libbluray --enable-libdav1d --enable-libmp3lame --enable-libopus --enable-librav1e --enable-librubberband --enable-libsnappy --enable-libsrt --enable-libtesseract --enable-libtheora --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxvid --enable-lzma --enable-libfontconfig --enable-libfreetype --enable-frei0r --enable-libass --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-librtmp --enable-libspeex --enable-libsoxr --enable-videotoolbox --disable-libjack --disable-indev=jack&#xA;  libavutil      56. 51.100 / 56. 51.100&#xA;  libavcodec     58. 91.100 / 58. 91.100&#xA;  libavformat    58. 45.100 / 58. 45.100&#xA;  libavdevice    58. 10.100 / 58. 10.100&#xA;  libavfilter     7. 85.100 /  7. 85.100&#xA;  libavresample   4.  0.  0 /  4.  0.  0&#xA;  libswscale      5.  7.100 /  5.  7.100&#xA;  libswresample   3.  7.100 /  3.  7.100&#xA;  libpostproc    55.  7.100 / 55.  7.100&#xA;Input #0, mov,mp4,m4a,3gp,3g2,mj2, from &#x27;f01.mp4&#x27;:&#xA;  Metadata:&#xA;    major_brand     : mp42&#xA;    minor_version   : 512&#xA;    compatible_brands: isomiso2avc1mp41&#xA;    creation_time   : 2020-06-04T21:34:26.000000Z&#xA;    encoder         : HandBrake 1.3.2 2020050300&#xA;  Duration: 00:04:14.66, start: 0.000000, bitrate: 525 kb/s&#xA;    Stream #0:0(und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p(tv, smpte170m/smpte170m/bt709), 708x478 [SAR 8:9 DAR 944:717], 366 kb/s, 29.97 fps, 29.97 tbr, 90k tbn, 180k tbc (default)&#xA;    Metadata:&#xA;      creation_time   : 2020-06-04T21:34:26.000000Z&#xA;      handler_name    : VideoHandler&#xA;    Stream #0:1(jpn): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 149 kb/s (default)&#xA;    Metadata:&#xA;      creation_time   : 2020-06-04T21:34:26.000000Z&#xA;      handler_name    : Stereo&#xA;Input #1, mov,mp4,m4a,3gp,3g2,mj2, from &#x27;f02.mp4&#x27;:&#xA;  Metadata:&#xA;    major_brand     : mp42&#xA;    minor_version   : 512&#xA;    compatible_brands: isomiso2avc1mp41&#xA;    creation_time   : 2020-06-04T21:38:15.000000Z&#xA;    encoder         : HandBrake 1.3.2 2020050300&#xA;  Duration: 00:06:30.95, start: 0.000000, bitrate: 1328 kb/s&#xA;    Stream #1:0(und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p(tv, smpte170m/smpte170m/bt709), 708x478 [SAR 8:9 DAR 944:717], 1179 kb/s, 29.97 fps, 30 tbr, 90k tbn, 180k tbc (default)&#xA;    Metadata:&#xA;      creation_time   : 2020-06-04T21:38:15.000000Z&#xA;      handler_name    : VideoHandler&#xA;    Stream #1:1(jpn): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 140 kb/s (default)&#xA;    Metadata:&#xA;      creation_time   : 2020-06-04T21:38:15.000000Z&#xA;      handler_name    : Stereo&#xA;File &#x27;output.mp4&#x27; already exists. Overwrite? [y/N] y&#xA;Stream mapping:&#xA;  Stream #0:0 (h264) -> concat:in0:v0&#xA;  Stream #0:1 (aac) -> concat:in0:a0&#xA;  Stream #1:0 (h264) -> concat:in1:v0&#xA;  Stream #1:1 (aac) -> concat:in1:a0&#xA;  concat:out:v0 -> Stream #0:0 (libx264)&#xA;  concat:out:a0 -> Stream #0:1 (aac)&#xA;Press [q] to stop, [?] for help&#xA;[mp4 @ 0x7ff130014000] Frame rate very high for a muxer not efficiently supporting it.&#xA;Please consider specifying a lower framerate, a different muxer or -vsync 2&#xA;[libx264 @ 0x7ff130021200] using SAR=8/9&#xA;[libx264 @ 0x7ff130021200] MB rate (1350000000) > level limit (16711680)&#xA;[libx264 @ 0x7ff130021200] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2&#xA;[libx264 @ 0x7ff130021200] profile High, level 6.2, 4:2:0, 8-bit&#xA;[libx264 @ 0x7ff130021200] 264 - core 160 r3011 cde9a93 - H.264/MPEG-4 AVC codec - Copyleft 2003-2020 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=6 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00&#xA;Output #0, mp4, to &#x27;output.mp4&#x27;:&#xA;  Metadata:&#xA;    major_brand     : mp42&#xA;    minor_version   : 512&#xA;    compatible_brands: isomiso2avc1mp41&#xA;    encoder         : Lavf58.45.100&#xA;    Stream #0:0: Video: h264 (libx264) (avc1 / 0x31637661), yuv420p(progressive), 708x478 [SAR 8:9 DAR 944:717], q=-1--1, 1000k tbn, 1000k tbc (default)&#xA;    Metadata:&#xA;      encoder         : Lavc58.91.100 libx264&#xA;    Side data:&#xA;      cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: N/A&#xA;    Stream #0:1: Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 128 kb/s (default)&#xA;    Metadata:&#xA;      encoder         : Lavc58.91.100 aac&#xA;More than 1000 frames duplicated&#xA;More than 10000 frames duplicated     512kB time=00:00:00.12 bitrate=32771.0kbits/s dup=33365 drop=0 speed=0.00449x&#xA;More than 100000 frames duplicated   1280kB time=00:00:00.17 bitrate=61442.1kbits/s dup=66730 drop=0 speed=0.00272x&#xA;frame=667333 fps=1079 q=33.0 size=   14848kB time=00:00:00.76 bitrate=158379.2kbits/s dup=667312 drop=0 speed=0.00124x&#xA;

    &#xA;