Issues deinterlacing DirectShow input with ffplay
I'm using ffplay as a live preview for my capture card, and I'm trying to use the yadif filter in mode 1 (send_field) to deinterlace the 59.94i input to 59.94 fps. Using this command works as expected: ffplay -f dshow -i video="SA7160 PCI, Analog 01 Capture" -vf yadif=1 However, if I try the same command with an audio device included, the frame rate appears capped at 29.97 fps as if I were using mode 0 (send_frame): ffplay -f dshow -i video="SA7160 PCI, Analog 01 Capture":audio="SA7160 PCI, Analog 01 WaveIn" -vf yadif=1 Why does the filter only work properly when there is no audio device on the input? Is there a workaround for this or is it a bug? Here's a screen recording as a demonstration: https://streamable.com/p0v9rk Console output is attached. Alex
Input frame rate is still the same both ways? On Fri, Aug 13, 2021 at 10:06 PM Alex via ffmpeg-user <ffmpeg-user@ffmpeg.org> wrote:
I'm using ffplay as a live preview for my capture card, and I'm trying to use the yadif filter in mode 1 (send_field) to deinterlace the 59.94i input to 59.94 fps.
Using this command works as expected:
ffplay -f dshow -i video="SA7160 PCI, Analog 01 Capture" -vf yadif=1
However, if I try the same command with an audio device included, the frame rate appears capped at 29.97 fps as if I were using mode 0 (send_frame):
ffplay -f dshow -i video="SA7160 PCI, Analog 01 Capture":audio="SA7160 PCI, Analog 01 WaveIn" -vf yadif=1
Why does the filter only work properly when there is no audio device on the input? Is there a workaround for this or is it a bug?
Here's a screen recording as a demonstration: https://streamable.com/p0v9rk Console output is attached.
Alex_______________________________________________ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user
To unsubscribe, visit link above, or email ffmpeg-user-request@ffmpeg.org with subject "unsubscribe".
On Sunday, April 10th, 2022 at 1:18 AM, Roger Pack <rogerdpack2@gmail.com> wrote:
Input frame rate is still the same both ways?
Yes, 29.97 fps either way (didn't realize that it's covered in the video; the log files should have everything though). Alex
On Mon, Apr 11, 2022 at 2:50 PM Alex <osyu@pm.me> wrote:
On Sunday, April 10th, 2022 at 1:18 AM, Roger Pack <rogerdpack2@gmail.com> wrote:
Input frame rate is still the same both ways?
Yes, 29.97 fps either way (didn't realize that it's covered in the video; the log files should have everything though).
Can you replicate it not using dshow?
On Tuesday, April 19th, 2022 at 2:03 AM, Roger Pack <rogerdpack2@gmail.com> wrote:
Can you replicate it not using dshow?
Not in any way that I know of. I recorded raw output from the capture card (using -c copy) to an AVI, and when playing the file with ffplay the yadif filter works fine (also when piping the file through stdin).
Without yadif it comes in at 59.94i ? On Sat, Apr 23, 2022 at 1:36 PM Alex <osyu@pm.me> wrote:
On Tuesday, April 19th, 2022 at 2:03 AM, Roger Pack <rogerdpack2@gmail.com> wrote:
Can you replicate it not using dshow?
Not in any way that I know of. I recorded raw output from the capture card (using -c copy) to an AVI, and when playing the file with ffplay the yadif filter works fine (also when piping the file through stdin).
On Sat, Aug 14, 2021 at 6:06 AM Alex via ffmpeg-user <ffmpeg-user@ffmpeg.org> wrote:
I'm using ffplay as a live preview for my capture card, and I'm trying to use the yadif filter in mode 1 (send_field) to deinterlace the 59.94i input to 59.94 fps.
Using this command works as expected:
ffplay -f dshow -i video="SA7160 PCI, Analog 01 Capture" -vf yadif=1
However, if I try the same command with an audio device included, the frame rate appears capped at 29.97 fps as if I were using mode 0 (send_frame):
ffplay -f dshow -i video="SA7160 PCI, Analog 01 Capture":audio="SA7160 PCI, Analog 01 WaveIn" -vf yadif=1
Why does the filter only work properly when there is no audio device on the input? Is there a workaround for this or is it a bug?
It is issue how you use device.
Here's a screen recording as a demonstration: https://streamable.com/p0v9rk Console output is attached.
Alex_______________________________________________ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user
To unsubscribe, visit link above, or email ffmpeg-user-request@ffmpeg.org with subject "unsubscribe".
participants (3)
-
Alex -
Paul B Mahol -
Roger Pack