After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 720350 - dvbsrc: Add DVB-S2 support to dvbsrc plugin
dvbsrc: Add DVB-S2 support to dvbsrc plugin
Status: RESOLVED DUPLICATE of bug 709414
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
git master
Other Linux
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
: 720351 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2013-12-12 20:36 UTC by Gabriel Strimtu
Modified: 2013-12-19 12:19 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Proposed patch (git diff origin) (7.81 KB, patch)
2013-12-12 20:36 UTC, Gabriel Strimtu
none Details | Review

Description Gabriel Strimtu 2013-12-12 20:36:35 UTC
Created attachment 264099 [details] [review]
Proposed patch (git diff origin)

Enable "dvbsrc" plugin to tune into a DVB-S2 signal by adding two new properties according to new Linux DVB S2API(version 5.10):

- DVBSRC_DELIVERY_SYSTEM
- DVBSRC_ROLLOFF


Reference:

http://linuxtv.org/downloads/v4l-dvb-apis/FE_GET_SET_PROPERTY.html#DTV-DELIVERY-SYSTEM


Files changed: gstdvbsrc.c, gstdvbsrc.h

Testing environment:

  Lubuntu, 3.8.0-32-generic kernel

  Multimedia controller: Philips Semiconductors SAA7146 (rev 01)
  Subsystem: Technotrend Systemtechnik GmbH S2-3200
  Kernel driver in use: budget_ci dvb

  GStreamer version: 1.3.0.1

  Astra 19 satellite 

Python testing output:

tune to: [HiB, v], mod:qpsk,  {'symbol-rate': 27500, 'polarity': 'v', 'modulation': 'qpsk', 'frequency': 11856000, 'delivery-system': 'dvb-s'}
===> Lock:  True

tune to: [LoB, H], mod:8PSK,  {'symbol-rate': 22000, 'polarity': 'H', 'modulation': '8PSK', 'frequency': 10773250, 'delivery-system': 'dvb-s2'}
===> Lock:  True

tune to: [LoB, H], mod:8PSK,  {'symbol-rate': 22000, 'polarity': 'H', 'frequency': 10773250, 'delivery-system': 'dvb-s2', 'modulation': '8PSK',  'rolloff': 20}
===> Lock:  True


gst-launch example:

gst-launch-1.0  dvbsrc  polarity="h" frequency=10773250 modulation=8PSK symbol-rate=22000  delivery-system=dvb-s2 ! tsdemux name=demux program-number=21100 ! video/x-h264 ! queue2 ! h264parse ! avdec_h264 ! videoconvert ! xvimagesink demux. ! audio/x-ac3 ! queue2  ! decodebin !  audioresample ! audioconvert ! alsasink
Comment 1 Gabriel Strimtu 2013-12-12 20:48:30 UTC
*** Bug 720351 has been marked as a duplicate of this bug. ***
Comment 2 Sebastian Dröge (slomo) 2013-12-14 10:09:15 UTC
Also a duplicate of bug #709414 unfortunately. Can you check if the patch there does all you need, or otherwise provide a new patch on top of that?

*** This bug has been marked as a duplicate of bug 709414 ***
Comment 3 Gabriel Strimtu 2013-12-19 12:19:01 UTC
(In reply to comment #2)
> Also a duplicate of bug #709414 unfortunately. Can you check if the patch there
> does all you need, or otherwise provide a new patch on top of that?
> 
> *** This bug has been marked as a duplicate of bug 709414 ***


I'm sorry, was my fault, I didn't checked for the latest summited patch. Anyway, these patches are better.

After both patches was applied, I've tested the dvbsrc and dvbbasebin plugins and I got DVB-S2 signal on Astra 19.2 and Hotbird 13. Unfortunately, I can't tune on
DVB-S2 multi-streams transponder due to my hardware limitation, so the "stream-id" properties was not tested.

The test case output was attached to the main thread:
https://bugzilla.gnome.org/show_bug.cgi?id=709414