After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 760787 - ksvideosrc: should map video/x-raw,format=(string)dvsd,... to video/dv
ksvideosrc: should map video/x-raw,format=(string)dvsd,... to video/dv
Status: RESOLVED INCOMPLETE
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
1.7.1
Other Windows
: Normal normal
: NONE
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2016-01-18 14:42 UTC by walter.horsten
Modified: 2016-05-22 19:44 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description walter.horsten 2016-01-18 14:42:35 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.
Comment 1 Sebastian Dröge (slomo) 2016-01-18 14:58:05 UTC
The question is if it's a DV system stream or elementary video stream.
Comment 2 Nicolas Dufresne (ndufresne) 2016-01-18 16:11:23 UTC
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 ! ...
Comment 3 Sebastian Dröge (slomo) 2016-01-19 08:13:51 UTC
Walter, can you try what Nicolas suggested with capssetter?
Comment 4 walter.horsten 2016-01-22 21:52:53 UTC
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.
Comment 5 Tim-Philipp Müller 2016-05-22 19:44:04 UTC
Sounds like we won't be able to get to the bottom of this then, thanks :)