Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#2357 closed defect (invalid)

join filter bug

Reported by: burek Owned by:
Priority: normal Component: undetermined
Version: unspecified Keywords:
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

Summary of the bug:
You can view the entire thread here: http://ffmpeg.gusari.org/posting.php?mode=reply&f=11&t=849

How to reproduce:

C:\Documents and Settings\usr>C:\1.ffmpeg\bin\ffmpeg -i C:\video\a\fc.wav -i C:\video\a\fl.wav -i C:\video\a\fr.wav -i C:\video\a\lfe.wav -i C:\video\a\sl.wav -i C:\video\a\sr.wav -c:a pcm_s16le -filter_complex join=inputs=6:channel_layout=5.1:map=0.0-FL\,1.0-FR\,2.0-FC\,3.0-SL\,4.0-SR\,5.0-LFE C:\video\out.wav
ffmpeg version N-50442-g4f0d4ac Copyright (c) 2000-2013 the FFmpeg developers
  built on Mar  2 2013 15:25:54 with gcc 4.7.2 (GCC)
  configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enab
le-libass --enable-libbluray --enable-libcaca --enable-libfreetype --enable-libgsm --enable-libilbc --enable-libmp3lame --enable-libopencore-amrnb --enable-libo
pencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-lib
twolame --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-libxvid --enable-zlib
  libavutil      52. 17.103 / 52. 17.103
  libavcodec     54. 92.100 / 54. 92.100
  libavformat    54. 63.102 / 54. 63.102
  libavdevice    54.  3.103 / 54.  3.103
  libavfilter     3. 41.100 /  3. 41.100
  libswscale      2.  2.100 /  2.  2.100
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  2.100 / 52.  2.100
[wav @ 02537ce0] max_analyze_duration 5000000 reached at 5034667 microseconds
Guessed Channel Layout for  Input Stream #0.0 : mono
Input #0, wav, from 'C:\video\a\fc.wav':
  Duration: 01:56:01.02, bitrate: 768 kb/s
    Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 48000 Hz, mono, s16, 768 kb/s
[wav @ 02660a20] max_analyze_duration 5000000 reached at 5034667 microseconds
Guessed Channel Layout for  Input Stream #1.0 : mono
Input #1, wav, from 'C:\video\a\fl.wav':
  Duration: 01:56:01.02, bitrate: 768 kb/s
    Stream #1:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 48000 Hz, mono, s16, 768 kb/s
[wav @ 0272e3e0] max_analyze_duration 5000000 reached at 5034667 microseconds
Guessed Channel Layout for  Input Stream #2.0 : mono
Input #2, wav, from 'C:\video\a\fr.wav':
  Duration: 01:56:01.02, bitrate: 768 kb/s
    Stream #2:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 48000 Hz, mono, s16, 768 kb/s
[wav @ 0276be60] max_analyze_duration 5000000 reached at 5034667 microseconds
Guessed Channel Layout for  Input Stream #3.0 : mono
Input #3, wav, from 'C:\video\a\lfe.wav':
  Duration: 01:56:01.02, bitrate: 768 kb/s
    Stream #3:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 48000 Hz, mono, s16, 768 kb/s
[wav @ 02844120] max_analyze_duration 5000000 reached at 5034667 microseconds
Guessed Channel Layout for  Input Stream #4.0 : mono
Input #4, wav, from 'C:\video\a\sl.wav':
  Duration: 01:56:01.02, bitrate: 768 kb/s
    Stream #4:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 48000 Hz, mono, s16, 768 kb/s
[wav @ 028cd460] max_analyze_duration 5000000 reached at 5034667 microseconds
Guessed Channel Layout for  Input Stream #5.0 : mono
Input #5, wav, from 'C:\video\a\sr.wav':
  Duration: 01:56:01.02, bitrate: 768 kb/s
    Stream #5:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 48000 Hz, mono, s16, 768 kb/s
[Parsed_join_0 @ 0284c0e0] Output channel 'SL' is not present in requested channel layout.
[AVFilterGraph @ 02538a40] Error initializing filter 'join' with args 'inputs=6:channel_layout=5.1:map=0.0-FL,1.0-FR,2.0-FC,3.0-SL,4.0-SR,5.0-LFE'
Error configuring filters.

Seems like an error in the parser:

[Parsed_join_0 @ 0284c0e0] Output channel 'SL' is not present in requested channel layout.

Change History (7)

comment:1 Changed 6 years ago by cehoyos

Please add some information about what you are trying to do.

comment:2 Changed 6 years ago by burek

I'm not experiencing this issue, I'm just relaying the forum post. Please read it.

comment:3 Changed 6 years ago by cehoyos

  • Resolution set to invalid
  • Status changed from new to closed

As said, it is necessary to post all information into the forum, please do not use external resources, and please only report issues here that you can reproduce yourself (except if there is a reason why the issue cannot be generally reproduced).

That said, this page should explain the usage issue:
http://msdn.microsoft.com/en-us/library/windows/hardware/gg463006.aspx

comment:4 Changed 6 years ago by richardpl

cehoyos failed to say that channely layout 5.1 does not have SL channel.

Channel layout 5.1 does not have side left (SL) channel, but 5.1(side) does.

comment:5 Changed 6 years ago by Cigaes

  1. join is flawed by design; please use amerge and pan.
  1. "You can view the entire thread here": no: "You need to login in order to reply to topics within this forum", and that is out of question.
  1. "Seems like an error in the parser": no:
    ffmpeg -layouts |& grep 5.1
    5.1         FL+FR+FC+LFE+BL+BR
    5.1(side)   FL+FR+FC+LFE+SL+SR
    

5.1 has no side channels.

comment:6 Changed 6 years ago by burek

  1. ok
  2. i apologize, i pasted a wrong url, this one is valid: http://ffmpeg.gusari.org/viewtopic.php?f=11&t=849
  3. ok, thanks, I'll update the forum thread with this and it will hopefully solve the issue.

comment:7 Changed 6 years ago by burek

Btw, does this documentation need a correction perhaps: http://www.ffmpeg.org/ffmpeg-filters.html#join
Because, that's where the example command line in question was taken from.

Note: See TracTickets for help on using tickets.