change property mode on decklinkvideosrc while playing
jeffanderson
jeffrey.anderson at echostar.com
Mon Sep 21 13:11:01 PDT 2015
I am unable to get video to start playing the second time, when I go from
NULL(Default)->PLAYING->READY->PLAYING. I tried doing this without changing
any properties of the elements in the pipeline. However the step from READY
to PLAYING fails, it returns GST_STATE_CHANGE_ASYNC, which I then use
gst_element_get_state with an infinite timeout. This returns
GST_STATE_CHANGE_FAILURE.
Do I need to do anything to the pipeline to get this to work?
Below is the output from GST_DEBUG=decklink*:6 after setting state to
playing the second time.
setting state: GST_STATE_PLAYING
0:00:10.119441306 ^[[336m 2195^[[00m 0x24e5c90 ^[[33;01mLOG ^[[00m
^[[00m decklink
gstdecklink.cpp:936:gst_decklink_clock_get_internal_time:<
GstDecklinkInputClock>^[[00m result 0:00:00.000000000 time
99:99:99.999999999 last time 0:00:00.000000000 offset 0:00:00.000000000
start time 99:99:99.999999999
(ret: 0xffffffff)
0:00:10.119516827 ^[[336m 2195^[[00m 0x24e5c90 ^[[37mDEBUG ^[[00m
^[[00m decklinkvideosrc
gstdecklinkvideosrc.cpp:687:gst_decklink_video_src_start_stre
ams:<source>^[[00m Starting streams
0:00:10.119561990 ^[[336m 2195^[[00m 0x24e5c90 ^[[33;01mLOG ^[[00m
^[[00m decklink
gstdecklink.cpp:936:gst_decklink_clock_get_internal_time:<
GstDecklinkInputClock>^[[00m result 0:00:00.000000000 time 2:53:48.397127082
last time 0:00:00.000000000 offset 0:00:00.000000000 start time
2:53:48.397127082 (
ret: 0x00000000)
0:00:10.119580858 ^[[336m 2195^[[00m 0x24e5c90 ^[[33;01mLOG ^[[00m
^[[00m decklink
gstdecklink.cpp:936:gst_decklink_clock_get_internal_time:<
GstDecklinkInputClock>^[[00m result 0:00:00.000022422 time 2:53:48.397149504
last time 0:00:00.000000000 offset 0:00:00.000000000 start time
2:53:48.397127082 (
ret: 0x00000000)
GST_STATE_CHANGE_ASYNC
handeling state
0:00:10.119703435 ^[[336m 2195^[[00m 0x7fb12c020590 ^[[37mDEBUG ^[[00m
^[[00m decklinkvideosrc
gstdecklinkvideosrc.cpp:262:gst_decklink_video_src_set_caps:<
source>^[[00m Setting caps video/x-raw, format=(string)UYVY,
width=(int)1920, height=(int)1080, framerate=(fraction)30000/1001,
interlace-mode=(string)interleav
ed, pixel-aspect-ratio=(fraction)1/1, colorimetry=(string)bt709,
chroma-site=(string)mpeg2
0:00:10.120436367 ^[[336m 2195^[[00m 0x7fb12c020590 ^[[33;01mWARN ^[[00m
^[[00m decklinkvideosrc
gstdecklinkvideosrc.cpp:331:gst_decklink_video_src_set_cap
s:<source>^[[00m Failed to enable video input
GST_STATE_CHANGE_FAILURE
--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/change-property-mode-on-decklinkvideosrc-while-playing-tp4673758p4673762.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.
More information about the gstreamer-devel
mailing list