
Recherche avancée
Autres articles (77)
-
Soumettre bugs et patchs
10 avril 2011Un logiciel n’est malheureusement jamais parfait...
Si vous pensez avoir mis la main sur un bug, reportez le dans notre système de tickets en prenant bien soin de nous remonter certaines informations pertinentes : le type de navigateur et sa version exacte avec lequel vous avez l’anomalie ; une explication la plus précise possible du problème rencontré ; si possibles les étapes pour reproduire le problème ; un lien vers le site / la page en question ;
Si vous pensez avoir résolu vous même le bug (...) -
Contribute to a better visual interface
13 avril 2011MediaSPIP is based on a system of themes and templates. Templates define the placement of information on the page, and can be adapted to a wide range of uses. Themes define the overall graphic appearance of the site.
Anyone can submit a new graphic theme or template and make it available to the MediaSPIP community. -
Support de tous types de médias
10 avril 2011Contrairement à 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) (...)
Sur d’autres sites (8687)
-
DTS Error when nesting `amix` filter in ffmpeg [closed]
25 août 2023, par GBathieI 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 singleamix
filter because, in practice, I have more notes that the maximum number of inputs that amix can take (1024).

The graph looks like this :



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.

-
Increasing Website Traffic : 11 Tips To Attract Visitors
25 août 2023, par Erin — Analytics Tips, Marketing -
The 7 GDPR Principles : A Guide to Compliance
11 août 2023, par Erin — Analytics Tips, GDPR