Internal data stream error

Nick Kitchel nkitchel at ihmc.org
Wed Feb 8 19:44:19 UTC 2023


Hello,

I'm trying to get decklinkvideosrc to work with x264enc and mp4mux but seem to be getting stuck. I've been messing around with the caps but can't get it working correctly.

When I run this command line: gst-launch-1.0 decklinkvideosrc connection=sdi ! videoconvert ! x264enc ! video/x-h264, width=720, height=486, framerate=30000/1001 ! mp4mux ! filesink location=decklinkCapture.mov -v

I get this output :

Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
/GstPipeline:pipeline0/GstDecklinkVideoSrc:decklinkvideosrc0: hw-serial-number =
Setting pipeline to PLAYING ...
New clock: GstSystemClock
/GstPipeline:pipeline0/GstDecklinkVideoSrc:decklinkvideosrc0.GstPad:src: caps = video/x-raw, width=(int)720, height=(int)486, pixel-aspect-ratio=(fraction)10/11, interlace-mode=(string)interleaved, framerate=(fraction)30000/1001, field-order=(string)bottom-field-first, format=(string)UYVY, colorimetry=(string)bt601, chroma-site=(string)mpeg2
/GstPipeline:pipeline0/GstVideoConvert:videoconvert0.GstPad:src: caps = video/x-raw, width=(int)720, height=(int)486, framerate=(fraction)30000/1001, format=(string)Y42B, pixel-aspect-ratio=(fraction)10/11, interlace-mode=(string)interleaved, field-order=(string)bottom-field-first
Redistribute latency...
/GstPipeline:pipeline0/GstX264Enc:x264enc0.GstPad:sink: caps = video/x-raw, width=(int)720, height=(int)486, framerate=(fraction)30000/1001, format=(string)Y42B, pixel-aspect-ratio=(fraction)10/11, interlace-mode=(string)interleaved, field-order=(string)bottom-field-first
/GstPipeline:pipeline0/GstVideoConvert:videoconvert0.GstPad:sink: caps = video/x-raw, width=(int)720, height=(int)486, pixel-aspect-ratio=(fraction)10/11, interlace-mode=(string)interleaved, framerate=(fraction)30000/1001, field-order=(string)bottom-field-first, format=(string)UYVY, colorimetry=(string)bt601, chroma-site=(string)mpeg2
Redistribute latency...
/GstPipeline:pipeline0/GstDecklinkVideoSrc:decklinkvideosrc0: signal = false
WARNING: from element /GstPipeline:pipeline0/GstDecklinkVideoSrc:decklinkvideosrc0: No signal
Additional debug info:
gstdecklinkvideosrc.cpp(1118): gst_decklink_video_src_create (): /GstPipeline:pipeline0/GstDecklinkVideoSrc:decklinkvideosrc0:
No input source was detected - video frames invalid
/GstPipeline:pipeline0/GstDecklinkVideoSrc:decklinkvideosrc0.GstPad:src: caps = video/x-raw, width=(int)1280, height=(int)720, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, framerate=(fraction)60000/1001, format=(string)UYVY, colorimetry=(string)bt709, chroma-site=(string)mpeg2
Redistribute latency...
/GstPipeline:pipeline0/GstDecklinkVideoSrc:decklinkvideosrc0: signal = true
INFO:
gstdecklinkvideosrc.cpp(1125): gst_decklink_video_src_create (): /GstPipeline:pipeline0/GstDecklinkVideoSrc:decklinkvideosrc0:
Input source detected
ERROR: from element /GstPipeline:pipeline0/GstDecklinkVideoSrc:decklinkvideosrc0: Internal data stream error.
Additional debug info:
gstbasesrc.c(3072): gst_base_src_loop (): /GstPipeline:pipeline0/GstDecklinkVideoSrc:decklinkvideosrc0:
streaming stopped, reason not-negotiated (-4)
Execution ended after 0:00:00.145124701
Setting pipeline to NULL ...
Freeing pipeline ...

I'm not sure where the caps are going wrong. Any help would be appreciated. Also is there any place where I can see what encoders go with specific muxers? It seems I just have to google the element and hope the results is good enough to show me what else I can use with it.

Thanks,
Nick
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20230208/ee32b7c2/attachment.htm>


More information about the gstreamer-devel mailing list