New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Deliver raw teletext to clients that are able to display it (e.g. XBMC) #44
Conversation
|
For those of you who would like to try it with XBMC, have a look a this: |
|
Good job!! |
|
Thank you very much I opened a ticket for this https://www.lonelycoder.com/redmine/issues/511 because i'm not a programmer i had to wait for someone to implement this. I will try to patch the source to see if it works William |
|
Don't forget to patch XBMC as well... Patch for tvheadend: http://linode.sledim.si/tmp/deliver_raw_teletext_to_clients.patch |
|
This introduces a bug for me when I try to record some channels. The audio streams were not detected when recording. Stream from tvheadend to mplayer or watching the channels in xbmc works. I found this issue while testing this recording issue and reverting some patches I use in my fork of tvheadend. I traced this down to this pull request. Description of bug with ts dumps: http://www.lonelycoder.com/redmine/issues/754#note-6 I hope this is somehow useful. Don't hesitate to contact me for further information. Greetings |
|
Hello, see my comments in: http://www.lonelycoder.com/redmine/issues/754#note-10 Thank you for looking into it. William |
…reams. Temporary until a better solution is found.
|
I use this teletext patch in my version of tvheadend, and it works very fine, hope we will soon see this in master:) |
|
Would love it to see this added to the master! |
|
Does anyone have updated patch files including the quick fix supplied by Jernej ? |
|
Just add ".patch" to the github url... https://github.com/andoma/tvheadend/pull/44.patch |
|
thanks @mikrohard getting the patch worked but applying it failed 02:55:16 {master} ~/tvheadend$ git apply --ignore-space-change --ignore-whitespace tvheadend_deliver_raw_teletext_to_clients.v0.2.patch Maybe it's better to change it by hand? |
|
That's weird.... which tvheadend source are you using? It applies without any problems against the current master branch... |
|
Strange i'm using same master branch as you did. Only difference is that i'm compiling/patching it on Ubuntu 10.10, going to try again later today. |
|
Compiling and patching are two separate things... make sure to be in the right folder when patching. |
|
@mikrohard i ment patching but i think i'm already in right folder 02:55:16 {master} ~/tvheadend$ git apply --ignore-space-change --ignore-whitespace tvheadend_deliver_raw_teletext_to_clients.v0.2.patch It seems your way of compiling works and my method , patch apply 44.patch doesn't Now i need to find a workaround to get patching working in other program. |
|
Confirmed working on latest tvheadend master and @opdenkamp 's latest xbmc/master. Nice! (although slightly old school ;-) |
|
@mikkle what is old school? My way of patching ? |
|
@schumi2004 give "git am" a try :) EDIT: my way:
|
Deliver raw teletext to clients that are able to display it (e.g. XBMC)
|
I was just wondering, what is the reason for disabling the teletext stream in globalheaders? The commit log says: "Disable teletext recording to prevent issues with other elementary streams. Temporary until a better solution is found." The tsmuxer (libavformat) I'm currently trying to get going is using globalheaders and the teletext never reaches the muxer ;( |
|
Oh dear :( My guess is, without understanding this area of the code, is that its been done in the wrong part of the pipeline? Not sure. Maybe we consider this a short term patch to solve the immediate problem that XBMC guys were having, but maybe we need to do it properly for your new libav muxer. |
|
I tried this patch on OpenELEC in combination with the modified TV Headend. |
|
The globalheaders commit is a workaround for this issue: https://www.lonelycoder.com/redmine/issues/754 It seems that in some situations the teletext data causes globalheaders detection to abort or something. Before it was used only for recordings... and mkv muxing doesn't support teletext so I thought it was an OK workaround. |
|
@schumi2004 is it possible that openelec haven't picked up the XBMC patch that's also needed? I'm not completely familiar with this as I don't use teletext myself. The reasoning being the inclusion was simply that it's already being successfully used by a large number of users. @mikrohard I think its fine as a temporary solution, its just John is investigating a rework of the muxer in TVH to add more generic support via libav, he may need to revisit this to get that working. But I wanted this in so we can move towards @opdenkamp using tvh master (though I know there are some other fixes to add first). |
|
@adamsutton i compile my own OpenELEC builds and i added this patch to the patch dir for xbmc in OpenELEC source and i see it being picked up in log. I'll try again later today but i doubt it will work. I'm also using latest tvheadend from @opdenkamp repo When i use a Frodo build it does seem to work. Maybe the source used for pvr builds in OpenELEC is outdated or different, not sure. |
|
@schumi2004 teletext should work on openelec-PVR builds without any problem. It should work with both versions of xbmc (frodo and eden). |
|
Well tested it again, applied xbmc teletext patch, all seems good but no teletext at all. No teletext available. Tried it again with Frodo and voila teletext, on my windows desktop, teletext. don't get it :( |
|
There is no need to patch xbmc for teletext anymore. Eden-pvr and Frodo-pvr support tvheadend teletext OTB. |
|
@mikrohard i think for OE it does, source is i think outdated and needs to be patched. I also tried a build without the patch and still getting no teletext. I think i just switch to Frodo since it works perfect there. |
|
@schumi2004 You don't need to patch OE for getting teletext to work on both XBMC. I just tried both builds and both work fine. But again, this will work just on PVR builds. |
I think the title says it all. It's just a simple teletext parser to deliver raw teletext data to the client.