Ok, working as expected, Live-TV displays fine through the hts addon, EPG shows everything 2h early.
I.e. Running program 1800-1900 shows information from the program running 16-1700.
Same for recording. Tvheadend used is 2.7, should probably upgrade that to 2.11.
edit: forgot to mention that i'm on GMT+2 currently, so it seems a simple timezone matter at the first glance.
[OLD] HOW-TO watch Live TV in XBMC for Linux with Tvheadend, the easy way!
decay
Junior Member Posts: 7 Joined: Sep 2010 Reputation: 0 |
2010-09-09 19:22
Post: #891
(This post was last modified: 2010-09-09 19:32 by decay.)
|
| find |
pinthenet
Member Posts: 55 Joined: Aug 2009 Reputation: 0 |
2010-09-10 08:52
Post: #892
I've been experiencing regular crashes with recent pvr_testing packages.
In the latest version (2pvr~10.08~svn33599-lucid1 ) xbmc often crashes when starting a channel. Usually XBMC restarts but yesterday I had to reboot once. In earlier versions (a week or so ago) it often crashed the first time I tried to select EPG within LiveTV. I can't spot anything in the log file or crash log yet, but I'm still looking I realise it's not final software but I'd be interested to know if anyone else has similar issues, in case it's something with my setup. Thanks John |
| find |
Nick8888
Fan Posts: 716 Joined: Jan 2007 Reputation: 0 |
2010-09-10 12:22
Post: #893
I finally got commercial skipping to work with tvheadend using comskip.exe and wine.
Here's the script for anyone that wants it, just change the variables marked EDIT. Only use it if you understand what its doing because I will not be responsible if anything goes wrong. Code: #!/bin/shBased on script by Ruud and a few others on the net. Run in tvheadend with "~/path/to/script.sh %f %b" Basically converts mkv to mpg then creates an edl file and copies it to mkv folder. Log file in /var/log/tvheadendpp.log I didn't trust myself with deleting any files so feel free to add that yourself. Code: ffmpeg -v 10 -i "$MKVVIDEO" -acodec copy -vcodec libx264 -vpre veryfast -s hd480 -b 500k "$TRANSCODEPATH$b.edl" </dev/null >>/var/log/posttvheader.log 2>&1I haven't done much testing with the actual commercial skipping but I have seen it is not working 100%. I think the comskip.ini will have to be tweaked a little too. I tried with mythcommflag but was never able to get it to work standalone with the --skipdb option (it would work fine with recordings from mythtv which had info in the database but for some reason it would not work with the exact same file with the skipdb option) If anyone has that working I can provide some extra lines of the script to convert the mythtv edl to a xbmc standard. |
| find |
Nick8888
Fan Posts: 716 Joined: Jan 2007 Reputation: 0 |
2010-09-11 08:30
Post: #894
Okay, I've found out why comskip isn't finding commercials so well.. it doesn't like the output of and struggles to decode some video/audio:
Code: ffmpeg -v 10 -i "$MKVVIDEO" -vcodec copy -acodec copy "$MPGVIDEO"I've changed it to Code: ffmpeg -v 10 -i "$MKVVIDEO" -vcodec copy -ab 128k "$MPGVIDEO"and it now finds all the commercials very accurately but with massive a/v sync issues. Ive tried experimenting with -copyts 1 and -async 1 but had no luck. I'm hoping someone has a solution to getting tvheadend output to a comskip compatible file. EDIT: I should add, mythtv's output works flawlessly.. When I re-encode mythtvs output with ffmpeg, it becomes a little more unreliable but still in sync. EDIT2: Code: ffmpeg -v 10 -i "$MKVVIDEO" -vcodec mpeg2video -sameq -acodec copy -f vob -copyts "$MPGVIDEO"Just testing out the donators version of comskip now to see if it helps at all. Problem with the other settings seems to be some dropped frames or something at the beginning of some mkvs. All the commercial breaks were off by 30secs in those files. Quote:Output #0, mpeg, to '/home/nick/Recordings/NCIS.2010-09-10.mpg': Here's part of my ffmpeg log showing the sync problem. 768(frames) divided by 25(fps) = ~30sec When comskip tries to find the commercials, the audio and video are out of sync by the same amount and the commercial breaks in the edl occur 30seconds early. EDIT3: Just realised when playing back the original problematic files in xbmc, while it plays fine, the playtime begins at 0.30 and cannot be skipped back before that time. It does not skip 30seconds of video, rather there is something there which is erroneous. When I transcode the file, the new one has 30 seconds of grey and no sound at the beginning which helps comskip create a valid edl. I'm starting to think its a bug with how tvheadend creates the mkv. Fixing this would save alot of video transcoding time which I am currently doing to make the edl (which are working great!!).
(This post was last modified: 2010-09-12 05:56 by Nick8888.)
|
| find |
moontan77
Fan Posts: 349 Joined: Jul 2009 Reputation: 0 |
2010-09-13 12:28
Post: #895
anyone know of any android media players that play tvheadend rtsp streams without transcoding?
with a lot of android tablest due out over the next few months that can handle mpeg2, it would be great to be able to watch tvheadend streams on a tablet. The current archos 5 (which i have) should be able to handle the streams aswell. |
| find |
kurai
Member+ Joined: Jun 2009 Reputation: 2 |
2010-09-13 13:58
Post: #896
On a slightly off topic tangent ...
One major problem I have with TvHeadend is that it locks up the kernel on USB unplug event when suspending/hibernating. Does anyone know if VDR has the same issue ? |
| find |
tsint
Member Posts: 63 Joined: Dec 2007 Reputation: 0 Location: Sweden |
2010-09-13 16:29
Post: #897
Do you have a script to unload/load the tuner modules when you suspend/resume?
This is my sleep script, /etc/pm/sleep.d/66_tuner Code: #!/bin/shPerhaps this only works if you have a PCI-tuner...
(This post was last modified: 2010-09-13 16:33 by tsint.)
|
| find |
petie74
Member Posts: 52 Joined: Oct 2008 Reputation: 0 Location: Port Elizabeth, South Africa |
2010-09-13 16:40
Post: #898
Great, thanx for this, always need to fix but never got around to and you help leading me to a Hauppauge PVR-150 solution. Cheers
http://ubuntuforums.org/showthread.php?t=678822 |
| find |
kurai
Member+ Joined: Jun 2009 Reputation: 2 |
tsint Wrote:Do you have a script to unload/load the tuner modules when you suspend/resume? Doh - it never even occured to me to take the (now) obvious route, and create an additional sleep script. :o Looks like the tvheadend init.d script exits and detaches from modules cleanly, so doesn't even require me to rmmod the stuff for my USB Avermedia A850 tuner. All works fine now - thanks tsint.
(This post was last modified: 2010-09-13 17:47 by kurai.)
|
| find |
peely
Junior Member Posts: 5 Joined: Apr 2010 Reputation: 0 |
2010-09-14 15:46
Post: #900
decay Wrote:Ok, working as expected, Live-TV displays fine through the hts addon, EPG shows everything 2h early. I have the same issue in the UK, XBMC shows the tvheadend EPG data an hour early as we're currently in DST, being GMT + 1. Tvheadend shows the correct data and both my server and client are in the same timezone. N. |
| find |

![[Image: blank.gif]](http://www.up.wroc.pl/img/blank.gif)
Search
Help