Recherche avancée

Médias (1)

Mot : - Tags -/musée

Autres articles (50)

  • Submit bugs and patches

    13 avril 2011

    Unfortunately a software is never perfect.
    If you think you have found a bug, report it using our ticket system. Please to help us to fix it by providing the following information : the browser you are using, including the exact version as precise an explanation as possible of the problem if possible, the steps taken resulting in the problem a link to the site / page in question
    If you think you have solved the bug, fill in a ticket and attach to it a corrective patch.
    You may also (...)

  • Participer à sa traduction

    10 avril 2011

    Vous pouvez nous aider à améliorer les locutions utilisées dans le logiciel ou à traduire celui-ci dans n’importe qu’elle nouvelle langue permettant sa diffusion à de nouvelles communautés linguistiques.
    Pour ce faire, on utilise l’interface de traduction de SPIP où l’ensemble des modules de langue de MediaSPIP sont à disposition. ll vous suffit de vous inscrire sur la liste de discussion des traducteurs pour demander plus d’informations.
    Actuellement MediaSPIP n’est disponible qu’en français et (...)

  • Installation en mode ferme

    4 février 2011, par

    Le mode ferme permet d’héberger plusieurs sites de type MediaSPIP en n’installant qu’une seule fois son noyau fonctionnel.
    C’est la méthode que nous utilisons sur cette même plateforme.
    L’utilisation en mode ferme nécessite de connaïtre un peu le mécanisme de SPIP contrairement à la version standalone qui ne nécessite pas réellement de connaissances spécifique puisque l’espace privé habituel de SPIP n’est plus utilisé.
    Dans un premier temps, vous devez avoir installé les mêmes fichiers que l’installation (...)

Sur d’autres sites (6129)

  • Error trying to install FFmpeg on Oracle Cloud VM Linux [closed]

    14 mai 2022, par lucasrvimieiro

    I'm trying to host a discord bot using Oracle Cloud but I need to install the FFmpeg extension for it to be able to play music. I have absolutely no experience with Linux at all but I was able to run the bot normally after a few tutorials. Everything is working fine except for the FFmpeg installation.

    


    I already tried following these guides :
https://computingforgeeks.com/how-to-install-ffmpeg-on-centos-rhel-8/
https://techviewleo.com/install-ffmpeg-on-rocky-almalinux-oracle-linux/

    


    However I keep getting the error :

    


    


    Errors during downloading metadata for repository 'nux-dextop' :

    


    


    


    when executing :

    


    sudo dnf -y install ffmpeg


    


    I cannot find any solutions online. Is it even possible to install FFmpeg there ? The VM is running Oracle-Linux-8.5-aarch64-2022.04.04-0. I'm using Bitvise SSH Client to connect to the terminal.

    


  • Hello, I have some problems with ffmpeg.concat, there are logs

    12 mai 2022, par Matvey

    Log :

    


    [swscaler @ 0x27d3c10] [swscaler @ 0x2886fe0] deprecated pixel format used, make sure you did set range correctly
[swscaler @ 0x27d3c10] [swscaler @ 0x283be10] deprecated pixel format used, make sure you did set range correctly
Output #0, avi, to '/home/pi/Desktop/VIDEOREG/2022:05:12_09:51:57:856_v1.avi':
  Metadata:
    software        : Lavf58.45.100
    ISFT            : Lavf59.20.101
  Stream #0:0: Video: mpeg4 (FMP4 / 0x34504D46), yuv420p(tv, bt470bg/unknown/unknown, progressive), 1080x720, q=2-31, 200 kb/s, 25 fps, 25>
    Metadata:
      encoder         : Lavc59.25.100 mpeg4
    Side data:
      cpb: bitrate max/min/avg: 0/0/200000 buffer size: 0 vbv_delay: N/A
Output #0, avi, to '/home/pi/Desktop/VIDEOREG/2022:05:12_09:51:57:911_v3.avi':
  Metadata:
    software        : Lavf58.45.100
    ISFT            : Lavf59.20.101
  Stream #0:0: Video: mpeg4 (FMP4 / 0x34504D46), yuv420p(tv, bt470bg/unknown/unknown, progressive), 1080x720, q=2-31, 200 kb/s, 25 fps, 25>
    Metadata:
      encoder         : Lavc59.25.100 mpeg4
    Side data:
      cpb: bitrate max/min/avg: 0/0/200000 buffer size: 0 vbv_delay: N/A
Output #0, avi, to '/home/pi/Desktop/VIDEOREG/2022:05:12_09:51:57:890_v2.avi':
  Metadata:
    software        : Lavf58.45.100
    ISFT            : Lavf59.20.101
  Stream #0:0: Video: mpeg4 (FMP4 / 0x34504D46), yuv420p(tv, bt470bg/unknown/unknown, progressive), 1080x720, q=2-31, 200 kb/s, 25 fps, 25>
    Metadata:
      encoder         : Lavc59.25.100 mpeg4
    Side data:
      cpb: bitrate max/min/avg: 0/0/200000 buffer size: 0 vbv_delay: N/A
[mjpeg @ 0x27aaa10] mjpeg_decode_dc: bad vlc: 0:0 (0x27b7c20)trate=8122.4kbits/s speed=1.33e+04x
[mjpeg @ 0x27aaa10] error dc
[mjpeg @ 0x27aaa10] error y=18 x=37
[mjpeg @ 0x27aaa10] EOI missing, emulating
[mjpeg @ 0x29551c0] error count: 65
[mjpeg @ 0x29551c0] error y=2 x=17
###############################################


    


    My part of code for concatenation audio and video :

    


    def video_with_audio(number, filename, video):
        ms = datetime.today().strftime('%f') + '0000'
        ms = ms[:3]
        name = datetime.today().strftime('%Y:%m:%d_%H:%M:%S:')
        title_video = f'/home/pi/Desktop/VIDEOREG/{name}{ms}{number}.avi'
        print(title_video)
        os.system("ffmpeg -i " + video + " -vf setpts=PTS*2 " + title_video)
        ####################################################
        ms_1 = datetime.today().strftime('%f') + '0000'
        ms_1 = ms_1[:3]
        name_1 = datetime.today().strftime('%Y:%m:%d_%H:%M:%S:')
        title_video = f'/home/pi/Desktop/VIDEOREG/{name}{ms}{number}.avi'
        title_video_1 = f'/home/pi/Desktop/VIDEOREG/{name_1}{ms_1}{number}.avi'
        input_audio = ffmpeg.input(filename)
        input_video = ffmpeg.input(title_video)
        print(title_video_1)
        ffmpeg.concat(input_video, input_audio, v=1, a=1).output(title_video_1).run()


    


    There are slight delays during video recording, because I print information from sensors on video, can this affect the concatenation of video with audio ? (Saved video is accelerated ? that's why at the beginning I used slowing video down.)

    


  • DTS Error when nesting `amix` filter in ffmpeg [closed]

    25 août 2023, par GBathie

    I am trying to create an audio file that contains multiple occurrences of other samples (think of music notes), using ffmpeg.

    


    I am using the following command :

    


    ffmpeg -f lavfi -i 'sine=frequency=87.31:sample_rate=44100' -f lavfi -i 'sine=frequency=783.99:sample_rate=44100' -filter_complex '[0]asplit=2[s0][s1];[s0]atrim=duration=0.157[s2];[s1]atrim=duration=1.157[s3];[s2][s3]amix=inputs=2[s4];[1]atrim=duration=0.165[s5];[s4][s5]amix=inputs=2[s6]' -map '[s6]' test.mp3 -y


    


    It generates two sine waves in place of notes, and builds a file containing the first note twice, and the second note once.
I then mix the result using two amix filters. I cannot use a single amix filter because, in practice, I have more notes that the maximum number of inputs that amix can take (1024).

    


    The graph looks like this :
ffmpeg graph

    


    Running this commands gives me the following output, which complains about "Queue input backwards in time" :

    


    
ffmpeg version 4.2.7-0ubuntu0.1 Copyright (c) 2000-2022 the FFmpeg developers
  built with gcc 9 (Ubuntu 9.4.0-1ubuntu1~20.04.1)
  configuration: --prefix=/usr --extra-version=0ubuntu0.1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --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-nvenc --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, lavfi, from 'sine=frequency=87.31:sample_rate=44100':
  Duration: N/A, start: 0.000000, bitrate: 705 kb/s
    Stream #0:0: Audio: pcm_s16le, 44100 Hz, mono, s16, 705 kb/s
Input #1, lavfi, from 'sine=frequency=783.99:sample_rate=44100':
  Duration: N/A, start: 0.000000, bitrate: 705 kb/s
    Stream #1:0: Audio: pcm_s16le, 44100 Hz, mono, s16, 705 kb/s
Stream mapping:
  Stream #0:0 (pcm_s16le) -> asplit
  Stream #1:0 (pcm_s16le) -> atrim
  amix -> Stream #0:0 (libmp3lame)
Press [q] to stop, [?] for help
Output #0, mp3, to 'test.mp3':
  Metadata:
    TSSE            : Lavf58.29.100
    Stream #0:0: Audio: mp3 (libmp3lame), 44100 Hz, mono, fltp (default)
    Metadata:
      encoder         : Lavc58.54.100 libmp3lame
[libmp3lame @ 0x557929fb5400] Queue input is backward in time
    Last message repeated 1 times
[mp3 @ 0x557929fb7280] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 6959 >= -9223372036854774620
[mp3 @ 0x557929fb7280] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 6959 >= -9223372036854775760
[mp3 @ 0x557929fb7280] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 6959 >= -9223372036854775632
[mp3 @ 0x557929fb7280] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 6959 >= -9223372036854775504
[mp3 @ 0x557929fb7280] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 6959 >= -9223372036854775376
[libmp3lame @ 0x557929fb5400] Queue input is backward in time
[mp3 @ 0x557929fb7280] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 6959 >= -9223372036854775248
[mp3 @ 0x557929fb7280] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 6959 >= -9223372036854775120
[mp3 @ 0x557929fb7280] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 6959 >= -9223372036854774992
[mp3 @ 0x557929fb7280] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 6959 >= -9223372036854774864
[mp3 @ 0x557929fb7280] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 6959 >= -9223372036854775760
[mp3 @ 0x557929fb7280] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 6959 >= -9223372036854775632
[mp3 @ 0x557929fb7280] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 6959 >= -9223372036854775504
[libmp3lame @ 0x557929fb5400] Queue input is backward in time
[mp3 @ 0x557929fb7280] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 6959 >= -9223372036854775376
[mp3 @ 0x557929fb7280] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 6959 >= -9223372036854775248
[mp3 @ 0x557929fb7280] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 6959 >= -9223372036854775120
[mp3 @ 0x557929fb7280] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 6959 >= -9223372036854774992
[mp3 @ 0x557929fb7280] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 6959 >= -9223372036854774864
[mp3 @ 0x557929fb7280] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 6959 >= -9223372036854775760
[mp3 @ 0x557929fb7280] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 6959 >= -9223372036854775632
[mp3 @ 0x557929fb7280] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 6959 >= -9223372036854775504
[libmp3lame @ 0x557929fb5400] Queue input is backward in time
[mp3 @ 0x557929fb7280] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 6959 >= -9223372036854775376
[mp3 @ 0x557929fb7280] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 6959 >= -9223372036854775248
[mp3 @ 0x557929fb7280] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 6959 >= -9223372036854775120
[mp3 @ 0x557929fb7280] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 6959 >= -9223372036854774992
[mp3 @ 0x557929fb7280] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 6959 >= -9223372036854774864
[mp3 @ 0x557929fb7280] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 6959 >= -9223372036854775760
[mp3 @ 0x557929fb7280] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 6959 >= -9223372036854775632
[mp3 @ 0x557929fb7280] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 6959 >= -9223372036854775504
[libmp3lame @ 0x557929fb5400] Queue input is backward in time
[mp3 @ 0x557929fb7280] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 6959 >= -9223372036854775376
[mp3 @ 0x557929fb7280] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 6959 >= -9223372036854775248
[mp3 @ 0x557929fb7280] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 6959 >= -9223372036854775120
[mp3 @ 0x557929fb7280] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 6959 >= -9223372036854774992
[mp3 @ 0x557929fb7280] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 6959 >= -9223372036854774864
[mp3 @ 0x557929fb7280] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 6959 >= -9223372036854775760
[mp3 @ 0x557929fb7280] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 6959 >= -9223372036854775632
[mp3 @ 0x557929fb7280] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 6959 >= -9223372036854775504
[mp3 @ 0x557929fb7280] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 6959 >= -9223372036854775376
[mp3 @ 0x557929fb7280] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 6959 >= -9223372036854775248
size=      10kB time=00:00:00.18 bitrate= 428.0kbits/s speed=22.2x    
video:0kB audio:9kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 2.361386%


    


    Q : What is the issue, and how can I solve it ?

    


    Note that the issue disappears if I use a single amix filter, but I cannot do this in practice.