Opened 9 years ago
Closed 9 years ago
#6780 closed defect (fixed)
Runtime error with join filter
| Reported by: | marcop998 | Owned by: | |
|---|---|---|---|
| Priority: | important | Component: | undetermined |
| Version: | git-master | Keywords: | join regression crash abort |
| Cc: | Blocked By: | ||
| Blocking: | Reproduced by developer: | yes | |
| Analyzed by developer: | no |
Description
Summary of the bug:
The join filter return the follow error (with last updated version of ffmpeg).
Important note: this error not happen with the old version of ffmpeg (29/16/2016).
How to reproduce:
E:\DATI\bin\ffmpeg\ffmpeg.exe -i "C:\temp\output_center.flac" -i "C:\temp\1.flac" -i "C:\temp\2_ok.flac" -i "C:\temp\4.flac" -i "C:\temp\5_ok.flac" -i "C:\temp\6_ok.flac" -y -shortest -filter_complex "join=inputs=6:channel_layout=5.1(side)" "C:\temp\output.flac"
ffmpeg version N-87353-g183fd30 Copyright (c) 2000-2017 the FFmpeg developers
built with gcc 7.2.0 (GCC)
configuration: --enable-gpl --enable-version3 --enable-cuda --enable-cuvid --enable-d3d11va --enable-dxva2 --enable-libmfx --enable-nvenc --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib
libavutil 55. 76.100 / 55. 76.100
libavcodec 57.106.101 / 57.106.101
libavformat 57. 82.101 / 57. 82.101
libavdevice 57. 8.101 / 57. 8.101
libavfilter 6.105.100 / 6.105.100
libswscale 4. 7.103 / 4. 7.103
libswresample 2. 8.100 / 2. 8.100
libpostproc 54. 6.100 / 54. 6.100
Input #0, flac, from 'C:\temp\output_center.flac':
Metadata:
ENCODER : Lavf57.82.101
Duration: 00:11:40.10, start: 0.000000, bitrate: 603 kb/s
Stream #0:0: Audio: flac, 48000 Hz, mono, s32 (24 bit)
Input #1, flac, from 'C:\temp\1.flac':
Metadata:
ENCODER : Lavf57.82.101
Duration: 00:11:40.12, start: 0.000000, bitrate: 441 kb/s
Stream #1:0: Audio: flac, 48000 Hz, mono, s32 (24 bit)
Input #2, flac, from 'C:\temp\2_ok.flac':
Metadata:
ENCODER : Lavf57.82.101
Duration: 00:11:40.02, start: 0.000000, bitrate: 583 kb/s
Stream #2:0: Audio: flac, 48000 Hz, mono, s32 (24 bit)
Input #3, flac, from 'C:\temp\4.flac':
Metadata:
ENCODER : Lavf57.82.101
Duration: 00:11:40.00, start: 0.000000, bitrate: 425 kb/s
Stream #3:0: Audio: flac, 48000 Hz, mono, s32 (24 bit)
Input #4, flac, from 'C:\temp\5_ok.flac':
Metadata:
ENCODER : Lavf57.82.101
Duration: 00:11:40.02, start: 0.000000, bitrate: 552 kb/s
Stream #4:0: Audio: flac, 48000 Hz, mono, s32 (24 bit)
Input #5, flac, from 'C:\temp\6_ok.flac':
Metadata:
ENCODER : Lavf57.82.101
Duration: 00:11:40.02, start: 0.000000, bitrate: 556 kb/s
Stream #5:0: Audio: flac, 48000 Hz, mono, s32 (24 bit)
Stream mapping:
Stream #0:0 (flac) -> join:input0
Stream #1:0 (flac) -> join:input1
Stream #2:0 (flac) -> join:input2
Stream #3:0 (flac) -> join:input3
Stream #4:0 (flac) -> join:input4
Stream #5:0 (flac) -> join:input5
join -> Stream #0:0 (flac)
Press [q] to stop, [?] for help
[flac @ 0000000000614f20] encoding as 24 bits-per-sample
Output #0, flac, to 'C:\temp\output.flac':
Metadata:
encoder : Lavf57.82.101
Stream #0:0: Audio: flac, 48000 Hz, 5.1(side), s32 (24 bit), 128 kb/s (default)
Metadata:
encoder : Lavc57.106.101 flac
size= 15104kB time=00:00:56.54 bitrate=2188.2kbits/s speed= 110x
size= 35328kB time=00:01:51.45 bitrate=2596.6kbits/s speed= 110x
size= 61952kB time=00:02:46.84 bitrate=3041.8kbits/s speed= 109x
size= 86784kB time=00:03:40.03 bitrate=3231.1kbits/s speed= 108x
size= 111616kB time=00:04:33.98 bitrate=3337.3kbits/s speed= 108x
size= 136448kB time=00:05:27.64 bitrate=3411.5kbits/s speed= 108x
[NULL @ 00000000006f3440] sample/frame number mismatch in adjacent frames
size= 154368kB time=00:06:23.04 bitrate=3301.4kbits/s speed= 108x
size= 174080kB time=00:07:17.85 bitrate=3256.9kbits/s speed= 109x
size= 192000kB time=00:08:13.34 bitrate=3188.2kbits/s speed= 109x
size= 211200kB time=00:09:08.73 bitrate=3153.0kbits/s speed= 109x
size= 231424kB time=00:10:03.74 bitrate=3140.1kbits/s speed= 109x
size= 254720kB time=00:10:57.60 bitrate=3173.2kbits/s speed= 109x
Assertion !s->input_frames[i] failed at src/libavfilter/af_join.c:93
This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
Patches should be submitted to the ffmpeg-devel mailing list and not this bug tracker.
Attachments (2)
Change History (7)
comment:1 by , 9 years ago
| Component: | ffmpeg → undetermined |
|---|---|
| Keywords: | join regression crash abort added |
| Priority: | normal → important |
| Reproduced by developer: | set |
| Version: | unspecified → git-master |
by , 9 years ago
| Attachment: | longer.flac added |
|---|
by , 9 years ago
| Attachment: | shorter.flac added |
|---|
follow-up: 3 comment:2 by , 9 years ago
Thank you for your response.
What do you suggest to do ?
do you need files to check in deep ?
follow-up: 4 comment:3 by , 9 years ago
Replying to marcop998:
What do you suggest to do ?
Waiting for a fix comes to mind.
But if you can fix the issue yourself, sending a patch made with git format-patch to the FFmpeg development mailing list is even better.
do you need files to check in deep ?
Originally: Yes.
But now: What is wrong with the files I provided?
comment:4 by , 9 years ago
comment:5 by , 9 years ago
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
Fixed in d0920da029c54c372c1daa93c6d976f2145daf62.



Regression since 76e13bdeaabc7ec49322b3a118dc4805153e0401
$ ffmpeg -i shorter.flac -i longer.flac -filter_complex join=inputs=2 -f null - ffmpeg version N-88151-ga07ac93 Copyright (c) 2000-2017 the FFmpeg developers built with gcc 6.3.0 (GCC) configuration: --enable-gpl libavutil 56. 0.100 / 56. 0.100 libavcodec 58. 0.100 / 58. 0.100 libavformat 58. 0.101 / 58. 0.101 libavdevice 58. 0.100 / 58. 0.100 libavfilter 7. 0.100 / 7. 0.100 libswscale 5. 0.100 / 5. 0.100 libswresample 3. 0.100 / 3. 0.100 libpostproc 55. 0.100 / 55. 0.100 Input #0, flac, from 'shorter.flac': Metadata: ENCODER : Lavf58.0.101 Duration: 00:01:00.09, start: 0.000000, bitrate: 97 kb/s Stream #0:0: Audio: flac, 44100 Hz, mono, s16 Input #1, flac, from 'longer.flac': Metadata: ENCODER : Lavf58.0.101 Duration: 00:01:00.12, start: 0.000000, bitrate: 97 kb/s Stream #1:0: Audio: flac, 44100 Hz, mono, s16 Stream mapping: Stream #0:0 (flac) -> join:input0 Stream #1:0 (flac) -> join:input1 join -> Stream #0:0 (pcm_s16le) Press [q] to stop, [?] for help Output #0, null, to 'pipe:': Metadata: encoder : Lavf58.0.101 Stream #0:0: Audio: pcm_s16le, 44100 Hz, stereo, s16, 1411 kb/s (default) Metadata: encoder : Lavc58.0.100 pcm_s16le Assertion !s->input_frames[i] failed at libavfilter/af_join.c:93 Aborted