Recherche avancée

Médias (0)

Mot : - Tags -/metadatas

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

Autres articles (61)

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

  • Support de tous types de médias

    10 avril 2011

    Contrairement à beaucoup de logiciels et autres plate-formes modernes de partage de documents, MediaSPIP a l’ambition de gérer un maximum de formats de documents différents qu’ils soient de type : images (png, gif, jpg, bmp et autres...) ; audio (MP3, Ogg, Wav et autres...) ; vidéo (Avi, MP4, Ogv, mpg, mov, wmv et autres...) ; contenu textuel, code ou autres (open office, microsoft office (tableur, présentation), web (html, css), LaTeX, Google Earth) (...)

  • Supporting all media types

    13 avril 2011, par

    Unlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)

Sur d’autres sites (6877)

  • lavfi/dnn : Remove DNN native backend

    27 avril 2023, par Ting Fu
    lavfi/dnn : Remove DNN native backend
    

    According to discussion in
    https://etherpad.mit.edu/p/FF_dev_meeting_20221202 and the proposal in
    http://ffmpeg.org/pipermail/ffmpeg-devel/2022-December/304534.html,
    the DNN native backend should be removed at first step.
    All the DNN native backend related codes are deleted.

    Signed-off-by : Ting Fu <ting.fu@intel.com>

    • [DH] libavfilter/Makefile
    • [DH] libavfilter/dnn/Makefile
    • [DH] libavfilter/dnn/dnn_backend_native.c
    • [DH] libavfilter/dnn/dnn_backend_native.h
    • [DH] libavfilter/dnn/dnn_backend_native_layer_avgpool.c
    • [DH] libavfilter/dnn/dnn_backend_native_layer_avgpool.h
    • [DH] libavfilter/dnn/dnn_backend_native_layer_conv2d.c
    • [DH] libavfilter/dnn/dnn_backend_native_layer_conv2d.h
    • [DH] libavfilter/dnn/dnn_backend_native_layer_dense.c
    • [DH] libavfilter/dnn/dnn_backend_native_layer_dense.h
    • [DH] libavfilter/dnn/dnn_backend_native_layer_depth2space.c
    • [DH] libavfilter/dnn/dnn_backend_native_layer_depth2space.h
    • [DH] libavfilter/dnn/dnn_backend_native_layer_mathbinary.c
    • [DH] libavfilter/dnn/dnn_backend_native_layer_mathbinary.h
    • [DH] libavfilter/dnn/dnn_backend_native_layer_mathunary.c
    • [DH] libavfilter/dnn/dnn_backend_native_layer_mathunary.h
    • [DH] libavfilter/dnn/dnn_backend_native_layer_maximum.c
    • [DH] libavfilter/dnn/dnn_backend_native_layer_maximum.h
    • [DH] libavfilter/dnn/dnn_backend_native_layer_pad.c
    • [DH] libavfilter/dnn/dnn_backend_native_layer_pad.h
    • [DH] libavfilter/dnn/dnn_backend_native_layers.c
    • [DH] libavfilter/dnn/dnn_backend_native_layers.h
    • [DH] libavfilter/dnn/dnn_backend_tf.c
    • [DH] libavfilter/dnn_interface.h
    • [DH] libavfilter/tests/dnn-layer-avgpool.c
    • [DH] libavfilter/tests/dnn-layer-conv2d.c
    • [DH] libavfilter/tests/dnn-layer-dense.c
    • [DH] libavfilter/tests/dnn-layer-depth2space.c
    • [DH] libavfilter/tests/dnn-layer-mathbinary.c
    • [DH] libavfilter/tests/dnn-layer-mathunary.c
    • [DH] libavfilter/tests/dnn-layer-maximum.c
    • [DH] libavfilter/tests/dnn-layer-pad.c
    • [DH] libavfilter/vf_derain.c
    • [DH] libavfilter/vf_dnn_processing.c
    • [DH] libavfilter/vf_sr.c
    • [DH] tests/Makefile
    • [DH] tests/fate/dnn.mak
  • FFMPEG hangs (sometimes) when trying to take a photo from USB camera ?

    13 mai 2022, par dezman

    I am attempting to write a script that takes a photo every 3 seconds from camera source "1", the -pix_fmt I think is unique to my USB camera.

    &#xA;

    Here is the script :

    &#xA;

    #!/bin/bash&#xA;&#xA;set -e&#xA;&#xA;while :&#xA;do&#xA;  nice_num=$(date &#x2B;%s)&#xA;  &#xA;  ffmpeg -ss 00:00:00 -f avfoundation -pix_fmt yuyv422 -r 30.000030 -i "1" -t 1 -frames:v 1 -q:v 2 "image_$nice_num_%03d.jpg"&#xA;  &#xA;  wait&#xA;&#xA;  sleep 3&#xA;done&#xA;

    &#xA;

    The issue is half the time it successfully takes the photo, and half the time it just hangs forever echoing this (not useful) :

    &#xA;

    ffmpeg version 5.0.1 Copyright (c) 2000-2022 the FFmpeg developers&#xA;  built with Apple clang version 13.1.6 (clang-1316.0.21.2)&#xA;  configuration: --prefix=/usr/local/Cellar/ffmpeg/5.0.1 --enable-shared --enable-pthreads --enable-version3 --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-librist --enable-librubberband --enable-libsnappy --enable-libsrt --enable-libtesseract --enable-libtheora --enable-libvidstab --enable-libvmaf --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libxvid --enable-lzma --enable-libfontconfig --enable-libfreetype --enable-frei0r --enable-libass --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libspeex --enable-libsoxr --enable-libzmq --enable-libzimg --disable-libjack --disable-indev=jack --enable-videotoolbox&#xA;  libavutil      57. 17.100 / 57. 17.100&#xA;  libavcodec     59. 18.100 / 59. 18.100&#xA;  libavformat    59. 16.100 / 59. 16.100&#xA;  libavdevice    59.  4.100 / 59.  4.100&#xA;  libavfilter     8. 24.100 /  8. 24.100&#xA;  libswscale      6.  4.100 /  6.  4.100&#xA;  libswresample   4.  3.100 /  4.  3.100&#xA;  libpostproc    56.  3.100 / 56.  3.100&#xA;

    &#xA;

    Then I CTRL-C 3 times and get :

    &#xA;

    ^C^C^CReceived > 3 system signals, hard exiting&#xA;

    &#xA;

    Other methods of "taking a photo every n seconds from bash" are also appreciated.

    &#xA;

  • Should I use aevalsrc or anullsrc ? I got flooded with "cur_dts is invalid st:0" or "Delay between the first packet", encoding stalls at frame 127

    28 avril 2022, par jokoon

    Context : this command is generated with a python script, it aims at concatenating different small videos of different format, with a 0.5s pause, considering some video don't have an audio track.

    &#xA;

    ffmpeg.exe&#xA;-report&#xA;-i&#xA;input0.mp4&#xA;-i&#xA;input1.mp4&#xA;-i&#xA;input2.mp4&#xA;-i&#xA;input3.mp4&#xA;-i&#xA;input4.mp4&#xA;-i&#xA;input5.mp4&#xA;-i&#xA;input6.mp4&#xA;-i&#xA;input7.mp4&#xA;-i&#xA;input8.mp4&#xA;-f&#xA;lavfi&#xA;-i&#xA;color=c=black:s=480x270:d=0.5:r=24,format=yuv420p&#xA;-f&#xA;lavfi&#xA;-i&#xA;anullsrc&#xA;-filter_complex_script&#xA;filter_complex_script.txt&#xA;-map&#xA;[final_video]&#xA;-map&#xA;[final_audio]&#xA;-c:a&#xA;aac&#xA;concatenated-2022-04-27--23-53.mp4&#xA;

    &#xA;

    &#xA;

    [0]fps=24[fps0];&#xA;[fps0]scale=480:270:force_original_aspect_ratio=decrease,pad=480:270:-1:-1,setsar=1[rescaled0];&#xA;[1]fps=24[fps1];&#xA;[fps1]scale=480:270:force_original_aspect_ratio=decrease,pad=480:270:-1:-1,setsar=1[rescaled1];&#xA;[2]fps=24[fps2];&#xA;[fps2]scale=480:270:force_original_aspect_ratio=decrease,pad=480:270:-1:-1,setsar=1[rescaled2];&#xA;[3]fps=24[fps3];&#xA;[fps3]scale=480:270:force_original_aspect_ratio=decrease,pad=480:270:-1:-1,setsar=1[rescaled3];&#xA;[4]fps=24[fps4];&#xA;[fps4]scale=480:270:force_original_aspect_ratio=decrease,pad=480:270:-1:-1,setsar=1[rescaled4];&#xA;[5]fps=24[fps5];&#xA;[fps5]scale=480:270:force_original_aspect_ratio=decrease,pad=480:270:-1:-1,setsar=1[rescaled5];&#xA;[6]fps=24[fps6];&#xA;[fps6]scale=480:270:force_original_aspect_ratio=decrease,pad=480:270:-1:-1,setsar=1[rescaled6];&#xA;[7]fps=24[fps7];&#xA;[fps7]scale=480:270:force_original_aspect_ratio=decrease,pad=480:270:-1:-1,setsar=1[rescaled7];&#xA;[8]fps=24[fps8];&#xA;[fps8]scale=480:270:force_original_aspect_ratio=decrease,pad=480:270:-1:-1,setsar=1[rescaled8];&#xA;[rescaled0][10:a][9:v][10:a][rescaled1][10:a][9:v][10:a][rescaled2][10:a][9:v][10:a][rescaled3][10:a][9:v][10:a][rescaled4][10:a][9:v][10:a][rescaled5][5:a][9:v][10:a][rescaled6][6:a][9:v][10:a][rescaled7][7:a][9:v][10:a][rescaled8][8:a]concat=n=17:v=1:a=1[final_video][final_audio]&#xA;

    &#xA;

    I either have thousands of&#xA;[mp4 @ 000002132cefe100] Delay between the first packet and last packet in the muxing queue is 10007800 > 10000000: forcing output

    &#xA;

    when I use

    &#xA;

    -f lavfi -i anullsrc&#xA;so I tried using -f lavfi -i aevalsrc=0:n=1

    &#xA;

    instead, I have have thousands of

    &#xA;

    cur_dts is invalid st:0 (0) [init:1 i_done:0 finish:0] (this is harmless if it occurs once at the start per stream)

    &#xA;

    The encoding "stalls" at frame 127, it keeps doing things, but the frame counter doesn't increment.

    &#xA;

    Here are the inputs :

    &#xA;

    I skipped the yuvj420p input as it generated warnings (looks like it's not a big problem)

    &#xA;

    enter image description here

    &#xA;

    Here is a log (I trimmed it a bit) : (I think it's a bit large for stackoverflow)

    &#xA;

    https://bpa.st/HB7A

    &#xA;