I can’t reproduce this issue on xavier with DS6.1.1. here is my test detail.
execute “cat sample_720p.h264 sample_1080p_h264.h264 > 720p_1080p.h264” to make a local file.
execute “python3 deepstream_test_3.py -i file:///home/nvnv123/720p_1080p.h264 --file-loop”. all the saved jpg files are fine. the jpg resolution includes 720p and 1080p. here is the codedeepstream_test_3.py (16.1 KB)
@fanzh I’m not sure about the local video file. Maybe it could be working there.
But suppose let’s consider the same test setup you are using. There will be a point in which a transition happens in the pipeline from 720p to 1080p. Is there any way to detect that? I mean not checking the output image but rather some way to check within the nvurisrcbin plugin itself.
There is no update from you for a period, assuming this is not an issue any more. Hence we are closing this topic. If need further support, please open a new one. Thanks.
please refer to decoder_src_pad_event_probe in opt\nvidia\deepstream\deepstream-6.4\sources\apps\audio_apps\deepstream_asr_app\deepstream_asr_pipeline.c. you can add a event probe on decoder plugin 's src. when output resolution changed, the probe will get GST_EVENT_CAPS event, then you can get the new resolution.