Opened 16 years ago
Closed 15 years ago
#5388 closed defect (fixed)
ITV HD does not work
Reported by: | anonymous | Owned by: | Janne Grunau |
---|---|---|---|
Priority: | minor | Milestone: | 0.22 |
Component: | mythtv | Version: | head |
Severity: | medium | Keywords: | |
Cc: | stuartm | Ticket locked: | no |
Description
I am trying to get ITV HD working on MythTV. The channel is meant to be exclusive to FreeSat? and ITV don't want it to work with Sky HD boxes until they sort out a contract with them.
In order to prevent it working they are supposedly advertising their stream as a h.222 stream when in fact it is h.264.
I have managed to get MythTV to recognize the channel, which shows up as "10510", but playing back anything is not currently possible.
Looking at the logs, it seems that MythTV is incorrectly detecting the video stream as MPEG-1 video, but it is detecting the audio stream correctly as A52. Here's an extract from the log
2008-05-22 03:52:39.357 AFD: Stream #0, has id 0x3401 codec id MPEG1VIDEO, type Video, bitrate 0 at 0x0x19bc630
There is a thread over at Digital Spy which is following the happenings with the channel here: http://www.digitalspy.co.uk/forums/showthread.php?t=788062
Any help in getting this working would be appreciated.
Attachments (3)
Change History (18)
comment:1 Changed 16 years ago by
Owner: | changed from Isaac Richards to Janne Grunau |
---|---|
Status: | new → assigned |
comment:2 Changed 16 years ago by
Changed 16 years ago by
Attachment: | itvhd.diff added |
---|
comment:3 Changed 16 years ago by
A more specific patch which looks for ITV HD's specific stream id instead of generically converting all MPEG-1 into h.264 HD.
comment:4 Changed 16 years ago by
Cc: | stuartm added |
---|---|
Milestone: | unknown → 0.22 |
Version: | unknown → head |
comment:5 Changed 16 years ago by
It seems ITV are using some advanced h.264 techniques which are not yet supported by FFMPEG yet.
The following is logged when viewing ITV HD
[h264 @ 0x7fdcd2dea0d0]Interlaced pictures + spatial direct mode is not implemented
Although you do get picture and sound with the patch, there is corruption in the picture due to the unimplemented feature.
comment:6 Changed 16 years ago by
I've applied this patch to 0.21-fixes but still can't get any picture/sound on the ITV HD channel.
Any ideas?
Charlie
2008-08-27 22:04:33.431 Forcing h.264 for ITV HD workaround 2008-08-27 22:04:33.468 VideoOutputXv: XVideo Adaptor Name: 'NV17 Video Texture' 2008-08-27 22:04:34.009 AFD: Opened codec 0xa450360, id(H264) type(Video) 2008-08-27 22:04:34.010 AFD: codec AC3 has 2 channels 2008-08-27 22:04:34.033 AFD: Opened codec 0xb068cd0, id(AC3) type(Audio) 2008-08-27 22:04:34.108 Opening audio device 'default'. ch 2(2) sr 48000 2008-08-27 22:04:34.108 Opening ALSA audio device 'default'. 2008-08-27 22:04:34.129 NVP: Enabling Audio 2008-08-27 22:04:34.276 NVP: Prebuffer wait timed out 10 times. 2008-08-27 22:04:34.726 NVP: Prebuffer wait timed out 10 times. 200-08-27 22:04:35.176 NVP: Prebuffer wait timed out 10 times.
comment:7 Changed 16 years ago by
I see that ffmpeg has indeed updated libavcodec (some time ago) to fix the interlaced issue. It's a total show-stopper for DVB-t users in Norway at least, making everything extremely blocky. Any thoughts about updating libavcodec within mythtv in the near future?
/N
comment:8 Changed 16 years ago by
Different patch that changes the stream type in the output pmt so that ITV HD works in livetv. Frame size is detected correctly for me without avformatdecoder changes.. See #5645 for ffmpeg resync to fix interlaced + spatial direct issue.
comment:9 Changed 15 years ago by
This patch should fix ITV HD-- please apply to current trunk as there is another fix to the mpeg TS parser that is relies on. Is working here reliably, but I am not in the UK so cannot test on anything but samples. Please let me know.
comment:10 Changed 15 years ago by
An FYI, attempting to send ITV HD to VDPAU causes GPU crashes and system freezes here. Not sure if it's the clip I've got or the method I'm employing, but for now, use this patch with Xv-blit.
comment:11 follow-up: 12 Changed 15 years ago by
Upon further testing, I think it *is* my sample that's to blame. Can someone (bearing in mind that it may lock your system) try this patch + ITVHD + VDPAU? As far as I can tell it *is* being correctly passed to h264_vdpau. If ITV HD consistently crashes VDPAU, we need to submit samples to Nvidia, as they are asking for files that crash the GPU to improve the driver.
comment:12 Changed 15 years ago by
With latest trunk do I need all three patches or just the itvhdfix.diff? I'm going to test this with latest NVIDIA driver 180.16 and let you know how I get on. Live TV was bombing out when using VDPAU and itvhd.diff/itvhd2.diff.
Dave K.
comment:13 follow-up: 14 Changed 15 years ago by
Hi.
Just thought I'd provide some feedback:
I've tested these patches, and although having some sort of autodetection would be a better solution (itvhdfix.diff) it doesnt seem to work on my setup.
I've also tested itvhd2.diff which detects this based on the PID.
Regards -- Brad.
comment:14 Changed 15 years ago by
Replying to bradley.kite@gmail.com:
Hi.
Just thought I'd provide some feedback:
I've tested these patches, and although having some sort of autodetection would be a better solution (itvhdfix.diff) it doesnt seem to work on my setup.
I've also tested itvhd2.diff which detects this based on the PID.
Regards -- Brad.
My findings are the same as brad, itvhdfix.diff does not work, no video on live playback just sound. itvhd2.diff works fine on live playback.
Regards
Dave K.
comment:15 Changed 15 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
A patch to get ITV HD working has been posted on the mailing list.
Not ideal, but gets it working
http://mythtv.org/pipermail/mythtv-users/2008-June/224375.html