Page 4 of 8 FirstFirst ... 23456 ... LastLast
Results 46 to 60 of 110

Thread: s3tots: Convert series 3 TY/TY+/TMF to mpeg2 transport stream format

  1. #46
    Join Date
    Nov 2002
    Posts
    1,076
    Quote Originally Posted by lrhorer View Post
    It [powerdvd] won't show me program information like the actors, director, year, or program synopsis on the screen while selecting videos.
    It'll do all that and more (cover art) in conjunction with media center. Please, most every feature of the tivo can be had in hardware/software from others at this point. Lets face it, tivo has let the competition catch up.
    I also have yet to find either a motherboard or video card which works well with either of my HD sets.
    I recommend the MSI NX8500GT-MTD256EH video card ($70 at newegg). Does mpeg4 avc & vc1 decoding in hardware, so it works well for blu/hd-dvd even with low-end CPUs.
    I do however look forward to the day TiVo enables MPEG-4 support on the S3 class units, which of course is supported by Beyond TV.
    If tivo wakes up and does the development to support mpeg-4 playback, I'm sure they'll want to sell you a new box for their effort. I'll be surprised if they support it on "old" hardware given their track record.

    Wait a minute, what's all this doing in an s3tots thread? Moderator?
    Last edited by bcc; 03-11-2008 at 02:24 AM.

  2. #47
    Join Date
    Jan 2004
    Location
    n.h. usa
    Posts
    955
    is a .ts a streameable format I have been looking for a way to stream my .tmf files stored on my pc.. the .asx etc is not streameable as the whole file must be downloaded b4 playback begins.

  3. #48
    Join Date
    Aug 2004
    Posts
    4,075
    Mpeg transport streams are designed for streaming: link.

  4. #49
    Join Date
    Jan 2004
    Location
    n.h. usa
    Posts
    955
    ok thanks jamie cool. but just realized this doesn't work for series 2 and looking for some way to stream my series 2 shows.

    thanks

  5. #50
    Join Date
    Dec 2004
    Posts
    831

    Errors

    I'm getting quite a few errors along with aborted conversions. Since I don't have any other way to try to convert to .ts, I'm stuck. Here are some entries from the logs:

    s3tots: Copyright (c) 2004-2007 B.C. <bcc24x7@gmail.com>
    Version 1.1, Source is /RAID/Server-Main/Movies/TiVo_HD/Ghostbusters - Sat-03-08-08-HDNETMV.ty, dest is /RAID/Recordings/Ghostbusters - Sat-03-08-08-HDNETMV.ts
    TY set video,audio pid: d8,d9. Audio is AC3
    Warning: Continuity error for stream d8, packet 48324028
    Warning: Continuity error for stream d9, packet 48324030
    Packet 81768523, audio pid now 21 (vid pid d8)
    Packet 81768533, audio pid now 22 (vid pid d8)
    Audio is now MPEG
    Packet 81768541, audio pid now 21 (vid pid d8)
    Packet 81768601, audio pid now 22 (vid pid d8)
    Audio is now MPEG
    Packet 81768605, audio pid now 21 (vid pid d8)
    Packet 81768648, audio pid now 22 (vid pid d8)
    Audio is now MPEG
    s3tots: s3tots.c:336: ts_parse_adaptation: Assertion `0' failed.
    Exit Code: 134

    s3tots: Copyright (c) 2004-2007 B.C. <bcc24x7@gmail.com>
    Version 1.1, Source is /RAID/Server-Main/Movies/TiVo_HD/The Bourne Supremacy - Sat-03-08-08-TNTHD.ty, dest is /RAID/Recordings/The Bourne Supremacy - Sat-03-08-08-TNTHD.ts
    TY set video,audio pid: ad,ae. Audio is AC3
    Warning: Continuity error for stream ad, packet 7186308
    Warning: Continuity error for stream ae, packet 7186336
    Warning: Continuity error for stream ae, packet 17866957
    Warning: Discontinuity flag set for stream ae, packet 17866957
    Packet 17867109, stream ae Time warped by 121
    Warning: Continuity error for stream ae, packet 30977698
    Warning: Discontinuity flag set for stream ae, packet 30977698
    Packet 30977716, stream ae Time warped by 60
    Warning: Continuity error for stream ae, packet 31999756
    Warning: Discontinuity flag set for stream ae, packet 31999756
    Packet 31999793, stream ae Time warped by 60
    Warning: Continuity error for stream ae, packet 42017037
    Warning: Discontinuity flag set for stream ae, packet 42017037
    Packet 42017052, stream ae Time warped by 61
    Warning: Continuity error for stream ae, packet 51224128
    Warning: Discontinuity flag set for stream ae, packet 51224128
    Packet 51224145, stream ae Time warped by 60
    Packet 73718047, audio pid now 21 (vid pid ad)
    Packet 73718059, audio pid now 22 (vid pid ad)
    Audio is now MPEG
    s3tots: s3tots.c:336: ts_parse_adaptation: Assertion `0' failed.
    Exit Code: 134

    s3tots: Copyright (c) 2004-2007 B.C. <bcc24x7@gmail.com>
    Version 1.1, Source is /RAID/Server-Main/Movies/TiVo_HD/Shrek - Sun-03-23-08-TNTHD.ty, dest is /RAID/Recordings/Shrek - Sun-03-23-08-TNTHD.ts
    TY set video,audio pid: ad,ae. Audio is AC3
    Warning: Continuity error for stream ae, packet 11761527
    Warning: Discontinuity flag set for stream ae, packet 11761527
    Packet 11761538, stream ae Time warped by 31
    Unparsable chunk: 27411
    s3tots: s3tots.c:844: parse_chunk_rec: Assertion `0' failed.
    Exit Code: 134

    s3tots: Copyright (c) 2004-2007 B.C. <bcc24x7@gmail.com>
    Version 1.1, Source is /RAID/Server-Main/Movies/TiVo_HD/Back to the Future Part II - Mon-03-24-08-HBOHD.ty, dest is /RAID/Recordings/Back to the Future Part II - Mon-03-24-08-HBOHD.tsTY set video,audio pid: 209,20a. Audio is AC3
    idx: 7c1c Len remain: 1818c
    s3tots: s3tots.c:228: ts_sanity: Assertion `0' failed.
    Exit Code: 134
    Having trouble with TyTool? Try TyTool Documentation
    Need to hack an S3 / THD? Try S3 Hacking Script

  6. #51
    Join Date
    Feb 2007
    Posts
    70
    bcc: does ffmpeg also fall into the category of players (like VLC) that cannot handle the timer wrapping ?

    I have a relatively benign error output:

    [root @ home]#s3tots -i pti.tmf -o /delete/pti.ts
    s3tots: Copyright (c) 2004-2007 B.C. <bcc24x7@gmail.com>
    Version 1.1, Source is pti.tmf, dest is /delete/pti.ts
    TY set video,audio pid: 1001,1002. Audio is AC3
    Warning: Timer wrapped, packet 16721498, stream 1001
    6111766072 transport stream bytes
    Recording elapsed time: 2701 seconds Rate: 17.26 Mbps
    [root @ home]#

    So, just one error ... but the resulting video, while playable, refuses to allow forward/backward skip, and won't thumbnail properly.

    I am using XBMC for OSX (uses ffmpeg), and I have some other .tmf files that decoded (with one or more timer wrap errors) and do not display this strangeness.

    So I think osxbmc/ffmpeg can handle the timer wraps ... sometimes. But when it can't, it can't parse through the file to move in skip ahead / reverse and it can't thumbnail.

    Comments ?


    Edit:


    Ok, actually, the clip that successfully works after decoding has these, different, errors:

    TY set video,audio pid: 42,43. Audio is AC3
    Warning: Discontinuity flag set for stream 42, packet 12181440
    Packet 12181440, stream 42 Time warped by 2
    Packet 12181448, stream 42 Time warped by 95443
    Warning: Discontinuity flag set for stream 42, packet 12185310
    3916405096 transport stream bytes
    Recording elapsed time: 1801 seconds Rate: 16.59 Mbps

    So perhaps ffmpeg can handle "time warps" but not "time wraps" ?
    Last edited by tiver; 03-25-2008 at 11:27 AM.

  7. #52
    Join Date
    Nov 2002
    Posts
    1,076
    Quote Originally Posted by tiver View Post
    bcc: does ffmpeg also fall into the category of players (like VLC) that cannot handle the timer wrapping ?
    I don't use ffmpeg for playback, but I just tried a simple ffmpeg -vcodec copy -acodec copy -i x.ts x.mpg on a .ts with a wrapped timer and ffmpeg handled it ok (and the resulting recording didn't have a warped timer).
    Quote Originally Posted by tiver View Post
    So, just one error ... but the resulting video, while playable, refuses to allow forward/backward skip, and won't thumbnail properly.
    Those sound like limitations of your player, trick play operations are normally possible with mpeg2-ts.
    Quote Originally Posted by tiver View Post
    So perhaps ffmpeg can handle "time warps" but not "time wraps" ?
    For players I've tested that can't handle PCR wrapping, the result is a glitch in video decoding (massive macroblock errors) and some players hang as well until one skips over the wrap point. For your warped timer warnings, your stream had the discontinuity flag set at the same points and so those are probably just normal transitions between programs. I believe I should simply expect the timer to warp when the discontinuity flag is set. You could check your show to answer your own question on that one.

  8. #53
    Join Date
    Nov 2002
    Posts
    1,076
    Quote Originally Posted by lrhorer View Post
    I'm getting quite a few errors along with aborted conversions. Since I don't have any other way to try to convert to .ts, I'm stuck. Here are some entries from the logs:
    For the first one, look like you ran into garbage at end of recording after 14GB into your show. What is the size of the actual feature? I bet the resulting .ts has the complete movie.

    (You might try my mfs_uberexport, here , to see if it addresses the garbage at end of this recording. If nothing else it'll save you some disk space).

    Actually looks like the same answer for the rest of your examples except perhaps the last one. Not sure what is wrong with that last one, you'd probably have to upload a sample for me to be sure. I did get rid of that assertion check in version 1.2 however, I'll see if I can post an update before leaving town.
    Last edited by bcc; 03-25-2008 at 02:17 PM.

  9. #54
    Join Date
    Feb 2007
    Posts
    70
    bcc:

    Ok, I made an error - osxbmc does not use ffmpeg for mpeg decoding, it uses libmpeg2.

    So when I go to the libmpeg2 people, I should tell them:

    "libmpeg2 does not handle PCR wrapping properly"

    and that is good information, or can I be more specific ?

  10. #55
    Join Date
    Nov 2002
    Posts
    1,076
    Quote Originally Posted by tiver View Post
    bcc:

    Ok, I made an error - osxbmc does not use ffmpeg for mpeg decoding, it uses libmpeg2.

    So when I go to the libmpeg2 people, I should tell them:

    "libmpeg2 does not handle PCR wrapping properly"
    No, I don't think you've shown that. You haven't mentioned whether you're seeing symptoms of PCR wrap playback problems, have you?
    You've indicated that you're having trouble with trick play operations, so you could ask the player authors why they don't handle trick play operations on transport streams (ff/rew)?

    xine&mplayer use libmpeg2 and don't have such trick play problems.
    Also, mplayer doesn't have a problem with PCR wrap whereas xine does. So libmpeg2 isn't even the right place to point the finger for PCR wrap playback issues, as far as I know.

  11. #56
    Join Date
    Feb 2007
    Posts
    70
    well, the FF/REW, etc., works fine on other mpegs, as well as the s3tots-converted mpegs that have time warps, but not time wraps.

    So yes, there could be some other third problem that is causing the inability to jump around and thumbnail these particular mpegs, but since these "trick play operations" are successful _in general_ in osxbmc, it would seem to be the time-wrapped mpegs.

    ALSO, I am curious, where do these problems come from originally ? Why is tivo recording these streams in a way that produces these errors ?

  12. #57
    Join Date
    Nov 2002
    Posts
    1,076
    Quote Originally Posted by tiver View Post
    well, the FF/REW, etc., works fine on other mpegs, as well as the s3tots-converted mpegs that have time warps, but not time wraps.
    Oh, I wish I realised you were making that distinction before. In that case, it'd seem your player has a timer wrap bug. Just guessing, but I bet it tries to compute the recording duration by looking at the PCR at the end of file and the PCR at the beginning of the file, in order to estimate skip points. If one is careless with their timer math and simply subtracts, it's pretty clear how that leads to nonsense values, and leaves one unable to compute any skip points.
    Quote Originally Posted by tiver View Post
    ALSO, I am curious, where do these problems come from originally ? Why is tivo recording these streams in a way that produces these errors ?
    It is not an error for mpeg2-ts streams to have PCR timers that wrap. In fact the spec specifically allows for this and requires an implementation to be able to handle the situation in order to be compliant. A broadcaster may reset the PCR between shows, or at will, in which case the timer may never wrap. Otherwise the timer is going to wrap every 13+ hours, and in that case your chances of seeing the wrap in a recording are ~10% (guesstimating recording length).

    To answer your question, the problem originates in players that are not sufficiently careful with their timer arithmetic. Such players may get along just fine normally with freshly authored/remuxed/transcoded content.

    You may want to search for a different player, one that is accustomed to playing content that is taken directly from OTA/DVB/tivo broadcast.

  13. #58
    Join Date
    Dec 2004
    Posts
    831

    garbage

    Quote Originally Posted by bcc View Post
    For the first one, look like you ran into garbage at end of recording after 14GB into your show. What is the size of the actual feature? I bet the resulting .ts has the complete movie.
    I can't say one way or the other. The source file is long gone. I don't recall for certain whether I re-recorded the show, or the .ts was intact. I think the former.

    Quote Originally Posted by bcc View Post
    (You might try my mfs_uberexport, here , to see if it addresses the garbage at end of this recording. If nothing else it'll save you some disk space).
    Not really, because the source .ty file is deleted as soon as it's processed. Errors beyond the end of the program are no big deal. As long as the .ts is whole, everything else is fine.

    Quote Originally Posted by bcc View Post
    Actually looks like the same answer for the rest of your examples
    If you mean it ran into garbage (or what it thinks is garbage), that's pretty obvious. If you mean the .ts is whole, not even close. The resulting .ts files only contain a fraction of the program. The .ts for Back to the Future Part II, for example, only contains 2.5 out of 11 Gigs, or about 22 minutes.

    I tried re-running s3tots on the source file for Back to the Future Part II, and got precisely the same results. I tried re-running Shrek, and got different results, but still far from a complete recording.

    Quote Originally Posted by bcc View Post
    except perhaps the last one. Not sure what is wrong with that last one, you'd probably have to upload a sample for me to be sure. I did get rid of that assertion check in version 1.2 however, I'll see if I can post an update before leaving town.
    What's the best way for me to trim out a chunk from the .ty file which should contain the error?
    Last edited by lrhorer; 03-26-2008 at 04:33 AM.
    Having trouble with TyTool? Try TyTool Documentation
    Need to hack an S3 / THD? Try S3 Hacking Script

  14. #59
    Join Date
    Jan 2004
    Location
    n.h. usa
    Posts
    955
    this sounds like a really good solution to the problem of vserver not working with series 3 hd stream.. you could compile this for the tivo itself and use this to read stdin and convert the stream on the fly to a .ts anyone undertaken this... in this way you could have the view links back in tivowebplus for hd streams

    thanks

  15. #60
    Join Date
    Aug 2004
    Posts
    4,075
    Take a look at this.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •