Unknown channel layouts not supported

classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|

Unknown channel layouts not supported

speedyrazor
Hi, I am using filter complex to split and pan audio channels, but on a 10 channel file I am getting the error "Cannot select channel layout for the link between filters auto-inserted resampler 0 and Parsed_asplit_0. Unknown channel layouts not supported, try specifying a channel layout using 'aformat=channel_layouts=something'". I have tried adding aformat as suggested, but still get the same error message. I want to use filter complex as I also want multiple output files. Can I tell ffmpeg to ignore the channel layout, or is there another way to fix this? I have attached the log file as well as displaying it here:ffmpeg started on 2016-02-04 at 21:01:22
Report written to "ffmpeg-20160204-210122.log"
Command line:
"G:\\ffmpeg\\ffmpeg-20160204-git-37db3e8-win64-static\\bin\\ffmpeg.exe" -i "\\\\VBOXSVR\\Movies\\Movie10.mov" -filter_complex "[0:a]asplit=10[a1_1][a1_2][a1_3][a1_4][a1_5][a1_6][a1_7][a1_8][a1_9][a1_10];[a1_1]pan=mono|c0=c0[out1_1];[a1_2]pan=mono|c0=c1[out1_2];[a1_3]pan=mono|c0=c2[out1_3];[a1_4]pan=mono|c0=c3[out1_4];[a1_5]pan=mono|c0=c4[out1_5];[a1_6]pan=mono|c0=c5[out1_6];[a1_7]pan=mono|c0=c6[out1_7];[a1_8]pan=mono|c0=c7[out1_8];[a1_9]pan=mono|c0=c8[out1_9];[a1_10]pan=mono|c0=c9[out1_10]" -map 0:v -map "[out1_1]" -map "[out1_2]" -map "[out1_3]" -map "[out1_4]" -map "[out1_5]" -map "[out1_6]" -map "[out1_7]" -map "[out1_8]" -map "[out1_9]" -map "[out1_10]" -timecode 09:59:00:00 -vcodec prores -profile:v 3 -vtag apch -f mov -pix_fmt yuv422p10le -c:a pcm_s16le -y //VBOXSVR/Movies/OutMovie -report
ffmpeg version N-78304-g37db3e8 Copyright (c) 2000-2016 the FFmpeg developers
  built with gcc 5.3.0 (GCC)
  configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libdcadec --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --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-libzimg --enable-lzma --enable-decklink --enable-zlib
  libavutil      55. 17.100 / 55. 17.100
  libavcodec     57. 24.101 / 57. 24.101
  libavformat    57. 24.100 / 57. 24.100
  libavdevice    57.  0.101 / 57.  0.101
  libavfilter     6. 28.100 /  6. 28.100
  libswscale      4.  0.100 /  4.  0.100
  libswresample   2.  0.101 /  2.  0.101
  libpostproc    54.  0.100 / 54.  0.100
Splitting the commandline.
Reading option '-i' ... matched as input file with argument '\\VBOXSVR\Movies\Movie10.mov'.
Reading option '-filter_complex' ... matched as option 'filter_complex' (create a complex filtergraph) with argument '[0:a]asplit=10[a1_1][a1_2][a1_3][a1_4][a1_5][a1_6][a1_7][a1_8][a1_9][a1_10];[a1_1]pan=mono|c0=c0[out1_1];[a1_2]pan=mono|c0=c1[out1_2];[a1_3]pan=mono|c0=c2[out1_3];[a1_4]pan=mono|c0=c3[out1_4];[a1_5]pan=mono|c0=c4[out1_5];[a1_6]pan=mono|c0=c5[out1_6];[a1_7]pan=mono|c0=c6[out1_7];[a1_8]pan=mono|c0=c7[out1_8];[a1_9]pan=mono|c0=c8[out1_9];[a1_10]pan=mono|c0=c9[out1_10]'.
Reading option '-map' ... matched as option 'map' (set input stream mapping) with argument '0:v'.
Reading option '-map' ... matched as option 'map' (set input stream mapping) with argument '[out1_1]'.
Reading option '-map' ... matched as option 'map' (set input stream mapping) with argument '[out1_2]'.
Reading option '-map' ... matched as option 'map' (set input stream mapping) with argument '[out1_3]'.
Reading option '-map' ... matched as option 'map' (set input stream mapping) with argument '[out1_4]'.
Reading option '-map' ... matched as option 'map' (set input stream mapping) with argument '[out1_5]'.
Reading option '-map' ... matched as option 'map' (set input stream mapping) with argument '[out1_6]'.
Reading option '-map' ... matched as option 'map' (set input stream mapping) with argument '[out1_7]'.
Reading option '-map' ... matched as option 'map' (set input stream mapping) with argument '[out1_8]'.
Reading option '-map' ... matched as option 'map' (set input stream mapping) with argument '[out1_9]'.
Reading option '-map' ... matched as option 'map' (set input stream mapping) with argument '[out1_10]'.
Reading option '-timecode' ... matched as option 'timecode' (set initial TimeCode value.) with argument '09:59:00:00'.
Reading option '-vcodec' ... matched as option 'vcodec' (force video codec ('copy' to copy stream)) with argument 'prores'.
Reading option '-profile:v' ... matched as option 'profile' (set profile) with argument '3'.
Reading option '-vtag' ... matched as option 'vtag' (force video tag/fourcc) with argument 'apch'.
Reading option '-f' ... matched as option 'f' (force format) with argument 'mov'.
Reading option '-pix_fmt' ... matched as option 'pix_fmt' (set pixel format) with argument 'yuv422p10le'.
Reading option '-c:a' ... matched as option 'c' (codec name) with argument 'pcm_s16le'.
Reading option '-y' ... matched as option 'y' (overwrite output files) with argument '1'.
Reading option '//VBOXSVR/Movies/OutMovie' ... matched as output file.
Reading option '-report' ... matched as option 'report' (generate a report) with argument '1'.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option filter_complex (create a complex filtergraph) with argument [0:a]asplit=10[a1_1][a1_2][a1_3][a1_4][a1_5][a1_6][a1_7][a1_8][a1_9][a1_10];[a1_1]pan=mono|c0=c0[out1_1];[a1_2]pan=mono|c0=c1[out1_2];[a1_3]pan=mono|c0=c2[out1_3];[a1_4]pan=mono|c0=c3[out1_4];[a1_5]pan=mono|c0=c4[out1_5];[a1_6]pan=mono|c0=c5[out1_6];[a1_7]pan=mono|c0=c6[out1_7];[a1_8]pan=mono|c0=c7[out1_8];[a1_9]pan=mono|c0=c8[out1_9];[a1_10]pan=mono|c0=c9[out1_10].
Applying option y (overwrite output files) with argument 1.
Applying option report (generate a report) with argument 1.
Successfully parsed a group of options.
Parsing a group of options: input file \\VBOXSVR\Movies\Movie10.mov.
Successfully parsed a group of options.
Opening an input file: \\VBOXSVR\Movies\Movie10.mov.
[file @ 000000000047ce60] Setting default whitelist 'file'
[mov,mp4,m4a,3gp,3g2,mj2 @ 000000000047b7e0] Format mov,mp4,m4a,3gp,3g2,mj2 probed with size=2048 and score=100
[mov,mp4,m4a,3gp,3g2,mj2 @ 000000000047b7e0] ISO: File Type Major Brand: qt  
[mov,mp4,m4a,3gp,3g2,mj2 @ 000000000047b7e0] Unknown dref type 0x08206c7275 size 12
[mov,mp4,m4a,3gp,3g2,mj2 @ 000000000047b7e0] Unknown dref type 0x08206c7275 size 12
[mov,mp4,m4a,3gp,3g2,mj2 @ 000000000047b7e0] Unknown dref type 0x08206c7275 size 12
[mov,mp4,m4a,3gp,3g2,mj2 @ 000000000047b7e0] Before avformat_find_stream_info() pos: 66563468 bytes read:70069 seeks:3
[mov,mp4,m4a,3gp,3g2,mj2 @ 000000000047b7e0] All info found
[mov,mp4,m4a,3gp,3g2,mj2 @ 000000000047b7e0] After avformat_find_stream_info() pos: 251607 bytes read:333928 seeks:4 frames:3
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '\\VBOXSVR\Movies\Movie10.mov':
  Metadata:
    major_brand     : qt  
    minor_version   : 512
    compatible_brands: qt  
    encoder         : Lavf57.19.100
  Duration: 00:00:06.92, start: 0.000000, bitrate: 76951 kb/s
    Stream #0:0(eng), 1, 1/12800: Video: prores (apch / 0x68637061), yuv422p10le, 1920x1080, 69266 kb/s, 25 fps, 25 tbr, 12800 tbn, 12800 tbc (default)
    Metadata:
      handler_name    : DataHandler
      encoder         : Lavc57.17.100 prores
      timecode        : 09:59:00:00
    Stream #0:1(eng), 1, 1/48000: Audio: pcm_s16le (sowt / 0x74776F73), 48000 Hz, 10 channels, s16, 7680 kb/s (default)
    Metadata:
      handler_name    : DataHandler
    Stream #0:2(eng), 1, 1/12800: Data: none (tmcd / 0x64636D74), 0 kb/s (default)
    Metadata:
      handler_name    : DataHandler
      timecode        : 09:59:00:00
Successfully opened the file.
detected 1 logical cores
[Parsed_asplit_0 @ 0000000000484f20] Setting 'outputs' to value '10'
[Parsed_pan_1 @ 000000000047e620] compat: called with args=[mono|c0=c0]
[Parsed_pan_1 @ 000000000047e620] Setting 'args' to value 'mono|c0=c0'
[Parsed_pan_2 @ 00000000004d6100] compat: called with args=[mono|c0=c1]
[Parsed_pan_2 @ 00000000004d6100] Setting 'args' to value 'mono|c0=c1'
[Parsed_pan_3 @ 000000000047f800] compat: called with args=[mono|c0=c2]
[Parsed_pan_3 @ 000000000047f800] Setting 'args' to value 'mono|c0=c2'
[Parsed_pan_4 @ 000000000047f940] compat: called with args=[mono|c0=c3]
[Parsed_pan_4 @ 000000000047f940] Setting 'args' to value 'mono|c0=c3'
[Parsed_pan_5 @ 000000000047fc40] compat: called with args=[mono|c0=c4]
[Parsed_pan_5 @ 000000000047fc40] Setting 'args' to value 'mono|c0=c4'
[Parsed_pan_6 @ 000000000047fde0] compat: called with args=[mono|c0=c5]
[Parsed_pan_6 @ 000000000047fde0] Setting 'args' to value 'mono|c0=c5'
[Parsed_pan_7 @ 00000000004d6b80] compat: called with args=[mono|c0=c6]
[Parsed_pan_7 @ 00000000004d6b80] Setting 'args' to value 'mono|c0=c6'
[Parsed_pan_8 @ 00000000004d6e20] compat: called with args=[mono|c0=c7]
[Parsed_pan_8 @ 00000000004d6e20] Setting 'args' to value 'mono|c0=c7'
[Parsed_pan_9 @ 00000000004d5e80] compat: called with args=[mono|c0=c8]
[Parsed_pan_9 @ 00000000004d5e80] Setting 'args' to value 'mono|c0=c8'
[Parsed_pan_10 @ 00000000004d6d40] compat: called with args=[mono|c0=c9]
[Parsed_pan_10 @ 00000000004d6d40] Setting 'args' to value 'mono|c0=c9'
Parsing a group of options: output file //VBOXSVR/Movies/OutMovie.
Applying option map (set input stream mapping) with argument 0:v.
Applying option map (set input stream mapping) with argument [out1_1].
Applying option map (set input stream mapping) with argument [out1_2].
Applying option map (set input stream mapping) with argument [out1_3].
Applying option map (set input stream mapping) with argument [out1_4].
Applying option map (set input stream mapping) with argument [out1_5].
Applying option map (set input stream mapping) with argument [out1_6].
Applying option map (set input stream mapping) with argument [out1_7].
Applying option map (set input stream mapping) with argument [out1_8].
Applying option map (set input stream mapping) with argument [out1_9].
Applying option map (set input stream mapping) with argument [out1_10].
Applying option timecode (set initial TimeCode value.) with argument 09:59:00:00.
Applying option vcodec (force video codec ('copy' to copy stream)) with argument prores.
Applying option profile:v (set profile) with argument 3.
Applying option vtag (force video tag/fourcc) with argument apch.
Applying option f (force format) with argument mov.
Applying option pix_fmt (set pixel format) with argument yuv422p10le.
Applying option c:a (codec name) with argument pcm_s16le.
Successfully parsed a group of options.
Opening an output file: //VBOXSVR/Movies/OutMovie.
[file @ 0000000000483c80] Setting default whitelist 'file'
Successfully opened the file.
[Parsed_asplit_0 @ 000000000047fe60] Setting 'outputs' to value '10'
[Parsed_pan_1 @ 00000000004cfbe0] compat: called with args=[mono|c0=c0]
[Parsed_pan_1 @ 00000000004cfbe0] Setting 'args' to value 'mono|c0=c0'
[Parsed_pan_2 @ 00000000004cfca0] compat: called with args=[mono|c0=c1]
[Parsed_pan_2 @ 00000000004cfca0] Setting 'args' to value 'mono|c0=c1'
[Parsed_pan_3 @ 0000000000521e80] compat: called with args=[mono|c0=c2]
[Parsed_pan_3 @ 0000000000521e80] Setting 'args' to value 'mono|c0=c2'
[Parsed_pan_4 @ 00000000004cfd60] compat: called with args=[mono|c0=c3]
[Parsed_pan_4 @ 00000000004cfd60] Setting 'args' to value 'mono|c0=c3'
[Parsed_pan_5 @ 00000000004cfa20] compat: called with args=[mono|c0=c4]
[Parsed_pan_5 @ 00000000004cfa20] Setting 'args' to value 'mono|c0=c4'
[Parsed_pan_6 @ 00000000004cd1a0] compat: called with args=[mono|c0=c5]
[Parsed_pan_6 @ 00000000004cd1a0] Setting 'args' to value 'mono|c0=c5'
[Parsed_pan_7 @ 00000000004cd260] compat: called with args=[mono|c0=c6]
[Parsed_pan_7 @ 00000000004cd260] Setting 'args' to value 'mono|c0=c6'
[Parsed_pan_8 @ 00000000004cd320] compat: called with args=[mono|c0=c7]
[Parsed_pan_8 @ 00000000004cd320] Setting 'args' to value 'mono|c0=c7'
[Parsed_pan_9 @ 00000000004cfae0] compat: called with args=[mono|c0=c8]
[Parsed_pan_9 @ 00000000004cfae0] Setting 'args' to value 'mono|c0=c8'
[Parsed_pan_10 @ 00000000004cd3e0] compat: called with args=[mono|c0=c9]
[Parsed_pan_10 @ 00000000004cd3e0] Setting 'args' to value 'mono|c0=c9'
[graph 0 input from stream 0:1 @ 00000000004cd540] Setting 'time_base' to value '1/48000'
[graph 0 input from stream 0:1 @ 00000000004cd540] Setting 'sample_rate' to value '48000'
[graph 0 input from stream 0:1 @ 00000000004cd540] Setting 'sample_fmt' to value 's16'
[graph 0 input from stream 0:1 @ 00000000004cd540] Setting 'channels' to value '10'
[graph 0 input from stream 0:1 @ 00000000004cd540] tb:1/48000 samplefmt:s16 samplerate:48000 chlayout:(null)
[audio format for output stream 0:10 @ 0000000000521c60] Setting 'sample_fmts' to value 's16'
[audio format for output stream 0:9 @ 00000000021703a0] Setting 'sample_fmts' to value 's16'
[audio format for output stream 0:8 @ 00000000021705e0] Setting 'sample_fmts' to value 's16'
[audio format for output stream 0:7 @ 00000000021706a0] Setting 'sample_fmts' to value 's16'
[audio format for output stream 0:6 @ 0000000002170820] Setting 'sample_fmts' to value 's16'
[audio format for output stream 0:5 @ 00000000021709a0] Setting 'sample_fmts' to value 's16'
[audio format for output stream 0:4 @ 0000000002170b20] Setting 'sample_fmts' to value 's16'
[audio format for output stream 0:3 @ 0000000002170ca0] Setting 'sample_fmts' to value 's16'
[audio format for output stream 0:2 @ 0000000002170e20] Setting 'sample_fmts' to value 's16'
[audio format for output stream 0:1 @ 0000000002170fa0] Setting 'sample_fmts' to value 's16'
[Parsed_asplit_0 @ 000000000047fe60] auto-inserting filter 'auto-inserted resampler 0' between the filter 'graph 0 input from stream 0:1' and the filter 'Parsed_asplit_0'
[AVFilterGraph @ 000000000047fde0] query_formats: 32 queried, 91 merged, 3 already done, 0 delayed
[auto-inserted resampler 0 @ 0000000002171060] Cannot select channel layout for the link between filters auto-inserted resampler 0 and Parsed_asplit_0.
[auto-inserted resampler 0 @ 0000000002171060] Unknown channel layouts not supported, try specifying a channel layout using 'aformat=channel_layouts=something'.
Error configuring complex filters.
Invalid argument
[AVIOContext @ 0000000000483d20] Statistics: 0 seeks, 0 writeouts
[AVIOContext @ 0000000000485020] Statistics: 333928 bytes read, 4 seeks        
_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

ffmpeg-20160204-210122.log (19K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Unknown channel layouts not supported

Carl Eugen Hoyos
Kevin Wells <kevwells <at> hotmail.co.uk> writes:

> I am using filter complex to split and pan audio channels,
> but on a 10 channel file I am getting the error

Thank you for the report, I created ticket #5218.
Workaround should be to specify the input more than once:
$ ffmpeg -i input1 -i input1 -i input1 ...

Carl Eugen

_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Reply | Threaded
Open this post in threaded view
|

Re: Unknown channel layouts not supported

speedyrazor
> To: [hidden email]
> From: [hidden email]
> Date: Thu, 4 Feb 2016 22:29:29 +0000
> Subject: Re: [FFmpeg-user] Unknown channel layouts not supported
>
> Kevin Wells <kevwells <at> hotmail.co.uk> writes:
>
> > I am using filter complex to split and pan audio channels,
> > but on a 10 channel file I am getting the error
>
> Thank you for the report, I created ticket #5218.
> Workaround should be to specify the input more than once:
> $ ffmpeg -i input1 -i input1 -i input1 ...
>
> Carl Eugen
>
> _______________________________________________
> ffmpeg-user mailing list
> [hidden email]
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user

Thanks for creating the ticket Carl. Sorry to ask, but is there any sort of patch available, or could I just remove those added lines from avfiltergraph.c and build?
Regards.    
_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Reply | Threaded
Open this post in threaded view
|

Re: Unknown channel layouts not supported

Carl Eugen Hoyos
Kevin Wells <kevwells <at> hotmail.co.uk> writes:

> but is there any sort of patch available

Not that I know of.

> or could I just remove those added lines from
> avfiltergraph.c and build?

You could, or you could follow my advice / workaround
from my first email (using -i several times as
replacement for asplit).

Carl Eugen

_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Reply | Threaded
Open this post in threaded view
|

Re: Unknown channel layouts not supported

Lou Logan
In reply to this post by speedyrazor
On Thu, Feb 4, 2016, at 09:46 PM, Kevin Wells wrote:
>
> Thanks for creating the ticket Carl. Sorry to ask, but is there any sort
> of patch available, or could I just remove those added lines from
> avfiltergraph.c and build?

This should be fixed by Paul B Mahol in:
<http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=b1fe794033c8d781ddafe819141ce6b60d9c7633>
_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Reply | Threaded
Open this post in threaded view
|

Re: Unknown channel layouts not supported

speedyrazor


> From: [hidden email]
> To: [hidden email]
> Date: Fri, 5 Feb 2016 11:44:41 -0900
> Subject: Re: [FFmpeg-user] Unknown channel layouts not supported
>
> On Thu, Feb 4, 2016, at 09:46 PM, Kevin Wells wrote:
> >
> > Thanks for creating the ticket Carl. Sorry to ask, but is there any sort
> > of patch available, or could I just remove those added lines from
> > avfiltergraph.c and build?
>
> This should be fixed by Paul B Mahol in:
> <http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=b1fe794033c8d781ddafe819141ce6b60d9c7633>
> _______________________________________________

Just saw it was fixed, preparing a patch now.Thanks for the help.    
_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Reply | Threaded
Open this post in threaded view
|

Re: Unknown channel layouts not supported

Lou Logan
On Fri, Feb 5, 2016, at 12:06 PM, Kevin Wells wrote:
> Just saw it was fixed, preparing a patch now.Thanks for the help.        

Why do you need to prepare a patch? Just use current git master, or wait
for Zeranoe's builds to catch up.
http://ffmpeg.zeranoe.com/builds/
_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Reply | Threaded
Open this post in threaded view
|

Re: Unknown channel layouts not supported

speedyrazor
> From: [hidden email]
> To: [hidden email]
> Date: Fri, 5 Feb 2016 15:00:58 -0900
> Subject: Re: [FFmpeg-user] Unknown channel layouts not supported
>
> On Fri, Feb 5, 2016, at 12:06 PM, Kevin Wells wrote:
> > Just saw it was fixed, preparing a patch now.Thanks for the help.        
>
> Why do you need to prepare a patch? Just use current git master, or wait
> for Zeranoe's builds to catch up.
> http://ffmpeg.zeranoe.com/builds/
> _______________________________________________

Your right, no patch needed, just done a current git pull, and all works well.Thanks all.    
_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user