Re: Webcam live streaming on a DLNA TV?



Hi,

Hi,
  Is there any other option to manually instruct Rygel how to feed the
DIDLE-Lite xml with other info such as:

    <res size="18047920" duration="0:02:33.280" bitrate="117744"
sampleFrequency="48000" nrAudioChannels="2" resolution="640x360"  ...

(ok, I know this is my responsibility to add consistent data  )

The gst-launch plugin is very limited. I'm afraid that is currently not possible without code. You can start with

https://gitlab.gnome.org/GNOME/rygel/blob/master/examples/gi/example-server.py

and add the pseudo-uri like that:
i.add_uri('gst-launch://v4l2src device=/dev/video0 ! avenc_mpeg2video ! mpegtsmux')
i.set_property('dlna-profile', 'MPEG_TS_SD_EU_ISO')
i.set_property('audio-channels', 2)
i.set_property('sample-freq', 48000)
i.set_property('bitrate', 117744)
i.set_property('width', 640)
i.set_property('height', 360)

etc.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]