[Newbie] gst-launch1.0 - trying to get DVB-T working.

Tim Müller tim at centricular.com
Sun Nov 24 11:47:48 PST 2013


On Sun, 2013-11-24 at 05:07 -0800, soylent wrote:

Hi,

> I'm getting difficulties settings the caps ... i neet it to have RGB raw
> audio/video in WebcamStudio.
> 
> I try this one:
> 
> gst-launch-1.0 --gst-debug-level=4 dvbsrc adapter=0 inversion=AUTO
> modulation=AUTO trans-mode=AUTO bandwidth=8 frequency=514000000
> pids=423:433:443 code-rate-lp=AUTO code-rate-hp=AUTO guard=AUTO
> hierarchy=AUTO ! tsdemux name=demux demux. ! queue max-size-buffers=0
> max-size-time=0 ! decodebin ! videoconvert ! videoscale ! videorate !
> video/x-raw, framerate=25/1, width=320, height=240, depth=24, bpp=24,
> blue_mask=255, green_mask=65280, red_mask=16711680 ! xvimagesink sync=false
> demux. ! queue max-size-buffers=0 max-size-time=0 ! decodebin ! audioconvert
> ! audioresample !
> audio/x-raw,rate=44100,channels=2,signed=true,width=16,depth=16,endianness=4321
> ! alsasink sync=false
> 
> but i got an error (sorry too debug messages start confusing me) ...

The raw audio/video caps have changed quite a bit from 0.10 to 1.0, you
need to adjust more than just change video/x-raw-* to video/x-raw.
Generally a lot of these fields like depth/bpp/masks is now expressed as
part of a format string field. Same for audio, instead of
signed/width/depth/endianness there's a single format field now.

Try:

 video/x-raw,format=RGB,width=320,height=240

and

 audio/x-raw,format=S16BE,channels=2,rate=44100

(are you sure you want BE and not LE?)

Cheers
 -Tim

-- 
Tim Müller, Centricular Ltd - http://www.centricular.com






More information about the gstreamer-devel mailing list