Using VLC with a DVB-C tuner

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
nev
New Cone
New Cone
Posts: 7
Joined: 18 May 2009 01:52

Using VLC with a DVB-C tuner

Postby nev » 18 May 2009 02:25

Hi,

I've been googling all weekend like a mad man, but nothing seems to address the specific problem i am facing, so here goes.

The Problem:
I can't get VLC to open my DVB-C tuner, even though other programs can, i can scan for channels and czap to them with the dvb-tools and use programs like kaffeine, mplayer and mythtv without any problems. But VLC just dies, i think during the tuning process / opening of the adapter.

My setup:
Ubuntu Jaunty / Linux 2.6.28-11 i686 (With the newest V4L drivers installed)
VLC 0.9.9a

TV Card = Technotrend C-1501 + CI + irdeto cam

Operator = Stofa / Telia
Transponder freq= 346KhZ
Symbolrate= 6900
QAM= 64
NetworkID= 0

The command i use for launching:

Code: Select all

$ vlc -vvv dvb-c:// :dvb-frequency=346000 :dvb-modulation=64 :dvb-srate=6900000 :programs=2310,2311
The program i tried to play here is a unencoded free channel (DR1), although i can watch encoded ones with the other programs.

And this is what happens

Code: Select all

nev@nevubuntu:~$ vlc -vvv dvb-c:// :dvb-frequency=346000 :dvb-modulation=64 :dvb-srate=6900000 :programs=2310,2311 VLC media player 0.9.9a Grishenko [00000001] main libvlc debug: VLC media player - version 0.9.9a Grishenko - (c) 1996-2009 the VideoLAN team [00000001] main libvlc debug: libvlc was configured with ./configure '--build=i486-linux-gnu' '--enable-maintainer-mode' '--enable-release' '--prefix=/usr' '--enable-libtool' '--enable-fast-install' '--with-binary-version=2ubuntu1' '--disable-update-check' '--disable-gnome' '--disable-gtk' '--disable-familiar' '--disable-fb' '--enable-ggi' '--enable-sdl' '--enable-esd' '--enable-mad' '--enable-jack' '--enable-pulse' '--enable-lirc' '--enable-a52' '--enable-aa' '--enable-dvbpsi' '--enable-mozilla' '--with-mozilla-pkg=libxul-plugin' '--disable-kde' '--enable-mp4' '--enable-dvb' '--disable-satellite' '--enable-ogg' '--enable-vorbis' '--enable-shout' '--enable-qt4' '--disable-slp' '--enable-flac' '--disable-skins' '--disable-basic-skins' '--enable-skins2' '--enable-freetype' '--enable-mkv' '--enable-speex' '--enable-caca' '--enable-live555' '--enable-libmpeg2' '--enable-fribidi' '--enable-cdio' '--enable-mod' '--enable-theora' '--enable-modplug' '--enable-dvdnav' '--enable-gnutls' '--enable-ffmpeg' '--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-mediacontrol-bindings' '--disable-atmo' '--enable-taglib' '--enable-libass' '--enable-libdca' '--enable-realrtsp' '--disable-dv' '--enable-x264' '--enable-alsa' '--enable-v4l' '--enable-v4l2' '--enable-pvr' '--enable-svgalib' '--enable-dvd' '--without-dvdcss' 'build_alias=i486-linux-gnu' 'CFLAGS=-g -O2' 'LDFLAGS=-Wl,--as-needed' 'CPPFLAGS=' 'CXXFLAGS=-g -O2' [00000001] main libvlc debug: translation test: code is "C" [00000001] main libvlc debug: checking builtin modules [00000001] main libvlc debug: checking plugin modules [00000001] main libvlc debug: loading plugins cache file /home/nev/.cache/vlc/plugins-04041e.dat [00000001] main libvlc debug: recursively browsing `/usr/lib/vlc' [00000001] main libvlc debug: module bank initialized, found 275 modules [00000001] main libvlc debug: opening config file (/home/nev/.config/vlc/vlcrc) [00000001] main libvlc debug: CPU has capabilities 486 586 MMX MMXEXT SSE SSE2 FPU [00000001] main libvlc debug: looking for memcpy module: 3 candidates [00000001] main libvlc debug: using memcpy module "memcpymmxext" [00000372] main interaction debug: thread started [00000372] main interaction debug: thread 3079338896 (Interaction control) created at priority 0 (interface/interaction.c:382) [00000374] main input debug: Creating an input for 'Media Library' [00000374] main input debug: Input is a meta file: disabling unneeded options [00000374] main input debug: `file/xspf-open:///home/nev/.local/share/vlc/ml.xspf' gives access `file' demux `xspf-open' path `/home/nev/.local/share/vlc/ml.xspf' [00000374] main input debug: creating access 'file' path='/home/nev/.local/share/vlc/ml.xspf' [00000375] main access debug: looking for access module: 3 candidates [00000375] access_file access debug: opening file `/home/nev/.local/share/vlc/ml.xspf' [00000375] main access debug: using access module "access_file" [00000375] main access debug: TIMER module_Need() : 0,693 ms - Total 0,693 ms / 1 intvls (Avg 0,693 ms) [00000380] main stream debug: Using AStream*Stream [00000380] main stream debug: pre-buffering... [00000380] main stream debug: received first data for our buffer [00000374] main input debug: creating demux: access='file' demux='xspf-open' path='/home/nev/.local/share/vlc/ml.xspf' [00000381] main demux debug: looking for demux module: 1 candidate [00000381] playlist demux debug: using XSPF playlist reader [00000381] main demux debug: using demux module "playlist" [00000381] main demux debug: TIMER module_Need() : 0,377 ms - Total 0,377 ms / 1 intvls (Avg 0,377 ms) [00000374] main input debug: `file/xspf-open:///home/nev/.local/share/vlc/ml.xspf' successfully opened [00000396] main xml debug: looking for xml module: 2 candidates [00000396] main xml debug: using xml module "xml" [00000396] main xml debug: TIMER module_Need() : 0,569 ms - Total 0,569 ms / 1 intvls (Avg 0,569 ms) [00000381] playlist demux debug: parsed 0 tracks successfully [00000396] main xml debug: removing module "xml" [00000374] main input debug: EOF reached [00000374] main input debug: control type=1 [00000381] main demux debug: removing module "playlist" [00000375] main access debug: removing module "access_file" [00000374] main input debug: TIMER input launching for 'Media Library' : 9,308 ms - Total 9,308 ms / 1 intvls (Avg 9,308 ms) [00000398] main preparser debug: thread started [00000398] main preparser debug: waiting for thread initialization [00000398] main preparser debug: thread 3070946192 (preparser) created at priority 0 (playlist/thread.c:79) [00000399] main fetcher debug: thread started [00000399] main fetcher debug: waiting for thread initialization [00000399] main fetcher debug: thread 3056790416 (fetcher) created at priority 0 (playlist/thread.c:108) [00000373] main playlist debug: thread started [00000373] main playlist debug: waiting for thread initialization [00000373] main playlist debug: rebuilding array of current - root Playlist [00000373] main playlist debug: rebuild done - 0 items, index -1 [00000373] main playlist debug: thread 3048397712 (playlist) created at priority 0 (playlist/thread.c:117) [00000400] main interface debug: looking for interface module: 1 candidate [00000400] main interface debug: using interface module "hotkeys" [00000400] main interface debug: TIMER module_Need() : 0,232 ms - Total 0,232 ms / 1 intvls (Avg 0,232 ms) [00000400] main interface debug: thread started [00000400] main interface debug: thread 3040005008 (interface) created at priority 0 (interface/interface.c:168) [00000402] main interface debug: looking for interface module: 1 candidate [00000402] main interface debug: using interface module "inhibit" [00000402] main interface debug: TIMER module_Need() : 1,765 ms - Total 1,765 ms / 1 intvls (Avg 1,765 ms) [00000402] main interface debug: thread started [00000402] main interface debug: thread 3031612304 (interface) created at priority 0 (interface/interface.c:168) [00000404] main interface debug: looking for interface module: 1 candidate [00000404] main interface debug: using interface module "screensaver" [00000404] main interface debug: TIMER module_Need() : 0,175 ms - Total 0,175 ms / 1 intvls (Avg 0,175 ms) [00000404] main interface debug: thread started [00000404] main interface debug: thread 3023219600 (interface) created at priority 0 (interface/interface.c:168) [00000373] main playlist debug: adding item `dvb-c://' ( dvb-c:// ) [00000406] main interface debug: looking for interface module: 22 candidates [00000406] main interface debug: using interface module "signals" [00000406] main interface debug: TIMER module_Need() : 0,182 ms - Total 0,182 ms / 1 intvls (Avg 0,182 ms) [00000406] main interface debug: thread started [00000406] main interface debug: thread 3006434192 (interface) created at priority 0 (interface/interface.c:168) [00000001] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface. [00000408] main interface debug: looking for interface module: 4 candidates [00000408] main interface debug: using interface module "qt4" [00000408] main interface debug: TIMER module_Need() : 22,565 ms - Total 22,565 ms / 1 intvls (Avg 22,565 ms) [00000408] main interface debug: thread started [00000408] main interface debug: thread 2983512976 (interface) created at priority 0 (interface/interface.c:168) [00000373] main playlist debug: rebuilding array of current - root Playlist [00000373] main playlist debug: rebuild done - 1 items, index -1 [00000373] main playlist debug: starting new item [00000373] main playlist debug: processing request item null node Playlist skip 0 [00000373] main playlist debug: creating new input thread [00000411] main input debug: Creating an input for 'dvb-c://' [00000411] main input debug: waiting for thread initialization [00000411] main input debug: thread started [00000411] main input debug: thread 2966555536 (input) created at priority 10 (input/input.c:370) [00000411] main input debug: `dvb-c://' gives access `dvb-c' demux `' path `' [00000411] main input debug: creating demux: access='dvb-c' demux='' path='' [00000412] main demux debug: looking for access_demux module: 0 candidates [00000412] main demux warning: no access_demux module matched "dvb-c" [00000412] main demux debug: TIMER module_Need() : 0,137 ms - Total 0,137 ms / 1 intvls (Avg 0,137 ms) [00000411] main input debug: creating access 'dvb-c' path='' [00000413] main access debug: looking for access module: 1 candidate [00000413] dvb access debug: Opening device /dev/dvb/adapter0/frontend0 [00000408] qt4 interface debug: Error while initializing qt-specific localization [00000408] qt4 interface debug: Updating the stream status: 3 [00000413] dvb access debug: Frontend Info: [00000413] dvb access debug: name = Philips TDA10023 DVB-C [00000413] dvb access debug: type = QAM (DVB-C) [00000413] dvb access debug: frequency_min = 47000000 (kHz) [00000413] dvb access debug: frequency_max = 862000000 (kHz) [00000413] dvb access debug: frequency_stepsize = 62500 [00000413] dvb access debug: frequency_tolerance = 0 [00000413] dvb access debug: symbol_rate_min = 458333 (kHz) [00000413] dvb access debug: symbol_rate_max = 7333333 (kHz) [00000413] dvb access debug: symbol_rate_tolerance (ppm) = 0 [00000413] dvb access debug: notifier_delay (ms) = 0 [00000413] dvb access debug: Frontend Info capability list: [00000413] dvb access debug: inversion auto [00000413] dvb access debug: forward error correction auto [00000413] dvb access debug: card can do QPSK [00000413] dvb access debug: card can do QAM 16 [00000413] dvb access debug: card can do QAM 32 [00000413] dvb access debug: card can do QAM 64 [00000413] dvb access debug: card can do QAM 128 [00000413] dvb access debug: card can do QAM 256 [00000413] dvb access debug: End of capability list [00000413] dvb access debug: trying to tune the frontend... [00000413] dvb access debug: using inversion=2 [00000413] dvb access debug: using fec=9 [00000413] dvb access error: DVB-C: setting frontend failed (-1): Invalid argument [00000413] dvb access error: DVB-C: tuning failed [00000413] main access warning: no access module matching "dvb-c" could be loaded [00000413] main access debug: TIMER module_Need() : 573,710 ms - Total 573,710 ms / 1 intvls (Avg 573,710 ms) [00000411] main input error: open of `dvb-c://' failed: could not create access [00000373] main playlist debug: finished input [00000373] main playlist debug: dying input [00000408] qt4 interface debug: Updating the stream status: 8 [00000373] main playlist debug: dying input [00000411] main input debug: thread ended [00000373] main playlist debug: dead input [00000411] main input debug: thread 2966555536 joined (playlist/engine.c:244) [00000411] main input debug: TIMER input launching for 'dvb-c://' : 754,409 ms - Total 754,409 ms / 1 intvls (Avg 754,409 ms) [00000373] main playlist debug: starting new item [00000373] main playlist debug: changing item without a request (current 0/1) [00000373] main playlist debug: nothing to play ^C[00000406] signals interface error: Caught Interrupt signal, exiting... [00000406] main interface debug: thread ended [00000001] main libvlc debug: removing all interfaces [00000408] qt4 interface debug: Quitting the Qt4 Interface [00000408] qt4 interface debug: Destroying the main interface [00000408] qt4 interface debug: Destroying the Dialog Provider [00000408] main interface debug: thread ended [00000408] main interface debug: thread 2983512976 joined (interface/interface.c:188) [00000408] main interface debug: removing module "qt4" [00000406] main interface debug: thread 3006434192 joined (interface/interface.c:188) [00000406] main interface debug: removing module "signals" [00000404] main interface debug: thread ended [00000404] main interface debug: thread 3023219600 joined (interface/interface.c:188) [00000404] main interface debug: removing module "screensaver" [00000402] main interface debug: thread ended [00000402] main interface debug: thread 3031612304 joined (interface/interface.c:188) [00000402] main interface debug: removing module "inhibit" [00000400] main interface debug: thread ended [00000400] main interface debug: thread 3040005008 joined (interface/interface.c:188) [00000400] main interface debug: removing module "hotkeys" [00000001] main libvlc debug: removing all services discovery tasks [00000001] main libvlc debug: removing playlist [00000373] main playlist debug: saving Media Library to file /home/nev/.local/share/vlc/ml.xspf [00000373] main playlist debug: looking for playlist export module: 1 candidate [00000373] main playlist debug: using playlist export module "export" [00000373] main playlist debug: TIMER module_Need() : 0,200 ms - Total 0,200 ms / 1 intvls (Avg 0,200 ms) [00000373] main playlist debug: removing module "export" [00000398] main preparser debug: thread ended [00000398] main preparser debug: thread 3070946192 joined (playlist/engine.c:521) [00000399] main fetcher debug: thread ended [00000399] main fetcher debug: thread 3056790416 joined (playlist/engine.c:523) [00000373] main playlist debug: thread ended [00000373] main playlist debug: thread 3048397712 joined (libvlc.c:993) [00000398] main preparser debug: Destroyed [00000399] main fetcher debug: Destroyed [00000373] main playlist debug: Destroyed [00000001] main libvlc debug: removing interaction [00000372] main interaction debug: thread ended [00000372] main interaction debug: thread 3079338896 joined (interface/interaction.c:400) [00000001] main libvlc debug: removing all video outputs [00000001] main libvlc debug: TIMER ML Load : Total 10,451 ms / 1 intvls (Avg 10,451 ms) [00000001] main libvlc debug: TIMER Items array build : Total 0,047 ms / 2 intvls (Avg 0,024 ms) [00000001] main libvlc debug: TIMER ML Dump : Total 0,269 ms / 1 intvls (Avg 0,269 ms) [00000001] main libvlc debug: removing stats [00000001] main libvlc debug: removing module "memcpymmxext" [00000001] main libvlc debug: opening config file (/home/nev/.config/vlc/vlcrc) [00000001] main libvlc debug: opening config file (/home/nev/.config/vlc/vlcrc) [00000001] main libvlc debug: writing plugins cache /home/nev/.cache/vlc/plugins-04041e.dat
What i find disturbing are these lines:

Code: Select all

[00000413] dvb access debug: trying to tune the frontend... [00000413] dvb access debug: using inversion=2 [00000413] dvb access debug: using fec=9 [00000413] dvb access error: DVB-C: setting frontend failed (-1): Invalid argument [00000413] dvb access error: DVB-C: tuning failed [00000413] main access warning: no access module matching "dvb-c" could be loaded [00000413] main access debug: TIMER module_Need() : 573,710 ms - Total 573,710 ms / 1 intvls (Avg 573,710 ms) [00000411] main input error: open of `dvb-c://' failed: could not create access
I also tried getting VLC to just play my channels.conf generated with the dvb-utils/tools but the result is the same.

Code: Select all

When i use the scan tool i use this config: # Stofa / Telia DVB-C (Denmark / "Naestved"?) # freq sr fec mod C 346000000 6900000 NONE QAM64 And this is some VERY cropped output from the channels scan, i get a'lot more: TV2 ZULU:386000000:INVERSION_AUTO:6900000:FEC_NONE:QAM_256:1220:1221:122 Kanal 4 :386000000:INVERSION_AUTO:6900000:FEC_NONE:QAM_256:1230:1231:123 Disney Channel:386000000:INVERSION_AUTO:6900000:FEC_NONE:QAM_256:1660:1661:166 TV2 Charlie:386000000:INVERSION_AUTO:6900000:FEC_NONE:QAM_256:2030:2031:203 TV2 Film:386000000:INVERSION_AUTO:6900000:FEC_NONE:QAM_256:2210:2211:221 Animal Planet:354000000:INVERSION_AUTO:6900000:FEC_NONE:QAM_256:1050:1051:105 Canal+ Film HD:418000000:INVERSION_AUTO:6900000:FEC_NONE:QAM_256:2460:2461:246 DR1:426000000:INVERSION_AUTO:6900000:FEC_NONE:QAM_256:2310:2311:231 DR2:426000000:INVERSION_AUTO:6900000:FEC_NONE:QAM_256:2320:2321:232 TV 2 Ost:426000000:INVERSION_AUTO:6900000:FEC_NONE:QAM_256:2400:2401:240 DR Update:426000000:INVERSION_AUTO:6900000:FEC_NONE:QAM_256:2510:2511:251 Viasat Explorer:442000000:INVERSION_AUTO:6900000:FEC_NONE:QAM_256:1680:1681:168
I really hope someone has some help to offer on this one, because i'm going loco! And i also really hope that some people out there, can use this thread when trying to get DVB-C working :D

Best Regards
//Nev

nev
New Cone
New Cone
Posts: 7
Joined: 18 May 2009 01:52

Re: Using VLC with a DVB-C tuner

Postby nev » 18 May 2009 02:32

Hmm apparantly making a post here helps my thinking, Just looked at the output from the channels.conf, and the channels are at different frequency's and uses entirely different modulations. So for playing DR1 i used.

Code: Select all

DR1:426000000:INVERSION_AUTO:6900000:FEC_NONE:QAM_256:2310:2311:231

Code: Select all

vlc -vvv dvb-c:// :dvb-frequency=426000000 :dvb-modulation=256 :dvb-srate=6900000 :programs=2310,2311
Notice also that the channel is at 426MhZ, well it sort of solved my problem, but i still can't get VLC to read and play the channels.conf file :/

Using
$ vlc -vvv channels.conf (same file as the output i posted earlier resides in)

What am i doing wrong here?

PS. Also watching encoded channels is foobar, but that belongs to another thread i guess...

nev
New Cone
New Cone
Posts: 7
Joined: 18 May 2009 01:52

Re: Using VLC with a DVB-C tuner

Postby nev » 18 May 2009 14:23

Okay, now i got everything working except the vlc opening channels.conf part. But i got encrypted channels playing, instead of the :programs=XXXX,XXXX i used :program=XXX where XXX = The last number in the line of a program in the channels.conf file.

A bit weird? Maybe someone with some technical insight might enlighten a lesser being?

Now i got this little shell script wich i use for streaming dvb-c channels via http over the internet, it works great, except my 3Ghz Core2Duo seems to have problems transcoding the Highdef 1080p channels mpeg4 stream to h264 and streaming it again :/

Code: Select all

#DVB Options freq=418000000 mod=256 srate=6900000 program=246 # transcoding # width=720 # height=576 # fps=25 scale=1 # Video Transcoding vcodec=h264 vbitrate=4000 # Audio Transcoding acodec=mp3 abitrate=256 achannels=2 # streaming access=http mux=ts port=13373 bindaddress= vlc -vv -I http dvb-c:// :dvb-frequency=$freq :dvb-modulation=$mod :dvb-srate=$srate :program=$program \ :sout="#transcode{vcodec=$vcodec,vb=$vbitrate,scale=$scale,acodec=$acodec,ab=$abitrate,channels=$achannels,deinterlace}:duplicate{dst=std{access=$access,mux=$mux,dst=$bindaddress:$port}}"

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Using VLC with a DVB-C tuner

Postby Jean-Baptiste Kempf » 19 May 2009 00:44

Playing channels.conf is vlc dvb://channels.conf IIRC.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

nev
New Cone
New Cone
Posts: 7
Joined: 18 May 2009 01:52

Re: Using VLC with a DVB-C tuner

Postby nev » 19 May 2009 17:00

I got it running of the channels.conf generated by the scan tool from the dvb-tools package (http://www.linuxtv.org). I am unsure if it had anything to do with it, but i added the repositories for VLC V1.0 RC1 and upgraded to the release candidate, but i also changed the command to include the full path to the channels.conf file:

Code: Select all

vlc dvb:// /home/XXUSER/.czap/channels.conf
Now i get all the channels in the playlist, and i can choose between them and everything is perfect. Now i just need to be able to change between playlist items, via a custom made interface. But that's an entirely different thread i think. :)

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Using VLC with a DVB-C tuner

Postby Jean-Baptiste Kempf » 19 May 2009 17:47

Ok, so all is good?
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

nev
New Cone
New Cone
Posts: 7
Joined: 18 May 2009 01:52

Re: Using VLC with a DVB-C tuner

Postby nev » 20 May 2009 00:47

Yeah, the only thing bugging me crazy now, is that when i stream this with fx the http or mmsh protocol, when i change between item's in the playlist the stream dies at the client side while changing to another channel in the playlist, then i have to press play again to get the client to resume play after each channel change. Also resizing 1080p channels to fx 720p or even maybe different transcoding parameters via the playlist would be a nice feature.

I'm not sure if the channels.conf combined with an rc interface is the way to go for me. What i'm trying to do is make a webbased player that can change channels and also record on the active channel.

But for now everything is good, sort of :)

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Using VLC with a DVB-C tuner

Postby Jean-Baptiste Kempf » 20 May 2009 11:24

--sout-keep when you stream.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

nev
New Cone
New Cone
Posts: 7
Joined: 18 May 2009 01:52

Re: Using VLC with a DVB-C tuner

Postby nev » 20 May 2009 18:34

That did it for me! :) hmm now what can i find to bitch about now.... :P

Subtitles from the dvb stream? tried adding scodec=dvbs,soverlay to the transcode options both with and without the soverlay option. But no subtitles to show.

Here are the output from the rc interface for the channel.

Code: Select all

info status change: ( new input: dvb:// ) status change: ( audio volume: 256 ) status change: ( play state: 3 ) +----[ Stream 0 ] | | Type: Video | Original ID: 1160 | Codec: mpgv | +----[ Stream 1 ] | | Type: Audio | Original ID: 1161 | Codec: mpga | Language: Dansk | +----[ Stream 2 ] | | Type: Audio | Original ID: 1165 | Codec: a52 | Language: English | +----[ Stream 3 ] | | Type: Subtitle | Original ID: 1169 | Codec: telx | Description: Teletext | +----[ Canal+ First [Program 116] ] | | Publisher: Stofa | Status: Running | Type: Digital television service | Now Playing: Talladega Nights | +----[ EPG Canal+ First [Program 116] ] | | 2009-05-20 17:15:00: Talladega Nights (01:45) - Komedi med Will Ferrell och Sacha Baron Cohen | 2009-05-20 19:00:00: House (01:00) - Dramaserie med Hugh Laurie och Robert Sean Leonard. | +----[ end of stream info ]
It looks like the teletext subtitle is there for the grabs? theres a strack set/get option in the rc interface but can't get it to do anything?

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Using VLC with a DVB-C tuner

Postby Jean-Baptiste Kempf » 21 May 2009 18:16

I am afraid subtitles blending (overlay) is not good in VLC. Patches are welcome.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

nev
New Cone
New Cone
Posts: 7
Joined: 18 May 2009 01:52

Re: Using VLC with a DVB-C tuner

Postby nev » 27 Sep 2009 02:48

Could use some expert hint's again. I am not sure where it wen't wrong but now the --sout-keep don't work for me any more.

*EDIT* This started somewhere inbetween 1.0.0 and 1.0.1 i think, and is the same with 1.0.2 *EDIT*

Mozilla Plugin completely freeze up when changing playlist item. I then have to reload the page containing the mozilla plugin embedding.
When i use the normal VLC the video just stops, when i then press play again it works fine and shows the new channel/playlist item.

Tried adding gather to the vlc instance but that does nothing. (suggested here http://wiki.videolan.org/Common_Problem ... working.29)

My VLC command looks like this:

Code: Select all

vlc -vvv --intf rc --rc-fake-tty --rc-host 10.0.1.x:25255 /home/nev/s_channels.conf --sout="#gather:transcode{vcodec=h264,vb=2000,scale=1,acodec=mp3,ab=256,channels=2,samplerate=44100,deinterlace}:duplicate{dst=std{access=http,mux=ts,dst=:13373}}" --sout-keep
I have tried analysing the debug information, and what strikes me from that output is the lines from when the playlist goto xx command is issued. Look here:

Code: Select all

CUT [0x8372540] main interface debug: accepted socket 20 (from socket 4) [0x837af80] main playlist debug: incoming request - stopping current input [0x837af80] main playlist debug: dying input [0x838e750] main input debug: control type=0 [0x838e750] main input debug: control: stopping input [0x837af80] main playlist debug: dying input [0x8386fb8] main mux warning: late buffer for mux input (44706) [0x8386fb8] main mux warning: late buffer for mux input (20515) [0x83d47b8] main packetizer debug: removing module "packetizer_mpegvideo" [0x83d47b8] main packetizer debug: killing decoder fourcc `mpgv', 0 PES in FIFO [0x8375580] main stream output debug: removing a sout input (sout_input:0xb5c24980) [0x83d6020] main packetizer debug: removing module "mpeg_audio" [0x83d6020] main packetizer debug: killing decoder fourcc `mpga', 0 PES in FIFO [0x8375580] main stream output debug: removing a sout input (sout_input:0x83de650) [0x838ea70] ts demux debug: pid list: [0x838ea70] ts demux debug: - pid[0] seen [0x838ea70] ts demux debug: - pid[17] seen [0x8375330] dvb access debug: DMXUnsetFilter: closing demux 13 [0x838ea70] ts demux debug: - pid[18] seen [0x8375330] dvb access debug: DMXUnsetFilter: closing demux 14 [0x838ea70] ts demux debug: - pid[116] seen [0x8375330] dvb access debug: DMXUnsetFilter: closing demux 15 [0x838ea70] ts demux debug: - pid[1160] seen [0x8375330] dvb access debug: DMXUnsetFilter: closing demux 16 [0x838ea70] ts demux debug: - pid[1161] seen [0x8375330] dvb access debug: DMXUnsetFilter: closing demux 17 [0x8375330] dvb access debug: DMXUnsetFilter: closing demux 18 [0x838e750] main input debug: Program doesn't contain anymore ES [0x838ea70] ts demux debug: - pid[1169] seen [0x8375330] dvb access debug: DMXUnsetFilter: closing demux 19 [0x838ea70] ts demux debug: - pid[8191] seen [0x838ea70] main demux debug: removing module "ts" [0x838e468] main stream debug: removing module "stream_filter_record" [0x8375330] dvb access debug: DMXUnsetFilter: closing demux 11 [0x8375330] dvb access debug: closing ConditionalAccess session (3) [0x8375330] main access debug: removing module "dvb" [0x838e750] main input debug: thread ended [0x837af80] main playlist debug: dead input [0x837af80] main playlist debug: processing request item DR2 node Undefined skip 0 [0x837af80] main playlist debug: rebuilding array of current - root Undefined [0x837af80] main playlist debug: rebuild done - 47 items, index 39 [0x837af80] main playlist debug: starting new item [0x837af80] main playlist debug: creating new input thread [0xb1211a00] main input debug: Creating an input for 'DR2' [0xb1211a00] main input debug: thread started [0xb1211a00] main input debug: reusing sout [0xb1211a00] main input debug: you probably want to use gather stream_out CUTend
I can't post the debug info in it's entirety, theres simply too much information for a forum post.

I tried doing a second vlc instance that just streams the first stream to see what happens heres what it outputs when the playlist item of the first instance is changed:

Code: Select all

[0x956bee0] packetizer_h264 packetizer debug: found NAL_SPS (sps_id=0) [0x956bee0] packetizer_h264 packetizer debug: found NAL_PPS (pps_id=0 sps_id=0) [0x9555388] main stream output debug: adding a new sout input (sout_input:0x957d068) [0x9558a50] main mux debug: adding a new input [0x9558a50] mux_ts mux debug: adding input codec=h264 pid=69 [0x9558a50] mux_ts mux debug: new PCR PID is 69 [0x9558a50] main mux warning: late buffer for mux input (1389956) [0x9558a50] mux_ts mux debug: adjusting rate at -2778478/200000 (3/919) [0x955ede8] ts demux debug: eof ? [0x9541d68] main input debug: EOF reached [0x9541d68] main input debug: waiting decoder fifos to empty [0x9558a50] main mux warning: late buffer for mux input (8002440) [0x9558a50] main mux warning: late buffer for mux input (8060018) [0x9553750] main packetizer debug: removing module "mpeg_audio" [0x9553750] main packetizer debug: killing decoder fourcc `mpga', 0 PES in FIFO [0x9555388] main stream output debug: removing a sout input (sout_input:0x95714f0) [0x9558a50] mux_ts mux debug: removing input pid=68 [0x956bee0] main packetizer debug: removing module "packetizer_h264" [0x956bee0] main packetizer debug: killing decoder fourcc `h264', 0 PES in FIFO [0x9555388] main stream output debug: removing a sout input (sout_input:0x957d068) [0x9558a50] mux_ts mux debug: removing input pid=69 [0x9558a50] mux_ts mux debug: new PCR PID is 8191 [0x9558a50] main mux warning: no more input streams for this mux [0x955ede8] ts demux debug: pid list: [0x955ede8] ts demux debug: - pid[0] seen [0x955ede8] ts demux debug: - pid[66] seen [0x955ede8] ts demux debug: - pid[68] seen [0x9541d68] main input debug: Program doesn't contain anymore ES [0x955ede8] ts demux debug: - pid[69] seen [0x955ede8] ts demux debug: - pid[8191] seen [0x955ede8] main demux debug: removing module "ts" [0x955bcc8] main stream debug: removing module "stream_filter_record" [0x9558c40] main access debug: removing module "access_http" [0x9558c40] main access debug: waitpipe: object killed [0x9541d68] main input debug: thread ended [0x9548ef8] main playlist debug: dead input [0x9541d68] main input debug: TIMER input launching for 'http://127.0.0.1:13373' : 297,869 ms - Total 297,869 ms / 1 intvls (Avg 297,869 ms) [0x9548ef8] main playlist debug: changing item without a request (current 0/1) [0x9548ef8] main playlist debug: nothing to play
Hope somebody will give this a look or has a hint for me, been googling like a mad man the last 2-3 weeks.


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 25 guests