-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Dirk Meyer wrote:
| Duncan Webb wrote:
|> Dirk Meyer wrote:
|> | Dirk Meyer wrote:
|> |> Hi,
|> |>
|> |> the current kaa.metadata VCD and SVCD detection code is buggy so I
|> |> made some improvements. I hope this works now. Everyone with a VCD or
|> |> a SVCD somewhere, please test it with as much discs as possible. You
|> |> can get the test code at http://files.sachmittel.de/vcdtest.py
|> |
|> | Please run it with 'python vcdtest.py /path/to/disc'
|>
|> Different results for svcd and vcd...
|
| Can you send me the first 1MB if the not detected discs please. Or
| find out what part of my tests fail in the test app.

|>> f.seek(2048*16 + 1024, 0)
|>> f.read(8)
'CD-XA001'
|>> f.seek(2048*150, 0)
|>> f.read(8)
'SUPERVCD'
|>> f.seek(2048*16, 0)
|>> iso9660 = f.read(2048*16)
|>> iso9660.find('MPEGAV')
- -1
|>> iso9660.find('MPEG2')
4275
|>> iso9660.find('SVCD')
50

The last find is incorrect as has found the title:
|>> iso9660[40:60]
'ELIZABETH_SVCD      '
The real SVCD is:
|>> iso9660[4380:4390]
'\x04SVCD\x00\x00\x00\x00\x00'

Does this help?

The CD's a bit old and has read errors.

Duncan
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHi7l9Ni6l+Xvys44RAj2AAJ45E5mQognLS6/YjrTcuaVh6xYMcwCgoKsO
Kb7SJtWPHcvgJBS/ZYeG304=
=bUcJ
-----END PGP SIGNATURE-----


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Freevo-devel mailing list
Freevo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-devel

Reply via email to