GNOME Bugzilla – Bug 760787
ksvideosrc: should map video/x-raw,format=(string)dvsd,... to video/dv
Last modified: 2016-05-22 19:44:04 UTC
Hi all, I am trying to display video from a firewire camera (Sony DCR-HC51) using gst-launch-1.0 on a Windows 10 system. gst-device-monitor-1.0 displays the following capabilities for my camera: Device found: name : Sony DV Camcorder class : Video/Source caps : video/x-raw, format=(string)dvsd, width=(int)720, height=(int)480, framerate=(fraction)30/1, pixel-aspect-ratio=(fraction)1/1; video/x-raw, format=(string)dvsd, width=(int)720, height=(int)576, framerate=(fraction)25/1, pixel-aspect-ratio=(fraction)12/11; video/x-raw, format=(string)dvsd; But I can't seem to find any element that has a sink that accepts video/x-raw, format=dvsd as input. dvsd seems to be a fourcc for DV: http://www.fourcc.org/dvsd/ ksvideosrc should be changed to map that fourcc to video/dv.
The question is if it's a DV system stream or elementary video stream.
My first guess would be that it produce the same thing as dv1394src (systemstream). Clearly this is not one of x-raw format. video/x-dv, format = { NTSC, PAL }, systemstream = true You can test this by replacing the caps using capssetter join=0 replace=1 caps=... ksvideosrc ! capssetter ... ! dvdemux ! ...
Walter, can you try what Nicolas suggested with capssetter?
I managed to get some output using capssetter, it was clearly output from the camera, but blocks of the image were misplaced (I don't mean interlacing, actual blocks about 1/4th of the size of the image in both x and y). Debug output of ksvideosrc showed some warnings about not being able to create ksClock and problems with timestamps? After a couple of tries ksvideosrc just kept on failing to initialize the camera. (Even after rebooting, unplugging and restarting the camera etc.) I gave up trying on Windows and moved the firewire controller to a linux box.
Sounds like we won't be able to get to the bottom of this then, thanks :)