Bug #1609
Commercial detection splits file
0%
Description
In some cases the commercial detection splits up the file in two parts. "Prolog" and main movie in ABC.mkv and the "epilog" in ABC-1.mkv.
The syslog tells: dvr: Unable to reconfigure ...
History
Updated by Adam Sutton almost 12 years ago
- Category set to Muxers
- Status changed from New to Accepted
- Assignee set to John Törnblom
John I also saw this in the middle of a recording that I have a series link setup on. Now this may have been related to my messing about with cwc channels and that might have caused some delays that resulted in transport errors, I wondered if this caused the problem.
Since I was recording to TS (passthru) I was surprised it created a new file, however I was able to overcome the problem for me by simply cat'ing the files together. I can see if I have any logs.
Adam
Updated by John Törnblom almost 12 years ago
Actually, the mkv split is caused due to a change in the stream, i.e. a new audio track is added. Previous versions of tvheadend ignored this new track and dropped its packages. Matroska only allow one track description per segment, and multisegment files are poorly supported (only vlc afaik). passthrough muxer (mpegts) supports reconfiguration of the stream (pmt is regenerated) so no new file needs to be created.
Updated by Adam Sutton almost 12 years ago
John,
I think the point I was trying to make is that:
a) I'm using passthru so it shouldn't have done this anyway
and
b) It happened in the middle of a program (not commercial TV so no ads etc..) and the streams did not change.
It looks to me like it erroneously detected a stream change, possibly a result of the transport errors I mentioned and then erroneously created a new .ts file. But I need to get some logs, hopefully I've got some.
But this has only happened the once (for me) and did correspond with me playing around with CWC channels for the first time.
Adam
Updated by Adam Sutton almost 12 years ago
John,
ignore me, my particular instance was caused by the recording being briefly stopped as a result of my messing about. So it had nothing to do with this.
And I think you're probably right about the original report, I'll leave you to deal with it though.
Adam
Updated by polini - almost 12 years ago
Ticket can be closed in my opinion. John's information explains why the files are split sometimes in mkv mode...