gst-launch from 1.2.4 to 1.5.0 & 1.4.3 dvbsrc pipe doesn't works anymore

soylent soylent.tv at gmail.com
Sat Feb 14 11:52:53 PST 2015


Hi,
 after several searches and tests I only found a workaround that let the
pipeline almost works:

If I run the pipeline:

$ gst-launch-1.0 --gst-debug-level=3 dvbsrc adapter=0 delsys=DVB-T
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 ! mpegvideoparse ! mpeg2dec !
videoconvert ! videoscale ! videorate ! video/x-raw, format=RGB, width=320,
height=240, framerate=25/1 ! videoconvert ! xvimagesink sync=false demux. !
queue max-size-buffers=0 max-size-time=0 ! mpegaudioparse ! flump3dec !
audioresample ! audio/x-raw, format=S16LE, channels=2, rate=22050 !
audioconvert ! alsasink sync=false

I get the same error ...

Setting pipeline to PAUSED ...
0:00:00.051388977 24781      0x17e5670 WARN                  dvbsrc
gstdvbsrc.c:1152:gst_dvbsrc_open_frontend:<dvbsrc0> error: Cannot enumerate
delivery systems from frontend device "/dev/dvb/adapter0/frontend0".
0:00:00.051427127 24781      0x17e5670 WARN                  dvbsrc
gstdvbsrc.c:1152:gst_dvbsrc_open_frontend:<dvbsrc0> error: system error:
Resource temporarily unavailable
Pipeline is live and does not need PREROLL ...
0:00:00.617624387 24781      0x17a0a30 FIXME                default
gstutils.c:3697:gst_pad_create_stream_id_internal:<dvbsrc0:src> Creating
random stream-id, consider implementing a deterministic way of creating a
stream-id
ERROR: from element /GstPipeline:pipeline0/GstDvbSrc:dvbsrc0: Cannot
enumerate delivery systems from frontend device
"/dev/dvb/adapter0/frontend0".
Additional debug info:
gstdvbsrc.c(1152): gst_dvbsrc_open_frontend ():
/GstPipeline:pipeline0/GstDvbSrc:dvbsrc0:
system error: Resource temporarily unavailable
ERROR: pipeline doesn't want to preroll.
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
Freeing pipeline ...

Then if I try to set delsys=ATSC or delsys=DVB-T2 or any other format that
my card doesn't supports, I got obviously an error:

$ gst-launch-1.0 --gst-debug-level=3 dvbsrc adapter=0 delsys=ATSC
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 ! mpegvideoparse ! mpeg2dec !
videoconvert ! videoscale ! videorate ! video/x-raw, format=RGB, width=320,
height=240, framerate=25/1 ! videoconvert ! xvimagesink sync=false demux. !
queue max-size-buffers=0 max-size-time=0 ! mpegaudioparse ! flump3dec !
audioresample ! audio/x-raw, format=S16LE, channels=2, rate=22050 !
audioconvert ! alsasink sync=false

Setting pipeline to PAUSED ...
0:00:00.121543959 24790      0x10ad670 WARN                  dvbsrc
gstdvbsrc.c:1152:gst_dvbsrc_open_frontend:<dvbsrc0> error: Cannot enumerate
delivery systems from frontend device "/dev/dvb/adapter0/frontend0".
0:00:00.121585901 24790      0x10ad670 WARN                  dvbsrc
gstdvbsrc.c:1152:gst_dvbsrc_open_frontend:<dvbsrc0> error: system error:
Resource temporarily unavailable
0:00:00.158562693 24790      0x10ad670 WARN                  dvbsrc
gstdvbsrc.c:1719:gst_dvbsrc_tune_fe:<dvbsrc0> Delsys fail 11
0:00:00.158593336 24790      0x10ad670 WARN                  dvbsrc
gstdvbsrc.c:1941:gst_dvbsrc_tune:<dvbsrc0> Unable to tune frontend
0:00:00.158605867 24790      0x10ad670 ERROR                 dvbsrc
gstdvbsrc.c:1503:gst_dvbsrc_start:<dvbsrc0> Not able to lock on to the dvb
channel
0:00:00.158624603 24790      0x10ad670 WARN                 basesrc
gstbasesrc.c:3716:gst_base_src_activate_push:<dvbsrc0> Failed to start in
push mode
0:00:00.158636528 24790      0x10ad670 WARN                GST_PADS
gstpad.c:1084:gst_pad_set_active:<dvbsrc0:src> Failed to activate pad
ERROR: Pipeline doesn't want to pause.
ERROR: from element /GstPipeline:pipeline0/GstDvbSrc:dvbsrc0: Cannot
enumerate delivery systems from frontend device
"/dev/dvb/adapter0/frontend0".
Additional debug info:
gstdvbsrc.c(1152): gst_dvbsrc_open_frontend ():
/GstPipeline:pipeline0/GstDvbSrc:dvbsrc0:
system error: Resource temporarily unavailable
Setting pipeline to NULL ...
Freeing pipeline ...

Now if i run the first pipeline, all works as expected:

$ gst-launch-1.0 --gst-debug-level=3 dvbsrc adapter=0 delsys=DVB-T
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 ! mpegvideoparse ! mpeg2dec !
videoconvert ! videoscale ! videorate ! video/x-raw, format=RGB, width=320,
height=240, framerate=25/1 ! videoconvert ! xvimagesink sync=false demux. !
queue max-size-buffers=0 max-size-time=0 ! mpegaudioparse ! flump3dec !
audioresample ! audio/x-raw, format=S16LE, channels=2, rate=22050 !
audioconvert ! alsasink sync=false

Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
0:00:00.689788401 24798      0x233ba30 FIXME                default
gstutils.c:3697:gst_pad_create_stream_id_internal:<dvbsrc0:src> Creating
random stream-id, consider implementing a deterministic way of creating a
stream-id
Setting pipeline to PLAYING ...
New clock: GstSystemClock
0:00:00.796478442 24798      0x233ba30 WARN                 default
descriptions.c:620:format_info_get_desc: Unexpected MPEG-1 layer in
audio/mpeg, mpegversion=(int)1
0:00:00.796583818 24798      0x233ba30 WARN                 default
descriptions.c:620:format_info_get_desc: Unexpected MPEG-1 layer in
audio/mpeg, mpegversion=(int)1
0:00:00.796689089 24798      0x233ba30 WARN                 tsdemux
tsdemux.c:1321:create_pad_for_stream: Non-media stream (stream_type:0x5).
Not creating pad
0:00:00.796719535 24798      0x233ba30 WARN                 tsdemux
tsdemux.c:1321:create_pad_for_stream: Non-media stream (stream_type:0xb).
Not creating pad
0:00:00.846328634 24798      0x233ba30 WARN                    alsa
conf.c:4705:snd_config_expand: alsalib error: Unknown parameters {AES0 0x02
AES1 0x82 AES2 0x00 AES3 0x02}
0:00:00.846386872 24798      0x233ba30 WARN                    alsa
pcm.c:2239:snd_pcm_open_noupdate: alsalib error: Unknown PCM default:{AES0
0x02 AES1 0x82 AES2 0x00 AES3 0x02}
Redistribute latency...

So if I run the pipeline with the wrong delsys parameter specification
before the right pipeline, all works ok.
If I stop the playback and then retry to run the right pipe, i got the
error.

I test this on my both UbuntuStudio 14.10 (32) and Ubuntu 14.10 (64) (GST
1.4.3)

Hope someone can point me in the right direction.
Please, I absolutely don't understand where the problem is.

I also check the CX88xx kernel drivers, but found no issues with it.

karl. 



--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/gst-launch-from-1-2-4-to-1-5-0-1-4-3-dvbsrc-pipe-doesn-t-works-anymore-tp4670387p4670752.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list