Kodi Community Forum

Full Version: HOW-TO watch Live TV in XBMC for Linux with Tvheadend, the easy way!
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
bas.t Wrote:WOW!!!!
Your wife must be very tolerant! Have you told her so?

Smile Luckily we don't watch very much recorded TV and DVD/avi playback works like a charm. And besides, you don't know how much beating I can tolerate before I'd call it critical Smile
Asked a question about missing audio in recording on tvheadend forum, don't know how active that forum is so i repost it here:

Hi,

Recently upgraded tvheadend to 2.12.99~git20111014 (taken from dushmaniacs repo), and now some recordings are missing audio.
It's totaly random, not consistent at all.

mkvinfo on a recording thats missing audio:

+ EBML head |+ EBML version: 1 |+ EBML read version: 1 |+ EBML maximum ID length: 4 |+ (Unknown element: EBMLMaxSizeLength; ID: 0x42f3 size: 4) |+ Doc type: matroska |+ Doc type version: 2 |+ Doc type read version: 2
+ Segment, size 1766142652 |+ Seek head (subentries will be skipped) |+ EbmlVoid (size: 430) |+ Segment information | + Segment UID: 0x38 0x90 0x6b 0x8c 0xd1 0x6d 0x9f 0x5d 0xf2 0x96 0x10 0x22 0x93 0xcc 0xc6 0xcc | + Title: CSI NY | + Muxing application: HTS Tvheadend Matroska muxer | + Writing application: HTS Tvheadend 2.12.99~git20111014.83c8467~odk1~lucid | + Timecode scale: 1000000 | + Duration: 3448.480s (00:57:28.480) |+ Segment tracks | + A track | + Track number: 1 | + Track UID: 1 | + Track type: video | + Lacing flag: 0 | + Codec ID: V_MPEG2 | + CodecPrivate, length 94 | + Default duration: 40.000ms (25.000 fps for a video track) | + Video track | + Pixel width: 720 | + Pixel height: 576 | + Display unit: 3 | + Display width: 16 | + Display height: 9 |+ Tags | + Tag | + Targets | + TargetTypeValue: 50 | + Simple | + Name: DATE_BROADCASTED | + String: 2012-01-23 21:00:00 | + (Unknown element: DummyElement) | + TagLanguage: und | + Tag | + Targets | + TargetTypeValue: 50 | + Simple | + Name: ORIGINAL_MEDIA_TYPE | + String: TV | + (Unknown element: DummyElement) | + TagLanguage: und | + Tag | + Targets | + TargetTypeValue: 50 | + Simple | + Name: TVCHANNEL | + String: Kanal 5 Väst | + (Unknown element: DummyElement) | + TagLanguage: und | + Tag | + Targets | + TargetTypeValue: 50 | + Simple | + Name: SUMMARY | + String: (164:180/s8) | + (Unknown element: DummyElement) | + TagLanguage: und |+ Cluster

you can clearly see that the first track only contains a video track

looking at a mkv that works (that is a recording from the same channel)

+ EBML head |+ EBML version: 1 |+ EBML read version: 1 |+ EBML maximum ID length: 4 |+ (Unknown element: EBMLMaxSizeLength; ID: 0x42f3 size: 4) |+ Doc type: matroska |+ Doc type version: 2 |+ Doc type read version: 2
+ Segment, size 1827390678 |+ Seek head (subentries will be skipped) |+ EbmlVoid (size: 430) |+ Segment information | + Segment UID: 0x31 0xad 0xb1 0x77 0x5d 0x29 0x01 0xd0 0x2b 0x63 0x66 0x96 0xe9 0x47 0x63 0x60 | + Title: CSI Miami | + Muxing application: HTS Tvheadend Matroska muxer | + Writing application: HTS Tvheadend 2.12.99~git20111014.83c8467~odk1~lucid | + Timecode scale: 1000000 | + Duration: 3264.400s (00:54:24.400) |+ Segment tracks | + A track | + Track number: 1 | + Track UID: 1 | + Track type: video | + Lacing flag: 0 | + Codec ID: V_MPEG2 | + CodecPrivate, length 94 | + Default duration: 40.000ms (25.000 fps for a video track) | + Video track | + Pixel width: 720 | + Pixel height: 576 | + Display unit: 3 | + Display width: 16 | + Display height: 9 | + A track | + Track number: 2 | + Track UID: 2 | + Track type: audio | + Lacing flag: 0 | + Codec ID: A_MPEG/L2 | + Language: swe | + Default duration: 24.000ms (41.667 fps for a video track) | + Audio track | + Sampling frequency: 48000 | + Channels: 2 |+ Tags | + Tag | + Targets | + TargetTypeValue: 50 | + Simple | + Name: DATE_BROADCASTED | + String: 2012-01-19 21:00:00 | + (Unknown element: DummyElement) | + TagLanguage: und | + Tag | + Targets | + TargetTypeValue: 50 | + Simple | + Name: ORIGINAL_MEDIA_TYPE | + String: TV | + (Unknown element: DummyElement) | + TagLanguage: und | + Tag | + Targets | + TargetTypeValue: 50 | + Simple | + Name: TVCHANNEL | + String: Kanal 5 Mitt/Norr | + (Unknown element: DummyElement) | + TagLanguage: und | + Tag | + Targets | + TargetTypeValue: 50 | + Simple | + Name: SUMMARY | + String: (215:232/s10) | + (Unknown element: DummyElement) | + TagLanguage: und |+ Cluster

you can see the audio track.

Is there some way I can debug this, the log in the webgui looks ok, it writes
video and audio as it should.

Edit:

Just noticed when posting here that in fact it was not the same channel that was recorded from.
It is consistent with no audio when recording from the channel where the upper mkvinfo was taken from,
and the audio works as it should when recording from the channel where the lower mkvinfo was taken from.
can i watch osn channels by vlc?
_BJ1 Wrote:Yes, thats normal. A hour needs approximately 3-4 GB in SD, High Definition ca. 6 GB (H.264) depending on content and compression. Why want you compress again the video? Do you need a transfer on floppy disc? Wink

_BJ1

Well I do not have unlimited space...and when I download things they are about 400M for a 30 minute show. That is kinda what I was expecting. Is there anyway to do this?
oneadvent Wrote:Well I do not have unlimited space...and when I download things they are about 400M for a 30 minute show. That is kinda what I was expecting. Is there anyway to do this?

Well, your recordings will have the normal size. However, you could process them afterwards to downsize them, but I think you'd be better off with a bigger hard drive.
Unfortunately, even the tvheadend-dbg_2.12.99~pulse-4 crashes when recording a program is requested (directly from the web interface). I installed the dbg version, but debugging the core was not successful, it looks like optimization is still enabled for the dbg package and I could not list the source code in gdb. Since I do not know which revision number this package was compiled from I cannot debug the problem.

dushmaniac, please is there a way to either include the revision number as in the lonelycoder repository, or is it possible to make the source package available, or at least the configure options?

I would really want to help. Thanks a lot in advance.
bas.t Wrote:Well, your recordings will have the normal size. However, you could process them afterwards to downsize them, but I think you'd be better off with a bigger hard drive.

I noticed when I post process, it doesn't link right.. maybe I am post processing wrong, is there a place to tell me the best way?
The post of the first page says it will install TVHeadend by running the install script but it doesn't... in case anyone gets stuck you need to run the following to install tvheadend

sudo apt-get install tvheadend
phofman Wrote:Unfortunately, even the tvheadend-dbg_2.12.99~pulse-4 crashes when recording a program is requested...

Code:
sudo /etc/init.d/tvheadend stop
sudo rm ~/.hts/tvheadend/dvr/config
sudo /etc/init.d/tvheadend start

This will generate a compatible config for the digital recorder. The config from previous versions are incompatible with ~pulse4 that caused a crash of tvheadend.

_BJ1
oneadvent Wrote:I noticed when I post process, it doesn't link right.. maybe I am post processing wrong, is there a place to tell me the best way?

The best way of postprocessing, I don't know..
But the links are probably not right because the files are renamed and or placed in a different directory during postprocessing
Hi,

I'm runnning on the latest opdenkamp PPA build on the 32 bit Oneric.
All is very good exept crashes a couple of times every night, seems to happen more frequent when I change media.

Anyone else have the same, I want to rule out if it is due to my HW or version of Ubuntu, or if is unstability in the xbmc build?l

Cheers,

Kjetil
Hi,

I have a very strange problem, with xbmc pvr edition.
Earlier I used yavdr, now I use XBMCbuntu based on oneiric mini iso and pulse-eight ppa.

On both system, after a period of time, mp3 files appeared in /home/xbmc/.xbmc/temp directory. (or, in yavdr it was in /var/lib/vdr/.xbmc/temp/

I never downloaded those by myself, and the very same files appeared after the complete reinstall from yavdr to xbmcbuntu...

The owner of the files is xbmc:xbmc I set up an individual password for xbmc at install.
There is a cookies.dat file as well and a rarfolder0000 folder with more files.

I would be glad if someone could help me find out where those files comes from and avoid them being appear there again...

I only added tvheadend plugin after install.
My htpc is behind a router, and it is not opened to the internet

Edit: I opened a separate thread here with this problem, sorry for posted it here
Have you used the YouTube addon recently?
otcho Wrote:Have you used the YouTube addon recently?

yes, as I wrote in the other thread
Should the script on the first page work with xbmcbuntu beta 3?