Saving nvcompositor layouts as .ogg format

Hi,

I’m trying to save an nvcompositor layout into an .ogg video and when i try to save the video under .ogg format, i get the error below.

Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
ERROR: from element /GstPipeline:pipeline0/GstImageFreeze:imagefreeze0: Internal data stream error.
Additional debug info:
gstimagefreeze.c(851): gst_image_freeze_src_loop (): /GstPipeline:pipeline0/GstImageFreeze:imagefreeze0:
streaming stopped, reason not-negotiated (-4)
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
Freeing pipeline ...

The P-Line as follows

gst-launch-1.0 -e videotestsrc pattern=black ! video/x-raw,width=1920,height=270 ! nvvidconv ! queue ! tee name=t5 ! queue ! comp1.sink_0 filesrc location= /home/usr/Downloads/white.png ! image/png,width=960,height=270,framerate=0/1,pixel-aspect-ratio=1/1 ! pngdec ! videoconvert ! imagefreeze ! video/x-raw,framerate=30/1 ! nvvidconv ! 'video/x-raw(memory:NVMM),width=960,height=270,format=NV12,pixel-aspect-ratio=1/1' ! queue !  comp1.sink_1 filesrc location=/home/usr/Downloads/red.png ! image/png,width=960,height=270,framerate=0/1,pixel-aspect-ratio=1/1 ! pngdec ! videoconvert ! imagefreeze ! video/x-raw,framerate=30/1 ! nvvidconv ! 'video/x-raw(memory:NVMM),width=960,height=270,format=NV12,pixel-aspect-ratio=1/1' ! queue ! comp1.sink_2 nvcompositor name=comp1 sink_0::width=0 sink_0::height=0 sink_0::ypos=0 sink_0::xpos=0  sink_1::xpos=960  sink_1::ypos=0  sink_1::width=960 sink_1::height=270 sink_2::xpos=0 sink_2::ypos=0 sink_2::width=960 sink_2::height=270  !  videoconvert ! videorate ! theoraenc ! oggmux ! filesink location="test_____test.ogg"

You may try instead (you would adjust paths to pictures):

gst-launch-1.0 \
videotestsrc pattern=black ! video/x-raw,width=1920,height=270 ! nvvidconv ! queue ! tee name=t5 ! queue ! comp1.sink_0 \
filesrc location= /home/nvidia/tmp/white_960x270.png ! image/png,width=960,height=270,framerate=0/1,pixel-aspect-ratio=1/1 ! pngdec ! videoconvert ! imagefreeze ! video/x-raw,framerate=30/1 ! nvvidconv ! 'video/x-raw(memory:NVMM),width=960,height=270,format=NV12,pixel-aspect-ratio=1/1' ! queue !  comp1.sink_1 \
filesrc location= /home/nvidia/tmp/red_960x270.png ! image/png,width=960,height=270,framerate=0/1,pixel-aspect-ratio=1/1 ! pngdec ! videoconvert ! imagefreeze ! video/x-raw,framerate=30/1 ! nvvidconv ! 'video/x-raw(memory:NVMM),width=960,height=270,format=NV12,pixel-aspect-ratio=1/1' ! queue ! comp1.sink_2 \
nvcompositor name=comp1 \
  sink_0::xpos=0    sink_0::ypos=0  sink_0::width=1920 sink_0::height=270 \
  sink_1::xpos=960  sink_1::ypos=0  sink_1::width=960  sink_1::height=270 \
  sink_2::xpos=0    sink_2::ypos=0  sink_2::width=960  sink_2::height=270 \
 ! nvvidconv ! theoraenc ! oggmux ! filesink location=test.ogg

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.