"mike lewis" wrote:
> ===
> [EMAIL PROTECTED]:/media/sdb1/mythtv/recordings$ mminfo -d 2
> 1012_20080612232000.mpg
> kaa media metadata info
> setting to log level 2
> DEBUG factory(146): trying ext mpg
> ERROR mpeg(765): bad TS
>
> 1012_20080612232000.mpg
> |       type: MPEG-TS
> |      media: MEDIA_AV
> |       mime: video/mpeg
> | interlaced: True
> +-- Video Track #1
> |    |      media: MEDIA_VIDEO
> |    |    bitrate: 90000000
> |    |      codec: MPEG-2 Video
> |    |      width: 1920
> |    |     height: 1080
> |    |        fps: 25
> |    |     aspect: 1.77777777778
> |    |     fourcc: MP2V
> |    |         id: 514
> ===
>
> How can I find out what's wrong with the TS stream?  I'm trying to get
> my PS3 to pay these streams and it doesn't have the capability to work
> around the error.

Some timestamps are missing. See kaa/metadata/video/mpeg.py for some
details:

|  if adapt & 0x01:
|      timestamp = self.ReadPESHeader(c+offset, buffer[c+offset:], tsid)[1]
|      if timestamp is None:
|          # this should not happen
|          log.error('bad TS')
|          return None
|      return c + offset + timestamp

I do not remember what the adapt field is.

> I'm sorry to say this but these streams were recorded via MythTV...

No need to be sorry. :)

> Funny thing is, notmedia players that play the stream blit out any
> errors.  But I've been trying to find something to give me the error
> as the PS3 doesn't offer any inteligable output.

Can mplayer play the file? What about xine?


Dischi

-- 
Half of the troubles of this life can be traced to saying yes too
quickly and not saying no soon enough. - Josh Billings

Attachment: pgpigTXowQynV.pgp
Description: 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://sourceforge.net/services/buy/index.php
_______________________________________________
Freevo-devel mailing list
Freevo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-devel

Reply via email to