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

soylent soylent.tv at gmail.com
Sun Nov 24 12:52:16 PST 2013


Thank you very much for answered me Tim.
I try to put your suggestions:

karl at Garrison:~$ gst-launch-1.0 --gst-debug-level=3 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 ! videoscale ! videorate !
video/x-raw, format=RGB, width=320, height=240, framerate=25/1 !
videoconvert ! xvimagesink demux. ! queue max-size-buffers=0 max-size-time=0
! decodebin ! audioconvert ! audio/x-raw, format=S16BE, channels=2,
rate=44100 ! alsasink

but i get:

Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
0:00:01.794718242  3962      0x2595ad0 FIXME                default
gstutils.c:3649:gst_pad_create_stream_id_printf_valist:<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:01.895962018  3962      0x2595ad0 WARN                 default
descriptions.c:611:format_info_get_desc: Unexpected MPEG-1 layer in
audio/mpeg, mpegversion=(int)1
0:00:01.896083700  3962      0x2595ad0 WARN                 default
descriptions.c:611:format_info_get_desc: Unexpected MPEG-1 layer in
audio/mpeg, mpegversion=(int)1
0:00:01.896194248  3962      0x2595ad0 WARN                 tsdemux
tsdemux.c:993:create_pad_for_stream: Non-media stream (stream_type:0x5). Not
creating pad
0:00:01.896226057  3962      0x2595ad0 WARN                 tsdemux
tsdemux.c:993:create_pad_for_stream: Non-media stream (stream_type:0xb). Not
creating pad
Redistribute latency...
0:00:02.220555307  3962      0x25baad0 WARN                    alsa
conf.c:4694:snd_config_expand: alsalib error: Unknown parameters {AES0 0x02
AES1 0x82 AES2 0x00 AES3 0x02}
0:00:02.220581330  3962      0x25baad0 WARN                    alsa
pcm.c:2239:snd_pcm_open_noupdate: alsalib error: Unknown PCM default:{AES0
0x02 AES1 0x82 AES2 0x00 AES3 0x02}
0:00:02.340711446  3962      0x25bab20 WARN            videodecoder
gstvideodecoder.c:3340:_gst_video_decoder_error:<mpeg2dec0> error: decoding
error
0:00:02.340764873  3962      0x25bab20 WARN            videodecoder
gstvideodecoder.c:3342:_gst_video_decoder_error:<mpeg2dec0> error: Reached
libmpeg2 invalid state
0:00:02.379393887  3962      0x25bab20 WARN            videodecoder
gstvideodecoder.c:3340:_gst_video_decoder_error:<mpeg2dec0> error: decoding
error
0:00:02.379437933  3962      0x25bab20 WARN            videodecoder
gstvideodecoder.c:3342:_gst_video_decoder_error:<mpeg2dec0> error: Reached
libmpeg2 invalid state
0:00:02.427761699  3962      0x25bab20 WARN            videodecoder
gstvideodecoder.c:3340:_gst_video_decoder_error:<mpeg2dec0> error: decoding
error
0:00:02.427804095  3962      0x25bab20 WARN            videodecoder
gstvideodecoder.c:3342:_gst_video_decoder_error:<mpeg2dec0> error: Reached
libmpeg2 invalid state
0:00:02.447161191  3962      0x25bab20 WARN            videodecoder
gstvideodecoder.c:2315:gst_video_decoder_prepare_finish_frame:<mpeg2dec0>
decreasing timestamp (0:00:01.235684886 < 0:00:01.273977251)
0:00:02.543817709  3962      0x25bab20 WARN            videodecoder
gstvideodecoder.c:3340:_gst_video_decoder_error:<mpeg2dec0> error: decoding
error
0:00:02.543859953  3962      0x25bab20 WARN            videodecoder
gstvideodecoder.c:3342:_gst_video_decoder_error:<mpeg2dec0> error: Reached
libmpeg2 invalid state
0:00:02.601841351  3962      0x25bab20 WARN            videodecoder
gstvideodecoder.c:3340:_gst_video_decoder_error:<mpeg2dec0> error: decoding
error
0:00:02.601871435  3962      0x25bab20 WARN            videodecoder
gstvideodecoder.c:3342:_gst_video_decoder_error:<mpeg2dec0> error: Reached
libmpeg2 invalid state
0:00:02.679176429  3962      0x25bab20 WARN            videodecoder
gstvideodecoder.c:3340:_gst_video_decoder_error:<mpeg2dec0> error: decoding
error
0:00:02.679218301  3962      0x25bab20 WARN            videodecoder
gstvideodecoder.c:3342:_gst_video_decoder_error:<mpeg2dec0> error: Reached
libmpeg2 invalid state
0:00:02.737230940  3962      0x25bab20 WARN            videodecoder
gstvideodecoder.c:3340:_gst_video_decoder_error:<mpeg2dec0> error: decoding
error
0:00:02.737262349  3962      0x25bab20 WARN            videodecoder
gstvideodecoder.c:3342:_gst_video_decoder_error:<mpeg2dec0> error: Reached
libmpeg2 invalid state
0:00:02.785589955  3962      0x25bab20 WARN            videodecoder
gstvideodecoder.c:3340:_gst_video_decoder_error:<mpeg2dec0> error: decoding
error
0:00:02.785619053  3962      0x25bab20 WARN            videodecoder
gstvideodecoder.c:3342:_gst_video_decoder_error:<mpeg2dec0> error: Reached
libmpeg2 invalid state
0:00:02.901623955  3962      0x25bab20 WARN            videodecoder
gstvideodecoder.c:3340:_gst_video_decoder_error:<mpeg2dec0> error: decoding
error
0:00:02.901680981  3962      0x25bab20 WARN            videodecoder
gstvideodecoder.c:3342:_gst_video_decoder_error:<mpeg2dec0> error: Reached
libmpeg2 invalid state
0:00:03.046709610  3962      0x25bab20 WARN            videodecoder
gstvideodecoder.c:3340:_gst_video_decoder_error:<mpeg2dec0> error: decoding
error
0:00:03.046752330  3962      0x25bab20 WARN            videodecoder
gstvideodecoder.c:3342:_gst_video_decoder_error:<mpeg2dec0> error: Reached
libmpeg2 invalid state
0:00:03.104728906  3962      0x25bab20 WARN            videodecoder
gstvideodecoder.c:3340:_gst_video_decoder_error:<mpeg2dec0> error: decoding
error
0:00:03.104771753  3962      0x25bab20 WARN            videodecoder
gstvideodecoder.c:3342:_gst_video_decoder_error:<mpeg2dec0> error: Reached
libmpeg2 invalid state
0:00:03.240123049  3962      0x25bab20 WARN            videodecoder
gstvideodecoder.c:3340:_gst_video_decoder_error:<mpeg2dec0> error: decoding
error
0:00:03.240165341  3962      0x25bab20 WARN            videodecoder
gstvideodecoder.c:3342:_gst_video_decoder_error:<mpeg2dec0> error: Reached
libmpeg2 invalid state
^Chandling interrupt.
Interrupt: Stopping pipeline ...
Execution ended after 0:00:01.562088282
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
Freeing pipeline ...

I think i miss something after the tsdemux step ... (maybe)

I also try with mpegvideoparse and mpegaudioparse with no luck:

karl at Garrison:~$ gst-launch-1.0 --gst-debug-level=3 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 ! mpegvideoparse ! decodebin ! videoscale
! videorate ! video/x-raw, format=RGB, width=320, height=240, framerate=25/1
! videoconvert ! xvimagesink demux. ! queue max-size-buffers=0
max-size-time=0 ! mpegaudioparse ! decodebin ! audioconvert ! audio/x-raw,
format=S16BE, channels=2, rate=44100 ! alsasink

Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
0:00:01.924427054  4016      0x154c8f0 FIXME                default
gstutils.c:3649:gst_pad_create_stream_id_printf_valist:<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:01.987215515  4016      0x154c8f0 WARN                 default
descriptions.c:611:format_info_get_desc: Unexpected MPEG-1 layer in
audio/mpeg, mpegversion=(int)1
0:00:01.987326893  4016      0x154c8f0 WARN                 default
descriptions.c:611:format_info_get_desc: Unexpected MPEG-1 layer in
audio/mpeg, mpegversion=(int)1
0:00:01.987405922  4016      0x154c8f0 WARN                 tsdemux
tsdemux.c:993:create_pad_for_stream: Non-media stream (stream_type:0x5). Not
creating pad
0:00:01.987425472  4016      0x154c8f0 WARN                 tsdemux
tsdemux.c:993:create_pad_for_stream: Non-media stream (stream_type:0xb). Not
creating pad
Redistribute latency...
0:00:02.328877641  4016      0x157b590 WARN                    alsa
conf.c:4694:snd_config_expand: alsalib error: Unknown parameters {AES0 0x02
AES1 0x82 AES2 0x00 AES3 0x02}
0:00:02.328903132  4016      0x157b590 WARN                    alsa
pcm.c:2239:snd_pcm_open_noupdate: alsalib error: Unknown PCM default:{AES0
0x02 AES1 0x82 AES2 0x00 AES3 0x02}
0:00:02.412583513  4016      0x157b720 WARN            videodecoder
gstvideodecoder.c:3340:_gst_video_decoder_error:<mpeg2dec0> error: decoding
error
0:00:02.412634831  4016      0x157b720 WARN            videodecoder
gstvideodecoder.c:3342:_gst_video_decoder_error:<mpeg2dec0> error: Reached
libmpeg2 invalid state
0:00:02.499610109  4016      0x157b720 WARN            videodecoder
gstvideodecoder.c:3340:_gst_video_decoder_error:<mpeg2dec0> error: decoding
error
0:00:02.499655866  4016      0x157b720 WARN            videodecoder
gstvideodecoder.c:3342:_gst_video_decoder_error:<mpeg2dec0> error: Reached
libmpeg2 invalid state
0:00:02.547916441  4016      0x157b720 WARN            videodecoder
gstvideodecoder.c:3340:_gst_video_decoder_error:<mpeg2dec0> error: decoding
error
0:00:02.547937204  4016      0x157b720 WARN            videodecoder
gstvideodecoder.c:3342:_gst_video_decoder_error:<mpeg2dec0> error: Reached
libmpeg2 invalid state
0:00:02.654452144  4016      0x157b720 WARN            videodecoder
gstvideodecoder.c:2315:gst_video_decoder_prepare_finish_frame:<mpeg2dec0>
decreasing timestamp (0:00:00.759730076 < 0:00:00.798571266)
0:00:02.683356899  4016      0x157b720 WARN            videodecoder
gstvideodecoder.c:3340:_gst_video_decoder_error:<mpeg2dec0> error: decoding
error
0:00:02.683393389  4016      0x157b720 WARN            videodecoder
gstvideodecoder.c:3342:_gst_video_decoder_error:<mpeg2dec0> error: Reached
libmpeg2 invalid state
0:00:02.751160849  4016      0x157b720 WARN            videodecoder
gstvideodecoder.c:3340:_gst_video_decoder_error:<mpeg2dec0> error: decoding
error
0:00:02.751207581  4016      0x157b720 WARN            videodecoder
gstvideodecoder.c:3342:_gst_video_decoder_error:<mpeg2dec0> error: Reached
libmpeg2 invalid state
0:00:02.818824353  4016      0x157b720 WARN            videodecoder
gstvideodecoder.c:3340:_gst_video_decoder_error:<mpeg2dec0> error: decoding
error
0:00:02.818870761  4016      0x157b720 WARN            videodecoder
gstvideodecoder.c:3342:_gst_video_decoder_error:<mpeg2dec0> error: Reached
libmpeg2 invalid state
0:00:02.896142675  4016      0x157b720 WARN            videodecoder
gstvideodecoder.c:3340:_gst_video_decoder_error:<mpeg2dec0> error: decoding
error
0:00:02.896186180  4016      0x157b720 WARN            videodecoder
gstvideodecoder.c:3342:_gst_video_decoder_error:<mpeg2dec0> error: Reached
libmpeg2 invalid state
0:00:02.973551098  4016      0x157b720 WARN            videodecoder
gstvideodecoder.c:3340:_gst_video_decoder_error:<mpeg2dec0> error: decoding
error
0:00:02.973596384  4016      0x157b720 WARN            videodecoder
gstvideodecoder.c:3342:_gst_video_decoder_error:<mpeg2dec0> error: Reached
libmpeg2 invalid state
0:00:03.021767948  4016      0x157b720 WARN            videodecoder
gstvideodecoder.c:3340:_gst_video_decoder_error:<mpeg2dec0> error: decoding
error
0:00:03.021789583  4016      0x157b720 WARN            videodecoder
gstvideodecoder.c:3342:_gst_video_decoder_error:<mpeg2dec0> error: Reached
libmpeg2 invalid state
0:00:03.137938689  4016      0x157b720 WARN            videodecoder
gstvideodecoder.c:3340:_gst_video_decoder_error:<mpeg2dec0> error: decoding
error
0:00:03.137971125  4016      0x157b720 WARN            videodecoder
gstvideodecoder.c:3342:_gst_video_decoder_error:<mpeg2dec0> error: Reached
libmpeg2 invalid state
0:00:03.215157662  4016      0x157b720 WARN            videodecoder
gstvideodecoder.c:3340:_gst_video_decoder_error:<mpeg2dec0> error: decoding
error
0:00:03.215180272  4016      0x157b720 WARN            videodecoder
gstvideodecoder.c:3342:_gst_video_decoder_error:<mpeg2dec0> error: Reached
libmpeg2 invalid state
0:00:03.253864966  4016      0x157b720 WARN            videodecoder
gstvideodecoder.c:3340:_gst_video_decoder_error:<mpeg2dec0> error: decoding
error
0:00:03.253881494  4016      0x157b720 WARN            videodecoder
gstvideodecoder.c:3342:_gst_video_decoder_error:<mpeg2dec0> error: Reached
libmpeg2 invalid state
0:00:03.341103476  4016      0x157b720 WARN            videodecoder
gstvideodecoder.c:3340:_gst_video_decoder_error:<mpeg2dec0> error: decoding
error
0:00:03.341133854  4016      0x157b720 WARN            videodecoder
gstvideodecoder.c:3342:_gst_video_decoder_error:<mpeg2dec0> error: Reached
libmpeg2 invalid state
0:00:03.418454768  4016      0x157b720 WARN            videodecoder
gstvideodecoder.c:3340:_gst_video_decoder_error:<mpeg2dec0> error: decoding
error
0:00:03.418496578  4016      0x157b720 WARN            videodecoder
gstvideodecoder.c:3342:_gst_video_decoder_error:<mpeg2dec0> error: Reached
libmpeg2 invalid state
0:00:03.476495222  4016      0x157b720 WARN            videodecoder
gstvideodecoder.c:3340:_gst_video_decoder_error:<mpeg2dec0> error: decoding
error
0:00:03.476539592  4016      0x157b720 WARN            videodecoder
gstvideodecoder.c:3342:_gst_video_decoder_error:<mpeg2dec0> error: Reached
libmpeg2 invalid state
0:00:03.592477810  4016      0x157b720 WARN            videodecoder
gstvideodecoder.c:3340:_gst_video_decoder_error:<mpeg2dec0> error: decoding
error
0:00:03.592501184  4016      0x157b720 WARN            videodecoder
gstvideodecoder.c:3342:_gst_video_decoder_error:<mpeg2dec0> error: Reached
libmpeg2 invalid state
0:00:03.650388497  4016      0x157b720 WARN            videodecoder
gstvideodecoder.c:3340:_gst_video_decoder_error:<mpeg2dec0> error: decoding
error
0:00:03.650408654  4016      0x157b720 WARN            videodecoder
gstvideodecoder.c:3342:_gst_video_decoder_error:<mpeg2dec0> error: Reached
libmpeg2 invalid state
0:00:03.708393357  4016      0x157b720 WARN            videodecoder
gstvideodecoder.c:3340:_gst_video_decoder_error:<mpeg2dec0> error: decoding
error
0:00:03.708414104  4016      0x157b720 WARN            videodecoder
gstvideodecoder.c:3342:_gst_video_decoder_error:<mpeg2dec0> error: Reached
libmpeg2 invalid state
0:00:03.785854817  4016      0x157b720 WARN            videodecoder
gstvideodecoder.c:3340:_gst_video_decoder_error:<mpeg2dec0> error: decoding
error
0:00:03.785898242  4016      0x157b720 WARN            videodecoder
gstvideodecoder.c:3342:_gst_video_decoder_error:<mpeg2dec0> error: Reached
libmpeg2 invalid state
0:00:03.863212047  4016      0x157b720 WARN            videodecoder
gstvideodecoder.c:3340:_gst_video_decoder_error:<mpeg2dec0> error: decoding
error
0:00:03.863256601  4016      0x157b720 WARN            videodecoder
gstvideodecoder.c:3342:_gst_video_decoder_error:<mpeg2dec0> error: Reached
libmpeg2 invalid state
0:00:03.921246538  4016      0x157b720 WARN            videodecoder
gstvideodecoder.c:3340:_gst_video_decoder_error:<mpeg2dec0> error: decoding
error
0:00:03.921290011  4016      0x157b720 WARN            videodecoder
gstvideodecoder.c:3342:_gst_video_decoder_error:<mpeg2dec0> error: Reached
libmpeg2 invalid state
^Chandling interrupt.
Interrupt: Stopping pipeline ...
Execution ended after 0:00:02.079719542
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
Freeing pipeline ...

I also don't know why this simple one works with CAPS:

gst-launch-1.0 --gst-debug-level=4 videotestsrc ! video/x-raw, format=RGB,
framerate=25/1, width=320, height=240, depth=24, bpp=24, blue_mask=255,
green_mask=65280, red_mask=16711680 ! videoconvert ! xvimagesink

Thanks again.

karl.







--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Newbie-gst-launch1-0-trying-to-get-DVB-T-working-tp4663519p4663525.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list