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 683884 - Transform could not transform video
Transform could not transform video
Status: RESOLVED INVALID
Product: GStreamer
Classification: Platform
Component: dont know
0.10.x
Other Linux
: Normal normal
: NONE
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2012-09-12 18:37 UTC by bugzilla
Modified: 2012-10-17 10:51 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
debug log (564.35 KB, application/zip)
2012-09-13 17:28 UTC, bugzilla
Details

Description bugzilla 2012-09-12 18:37:54 UTC
gst-launch -v --gst-debug-level=2 decklinksrc mode=11  ! ffmpegcolorspace ! videoscale ! videorate ! video/x-raw-yuv,format=\(fourcc\)YUY2, framerate=\(fraction\)30000/1001, width=640, height=480 ! ffmpegcolorspace ! v4l2sink device=/dev/video0
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
0:00:00.260784153 11321       0xcd3290 WARN                     bin gstbin.c:2399:gst_bin_do_latency_func:<pipeline0> failed to query latency
New clock: GstSystemClock
/GstPipeline:pipeline0/GstDecklinkSrc:decklinksrc0.GstPad:videosrc: caps = video/x-raw-yuv, format=(fourcc)UYVY, width=(int)1920, height=(int)1080, framerate=(fraction)30000/1001, interlaced=(boolean)true, pixel-aspect-ratio=(fraction)1/1, color-matrix=(string)hdtv, chroma-site=(string)mpeg2
0:00:01.235091658 11321       0xa52720 WARN           basetransform gstbasetransform.c:1288:gst_base_transform_setcaps:<ffmpegcsp0> transform could not transform video/x-raw-yuv, format=(fourcc)UYVY, width=(int)1920, height=(int)1080, framerate=(fraction)30000/1001, interlaced=(boolean)true, pixel-aspect-ratio=(fraction)1/1, color-matrix=(string)hdtv, chroma-site=(string)mpeg2 in anything we support
ERROR: from element /GstPipeline:pipeline0/GstDecklinkSrc:decklinksrc0: Internal GStreamer error: negotiation problem.  Please file a bug at http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer.
Additional debug info:
gstdecklinksrc.cpp(1248): gst_decklink_src_task (): /GstPipeline:pipeline0/GstDecklinkSrc:decklinksrc0
Execution ended after 974819394 ns.
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
/GstPipeline:pipeline0/GstDecklinkSrc:decklinksrc0.GstPad:videosrc: caps = NULL
Setting pipeline to NULL ...
Comment 1 Tim-Philipp Müller 2012-09-12 20:18:32 UTC
You're using GStreamer 0.10.x, not 0.11.x

What's your pipeline ?

Could you attach a GST_DEBUG=*:5 gst-launch ... 2>dbg.log  log (possibly gzipped)?
Comment 2 bugzilla 2012-09-13 17:28:19 UTC
Created attachment 224248 [details]
debug log
Comment 3 Tim-Philipp Müller 2012-10-17 10:51:58 UTC
> gst-launch -v --gst-debug-level=2 decklinksrc mode=11  ! ffmpegcolorspace !
> videoscale ! videorate ! video/x-raw-yuv,format=\(fourcc\)YUY2,
> framerate=\(fraction\)30000/1001, width=640, height=480 ! ffmpegcolorspace !
> v4l2sink device=/dev/video0

The bug is with your pipeline.

You specify a framerate of 30000/1001, while v4l2sink returns framerate=30/1