MediaPlayer / gstreamer

Post

Posted
Rating:
#1 (In Topic #1380)
Avatar
Administrator
sholzy is in the usergroup ‘unknown’
I'm getting closer to getting sound to work from an RTSP stream from my security cameras.

Can someone tell me why this…

Code

gst-launch-1.0 rtspsrc location="rtsp://192.168.XXX.XXX:554/h264?username=XXXXX&password=XXXXXX" ! rtph264depay ! h264parse ! decodebin ! autovideosink
will run as root, but not as a normal user?

The past several days I've been trying different gstreamer elements as a normal user but they've always just died. Tonight I mistakenly run one as root and it didn't die, but continued to run with a timer, so I'm assuming  those gstreamer elements are valid?

sholzy
Gambas One Site Director

To report bugs in the Gambas IDE:
Official Gambas Bug Tracker
Online now: No Back to the top

Post

Posted
Rating:
#2
Avatar
Administrator
sholzy is in the usergroup ‘unknown’
When I run as a normal user this is the result.

Code

Progress: (request) Sent PLAY request
Redistribute latency...
Redistribute latency...
Redistribute latency...
Redistribute latency...
Redistribute latency...
Redistribute latency...
Redistribute latency...
Redistribute latency...
Redistribute latency...
X Error of failed request:  BadAlloc (insufficient resources for operation)
  Major opcode of failed request:  150 (XVideo)
  Minor opcode of failed request:  19 ()
  Serial number of failed request:  120
  Current serial number in output stream:  121

sholzy
Gambas One Site Director

To report bugs in the Gambas IDE:
Official Gambas Bug Tracker
Online now: No Back to the top
1 guest and 0 members have just viewed this.