News:

--

Main Menu

idx2 of previous version broken?

Started by bernd_b, November 04, 2013, 06:49:50 PM

Previous topic - Next topic

bernd_b

I have some recordings which I indexed with a version of some time ago (e.g. 8849). I still can open these indexed ts files at once with , e.g., r-8884.

But if I want to open it with r-8897 or r-8949, I get the view of an file with duration of 0 seconds, meaning nothing to work with. I have to delete the idx2-file, then reopen -which builds the idx2 file again- and everything works as normal.

Is this the expected behaviour? I can't find the change in the changelog which might lead to this.

mean

Woudl be interesting to do a diff on the 2 idx2
They are simple text file

bernd_b

As far as I got all I have to to is change the line
Version=4
to
Version=5

Here is the start of the output of diff -y, the index-part itself seems to be identical.


diff -y 00001.ts.idx2.r-8884 00001.ts.idx2.r-8949

PSD1 PSD1
[System] [System]
Version=4       | Version=5
Type=T Type=T
File=/media/SL01/vdr_video/The_Wonder_of_Dogs/_/2013-09-19.20 File=/media/SL01/vdr_video/The_Wonder_of_Dogs/_/2013-09-19.20
Append=0 Append=0
[Video] [Video]
Width=1920 Width=1920
Height=1080 Height=1080
Fps=50000 Fps=50000
Interlaced=0 Interlaced=0
AR=0 AR=0
Pid=5500 Pid=5500
VideoCodec=H264 VideoCodec=H264
[Audio] [Audio]
Tracks=2 Tracks=2
Track0.pid=157e Track0.pid=157e
Track0.codec=80 Track0.codec=80
Track0.fq=48000 Track0.fq=48000
Track0.chan=2 Track0.chan=2
Track0.br=32000 Track0.br=32000
Track0.muxing=0 Track0.muxing=0
      > Track0.language=NAR
Track1.pid=157d Track1.pid=157d
Track1.codec=8192 Track1.codec=8192
Track1.fq=48000 Track1.fq=48000
Track1.chan=2 Track1.chan=2
Track1.br=24000 Track1.br=24000
Track1.muxing=0 Track1.muxing=0
      > Track1.language=eng
[Data] [Data]
Audio bf:0004f734 Pes:157e:000479a0:0:186685483 Pes:157d:0005 Audio bf:0004f734 Pes:157e:000479a0:0:186685483 Pes:157d:0005
Video at:00000178:001f Pts:186770199:186734199  DT:047c5b:0:0 Video at:00000178:001f Pts:186770199:186734199  DT:047c5b:0:0
.
.
.

mean

It should not accept the file with an older version
(?)

bernd_b

It's vice versa.

The r-8949 doesn't accept the old version made by r-8884, the old version r-8884 doesn't accept the idx2-file of r-8949.

When I change the line "Version=4" to "Version=5", r-8949 loads this modified of the idx2-file of r-8884.