Giter VIP home page Giter VIP logo

gst-bda's Introduction

GStreamer BDA capture plugin

This is a Windows BDA capture plugin for GStreamer. It can be used capture MPEG-2 transport stream from BDA devices.

Supported input devices

  • DVB-C (cable)
  • DVB-T (terrestrial)
  • DVB-S (satellite), untested
  • ATSC, untested

Build requirements

Sample pipelines

Plays a random program from a DVB-C input:

gst-launch-1.0 bdasrc device=0 frequency=154000 symbol-rate=6900 modulation="QAM 128" ! decodebin name=dbin ! queue ! autovideosink dbin. ! queue ! audioconvert ! autoaudiosink

Plays program 49 from a DVB-C input:

gst-launch-1.0 bdasrc device=1 frequency=154000 symbol-rate=6900 modulation="QAM 128" ! tsdemux program-number=49 name=demux demux. ! "video/mpeg" ! decodebin ! queue ! autovideosink demux. ! "audio/mpeg" ! queue ! decodebin ! audioconvert ! autoaudiosink

gst-bda's People

Contributors

raipe avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

lcksk

gst-bda's Issues

Incorrect stopping

When stopping the pipeline that contains bdasrc element Gstreamer freezes on pipeline.SetState(State.Null) (this is for Gstreamer-sharp, but the same is for console Gstreamer too). And it does not stop at all. (I was waiting for 10 minutes)

Freezing with incorrect frequency

Specification of frequency that does not contain signal in DVB-T parameters leads to freeze at "Freeing pipeline". When the command is interrupted by me, the DVB-T receiver becomes unavailable and can't open the stream at correct frequency.

pipeline example:
gst-launch-1.0 bdasrc device=0 frequency=356000 ! decodebin name=dbin ! queue ! autovideosink dbin. ! queue ! audioconvert ! autoaudiosink

output:
Setting pipeline to PAUSED ...
ERROR: Pipeline doesn't want to pause.
Setting pipeline to NULL ...
Freeing pipeline ...

Possible memory leak

Hi,
I am experience a possible memory leak with the bdasrc plugin (DVB-T device). I'm testing the following pipeline: bdasrc frequency=350000 ! fakesink

I'm stopping it as following:
pipeline.SetState(State.Null);
pipeline.Unref();

After starting the pipeline unmanaged memory usage increases by 10-15 MB (I'm testing it in .NET) and is not released when stopping the pipeline. Thereafter, if I continue starting/stopping pipeline, memory usage is increased by same 10-15 MB each time. Test with videotestsrc instead of bdasrc correctly releases the memory.

Memory increases even if the tuning frequency is incorrect one (i.e. no media stream on that frequency)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.