On Mon, Jun 16, 2008 at 2:26 AM, Dirk Meyer <[EMAIL PROTECTED]> wrote:
> "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.

Oh, TS is Timestamp.  Thankyou.. I just assumed this was an mpeg ts
containter error!

>
>> 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?
>
Yes, mplayer can play.  I was runnning it with mplayer -v -v -v to try
to find any errors.   It doesn't generate any.  I haven't tried xine
though.    But even windows can play the file.  It's just the PS3 that
can't.

Basically, all my SD recording work / play well.  But my HD recordings
won't play.  The mminfo error above is the first error I've found in
the stream.

Mike

-------------------------------------------------------------------------
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