[FFmpeg-user] "This syntax is deprecated. Use '|' to separate the list items." (Was: What is the difference between versions of ffmpeg?)

skyscanner at gmx.ca skyscanner at gmx.ca
Sat Oct 4 23:05:54 CEST 2014


On Sat, 04 Oct 2014 22:11:18 +0200, "Moritz Barsnick" <barsnick at gmx.net> wrote: 

> I believe your filter should be as such:

> '[0:1][0:2][0:3]amerge=inputs=3,pan=5.1:FL=c0|FR=c1|FC=c2|LFE=c3|BL=c4|BR=c5'

Thank you.  I tried this:

ffmpeg -i "original program filename.ts" -c:v copy -filter_complex '[0:1][0:2][0:3]amerge=inputs=3,pan=5.1:FL=c0|FR=c1|FC=c2|LFE=c3|BL=c4|BR=c5' -c:a mp2 "converted program filename.ts"

and while that worked, I still got the warning message.  Then I tried this:

ffmpeg -i "original program filename.ts" -c:v copy -filter_complex '[0|1][0|2][0|3]amerge=inputs=3,pan=5.1:FL=c0|FR=c1|FC=c2|LFE=c3|BL=c4|BR=c5' -c:a mp2 "converted program filename.ts"

And got this:

[Parsed_pan_1 @ 0x4956e20] This syntax is deprecated. Use '|' to separate the list items.
[mpegts @ 0x48eb860] Invalid stream specifier: |1.
    Last message repeated 7 times
Stream specifier '|1' in filtergraph description [0|1][0|2][0|3]amerge=inputs=3,pan=5.1:FL=c0|FR=c1|FC=c2|LFE=c3|BL=c4|BR=c5 matches no streams.

And it did NOT do the conversion, so it was not complaining about the 0:1, 0:2, 0:3 syntax.  So then I tried:

ffmpeg -i "original program filename.ts" -c:v copy -filter_complex '[0:1][0:2][0:3]amerge=inputs=3,pan=5.1|FL=c0|FR=c1|FC=c2|LFE=c3|BL=c4|BR=c5' -c:a mp2 "converted program filename.ts"

And then I got:

[Parsed_amerge_0 @ 0x3aed3c0] No channel layout for input 1
[Parsed_amerge_0 @ 0x3aed3c0] Input channel layouts overlap: output layout will be determined by the number of distinct input channels
[Parsed_pan_1 @ 0x3afde20] Pure channel mapping detected: 0 1 2 3 4 5

But, no complaints about the deprecated syntax!  So it appears that it does want the | rather than the : after the 5.1 as well.

Thanks much!




More information about the ffmpeg-user mailing list