[SOLVED] How to pass property to nvgstplayer?

Hello,

I would like to run nvgstplayer with the ‘force-aspect-ratio’ property, I tried:

/usr/bin/nvgstplayer-1.0 -i video.mp4 --svs='nveglglessink force-aspect-ratio=false'

But it doesn’t work. The following gst-launch command is working:

gst-launch-1.0 filesrc location=video.mp4 ! qtdemux name=demux ! h264parse ! omxh264dec ! nveglglessink force-aspect-ratio=false

Does anyone know how to pass parameters to nvgstplayer?

Thanks,

Christophe

This doesn’t give me an error, but whether or not the “force-aspect-ratio” property is working I can’t tell.

/usr/bin/nvgstplayer-1.0 -i video.mp4 --svs='nveglglessink' --svc='force-aspect-ratio=false'

I found the solution (need to use ‘#’ to separate properties):

/usr/bin/nvgstplayer-1.0 --svs="nveglglessink# force-aspect-ratio=false" -i video.mp4

Thanks,

Christophe