Recherche avancée

Médias (0)

Mot : - Tags -/diogene

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

Autres articles (74)

  • La sauvegarde automatique de canaux SPIP

    1er avril 2010, par

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

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

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

Sur d’autres sites (6273)

  • How to accurately remove silence part from the beginning of a video ?

    6 mai 2015, par Nir Altmark

    I’m trying to use FFMPEG in order to remove silence parts from a video.
    I’m not trying to remove only from the audio stream but from both streams together.
    In order to do that I’m using the silence detect filter like this.

    ffmpeg -i input.mp4 -af silencedetect=n=-25dB:d=1 -f null -

    Than i take the result, for example :

    [silencedetect @ 000000000002ec00] silence_start: -0.0150208
    [silencedetect @ 000000000002ec00] silence_end: 4.48898 | silence_duration: 4.504

    And I’m trying to cut the whole movie using -ss.

    ffmpeg -ss 00:00:04.504 -i input.mp4 -vcodec copy -acodec copy output.mp4

    Unfortunately, it never really cut the video at the desired point.
    If i’ll try to do the same only on the audio stream it will work.
    I’ve also tried to re-encode the video, nothing works.

    Questions :
    1. Is this the right way to achieve it using FFMPEG ?
    2. Are there other ways to do this ? I’m not bounded to FFMPEG.

  • Merge commit ’b8d2630c5327d2818d05c8a48be0417905d8e0fd’

    11 mai 2015, par Michael Niedermayer
    Merge commit ’b8d2630c5327d2818d05c8a48be0417905d8e0fd’
    

    * commit ’b8d2630c5327d2818d05c8a48be0417905d8e0fd’ :
    dashenc : Reduce the segment duration if cutting out parts with edit lists

    Merged-by : Michael Niedermayer <michaelni@gmx.at>

    • [DH] libavformat/dashenc.c
  • ffmpeg command execution never stops

    19 août 2020, par Khawar Raza

    I am trying to concatenate 3 videos of different resolutions and overlaying 2 videos as transition effects(though the chroma key color removal is not yet implemented) between videos using below command :

    &#xA;

    ffmpeg &#xA;-i input1.mp4 &#xA;-i input2.mp4 &#xA;-i input3.mp4 &#xA;-i transition1.mp4 &#xA;-i transition2.mp4 &#xA;-filter_complex &#xA;"[0:v]pad=width=1080:height=1920:x=(1080-iw)*0.5:y=(1920-ih)*0.5:color=black[video0];&#xA;[1:v]pad=width=1080:height=1920:x=(1080-iw)*0.5:y=(1920-ih)*0.5:color=black[video1];&#xA;[2:v]pad=width=1080:height=1920:x=(1080-iw)*0.5:y=(1920-ih)*0.5:color=black[video2];&#xA;[video0][video1][video2]concat=n=3:v=1:a=0[outv];&#xA;[3:v]scale=w=1080:h=1920[t0];&#xA;[4:v]scale=w=1080:h=1920[t1];&#xA;[outv][t0]overlay=enable=&#x27;between(t,6.6045,9.6335)&#x27;[out0];&#xA;[out0][t1]overlay=enable=&#x27;between(t,12.5655,15.6165)&#x27;[out1];&#xA;[0:a][1:a][2:a]concat=n=3:v=0:a=1[audio]" &#xA;-c:v libx264 -pix_fmt yuv420p -map [out1] -map [audio] -preset ultrafast output.mp4&#xA;

    &#xA;

    I get success only with few videos. Most of the times the command execution never stops. It keeps on appending something to the output video file even for hours. Here is the output from console :

    &#xA;

    ffmpeg version v4.4-dev-416&#xA;     Copyright (c) 2000-2020 the FFmpeg developers&#xA;      built with Android (6454773 based on r365631c2) clang version 9.0.8 (https://android.googlesource.com/toolchain/llvm-project 98c855489587874b2a325e7a516b99d838599c6f) (based on LLVM 9.0.8svn)&#xA;      configuration: --cross-prefix=aarch64-linux-android- --sysroot=/files/android-sdk/ndk/21.3.6528147/toolchains/llvm/prebuilt/linux-x86_64/sysroot --prefix=/home/taner/Projects/mobile-ffmpeg/prebuilt/android-arm64/ffmpeg --pkg-config=/usr/bin/pkg-config --enable-version3 --arch=aarch64 --cpu=armv8-a --cc=aarch64-linux-android24-clang --cxx=aarch64-linux-android24-clang&#x2B;&#x2B; --extra-libs=&#x27;-L/home/taner/Projects/mobile-ffmpeg/prebuilt/android-arm64/cpu-features/lib -lndk_compat&#x27; --target-os=android --enable-neon --enable-asm --enable-inline-asm --enable-cross-compile --enable-pic --enable-jni --enable-optimizations --enable-swscale --enable-shared --enable-v4l2-m2m --disable-outdev=fbdev --disable-indev=fbdev --enable-small --disable-openssl --disable-xmm-clobber-test --disable-debug --enable-lto --disable-neon-clobber-test --disable-programs --disable-postproc --disable-doc --disable-htmlpages --disable-manpages --disable-podpages --disable-txtpages --disable-static --disable-sndio --disable-schannel --disable-securetransport --disable-xlib --disable-cuda --disable-cuvid --disable-nvenc --disable-vaapi --disable-vdpau --disable-videotoolbox --disable-audiotoolbox --disable-appkit --disable-alsa --disable-cuda --disable-cuvid --disable-nvenc --disable-vaapi --disable-vdpau --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-gmp --enable-gnutls --enable-libmp3lame --enable-libass --enable-iconv --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libxml2 --enable-libopencore-amrnb --enable-libshine --enable-libspeex --enable-libwavpack --enable-libkvazaar --enable-libx264 --enable-gpl --enable-libxvid --enable-gpl --enable-libx265 --enable-gpl --enable-libvidstab --enable-gpl --enable-libilbc --enable-libopus --enable-libsnappy --enable-libsoxr --enable-libaom --enable-libtwolame --disable-sdl2 --enable-libvo-amrwbenc --enable-zlib --enable-mediacodec&#xA;      libavutil      56. 55.100 / 56. 55.100&#xA;      libavcodec     58. 96.100 / 58. 96.100&#xA;      libavformat    58. 48.100 / 58. 48.100&#xA;      libavdevice    58. 11.101 / 58. 11.101&#xA;      libavfilter     7. 87.100 /  7. 87.100&#xA;      libswscale      5.  8.100 /  5.  8.100&#xA;      libswresample   3.  8.100 /  3.  8.100&#xA;Input #0, mov,mp4,m4a,3gp,3g2,mj2, from &#x27;input1.mp4&#x27;:&#xA;      Metadata:&#xA;        major_brand     : &#xA;    mp42&#xA;        minor_version   : &#xA;    0&#xA;        compatible_brands: &#xA;isommp42&#xA;        creation_time   : &#xA;    2020-08-12T17:21:49.000000Z&#xA;        com.android.version: &#xA;    9&#xA;      Duration: &#xA;    00:00:08.12&#xA;    , start: &#xA;    0.000000&#xA;    , bitrate: &#xA;    17298 kb/s&#xA;        Stream #0:0&#xA;    (eng)&#xA;    : Video: h264 (avc1 / 0x31637661), yuv420p(tv, bt709), 1920x1080, 16309 kb/s&#xA;    , SAR 1:1 DAR 16:9&#xA;    , &#xA;    28.70 fps, &#xA;    29.50 tbr, &#xA;    90k tbn, &#xA;    60 tbc&#xA;     (default)&#xA;        Metadata:&#xA;          rotate          : &#xA;    90&#xA;          creation_time   : &#xA;&#xA;          handler_name    : &#xA;    VideoHandle&#xA;        Side data:&#xA;          &#xA;    displaymatrix: rotation of -90.00 degrees&#xA;        Stream #0:1&#xA;    (eng)&#xA;    : Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 192 kb/s&#xA;     (default)&#xA;        Metadata:&#xA;          creation_time   : &#xA;    2020-08-12T17:21:49.000000Z&#xA;          handler_name    : &#xA;    SoundHandle&#xA;Input #1, mov,mp4,m4a,3gp,3g2,mj2, from &#x27;input2.mp4&#x27;:&#xA;      Metadata:&#xA;        major_brand     : &#xA;    isom&#xA;        minor_version   : &#xA;    512&#xA;        compatible_brands: &#xA;    isomiso2avc1mp41&#xA;   encoder         : &#xA;    Lavf57.25.100&#xA;      Duration: &#xA;    00:00:05.97&#xA;    , start: &#xA;    0.000000&#xA;    , bitrate: &#xA;    770 kb/s&#xA;        Stream #1:0&#xA;    (und)&#xA;    : Audio: aac (mp4a / 0x6134706D), 22050 Hz, stereo, fltp, 128 kb/s&#xA;     (default)&#xA;        Metadata:&#xA;          handler_name    : &#xA;    SoundHandler&#xA;        Stream #1:1&#xA;    (und)&#xA;    : Video: h264 (avc1 / 0x31637661), yuv420p, 368x480, 608 kb/s&#xA;    , &#xA;    27.29 fps, &#xA;120 tbr, &#xA;    12k tbn, &#xA;    60 tbc&#xA;     (default)&#xA;        Metadata:&#xA;          handler_name    : &#xA;    VideoHandler&#xA;Input #2, mov,mp4,m4a,3gp,3g2,mj2, from &#x27;input3.mp4&#x27;:&#xA;      Metadata:&#xA;        major_brand     : &#xA;    isom&#xA;        minor_version   : &#xA;    512&#xA;    compatible_brands: &#xA;    isomiso2avc1mp41&#xA;        encoder         : &#xA;    Lavf55.19.104&#xA;      Duration: &#xA;    00:00:13.05&#xA;    , start: &#xA;    0.000000&#xA;    , bitrate: &#xA;    2453 kb/s&#xA;        Chapter #2:0: &#xA;    start 0.000000, &#xA;    end 13.033000&#xA;        Metadata:&#xA;          title           : &#xA;        Stream #2:0&#xA;    (und)&#xA;    : Audio: aac (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 128 kb/s&#xA;     (default)&#xA;        Metadata:&#xA;          handler_name    : &#xA;    SoundHandler&#xA;        Stream #2:1&#xA;    (und)&#xA;: Video: h264 (avc1 / 0x31637661), yuv420p, 640x480, 2320 kb/s&#xA;    , &#xA;    25 fps, &#xA;    25 tbr, &#xA;    1200k tbn, &#xA;    50 tbc&#xA;     (default)&#xA;        Metadata:&#xA;          handler_name    : &#xA;    VideoHandler&#xA;        Stream #2:2&#xA;    (eng)&#xA;    : Data: bin_data (text / 0x74786574), 0 kb/s&#xA;        Metadata:&#xA;          handler_name    : &#xA;    SubtitleHandler&#xA;Input #3, mov,mp4,m4a,3gp,3g2,mj2, from &#x27;transition1.mp4&#x27;:&#xA;      Metadata:&#xA;        major_brand     : &#xA;    mp42&#xA;        minor_version   : &#xA;    0&#xA;        compatible_brands: &#xA;    mp41isom&#xA;    creation_time   : &#xA;    2020-08-17T09:31:23.000000Z&#xA;      Duration: &#xA;    00:00:03.03&#xA;    , start: &#xA;    0.000000&#xA;    , bitrate: &#xA;    6263 kb/s&#xA;        Stream #3:0&#xA;    (und)&#xA;    : Video: h264 (avc1 / 0x31637661), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 6307 kb/s&#xA;    , &#xA;    30 fps, &#xA;    30 tbr, &#xA;    30k tbn, &#xA;    60 tbc&#xA;     (default)&#xA;        Metadata:&#xA;          creation_time   : &#xA;&#xA;          handler_name    : &#xA;    VideoHandler&#xA;          encoder         : &#xA;    AVC Coding&#xA;        Stream #3:1&#xA;    (und)&#xA;    : Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 79 kb/s&#xA;     (default)&#xA;        Metadata:&#xA;          creation_time   : &#xA;    2020-08-17T09:31:23.000000Z&#xA;          handler_name    : &#xA;SoundHandler&#xA;Input #4, mov,mp4,m4a,3gp,3g2,mj2, from &#x27;transition2.mp4&#x27;:&#xA;      Metadata:&#xA;        major_brand     : &#xA;    mp42&#xA;        minor_version   : 0&#xA;        compatible_brands: &#xA;    mp41isom&#xA;        creation_time   : &#xA;    2020-08-17T09:30:33.000000Z&#xA;      Duration: &#xA;    00:00:03.05&#xA;    , start: &#xA;    0.000000&#xA;    , bitrate: &#xA;    7828 kb/s&#xA;        Stream #4:0&#xA;    (und)&#xA;    : Video: h264 (avc1 / 0x31637661), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 7873 kb/s&#xA;    , &#xA;    30 fps, &#xA;30 tbr, &#xA;    30k tbn, &#xA;    60 tbc&#xA;     (default)&#xA;        Metadata:&#xA;          creation_time   : &#xA;    2020-08-17T09:30:33.000000Z&#xA;          handler_name    : &#xA;    VideoHandler&#xA;          encoder         : &#xA;    AVC Coding&#xA;        Stream #4:1&#xA;    (und)&#xA;    : Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 79 kb/s&#xA;     (default)&#xA;        Metadata:&#xA;          creation_time   : &#xA;    2020-08-17T09:30:33.000000Z&#xA;          handler_name    : &#xA;    SoundHandler&#xA;Stream mapping:&#xA;      Stream #0:0 (h264) -> pad&#xA;      Stream #0:1 (aac) -> concat:in0:a0&#xA;Stream #1:0 (aac) -> concat:in1:a0&#xA;      Stream #1:1 (h264) -> pad&#xA;      Stream #2:0 (aac) -> concat:in2:a0&#xA;      Stream #2:1 (h264) -> pad&#xA;      Stream #3:0 (h264) -> scale&#xA;      Stream #4:0 (h264) -> scale&#xA;      overlay&#xA;     -> Stream #0:0 (libx264)&#xA;      concat&#xA;     -> Stream #0:1 (aac)&#xA;    Press [q] to stop, [?] for help&#xA;&#xA;[graph 0 input from stream 0:0 @ 0x733a19a900] sws_param option is deprecated and ignored&#xA;    [graph 0 input from stream 1:1 @ 0x733a19aa80] sws_param option is deprecated and ignored&#xA;    [graph 0 input from stream 2:1 @ 0x733a19ab40] sws_param option is deprecated and ignored&#xA;    [graph 0 input from stream 3:0 @ 0x733a19ac00] sws_param option is deprecated and ignored&#xA;    [graph 0 input from stream 4:0 @ 0x733a19acc0] sws_param option is deprecated and ignored&#xA;&#xA;[mp4 @ 0x733a679400] 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 @ 0x733a1b0600] using SAR=1/1&#xA;[libx264 @ 0x733a1b0600] MB rate (8160000000) > level limit (16711680)&#xA;[libx264 @ 0x733a1b0600] using cpu capabilities: ARMv8 NEON&#xA;[libx264 @ 0x733a1b0600] profile Constrained Baseline, level 6.2, 4:2:0, 8-bit&#xA;    [libx264 @ 0x733a1b0600] 264 - core 160 - H.264/MPEG-4 AVC codec - Copyleft 2003-2020 - http://www.videolan.org/x264.html - options: cabac=0 ref=1 deblock=0:0:0 analyse=0:0 me=dia subme=0 psy=1 psy_rd=1.00:0.00 mixed_ref=0 me_range=16 chroma_me=1 trellis=0 8x8dct=0 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=0 threads=12 lookahead_threads=2 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=0 weightp=0 keyint=250 keyint_min=25 scenecut=0 intra_refresh=0 rc=crf mbtree=0 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=0&#xA;Output #0, mp4, to &#x27;output.mp4&#x27;:&#xA;      Metadata:&#xA;        major_brand     : &#xA;    mp42&#xA;minor_version   : &#xA;    0&#xA;        compatible_brands: &#xA;    isommp42&#xA;        com.android.version: &#xA;    9&#xA;        encoder         : &#xA;    Lavf58.48.100&#xA;        Chapter #0:0: &#xA;    start 0.000000, &#xA;    end 13.033000&#xA;        Metadata:&#xA;          title           : &#xA;        Stream #0:0&#xA;    : Video: h264 (libx264) (avc1 / 0x31637661), yuv420p(progressive), 1080x1920 [SAR 1:1 DAR 9:16], q=-1--1&#xA;    , &#xA;    1000k tbn, &#xA;    1000k tbc&#xA;(default)&#xA;        Metadata:&#xA;          encoder         : &#xA;    Lavc58.96.100 libx264&#xA;        Side data:&#xA;          &#xA;    cpb: &#xA;    bitrate max/min/avg: 0/0/0 buffer size: 0 &#xA;    vbv_delay: N/A&#xA;        Stream #0:1&#xA;    : Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 128 kb/s&#xA;     (default)&#xA;        Metadata:&#xA;          encoder         : &#xA;    Lavc58.96.100 aac&#xA;E/Progress: Progress: 3.6918316&#xA;D/mobile-ffmpeg: Progress: frame: 1, time: 1002, Pct: 0.036918&#xA;frame=    1 fps=0.0 q=0.0 size=       0kB time=00:00:01.00 bitrate=   0.5kbits/s speed=1.79x    &#xA;More than 1000 frames duplicated&#xA;

    &#xA;

    I even tried command without overlay and audio parts but result was same. I am working on Android app and using below ffmpeg wrapper library :

    &#xA;

    https://github.com/tanersener/mobile-ffmpeg

    &#xA;