DVB-T Command Line Arguments

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
xpatch
New Cone
New Cone
Posts: 5
Joined: 10 Feb 2010 06:32

DVB-T Command Line Arguments

Postby xpatch » 10 Feb 2010 20:01

I got this for my channels.conf

Code: Select all

OMNI-DT:509000000:8VSB:481:482:1 Global-DT:521000000:8VSB:49:52:1 CTV-DT:587000000:8VSB:33:36:2 KVOS-DT:599000000:8VSB:1937:1940:121 CBC-HD:737000000:8VSB:129:132:8
using

Code: Select all

vlc -vvv channels.conf
worx great, select channels from playlist etc.

how do I run it from the command line w/o using a channels.conf,
or

using Open Media -> Capture Device -> DVB
I put in Transponder/multiplex freq of 521000 and still no go

Code: Select all

vlc -vvv dvb://frequency=521000000

everything I've tried results in the following

Code: Select all

[0x1950e58] main stream debug: pre buffering [0x1939fd8] dvb access debug: frontend has acquired signal [0x1939fd8] dvb access debug: frontend has acquired carrier [0x1939fd8] dvb access debug: frontend has acquired stable FEC [0x1939fd8] dvb access debug: frontend has acquired sync [0x1939fd8] dvb access debug: frontend has acquired lock [0x1939fd8] dvb access debug: - Bit error rate: 0 [0x1939fd8] dvb access debug: - Signal strength: 240 [0x1939fd8] dvb access debug: - SNR: 240

when it works i see

Code: Select all

[0x2bf8e88] main stream debug: pre buffering [0x2bf8e88] main stream debug: received first data after 397 ms [0x2bf8e88] main stream debug: prebuffering done 188 bytes in 0s - 0 kbytes/s [0x2bf8918] main stream debug: looking for stream_filter module: 4 candidates [0x2bf8918] main stream debug: TIMER module_need() : 0.141 ms - Total 0.141 ms / 1 intvls (Avg 0.141 ms) [0x2bf8918] main stream debug: looking for stream_filter module: 1 candidate [0x2bf8918] main stream debug: using stream_filter module "stream_filter_record" [0x2bf8918] main stream debug: TIMER module_need() : 0.053 ms - Total 0.053 ms / 1 intvls (Avg 0.053 ms) [0x19b6ed8] main input debug: creating demux: access='dvb' demux='' path='' [0x2bf8a58] main demux debug: looking for demux module: 51 candidates [0x1b7f6a8] dvb access debug: frontend has acquired signal [0x1b7f6a8] dvb access debug: frontend has acquired carrier [0x1b7f6a8] dvb access debug: frontend has acquired stable FEC [0x1b7f6a8] dvb access debug: frontend has acquired sync [0x1b7f6a8] dvb access debug: frontend has acquired lock [0x1b7f6a8] dvb access debug: - Bit error rate: 0 [0x1b7f6a8] dvb access debug: - Signal strength: 250 [0x1b7f6a8] dvb access debug: - SNR: 250

I believe this is a generic question but I am running ubuntu 9.10

Lotesdelere
Cone Master
Cone Master
Posts: 9963
Joined: 08 Sep 2006 04:39
Location: Europe

Re: DVB-T Command Line Arguments

Postby Lotesdelere » 10 Feb 2010 21:54

You need to specify dvbt:// for DVB-T and the value of the bandwidth:

Code: Select all

vlc dvbt:// :dvb-frequency=521000000 :dvb-bandwidth=8

xpatch
New Cone
New Cone
Posts: 5
Joined: 10 Feb 2010 06:32

Re: DVB-T Command Line Arguments

Postby xpatch » 11 Feb 2010 03:35

Code: Select all

[0x1b1c888] main libvlc debug: VLC media player - version 1.0.2 Goldeneye - (c) 1996-2009 the VideoLAN team [0x1b1c888] main libvlc debug: libvlc was configured with ./configure '--build=x86_64-linux-gnu' '--disable-maintainer-mode' '--enable-release' '--prefix=/usr' '--config-cache' '--enable-fast-install' '--with-binary-version=1ubuntu2.1' '--disable-update-check' '--disable-fb' '--enable-ggi' '--enable-sdl' '--enable-mad' '--enable-jack' '--enable-pulse' '--enable-lirc' '--enable-a52' '--enable-aa' '--enable-dvbpsi' '--enable-mozilla' '--with-mozilla-pkg=xulrunner-plugin' '--enable-dvb' '--enable-ogg' '--enable-vorbis' '--enable-shout' '--enable-qt4' '--enable-flac' '--enable-skins2' '--enable-freetype' '--enable-mkv' '--enable-speex' '--enable-caca' '--enable-live555' '--enable-libmpeg2' '--enable-fribidi' '--enable-mod' '--enable-theora' '--enable-dvdnav' '--enable-gnutls' '--enable-ncurses' '--enable-smb' '--disable-gnomevfs' '--enable-bonjour' '--enable-mpc' '--enable-vcd' '--enable-vcdx' '--enable-notify' '--enable-twolame' '--enable-faad' '--disable-zvbi' '--enable-telx' '--enable-x264' '--disable-atmo' '--enable-taglib' '--enable-libass' '--enable-dca' '--enable-realrtsp' '--disable-dv' '--disable-fluidsynth' '--disable-kate' '--disable-mtp' '--enable-alsa' '--enable-v4l' '--enable-v4l2' '--enable-pvr' '--enable-svgalib' 'build_alias=x86_64-linux-gnu' 'CFLAGS=-g -O2' 'LDFLAGS=-Wl,--as-needed' 'CPPFLAGS=' 'CXXFLAGS=-g -O2' [0x1b1c888] main libvlc debug: translation test: code is "C" [0x1b1c888] main libvlc debug: checking plugin modules [0x1b1c888] main libvlc debug: loading plugins cache file /home/patch/.cache/vlc/plugins-04081e.dat [0x1b1c888] main libvlc debug: recursively browsing `/usr/lib/vlc' [0x1b1c888] main libvlc debug: module bank initialized (380 modules) [0x1b1c888] main libvlc debug: opening config file (/home/patch/.config/vlc/vlcrc) [0x1b1c888] main libvlc debug: CPU has capabilities 486 586 MMX MMXEXT SSE SSE2 FPU [0x1b1c888] main libvlc debug: looking for memcpy module: 3 candidates [0x1b1c888] main libvlc debug: using memcpy module "memcpymmxext" [0x1c15b48] main input debug: Creating an input for 'Media Library' [0x1c15b48] main input debug: Input is a meta file: disabling unneeded options [0x1c15b48] main input debug: using timeshift granularity of 50 MBytes [0x1c15b48] main input debug: using timeshift path '/tmp' [0x1c15b48] main input debug: `file/xspf-open:///home/patch/.local/share/vlc/ml.xspf' gives access `file' demux `xspf-open' path `/home/patch/.local/share/vlc/ml.xspf' [0x1c15b48] main input debug: creating demux: access='file' demux='xspf-open' path='/home/patch/.local/share/vlc/ml.xspf' [0x1c19e28] main demux debug: looking for access_demux module: 1 candidate [0x1c19e28] main demux warning: no access_demux module matching "file" could be loaded [0x1c19e28] main demux debug: TIMER module_need() : 0.340 ms - Total 0.340 ms / 1 intvls (Avg 0.340 ms) [0x1c15b48] main input debug: creating access 'file' path='/home/patch/.local/share/vlc/ml.xspf' [0x1c19e28] main access debug: looking for access module: 3 candidates [0x1c19e28] access_file access debug: opening file `/home/patch/.local/share/vlc/ml.xspf' [0x1c19e28] main access debug: using access module "access_file" [0x1c19e28] main access debug: TIMER module_need() : 0.310 ms - Total 0.310 ms / 1 intvls (Avg 0.310 ms) [0x1c2a108] main stream debug: Using AStream*Stream [0x1c2a108] main stream debug: pre buffering [0x1c2a108] main stream debug: received first data after 0 ms [0x1c2a108] main stream debug: pre-buffering done 1024 bytes in 0s - 111111 kbytes/s [0x1c2ad58] main stream debug: looking for stream_filter module: 4 candidates [0x1c2ad58] main stream debug: TIMER module_need() : 0.317 ms - Total 0.317 ms / 1 intvls (Avg 0.317 ms) [0x1c2f268] main stream debug: looking for stream_filter module: 1 candidate [0x1c2f268] main stream debug: using stream_filter module "stream_filter_record" [0x1c2f268] main stream debug: TIMER module_need() : 0.102 ms - Total 0.102 ms / 1 intvls (Avg 0.102 ms) [0x1c15b48] main input debug: creating demux: access='file' demux='xspf-open' path='/home/patch/.local/share/vlc/ml.xspf' [0x1c2de08] main demux debug: looking for demux module: 1 candidate [0x1c2de08] playlist demux debug: using XSPF playlist reader [0x1c2de08] main demux debug: using demux module "playlist" [0x1c2de08] main demux debug: TIMER module_need() : 0.166 ms - Total 0.166 ms / 1 intvls (Avg 0.166 ms) [0x1c15b48] main input debug: `file/xspf-open:///home/patch/.local/share/vlc/ml.xspf' successfully opened [0x1c2eaf8] main xml debug: looking for xml module: 2 candidates [0x1c2eaf8] main xml debug: using xml module "xtag" [0x1c2eaf8] main xml debug: TIMER module_need() : 0.366 ms - Total 0.366 ms / 1 intvls (Avg 0.366 ms) [0x1c2de08] playlist demux debug: parsed 2075 tracks successfully [0x1c11748] main playlist debug: deleting item `directory:///media/TV/Tv/' [0x1c2eaf8] main xml debug: removing module "xtag" [0x1c15b48] main input debug: EOF reached [0x1c2de08] main demux debug: removing module "playlist" [0x1c2f268] main stream debug: removing module "stream_filter_record" [0x1c19e28] main access debug: removing module "access_file" [0x1c15b48] main input debug: TIMER input launching for 'Media Library' : 3.446 ms - Total 3.446 ms / 1 intvls (Avg 3.446 ms) [0x1c11748] main playlist debug: Activated [0x1c11748] main playlist debug: rebuilding array of current - root Playlist [0x1c11748] main playlist debug: rebuild done - 0 items, index -1 [0x1c0dbf8] main interface debug: looking for interface module: 1 candidate [0x1c0dbf8] main interface debug: using interface module "hotkeys" [0x1c0dbf8] main interface debug: TIMER module_need() : 0.325 ms - Total 0.325 ms / 1 intvls (Avg 0.325 ms) [0x1c0dbf8] main interface debug: thread (interface) created at priority 0 (interface/interface.c:151) [0x1c0dbf8] main interface debug: thread started [0x1c2e918] main interface debug: looking for interface module: 1 candidate [0x1c2e918] main interface debug: using interface module "inhibit" [0x1c2e918] main interface debug: TIMER module_need() : 1.469 ms - Total 1.469 ms / 1 intvls (Avg 1.469 ms) [0x1c2e918] main interface debug: thread started [0x1c2e918] main interface debug: thread (interface) created at priority 0 (interface/interface.c:151) [0x1c0f878] main interface debug: looking for interface module: 1 candidate [0x1c0f878] main interface debug: using interface module "screensaver" [0x1c0f878] main interface debug: TIMER module_need() : 0.168 ms - Total 0.168 ms / 1 intvls (Avg 0.168 ms) [0x1c0f878] main interface debug: thread started [0x1c0f878] main interface debug: thread (interface) created at priority 0 (interface/interface.c:151) [0x1c11748] main playlist debug: adding item `dvbt://' ( dvbt:// ) [0x1b1cf18] main interface debug: looking for interface module: 1 candidate [0x1b1cf18] main interface debug: using interface module "signals" [0x1b1cf18] main interface debug: TIMER module_need() : 0.169 ms - Total 0.169 ms / 1 intvls (Avg 0.169 ms) [0x1b1cf18] main interface debug: thread started [0x1b1cf18] main interface debug: thread ended [0x1b1cf18] main interface debug: thread (interface) created at priority 0 (interface/interface.c:151) [0x217a4f8] main interface debug: looking for interface module: 1 candidate [0x217a4f8] main interface debug: using interface module "globalhotkeys" [0x217a4f8] main interface debug: TIMER module_need() : 5.624 ms - Total 5.624 ms / 1 intvls (Avg 5.624 ms) [0x217a4f8] main interface debug: thread started [0x217a4f8] main interface debug: thread ended [0x217a4f8] main interface debug: thread (interface) created at priority 0 (interface/interface.c:151) [0x1b1c888] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface. [0x217c368] main interface debug: looking for interface module: 4 candidates [0x217c368] main interface debug: using interface module "qt4" [0x217c368] main interface debug: TIMER module_need() : 107.812 ms - Total 107.812 ms / 1 intvls (Avg 107.812 ms) [0x217c368] qt4 interface debug: Error while initializing qt-specific localization [0x217c368] main interface debug: thread (interface) created at priority 0 (interface/interface.c:151) [0x217c368] main interface debug: thread started [0x217c368] main interface debug: thread ended [0x1c11748] main playlist debug: rebuilding array of current - root Playlist [0x1c11748] main playlist debug: rebuild done - 1 items, index -1 [0x1c11748] main playlist debug: processing request item null node Playlist skip 0 [0x1c11748] main playlist debug: starting new item [0x1c11748] main playlist debug: creating new input thread [0x1c39248] main input debug: Creating an input for 'dvbt://' [0x1c39248] main input debug: thread (input) created at priority 10 (input/input.c:230) [0x1c39248] main input debug: thread started [0x1c39248] main input debug: using timeshift granularity of 50 MBytes [0x217c368] qt4 interface debug: IM: Setting an input [0x1c39248] main input debug: using timeshift path '/tmp' [0x1c39248] main input debug: `dvbt://' gives access `dvbt' demux `' path `' [0x1c39248] main input debug: creating demux: access='dvbt' demux='' path='' [0x1c3a3c8] main demux debug: looking for access_demux module: 0 candidates [0x1c3a3c8] main demux debug: no access_demux module matched "dvbt" [0x1c3a3c8] main demux debug: TIMER module_need() : 0.106 ms - Total 0.106 ms / 1 intvls (Avg 0.106 ms) [0x1c39248] main input debug: creating access 'dvbt' path='' [0x1c3a3c8] main access debug: looking for access module: 0 candidates [0x1c3a3c8] main access error: no access module matched "dvbt" [0x1c3a3c8] main access debug: TIMER module_need() : 0.059 ms - Total 0.059 ms / 1 intvls (Avg 0.059 ms) [0x1c39248] main input error: open of `dvbt://' failed: no access module matched "dvbt" [0x1c39248] main input debug: thread ended [0x1c11748] main playlist debug: dead input [0x1c11748] main playlist debug: changing item without a request (current 0/1) [0x1c11748] main playlist debug: nothing to play [0x217c368] qt4 interface debug: IM: Deleting the input [0x1c39248] main input debug: TIMER input launching for 'dvbt://' : 105.415 ms - Total 105.415 ms / 1 intvls (Avg 105.415 ms)

[0x1c39248] main input error: open of `dvbt://' failed: no access module matched "dvbt"

In the error window I see
Your input can't be opened:
VLC is unable to open the MRL 'dvbt://'. Check the log for details.


FYI: VLC media player 1.0.2 Goldeneye from ubuntu 9.10 64bit

Going to check and see if there's a compiler option or somthing, even though it can play DVB-T if I use the channels.conf file.
Maybe this is a command line interface nicety that it wasn't compiled with. I have no DVB-C or DVB-S to test with.

stevedee3
Blank Cone
Blank Cone
Posts: 83
Joined: 30 Jun 2007 12:59
VLC version: 1.1.3
Operating System: Windows 2000
Location: Melbourne, Australia

Re: DVB-T Command Line Arguments

Postby stevedee3 » 11 Feb 2010 08:25

Try

Code: Select all

vlc dvb-t:// :dvb-frequency=521000000 :dvb-bandwidth=8

xpatch
New Cone
New Cone
Posts: 5
Joined: 10 Feb 2010 06:32

Re: DVB-T Command Line Arguments

Postby xpatch » 11 Feb 2010 09:01

So I downloaded the source and compiled it.


Code: Select all

wget http://download.videolan.org/pub/videolan/vlc/0.9.10/vlc-0.9.10.tar.bz2 sudo apt-get build-dep ffmpeg vlc bzip2 -d vlc-0.9.10.tar.bz2 tar -xvf vlc-0.9.10.tar cd vlc-0.9.10 ./configure make
./vlc dvb-t:// :dvb-frequency=521000000 :dvb-bandwidth=8
VLC media player 0.9.10 Grishenko
[00000001] main libvlc debug: VLC media player - version 0.9.10 Grishenko - (c) 1996-2009 the VideoLAN team
[00000001] main libvlc debug: libvlc was configured with ./configure
[00000001] main libvlc debug: translation test: code is "C"
[00000001] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
[00000399] dvb access error: the user asked for DVB-T, and the tuner is ATSC
[00000397] main input error: open of `dvb-t://' failed: could not create access
^C[00000392] signals interface error: Caught Interrupt signal, exiting...

./vlc atsc:// :dvb-frequency=521000000 :dvb-bandwidth=8

VLC media player 0.9.10 Grishenko
[00000001] main libvlc debug: VLC media player - version 0.9.10 Grishenko - (c) 1996-2009 the VideoLAN team
[00000001] main libvlc debug: libvlc was configured with ./configure
[00000001] main libvlc debug: translation test: code is "C"
[00000001] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
libdvbpsi error (PSI decoder): TS discontinuity (received 11, expected 0) for PID 0
libdvbpsi error (PSI decoder): TS discontinuity (received 14, expected 0) for PID 48
[00000432] a52 decoder: A/52 channels:6 samplerate:48000 bitrate:384000


Unsure why it works but it does.

Lotesdelere
Cone Master
Cone Master
Posts: 9963
Joined: 08 Sep 2006 04:39
Location: Europe

Re: DVB-T Command Line Arguments

Postby Lotesdelere » 11 Feb 2010 14:03

Unsure why it works but it does.
Because you are located in an area which is using ATSC and not DVB(-T). I guess nothern America :)

xpatch
New Cone
New Cone
Posts: 5
Joined: 10 Feb 2010 06:32

Re: DVB-T Command Line Arguments

Postby xpatch » 12 Feb 2010 22:10

Yup :) I'm in Vancouver B.C. and with v0.9.10 of vlc I can now record Olympics in high def ATSC while I sit at work. w00ts.
Unsure where I'm going to put this stuff, the .ts files for an hour are about 3.5 gigs :P
Comes in in h264 (1920x1080) and mp4a ( I think ) I still can't believe this little usb2 dongle can decode the stream that fast.

Lotesdelere
Cone Master
Cone Master
Posts: 9963
Joined: 08 Sep 2006 04:39
Location: Europe

Re: DVB-T Command Line Arguments

Postby Lotesdelere » 13 Feb 2010 14:02

Comes in in h264 (1920x1080) and mp4a ( I think ) I still can't believe this little usb2 dongle can decode the stream that fast.
In fact your USB stick is only a tuner, it's VLC which is decoding the stream.
I'd wish to have a (short) sample from this broadcast as I don't have any H264/ATSC samples. Maybe one from today's downhill men ? :)

xpatch
New Cone
New Cone
Posts: 5
Joined: 10 Feb 2010 06:32

Re: DVB-T Command Line Arguments

Postby xpatch » 15 Feb 2010 21:16

I'll see what I can put together :)


+GO CANADA+!!!


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 26 guests