Pipeline hangs

Armin Erkert armin.erkert at rolmail.net
Fri Feb 17 22:55:12 UTC 2023


Hi Michael,

that is the Output:

Start feeding
0:00:12.552160400 21000 0000019E5DBF7180 WARN                basesink  
gstbasesink.c:1258:gst_base_sink_query_latency:<mySink> warning:  
Pipeline construction is invalid, please add queues.
0:00:12.559197700 21000 0000019E5DBF7180 WARN                basesink  
gstbasesink.c:1258:gst_base_sink_query_latency:<mySink> warning: Not  
enough buffering available for  the processing deadline of  
0:00:00.020000000, add enough queues to buffer  0:00:00.020000000  
additional data. Shortening processing latency to 0:00:00.000000000.
Stop feeding

When I insert a queue, there are no more warnings, but the  
NewVideoSample of the appsink isn't called

appsrc name=mySource caps=video/x-raw,width=1920,height=1080,format=RGBP
! videoconvert
! video/x-raw,format=NV12
! nvh265enc preset=2
! video/x-h265
! h265parse
! queue
! nvh265dec
! videoconvert
! video/x-raw,format=RGBP
! appsink name=mySink


any idea ?



Zitat von Michael Gruner <michael.gruner at ridgerun.com>:

> Hey Armin,
>
> The very first place to look for clues is the debug log. Please  
> activate the debug to show warnings, at least, and share back the  
> output.
>
> GST_DEBUG=WARNINGS ./app
>
> Michael
>
>> On 17 Feb 2023, at 14:41, Armin Erkert via gstreamer-devel  
>> <gstreamer-devel at lists.freedesktop.org> wrote:
>>
>>
>> Hi,
>>
>> I have a problem with my pipeline:
>>
>> appsrc name=mySource caps=video/x-raw,width=1920,height=1080,format=RGBP
>> ! videoconvert
>> ! video/x-raw,format=NV12
>> ! nvh265enc preset=2
>> ! video/x-h265
>> ! h265parse
>> ! nvh265dec
>> ! videoconvert
>> ! video/x-raw,format=RGBP
>> ! appsink name=mySink
>>
>> which is calling about 10 times the pushData Callback, but never  
>> the NewVideoSample of the appsink.
>>
>>
>> but the pipeline, where i changed only the source at the begining:
>>
>> videotestsrc pattern=ball
>> ! video/x-raw,width=1920,height=1080,framerate=50/1,format=RGBP
>> ! videoconvert
>> ! video/x-raw,format=NV12
>> ! nvh265enc preset=2
>> ! video/x-h265
>> ! h265parse
>> ! nvh265dec
>> ! videoconvert
>> ! video/x-raw,format=RGBP
>> ! appsink name=mySink
>>
>>
>> is working, and also the pipeline without the encode und decode part:
>>
>> appsrc  name=mySource caps=video/x-raw,width=1920,height=1080,format=RGBP
>> ! appsink name=mySink
>>
>> is working
>>
>>
>> Can anyone help me ?
>>
>> Regards
>> Armin
>>



--------------------------------
Ing. Erkert Armin
Mittelstrich 9
I-39050 Tiers (BZ)

Email: armin.erkert at rolmail.net
Tel.:  +39 349 4385335
WWW:   www.erkert.it



More information about the gstreamer-devel mailing list