ksvideosrc generates slow and dark input
Ilya Aleshkov
ilya.aleshkov at gmail.com
Tue Jan 8 14:25:17 UTC 2019
Hi Nicolas,
> Maybe do a quick test disabling frame
> synchronization ? (autovideosink sync=0)
Thank you! Unfortunately, it doesn't change anything.
Ilya
On Mon, Jan 7, 2019 at 8:28 PM Nicolas Dufresne <nicolas at ndufresne.ca>
wrote:
> Le lundi 07 janvier 2019 à 17:46 +0300, Ilya Aleshkov a écrit :
> > I'd like to provide more details:
> >
> > My test pipeline:
> >
> > gst-launch-1.0 ksvideosrc !
> video/x-raw,format=NV12,width=640,height=480,framerate=15/1 ! videoconvert
> !
>
> Could it be a timestamp issue, as per the caps, this resolution/rate
> should not be a problem. Maybe do a quick test disabling frame
> synchronization ? (autovideosink sync=0)
>
> >
> > gst-device-monitor-1.0 output about laptop’s front camera:
> >
> > Device found:
> > name : Intel(R) AVStream Camera 2500
> > class : Video/Source
> > caps : video/x-raw, format=(string)NV12, width=(int)1920,
> height=(int)1080, framerate=(fraction)[ 15/1, 30/1 ],
> pixel-aspect-ratio=(fraction)1/1;
> > video/x-raw, format=(string)IANV, width=(int)1920,
> height=(int)1080, framerate=(fraction)[ 15/1, 30/1 ],
> pixel-aspect-ratio=(fraction)1/1;
>
> I wonder what IANV color format is, this isn't mapped in libgstvideo
> for sure, so this format won't be usable.
>
> > video/x-raw, format=(string)NV12, width=(int)640,
> height=(int)360, framerate=(fraction)[ 15/1, 30/1 ],
> pixel-aspect-ratio=(fraction)1/1;
> > video/x-raw, format=(string)IANV, width=(int)640,
> height=(int)360, framerate=(fraction)[ 15/1, 30/1 ],
> pixel-aspect-ratio=(fraction)1/1;
> > video/x-raw, format=(string)NV12, width=(int)640,
> height=(int)480, framerate=(fraction)[ 15/1, 30/1 ],
> pixel-aspect-ratio=(fraction)1/1;
> > video/x-raw, format=(string)IANV, width=(int)640,
> height=(int)480, framerate=(fraction)[ 15/1, 30/1 ],
> pixel-aspect-ratio=(fraction)1/1;
> > video/x-raw, format=(string)NV12, width=(int)640,
> height=(int)640, framerate=(fraction)[ 15/1, 30/1 ],
> pixel-aspect-ratio=(fraction)12/11;
> > video/x-raw, format=(string)IANV, width=(int)640,
> height=(int)640, framerate=(fraction)[ 15/1, 30/1 ],
> pixel-aspect-ratio=(fraction)12/11;
> > video/x-raw, format=(string)NV12, width=(int)1280,
> height=(int)720, framerate=(fraction)[ 15/1, 30/1 ],
> pixel-aspect-ratio=(fraction)1/1;
> > video/x-raw, format=(string)IANV, width=(int)1280,
> height=(int)720, framerate=(fraction)[ 15/1, 30/1 ],
> pixel-aspect-ratio=(fraction)1/1;
> > video/x-raw, format=(string)NV12, width=(int)640,
> height=(int)360, framerate=(fraction)15/1, pixel-aspect-ratio=(fraction)1/1;
> > video/x-raw, format=(string)IANV, width=(int)640,
> height=(int)360, framerate=(fraction)15/1, pixel-aspect-ratio=(fraction)1/1;
> > video/x-raw, format=(string)NV12, width=(int)640,
> height=(int)480, framerate=(fraction)15/1, pixel-aspect-ratio=(fraction)1/1;
> > video/x-raw, format=(string)IANV, width=(int)640,
> height=(int)480, framerate=(fraction)15/1, pixel-aspect-ratio=(fraction)1/1;
> > video/x-raw, format=(string)NV12, width=(int)640,
> height=(int)640, framerate=(fraction)15/1,
> pixel-aspect-ratio=(fraction)12/11;
> > video/x-raw, format=(string)IANV, width=(int)640,
> height=(int)640, framerate=(fraction)15/1,
> pixel-aspect-ratio=(fraction)12/11;
> > video/x-raw, format=(string)NV12, width=(int)1280,
> height=(int)720, framerate=(fraction)15/1, pixel-aspect-ratio=(fraction)1/1;
> > video/x-raw, format=(string)IANV, width=(int)1280,
> height=(int)720, framerate=(fraction)15/1, pixel-aspect-ratio=(fraction)1/1;
> > video/x-raw, format=(string)NV12, width=(int)1920,
> height=(int)1080, framerate=(fraction)15/1,
> pixel-aspect-ratio=(fraction)1/1;
> > video/x-raw, format=(string)IANV, width=(int)1920,
> height=(int)1080, framerate=(fraction)15/1,
> pixel-aspect-ratio=(fraction)1/1;
> > gst-launch-1.0 ksvideosrc
> device-path="\\\\\?\\display\#int3470\#4\&5b5cba1\&0\&uid13424\#\{6994ad05-93ef-11d0-a3cc-00a0c9223196\}\\\{bf89b5a5-61f7-4127-a279-e187013d7caf\}"
> ! …
> >
> > Thanks,
> > Ilya
> >
> >
> > On Mon, Jan 7, 2019 at 2:23 PM Ilya Aleshkov <ilya.aleshkov at gmail.com>
> wrote:
> > > Hi,
> > >
> > > ksvideosrc generates extremally slow (1 fps!) and dark input for
> laptop’s integrated cameras (Microsoft Surface Pro 6). But for external
> webcams everything works great.
> > > Any suggestions?
> > >
> > > Thanks,
> > > Ilya
> >
> > _______________________________________________
> > gstreamer-devel mailing list
> > gstreamer-devel at lists.freedesktop.org
> > https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20190108/f9d55485/attachment.html>
More information about the gstreamer-devel
mailing list