Recherche avancée

Médias (1)

Mot : - Tags -/bug

Autres articles (54)

  • Multilang : améliorer l’interface pour les blocs multilingues

    18 février 2011, par

    Multilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
    Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela.

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

  • Support audio et vidéo HTML5

    10 avril 2011

    MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
    Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
    Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
    Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...)

Sur d’autres sites (10048)

  • ffmpeg : concat two clips vertically, but upper one should be bigger

    19 juillet 2022, par Rittari771

    I have two 1920x1080 clips. I know how to concat two clips vertically (the clips share equally the space half, 50% upper clip - 50% bottom) => what would i need to do to get a ratio like 65% 35% ?
So the upper clip would take 65% of the screen space vertically, then the lower bottom clip would fill the rest 35% ?

    


    this is my current code to concat the clips vertically.

    


    ffmpeg -i clip_top.mp4 -i clip_bottom.mp4 -filter_complex "vstack=inputs=2" -vsync 2 final_clip.mp4


    


    here is the same explanation, but with a picture : enter image description here

    


  • ffmpeg stream segmenting loses some frames after initialization

    17 février 2020, par zerociudo

    I use this ffmep command to get stream from usb camera and segment videos of 1 seconds

    ffmpeg -i /dev/video0 -pix_fmt yuv420p -vcodec libx264 \
                     -r 15 -x264opts keyint=15:min-keyint=15 -crf 19 \
                     -vf drawtext='expansion=strftime:fontfile='/usr/share/fonts/cantarell/Cantarell-Light.otf':fontsize=28:fontcolor=white:shadowcolor=black:shadowx=2:shadowy=1:text='%Y-%m-%d\ %H\\\\:%m\\\\:%S':x=200:y=200'" \
                     -f segment -reset_timestamps 1 -segment_time 1 -segment_format mp4 \
                     -strftime 1 -map 0 output/%Y-%m-%d-%H:%M:%S.mp4 \

    The output that I get is

    Parsed_drawtext_0 @ 0x5633950a66c0] Using "/usr/share/fonts/truetype/dejavu/DejaVuSans.ttf"
    [Parsed_drawtext_0 @ 0x5633950a66c0] expansion=strftime is deprecated.
    [libx264 @ 0x5633950a1680] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
    [libx264 @ 0x5633950a1680] profile High, level 3.1
    [libx264 @ 0x5633950a1680] 264 - core 155 r2917 0a84d98 - H.264/MPEG-4 AVC codec - Copyleft 2003-2018 - 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=18 lookahead_threads=3 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=10 keyint_min=6 scenecut=40 intra_refresh=0 rc_lookahead=10 rc=crf mbtree=1 crf=19.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
    [segment @ 0x56339509fac0] Opening 'output/2020-02-17-13:39:14.mp4' for writing
    Output #0, segment, to 'output/%Y-%m-%d-%H:%M:%S.mp4':
     Metadata:
       encoder         : Lavf58.20.100
       Stream #0:0: Video: h264 (libx264), yuv420p, 1280x720, q=-1--1, 10 fps, 10240 tbn, 10 tbc
       Metadata:
         encoder         : Lavc58.35.100 libx264
       Side data:
         cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: -1
    [segment @ 0x56339509fac0] Opening 'output/2020-02-17-13:39:18.mp4' for writing
    [segment @ 0x56339509fac0] Opening 'output/2020-02-17-13:39:19.mp4' for writing
    [segment @ 0x56339509fac0] Opening 'output/2020-02-17-13:39:20.mp4' for writing

    You can clearly see that first video is output/2020-02-17-13:39:14.mp4, then something happens and the next video is output/2020-02-17-13:39:18.mp4. After this I lose 3 seconds and my whole videos are delayed by 3 seconds.

    Is my command incorrect or is there something else could cause it ?

  • Encoder (codec vp8) not found [closed]

    25 juillet 2020, par Nirav Trivedi

    There was a problem !

    


    ffmpeg -i uploads/155799695.wav -i uploads/155799695.webm -map 0:0 -map 1:0 uploads/155799695-merged.webm 2>&1


    


    output :

    


    [0] => ffmpeg version 2.6.8 Copyright (c) 2000-2016 the FFmpeg developers
[1] =>   built with gcc 4.4.7 (GCC) 20120313 (Red Hat 4.4.7-16)
[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 -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic' --enable-bzlib --disable-crystalhd --enable-gnutls --enable-ladspa --enable-libass --enable-libdc1394 --enable-libfaac --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
[3] =>   libavutil      54. 20.100 / 54. 20.100
[4] =>   libavcodec     56. 26.100 / 56. 26.100
[5] =>   libavformat    56. 25.101 / 56. 25.101
[6] =>   libavdevice    56.  4.100 / 56.  4.100
[7] =>   libavfilter     5. 11.102 /  5. 11.102
[8] =>   libavresample   2.  1.  0 /  2.  1.  0
[9] =>   libswscale      3.  1.101 /  3.  1.101
[10] =>   libswresample   1.  1.100 /  1.  1.100
[11] =>   libpostproc    53.  3.100 / 53.  3.100
[12] => Guessed Channel Layout for  Input Stream #0.0 : stereo
[13] => Input #0, wav, from 'uploads/199606400.wav':
[14] =>   Duration: 00:00:09.01, bitrate: 1411 kb/s
[15] =>     Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz, 2 channels, s16, 1411 kb/s
[16] => Input #1, matroska,webm, from 'uploads/199606400.webm':
[17] =>   Metadata:
[18] =>     encoder         : Chrome
[19] =>   Duration: N/A, start: 0.000000, bitrate: N/A
[20] =>     Stream #1:0(eng): Video: vp8, yuv420p, 640x480, SAR 1:1 DAR 4:3, 12.58 tbr, 1k tbn, 1k tbc (default)
[21] =>     Metadata:
[22] =>       alpha_mode      : 1
[23] => Output #0, webm, to 'uploads/199606400-merged.webm':
[24] =>     Stream #0:0: Audio: vorbis, 0 channels, 128 kb/s
[25] =>     Metadata:
[26] =>       encoder         : Lavc56.26.100 libvorbis
[27] =>     Stream #0:1(eng): Video: vp8, none, q=2-31, 128 kb/s (default)
[28] =>     Metadata:
[29] =>       alpha_mode      : 1
[30] => Stream mapping:
[31] =>   Stream #0:0 -> #0:0 (pcm_s16le (native) -> vorbis (libvorbis))
[32] =>   Stream #1:0 -> #0:1 (vp8 (native) -> ? (?))
[33] => Encoder (codec vp8) not found for output stream #0:1