Re: [FFmpeg-user] Amerge trouble

2017-11-18 Thread Gyan Doshi
On 11/18/2017 7:42 PM, Bouke / VideoToolShed wrote: Stream mapping: Stream #0:2 (pcm_s24le) -> amerge:in3 Stream #0:3 (pcm_s24le) -> amerge:in1 Stream #0:4 (pcm_s24le) -> amerge:in4 Stream #1:0 (pcm_s24le) -> amerge:in0 Stream #1:0 (pcm_s24le) -> amerge:in2 but, the result has

Re: [FFmpeg-user] Amerge trouble

2017-11-18 Thread Erik Dobberkau
2017-11-18 15:12 GMT+01:00 Bouke / VideoToolShed : > Hi guys, > Trying to do some audio patching from multiple input files, and output a > QT or MXF with a poly soundtrack. > Now this turns out to be a hell of a job, I can’t grasp the logic on how > the patching works. >

[FFmpeg-user] Amerge trouble

2017-11-18 Thread Bouke / VideoToolShed
Hi guys, Trying to do some audio patching from multiple input files, and output a QT or MXF with a poly soundtrack. Now this turns out to be a hell of a job, I can’t grasp the logic on how the patching works. Y\LTC_Convert\FF\ffmpeg -threads 1 -i V\!patch\test.mxf -ss 0. -i

Re: [FFmpeg-user] filter_complex vs vf with one filter

2017-11-18 Thread Carl Eugen Hoyos
2017-11-18 6:33 GMT+01:00 Gyan Doshi : > > On 11/18/2017 10:45 AM, Hans Carlson wrote: >> >> What's the difference between "-filter_complex" and "-vf" when >> only one filter is used? Specially, when the "scale" filter is used. > > This has come up before Could you point me

Re: [FFmpeg-user] Amerge trouble

2017-11-18 Thread Erik Dobberkau
This works as intended: ffmpeg -i HD422.mxf -i 8ch.wav -c:v copy -c:a pcm_s24le -filter_complex \ "[1:a]channelsplit=channel_layout=7.1[a0][a1][a2][a3][a4][a5][a6][a7]" \ -map 0:v -map "[a1]" -map 0:a:1 -map "[a0]" -map 0:a:0 -map 0:a:2 \ -timecode 01:00:00:00 testmerge00.mxf -map "[a2]" \ -map

Re: [FFmpeg-user] Amerge trouble

2017-11-18 Thread Erik Dobberkau
or if you want a single audio stream with 5 channels: ffmpeg -i HD422.mxf -i 8ch.wav -c:v copy -c:a pcm_s24le -filter_complex \ "[1:a]channelsplit=channel_layout=7.1[a0][a1][a2][a3][a4][a5][a6][a7],\ [a1][0:a:1][a0][0:a:0][0:a:2]amerge=inputs=5[a]" \ -map 0:v -map "[a]" -timecode 01:00:00:00

Re: [FFmpeg-user] question about displace filter

2017-11-18 Thread Paul B Mahol
On 11/18/17, Michael Koch wrote: > In the documentation for the displace filter is written: > "The second input specifies how much to displace pixels along the > x-axis, ..." > If I understand this right, a video input file is "misused" for storing > the displacement

Re: [FFmpeg-user] question about displace filter

2017-11-18 Thread Michael Koch
Perhaps you could try remap filter? Unfortunately the remap filter has so few documentation. No examples at all. Is it possible to create the Xmap and Ymap files with ffmpeg? Michael ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org

Re: [FFmpeg-user] question about displace filter

2017-11-18 Thread Michael Koch
One just substract each possible value with 128 and now you have [-128, 127]. Thanks for your fast answer. That should be added to the documentation! Michael ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org

Re: [FFmpeg-user] question about displace filter

2017-11-18 Thread Paul B Mahol
On 11/18/17, Michael Koch wrote: >> One just substract each possible value with 128 and now you have [-128, >> 127]. > > The range is too small for my purpose. Is it possible to create 16 bit > displacements? Not yet. Perhaps you could try remap filter?

Re: [FFmpeg-user] question about displace filter

2017-11-18 Thread Paul B Mahol
On 11/18/17, Michael Koch wrote: >> Perhaps you could try remap filter? > > Unfortunately the remap filter has so few documentation. > No examples at all. Is it possible to create the Xmap and Ymap files with > ffmpeg? Yes, with geq filter. Remap filter documentation

[FFmpeg-user] question about displace filter

2017-11-18 Thread Michael Koch
In the documentation for the displace filter is written: "The second input specifies how much to displace pixels along the x-axis, ..." If I understand this right, a video input file is "misused" for storing the displacement (instead of brightness). Does that mean that only positive

Re: [FFmpeg-user] filter_complex vs vf with one filter

2017-11-18 Thread Hans Carlson
On Sat, 18 Nov 2017, Gyan Doshi wrote: You can use 'scale=-1:720:flags=bicubic' in filter_complex to achieve the same result. Thanks, that worked, but now the obvious question is which one is "better"... quality-wise? I'm not that concerned about the size difference, it was just an

Re: [FFmpeg-user] question about displace filter

2017-11-18 Thread Michael Koch
One just substract each possible value with 128 and now you have [-128, 127]. The range is too small for my purpose. Is it possible to create 16 bit displacements? Michael ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org

Re: [FFmpeg-user] question about displace filter

2017-11-18 Thread Michael Koch
> Yes, with geq filter. Remap filter documentation is on FFmpeg wiki. I can't find an example how to make the Xmap and Ymap files with ffmpeg. In the wiki the files are made with a C program which is difficult to understand. https://trac.ffmpeg.org/wiki/RemapFilter This example is from the

Re: [FFmpeg-user] filter_complex vs vf with one filter

2017-11-18 Thread Gyan Doshi
On 11/18/2017 9:22 PM, Carl Eugen Hoyos wrote: This has come up before Could you point me to the report? See this thread: https://ffmpeg.org/pipermail/ffmpeg-user/2017-May/036078.html Regards, Gyan ___ ffmpeg-user mailing list