Opened 18 years ago
Closed 18 years ago
#689 closed defect (fixed)
svn 8210 -> 8235 breaks some channels (zero byte recording)
Reported by: | Owned by: | danielk | |
---|---|---|---|
Priority: | minor | Milestone: | 0.19 |
Component: | mythtv | Version: | head |
Severity: | medium | Keywords: | |
Cc: | Ticket locked: | no |
Description
Hi All,
I have been lax in my svn updates recently, today I updated from 7857 to 7974 and some channels dont record anymore - I just end up with a zero byte file.
mythbackend -v all are attached for a working and borked. ( as soon as i work out how to attach them! )
I am doing a channel rescan now just incase new PID's or something?!?!
Cheers Dave
Attachments (6)
Change History (29)
comment:1 Changed 18 years ago by
Hi All,
ok i updated to 7901 and from 7857 and its still all ok.
7919 didn't work however so it must be a change in between there.
Once I know which commit breaks it i will post back :) i think it might be DK's 7902 :)
cheers dave.
comment:2 Changed 18 years ago by
i'm also having this problem, since i updated on i think sunday. shows recorded on my dvb card gets created as zero length files.
i tried to find the problem yesterday but didn't find anything obvious in the logs from the backend. but, i was able to get livetv to work and atleast once switch channel on my dvb card, so i do get some data from.
comment:3 Changed 18 years ago by
Owner: | changed from Isaac Richards to danielk |
---|
comment:4 Changed 18 years ago by
Milestone: | → 0.19 |
---|---|
Version: | → head |
Can someone check this with current SVN?
I fixed some zero length recording problems on Monday.
comment:5 Changed 18 years ago by
Nope is still borked with 8029. attached mythbackend -v all.
Cheers Dave
Changed 18 years ago by
Attachment: | still borked - 8029 added |
---|
comment:6 Changed 18 years ago by
I'm getting the same thing (8027.) I can record one channel (SBS) but all others give zero byte recordings. This results in a segfault on Live TV if the starting channel is a problematic one.
comment:7 Changed 18 years ago by
Jon, can you make a log of the backend with "-v record,channel,siparser,file" then start a recording on one of these channels (not a livetv recording), leave it running for 90 seconds, then stop the recording. Then attach the entire log to the ticket.
comment:8 Changed 18 years ago by
Same problem here (8035). The log with option -v record,channel,siparser,file is at url: http://www.itcasi.com/yksityiset/teemu.sillanpaa/mythbackend_zero_size_recording.log
It was too big to attach...
Teemu
Changed 18 years ago by
Attachment: | backend.log.zero-byte-recording.txt added |
---|
Mythbackend log (zero byte recording from channel 10)
comment:9 Changed 18 years ago by
Backend log attached as requested, though I see Teemu beat me to it! It ran for a little longer than 90 seconds, as I got called away. The recording was scheduled through mythweb, then I restarted the backend to get a clean log. The recording was also stopped (by deleting it) though mythweb, though I've snipped those lines.
Cheer,
Jon
comment:10 Changed 18 years ago by
temmu, what does "ls -l /opt/pub/mythtv/1017_20051124213600.mpg" give you? jon, I would ask you the same, but you say you deleted the recording...
The recordings looked like they were started up properly, I don't understand why it didn't work..
If you could find the specific changeset that breaks the recordings that might help.
comment:11 Changed 18 years ago by
Here's what I get in my video directory for a show that recorded on channel 10, starting at 18:30, and finishing at 17:05.
server root # ls -l /var/media/video/1010_20051125* -rw-r--r-- 1 root root 0 Nov 25 18:30 /var/media/video/1010_20051125183000.mpg
I upgraded from 7738 (or whatever the pre-broken-live-tv release was) to 7936, but only got backend segfaults (ticket 684.) They were fixed in 7959, but Live TV didn't work for me at that release.
comment:12 Changed 18 years ago by
Summary: | svn 7857 -> 7974 breaks some channels (zero byte recording) → svn 7901 -> 7919 breaks some channels (zero byte recording) |
---|
well as I said my svn is upto 7901 and that works correctly - however 7919 is broken.
ive updated the title to reflect this :) when i have time i will go through 7901 -> 7919 to find out which chg breaks it :)
comment:13 Changed 18 years ago by
7902 seems to be the problem. 7901 works, the zero byte recordings appear with 7902
comment:14 Changed 18 years ago by
Can either of you try two these two things:
- Try increasing search windown value in FindKeyframes?() replace the 10 in
return (idx >= 10*TSPacket::SIZE);
with 100. - Try Stuart's [7902] revert patch attached to ticket #692.
Hopefully increasing the search window is sufficient. If not, then hopefully reverting 7902 works.
-- Daniel
comment:15 Changed 18 years ago by
Hi Daniel,
8035 with 7902 revert works.
most recent SVN with 10->100 didn't do anything :)
Hope this helps.
Cheers Dave
comment:16 Changed 18 years ago by
comment:17 Changed 18 years ago by
comment:18 Changed 18 years ago by
comment:19 Changed 18 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:20 Changed 18 years ago by
Resolution: | fixed |
---|---|
Status: | closed → reopened |
Summary: | svn 7901 -> 7919 breaks some channels (zero byte recording) → svn 8210 -> 8235 breaks some channels (zero byte recording) |
Hi All,
I think its 8211 but i didn't have time to test it fully.
backend log attached.
Cheers Dave
comment:21 Changed 18 years ago by
I don't think this is causing the zero byte recordings, but it could be a contributing factor. Basically, if the PES header code straddles TS packets in a certain way the scanner could have missed them before this change. Also I made the frame tracking variables unsigned, except the first_keyframe variable which is now set to -1 before it is set. This lets us eliminate a couple variables and simplify the code further.
comment:22 Changed 18 years ago by
Hi Daniel,
I loaded up 8272 last night and that appeared to work fine. I am not sure if its something to do with what they are Bcasing (ie widescreen, or not...).
I am going on leave for a while so I won't be able to test things out until I get back.
Cheers Dave
comment:23 Changed 18 years ago by
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
(In [8290]) Fixes #689, fixes #816. Don't abort the scan for pictures too early...
Torbjorn Jansson actually reported to me that an earlier fix for #689 appeared to have worked for him. But this fixed a final problematic stream of David's so I'm closing this ticket with this commit. #816 appears to be a result of this same bit of code, basically if the picture code was transmitted too long after the seq or gop it wouldn't be found. This is sort of the exact opposite of the problem in #799.
Broken Recoding