-
Notifications
You must be signed in to change notification settings - Fork 14
Description
I successfully play a videousing the library on x86 hardware, but failed on a Raspberry Pi 4.
RaspbianOS lite Buster. (based on Debian 10 server, no gui).
I can compile and run the example with no errors, but there are not any video output
I read #7 and tested gst-launch:
gst-launch-1.0 playbin uri=file:///home/pi/media/printgwmm.mp4
and it failed.
But using kmmal:
gst-launch-1.0 playbin uri=file:///home/pi/media/printgwmm.mp4 video-sink="kmssink"
it works.
The logs for ./test-server -f pl.txt --gst-debug-level=4 are:
http://sprunge.us/jYOssh
I assume the library uses autovideosink and the problem is that is selecting other sink like ximagesink or glimagesink that is not working with my setup.
So my specific question is, how can I change the sink in the code? Is hardcoded? I can't find any option on the command line arguments.
Or what are your recommendation?
Thanks in advance.