TiVo Community
TiVo Community
TiVo Community
Go Back   TiVo Community > Main TiVo Forums > TiVo Home Media Features & TiVoToGo
TiVo Community
Reply
Forum Jump
 
Thread Tools
Old 03-11-2009, 09:28 AM   #691
Wil
Senile Member
 
Join Date: Sep 2002
Posts: 2,256
Quote:
Originally Posted by bakerja View Post
was hoping this Hauppauge HD DVR was going to be an easy quick solution (real time recording like a VCR) for not only getting TIVO recordings archived, but a gazillion home movies as well.
Consider the Blackmagic Video Recorder. Takes component in (StandardDef only), as well as composite and s-video, and seems to create a pretty functional mp4.
Wil is offline   Reply With Quote
Old 03-11-2009, 09:45 AM   #692
fred2
Registered User
 
Join Date: Jan 2006
Posts: 383
Quote:
Originally Posted by wmcbrine View Post
I wouldn't bet on that. VLC and ffmpeg don't like that file, either. Pulling it with pyTivo (= transcoding to MPEG-2) yields a mess of green pixels, with a barely discernable Samsung logo and some intact audio.
I've got a Hauppage (or whatever) card, too.

It creates some kind of INcompatible video file, at least, for me, too. That generally won't even play in Media Player. BUT if you edit it and cut out the beginning (maybe incompatible header info??) it will play and can be sent via pytivo (have not tried Streambaby).

I have used mpg2cut2 which I found after searching for info on this problem. Cut out the beginning and resave the file. The pytivo issue which did remain was the type where it shows ZERO time duration and will not skip/ff/rew.
fred2 is offline   Reply With Quote
Old 03-11-2009, 10:39 AM   #693
kearygriffin
Registered User
 
Join Date: Jan 2008
Posts: 346
Quote:
Originally Posted by bakerja View Post
Thanks moyekj,

I have no experience in remuxing but am looking in to it now. I'll post back with progress.
I wasn't able to download th file (told me it was private), but was that file created with the MP4 Creator utility from hauppauge?
http://www.hauppauge.com/site/suppor...ort_hdpvr.html

That utility (I believe) is supposed to remux the TS stream into an MP4 container.
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
kearygriffin is offline   Reply With Quote
Old 03-11-2009, 11:02 AM   #694
kearygriffin
Registered User
 
Join Date: Jan 2008
Posts: 346
Quote:
Originally Posted by pmd View Post
Unfortunately it crashes in a similar manner.
...
...
It's *possible* that somehow I stuffed up and didn't update to svn-149 properly, so if you're at all suspicious of that from the log then shout and I'll have another go when I have some more time.
That's the right version, and it looks like the fix did it's job, but it just allowed us to get to the next issue. It looks like the udta atom is a little odd, but after doing a little research I see that it is (probably) legal but deprecated in mov files (but illegal in MP4s).

I've made a change to handle the issue with the udta atom:
http://streambaby.googlecode.com/fil...y-svn-r150.zip

Let's see how far we get with that version :-)
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
kearygriffin is offline   Reply With Quote
Old 03-11-2009, 11:54 AM   #695
bakerja
Registered User
 
bakerja's Avatar
 
Join Date: Sep 2008
Posts: 44
Quote:
Originally Posted by kearygriffin View Post
I wasn't able to download th file (told me it was private), but was that file created with the MP4 Creator utility from hauppauge?
http://www.hauppauge.com/site/suppor...ort_hdpvr.html

That utility (I believe) is supposed to remux the TS stream into an MP4 container.
Thanks kearygriffin,

I had just changed the file extension from .m2ts to mp4. I downloaded the HD PVR MP4 Creator and you are correct, it remux's the ts stream into an MP4 container. I will try the new file tonight when I get home to see how it streams. I am hopeful!
__________________
--
Thanks,
Joe Baker

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
bakerja is offline   Reply With Quote
Old 03-11-2009, 02:24 PM   #696
rfryar
My Media, My Way
 
Join Date: Feb 2008
Location: Cottage Grove, MN
Posts: 201
Just wanted to point out a very minor bug that most people will probably never encounter..

The metadata cache file contains a hard coded path to itself. Streambaby itself loads this cache file from a local path, but when it goes to update it will use the file path that is cached in the metadata cache file.

The problem comes if you ever rename your streambaby root directory. If you do this, restart streambaby, it will load your metadata cache file fine, but the second it tries to update the file on disk it will throw an exception.

Just an FYI,

Rick
rfryar is offline   Reply With Quote
Old 03-11-2009, 05:13 PM   #697
kearygriffin
Registered User
 
Join Date: Jan 2008
Posts: 346
Quote:
Originally Posted by rfryar View Post
The problem comes if you ever rename your streambaby root directory. If you do this, restart streambaby, it will load your metadata cache file fine, but the second it tries to update the file on disk it will throw an exception.

Just an FYI,

Rick
Thanks, taken care of in SVN.
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
kearygriffin is offline   Reply With Quote
Old 03-12-2009, 07:17 AM   #698
bakerja
Registered User
 
bakerja's Avatar
 
Join Date: Sep 2008
Posts: 44
Quote:
Originally Posted by bakerja View Post
I downloaded the HD PVR MP4 Creator and you are correct, it remux's the ts stream into an MP4 container. I will try the new file tonight when I get home to see how it streams. I am hopeful!
First remuxed mp4 would not stream. I don't remember the exact error, I didn't have a whole lot of time to mess with it. I'm going to capture a little chunk tonight and test with different settings and post the results.
__________________
--
Thanks,
Joe Baker

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
bakerja is offline   Reply With Quote
Old 03-12-2009, 07:49 AM   #699
pmd
Registered User
 
Join Date: Dec 2004
Posts: 32
Quote:
Originally Posted by kearygriffin View Post
I've made a change to handle the issue with the udta atom:
http://streambaby.googlecode.com/fil...y-svn-r150.zip

Let's see how far we get with that version :-)
I think it's now getting stuck in an infinite loop parsing the udta atom. Tivo is waiting for something to happen, and there's a Java process sitting at 98% CPU usage. The log hasn't produced anything for 6 minutes :-)

Code:
03/12/09 23:41:16 VideoModuleHelper: GetVidInfo: file:/Volumes/Store/Video/Movies/Little%20Miss%20Sunshine%20(2006).mov
03/12/09 23:41:17 FFmpegJavaVideoModule: vidDur:5903160
03/12/09 23:41:17 FFmpegJavaVideoModule: VideoInfo:
uri: file:/Volumes/Store/Video/Movies/Little%20Miss%20Sunshine%20(2006).mov, Container: mp4, Duration: 5903.16 seconds
Video: h264 718x424 25.0 fps
  PixAspect: 1.4220123, Aspect: 2.4080303
Audio: aac 44100HZ 2 channels
03/12/09 23:41:17 MP4StreamFactory$2: Reading atom at offset: 0
03/12/09 23:41:17 MP4StreamFactory$2: AtomClass: class mp4.util.atom.FtypAtom (size:32)
03/12/09 23:41:17 MP4StreamFactory$2: Reading atom at offset: 32
03/12/09 23:41:17 MP4StreamFactory$2: AtomClass: class mp4.util.atom.FreeAtom (size:2431082)
03/12/09 23:41:17 MP4StreamFactory$2: Reading atom at offset: 2431114
03/12/09 23:41:17 MP4StreamFactory$2: AtomClass: class mp4.util.atom.FreeAtom (size:16)
03/12/09 23:41:17 MP4StreamFactory$2: Reading atom at offset: 2431130
03/12/09 23:41:17 MP4StreamFactory$2: UnknownAtom(119,105,100,101): mp4.util.atom.WideAtom (size:8)
03/12/09 23:41:17 MP4StreamFactory$2: Reading atom at offset: 2431138
03/12/09 23:41:17 MP4StreamFactory$2: AtomClass: class mp4.util.atom.MdatAtom (size:980593490)
03/12/09 23:41:17 MP4StreamFactory$2: Reading atom at offset: 983024628
03/12/09 23:41:17 MP4StreamFactory$2: AtomClass: class mp4.util.atom.MoovAtom (size:2432605)
03/12/09 23:41:17 MP4StreamFactory$2: Reading atom at offset: 985457233
03/12/09 23:41:17 MP4StreamFactory$2: AtomClass: class mp4.util.atom.MvhdAtom (size:108)
03/12/09 23:41:17 MP4StreamFactory$2: Reading atom at offset: 985457341
03/12/09 23:41:17 MP4StreamFactory$2: AtomClass: class mp4.util.atom.TrakAtom (size:973764)
03/12/09 23:41:17 MP4StreamFactory$2: Reading atom at offset: 986431105
03/12/09 23:41:17 MP4StreamFactory$2: AtomClass: class mp4.util.atom.TkhdAtom (size:92)
03/12/09 23:41:17 MP4StreamFactory$2: Reading atom at offset: 986431197
03/12/09 23:41:17 MP4StreamFactory$2: UnknownAtom(108,111,97,100): mp4.util.atom.LoadAtom (size:24)
03/12/09 23:41:17 MP4StreamFactory$2: Reading atom at offset: 986431221
03/12/09 23:41:17 MP4StreamFactory$2: AtomClass: class mp4.util.atom.EdtsAtom (size:36)
03/12/09 23:41:17 MP4StreamFactory$2: Reading atom at offset: 986431257
03/12/09 23:41:17 MP4StreamFactory$2: AtomClass: class mp4.util.atom.ElstAtom (size:28)
03/12/09 23:41:17 MP4StreamFactory$2: Reading atom at offset: 986431285
03/12/09 23:41:17 MP4StreamFactory$2: AtomClass: class mp4.util.atom.MdiaAtom (size:973592)
03/12/09 23:41:17 MP4StreamFactory$2: Reading atom at offset: 987404877
03/12/09 23:41:17 MP4StreamFactory$2: AtomClass: class mp4.util.atom.MdhdAtom (size:32)
03/12/09 23:41:17 MP4StreamFactory$2: Reading atom at offset: 987404909
03/12/09 23:41:17 MP4StreamFactory$2: AtomClass: class mp4.util.atom.HdlrAtom (size:58)
03/12/09 23:41:17 MP4StreamFactory$2: Reading atom at offset: 987404967
03/12/09 23:41:17 MP4StreamFactory$2: AtomClass: class mp4.util.atom.MinfAtom (size:973494)
03/12/09 23:41:17 MP4StreamFactory$2: Reading atom at offset: 988378461
03/12/09 23:41:17 MP4StreamFactory$2: AtomClass: class mp4.util.atom.VmhdAtom (size:20)
03/12/09 23:41:17 MP4StreamFactory$2: Reading atom at offset: 988378481
03/12/09 23:41:17 MP4StreamFactory$2: AtomClass: class mp4.util.atom.HdlrAtom (size:57)
03/12/09 23:41:17 MP4StreamFactory$2: Reading atom at offset: 988378538
03/12/09 23:41:17 MP4StreamFactory$2: AtomClass: class mp4.util.atom.DinfAtom (size:36)
03/12/09 23:41:17 MP4StreamFactory$2: Reading atom at offset: 988378574
03/12/09 23:41:17 MP4StreamFactory$2: AtomClass: class mp4.util.atom.DrefAtom (size:28)
03/12/09 23:41:17 MP4StreamFactory$2: Reading atom at offset: 988378602
03/12/09 23:41:17 MP4StreamFactory$2: AtomClass: class mp4.util.atom.StblAtom (size:973373)
03/12/09 23:41:17 MP4StreamFactory$2: Reading atom at offset: 989351975
03/12/09 23:41:17 MP4StreamFactory$2: AtomClass: class mp4.util.atom.StsdAtom (size:157)
03/12/09 23:41:17 MP4StreamFactory$2: Reading atom at offset: 989352132
03/12/09 23:41:17 MP4StreamFactory$2: AtomClass: class mp4.util.atom.Avc1Atom (size:141)
03/12/09 23:41:17 MP4StreamFactory$2: Reading atom at offset: 989352273
03/12/09 23:41:17 MP4StreamFactory$2: AtomClass: class mp4.util.atom.SttsAtom (size:24)
03/12/09 23:41:17 MP4StreamFactory$2: Reading atom at offset: 989352297
03/12/09 23:41:17 MP4StreamFactory$2: AtomClass: class mp4.util.atom.StssAtom (size:5348)
03/12/09 23:41:17 MP4StreamFactory$2: Reading atom at offset: 989357645
03/12/09 23:41:17 MP4StreamFactory$2: AtomClass: class mp4.util.atom.StscAtom (size:283072)
03/12/09 23:41:17 MP4StreamFactory$2: Reading atom at offset: 989640717
03/12/09 23:41:17 MP4StreamFactory$2: AtomClass: class mp4.util.atom.StszAtom (size:590336)
03/12/09 23:41:17 MP4StreamFactory$2: Reading atom at offset: 990231053
03/12/09 23:41:17 MP4StreamFactory$2: AtomClass: class mp4.util.atom.StcoAtom (size:94428)
03/12/09 23:41:17 MP4StreamFactory$2: Reading atom at offset: 990325481
03/12/09 23:41:17 MP4StreamFactory$2: AtomClass: class mp4.util.atom.UdtaAtom (size:12)

pmd is offline   Reply With Quote
Old 03-12-2009, 11:21 AM   #700
kearygriffin
Registered User
 
Join Date: Jan 2008
Posts: 346
Quote:
Originally Posted by pmd View Post
I think it's now getting stuck in an infinite loop parsing the udta atom. Tivo is waiting for something to happen, and there's a Java process sitting at 98% CPU usage. The log hasn't produced anything for 6 minutes :-)
Funny, looking at the code I wrote to fix the udta problem, the results you get are completely consistent with the code ;-)

Sorry, it was a stupid error. Debugging these days is so easy, once I get used to the run-test-debug cycle that it's easy to get careless when I don't have a sample to work with.

Hopefully this version should at least not hang in an endless loop:
http://streambaby.googlecode.com/fil...y-svn-r152.zip

Thanks again for bearing with me as we try to get these issues sorted out.

Keary
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
kearygriffin is offline   Reply With Quote
Old 03-12-2009, 07:32 PM   #701
rfryar
My Media, My Way
 
Join Date: Feb 2008
Location: Cottage Grove, MN
Posts: 201
I have a MP4 file that just causes the TiVo to hang. Here is the FFmpeg info:

Code:
X:\Videos\Recordings>ffmpeg -i TheDarkKnight.mp4
FFmpeg version Sherpya-r15666, Copyright (c) 2000-2008 Fabrice Bellard, et al.
  libavutil     49.12. 0 / 49.12. 0
  libavcodec    52. 0. 0 / 52. 0. 0
  libavformat   52.22. 1 / 52.22. 1
  libavdevice   52. 1. 0 / 52. 1. 0
  libswscale     0. 6. 1 /  0. 6. 1
  libpostproc   51. 2. 0 / 51. 2. 0
  built on Oct 22 2008 23:37:16, gcc: 4.2.5 20080919 (prerelease) [Sherpya]
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'TheDarkKnight.mp4':
  Duration: 02:32:13.29, start: 0.000000, bitrate: 9830 kb/s
    Stream #0.0(und): Video: h264, yuv420p, 1920x1080, 23.98 tb(r)
    Stream #0.1(und): Audio: aac, 48000 Hz, stereo, s16
I turned on debugging and here is that info:
Code:
03/12/09 19:30:16 ViewScreen: Desc: TheDarkKnight.mp4
03/12/09 19:30:17 PreviewWindow: pWidth: 1280
03/12/09 19:30:17 PreviewWindow: preview parent=BView[#2378,bounds=0,0,1280x720]
03/12/09 19:30:17 HostContext: key=mpos:file:/E:/Videos/Recordings/TheDarkKnight.mp4 applicationId=com.unwiredappeal.tivo.streambaby.StreamBabyStream applicationGlobal=false
03/12/09 19:30:17 HostContext: applicationIdStr=com.unwiredappeal.tivo.streambaby.StreamBabyStream applicationGlobal=false
03/12/09 19:30:17 HostContext: applicationIdStr=com.unwiredappeal.tivo.streambaby.StreamBabyStream
03/12/09 19:30:17 HostContext: compKey=6520001804D6646-and-com.unwiredappeal.tivo.streambaby.StreamBabyStream
03/12/09 19:30:17 ViewScreen: goto position: 0, vidlen: 9133290
03/12/09 19:30:17 ViewScreen: Position not in buffer, starting new stream
03/12/09 19:30:17 ViewScreen: Openening stream at position: 0(0 secs)
03/12/09 19:30:17 VideoModuleHelper: quality setting is above quality of video, streaming normally
03/12/09 19:30:17 MP4StreamFactory$2: Reading atom at offset: 0
03/12/09 19:30:17 MP4StreamFactory$2: AtomClass: class mp4.util.atom.FtypAtom (size:24)
03/12/09 19:30:17 MP4StreamFactory$2: Reading atom at offset: 24
03/12/09 19:30:17 MP4StreamFactory$2: AtomClass: class mp4.util.atom.MoovAtom (size:4220653)
03/12/09 19:30:17 MP4StreamFactory$2: Reading atom at offset: 4220677
03/12/09 19:30:17 MP4StreamFactory$2: AtomClass: class mp4.util.atom.MvhdAtom (size:108)
03/12/09 19:30:17 MP4StreamFactory$2: Reading atom at offset: 4220785
03/12/09 19:30:17 MP4StreamFactory$2: AtomClass: class mp4.util.atom.IodsAtom (size:21)
03/12/09 19:30:17 MP4StreamFactory$2: Reading atom at offset: 4220806
03/12/09 19:30:17 MP4StreamFactory$2: AtomClass: class mp4.util.atom.TrakAtom (size:2112033)
03/12/09 19:30:17 MP4StreamFactory$2: Reading atom at offset: 6332839
03/12/09 19:30:17 MP4StreamFactory$2: AtomClass: class mp4.util.atom.TkhdAtom (size:92)
03/12/09 19:30:17 MP4StreamFactory$2: Reading atom at offset: 6332931
03/12/09 19:30:17 MP4StreamFactory$2: AtomClass: class mp4.util.atom.MdiaAtom (size:2111933)
03/12/09 19:30:17 MP4StreamFactory$2: Reading atom at offset: 8444864
03/12/09 19:30:17 MP4StreamFactory$2: AtomClass: class mp4.util.atom.MdhdAtom (size:32)
03/12/09 19:30:17 MP4StreamFactory$2: Reading atom at offset: 8444896
03/12/09 19:30:17 MP4StreamFactory$2: AtomClass: class mp4.util.atom.HdlrAtom (size:55)
03/12/09 19:30:17 MP4StreamFactory$2: Reading atom at offset: 8444951
03/12/09 19:30:17 MP4StreamFactory$2: AtomClass: class mp4.util.atom.MinfAtom (size:2111838)
03/12/09 19:30:17 MP4StreamFactory$2: Reading atom at offset: 10556789
03/12/09 19:30:17 MP4StreamFactory$2: AtomClass: class mp4.util.atom.VmhdAtom (size:20)
03/12/09 19:30:17 MP4StreamFactory$2: Reading atom at offset: 10556809
03/12/09 19:30:17 MP4StreamFactory$2: AtomClass: class mp4.util.atom.DinfAtom (size:36)
03/12/09 19:30:17 MP4StreamFactory$2: Reading atom at offset: 10556845
03/12/09 19:30:17 MP4StreamFactory$2: AtomClass: class mp4.util.atom.DrefAtom (size:28)
03/12/09 19:30:17 MP4StreamFactory$2: Reading atom at offset: 10556873
03/12/09 19:30:17 MP4StreamFactory$2: AtomClass: class mp4.util.atom.StblAtom (size:2111774)
03/12/09 19:30:17 MP4StreamFactory$2: Reading atom at offset: 12668647
03/12/09 19:30:17 MP4StreamFactory$2: AtomClass: class mp4.util.atom.StsdAtom (size:186)
03/12/09 19:30:17 MP4StreamFactory$2: Reading atom at offset: 12668833
03/12/09 19:30:17 MP4StreamFactory$2: AtomClass: class mp4.util.atom.Avc1Atom (size:170)
03/12/09 19:30:17 MP4StreamFactory$2: Reading atom at offset: 12669003
03/12/09 19:30:17 MP4StreamFactory$2: AtomClass: class mp4.util.atom.SttsAtom (size:24)
03/12/09 19:30:17 MP4StreamFactory$2: Reading atom at offset: 12669027
03/12/09 19:30:17 MP4StreamFactory$2: AtomClass: class mp4.util.atom.CttsAtom (size:1065160)
03/12/09 19:30:17 MP4StreamFactory$2: Reading atom at offset: 13734187
03/12/09 19:30:17 MP4StreamFactory$2: AtomClass: class mp4.util.atom.StssAtom (size:11124)
03/12/09 19:30:17 MP4StreamFactory$2: Reading atom at offset: 13745311
03/12/09 19:30:17 MP4StreamFactory$2: AtomClass: class mp4.util.atom.StscAtom (size:52)
03/12/09 19:30:17 MP4StreamFactory$2: Reading atom at offset: 13745363
03/12/09 19:30:17 MP4StreamFactory$2: AtomClass: class mp4.util.atom.StszAtom (size:875940)
03/12/09 19:30:17 MP4StreamFactory$2: Reading atom at offset: 14621303
03/12/09 19:30:17 MP4StreamFactory$2: AtomClass: class mp4.util.atom.Co64Atom (size:159280)
03/12/09 19:30:17 MP4StreamFactory$2: Reading atom at offset: 14780583
03/12/09 19:30:17 MP4StreamFactory$2: AtomClass: class mp4.util.atom.TrakAtom (size:2108098)
03/12/09 19:30:17 MP4StreamFactory$2: Reading atom at offset: 16888681
03/12/09 19:30:17 MP4StreamFactory$2: AtomClass: class mp4.util.atom.TkhdAtom (size:92)
03/12/09 19:30:17 MP4StreamFactory$2: Reading atom at offset: 16888773
03/12/09 19:30:17 MP4StreamFactory$2: AtomClass: class mp4.util.atom.MdiaAtom (size:2107998)
03/12/09 19:30:17 MP4StreamFactory$2: Reading atom at offset: 18996771
03/12/09 19:30:17 MP4StreamFactory$2: AtomClass: class mp4.util.atom.MdhdAtom (size:32)
03/12/09 19:30:17 MP4StreamFactory$2: Reading atom at offset: 18996803
03/12/09 19:30:17 MP4StreamFactory$2: AtomClass: class mp4.util.atom.HdlrAtom (size:55)
03/12/09 19:30:17 MP4StreamFactory$2: Reading atom at offset: 18996858
03/12/09 19:30:17 MP4StreamFactory$2: AtomClass: class mp4.util.atom.MinfAtom (size:2107903)
03/12/09 19:30:17 MP4StreamFactory$2: Reading atom at offset: 21104761
03/12/09 19:30:17 MP4StreamFactory$2: AtomClass: class mp4.util.atom.SmhdAtom (size:16)
03/12/09 19:30:17 MP4StreamFactory$2: Reading atom at offset: 21104777
03/12/09 19:30:17 MP4StreamFactory$2: AtomClass: class mp4.util.atom.DinfAtom (size:36)
03/12/09 19:30:17 MP4StreamFactory$2: Reading atom at offset: 21104813
03/12/09 19:30:17 MP4StreamFactory$2: AtomClass: class mp4.util.atom.DrefAtom (size:28)
03/12/09 19:30:17 MP4StreamFactory$2: Reading atom at offset: 21104841
03/12/09 19:30:17 MP4StreamFactory$2: AtomClass: class mp4.util.atom.StblAtom (size:2107843)
03/12/09 19:30:17 MP4StreamFactory$2: Reading atom at offset: 23212684
03/12/09 19:30:17 MP4StreamFactory$2: AtomClass: class mp4.util.atom.StsdAtom (size:91)
03/12/09 19:30:17 MP4StreamFactory$2: Reading atom at offset: 23212775
03/12/09 19:30:17 MP4StreamFactory$2: UnknownAtom(109,112,52,97): mp4.util.atom.Mp4aAtom (size:75)
03/12/09 19:30:17 MP4StreamFactory$2: Reading atom at offset: 23212850
03/12/09 19:30:17 MP4StreamFactory$2: AtomClass: class mp4.util.atom.SttsAtom (size:24)
03/12/09 19:30:17 MP4StreamFactory$2: Reading atom at offset: 23212874
03/12/09 19:30:17 MP4StreamFactory$2: AtomClass: class mp4.util.atom.StscAtom (size:235936)
03/12/09 19:30:17 MP4StreamFactory$2: Reading atom at offset: 23448810
03/12/09 19:30:17 MP4StreamFactory$2: AtomClass: class mp4.util.atom.StszAtom (size:1712512)
03/12/09 19:30:17 MP4StreamFactory$2: Reading atom at offset: 25161322
03/12/09 19:30:17 MP4StreamFactory$2: AtomClass: class mp4.util.atom.Co64Atom (size:159272)
03/12/09 19:30:17 MP4StreamFactory$2: Reading atom at offset: 25320594
03/12/09 19:30:17 MP4StreamFactory$2: AtomClass: class mp4.util.atom.UdtaAtom (size:385)
03/12/09 19:30:17 MP4StreamFactory$2: Reading atom at offset: 25320979
03/12/09 19:30:17 MP4StreamFactory$2: UnknownAtom(99,104,112,108): mp4.util.atom.ChplAtom (size:377)
03/12/09 19:30:17 MP4StreamFactory$2: Reading atom at offset: 25321356
03/12/09 19:30:17 MP4StreamFactory$2: AtomClass: class mp4.util.atom.MdatAtom (size:11218969068)
03/12/09 19:30:17 MP4StreamFactory$2:    Large size atom
03/12/09 19:30:17 MP4StreamFactory$2: DBG: moov size 4220645
03/12/09 19:30:17 MP4StreamFactory$2: DBG: mdat size 11218969052
03/12/09 19:30:17 MP4StreamFactory$2: DBG: sampleNum 1
03/12/09 19:30:17 MP4StreamFactory$2: DBG: new key frame 1
03/12/09 19:30:17 MP4StreamFactory$2: DBG: track 1 spec time 0 adj time 0 spec time sec 0 adj time sec 0
03/12/09 19:30:17 MP4StreamFactory$2: DBG: track 2 spec time 0 adj time 0 spec time sec 0 adj time sec 0
03/12/09 19:30:17 MP4StreamFactory$2: DBG: Movie time 9133 sec, cut at 0.0sec
03/12/09 19:30:17 MP4StreamFactory$2: 	DBG: ts 600 cut at 0.0
03/12/09 19:30:17 MP4StreamFactory$2: DBG: media time 0
03/12/09 19:30:17 MP4StreamFactory$2: 	DBG: sampleNum 1 sync frame 1
03/12/09 19:30:17 MP4StreamFactory$2: 	DBG: chunk 1
03/12/09 19:30:17 MP4StreamFactory$2: DBG: cutDuration 5479974
03/12/09 19:30:17 MP4StreamFactory$2: DBG: new time 0.0
03/12/09 19:30:17 MP4StreamFactory$2: DBG: media time 0
03/12/09 19:30:17 MP4StreamFactory$2: 	DBG: sampleNum 1 sync frame 1
03/12/09 19:30:17 MP4StreamFactory$2: 	DBG: chunk 1
03/12/09 19:30:17 MP4StreamFactory$2: DBG: cutDuration 5479974
03/12/09 19:30:17 MP4StreamFactory$2: DBG: new time 0.0
03/12/09 19:30:17 MP4StreamFactory$2: DBG: moov chunk 4220693
03/12/09 19:30:17 MP4StreamFactory$2: DBG: cut moov chunk 4220693
03/12/09 19:30:17 MP4StreamFactory$2: DBG: updateAmount 159289
03/12/09 19:30:17 MP4StreamFactory$2: DBG: movie skip 0
03/12/09 19:30:17 MP4StreamFactory$2: DBG: Cut Movie time 9133 sec 
03/12/09 19:30:17 MP4StreamFactory$2: DBG: sampleNum 1
03/12/09 19:30:17 MP4StreamFactory$2: DBG: new key frame 1
03/12/09 19:30:17 MP4StreamFactory$2: DBG: track 1 spec time 0 adj time 0 spec time sec 0 adj time sec 0
03/12/09 19:30:17 MP4StreamFactory$2: DBG: track 2 spec time 0 adj time 0 spec time sec 0 adj time sec 0
03/12/09 19:30:17 MP4StreamFactory$2: DBG: Movie time 9133 sec, cut at 0.0sec
03/12/09 19:30:17 MP4StreamFactory$2: 	DBG: ts 600 cut at 0.0
03/12/09 19:30:17 MP4StreamFactory$2: DBG: media time 0
03/12/09 19:30:17 MP4StreamFactory$2: 	DBG: sampleNum 1 sync frame 1
03/12/09 19:30:17 MP4StreamFactory$2: 	DBG: chunk 1
03/12/09 19:30:17 MP4StreamFactory$2: DBG: cutDuration 5479974
03/12/09 19:30:17 MP4StreamFactory$2: DBG: new time 0.0
03/12/09 19:30:17 MP4StreamFactory$2: DBG: media time 0
03/12/09 19:30:17 MP4StreamFactory$2: 	DBG: sampleNum 1 sync frame 1
03/12/09 19:30:17 MP4StreamFactory$2: 	DBG: chunk 1
03/12/09 19:30:17 MP4StreamFactory$2: DBG: cutDuration 5479974
03/12/09 19:30:17 MP4StreamFactory$2: DBG: new time 0.0
Any ideas? Otherwise how does anyone else turn their Blu-Rays into Tivo playable MP4s? I used ripbot264 on this one.

Thanks,

Rick
rfryar is offline   Reply With Quote
Old 03-12-2009, 08:12 PM   #702
kearygriffin
Registered User
 
Join Date: Jan 2008
Posts: 346
Quote:
Originally Posted by rfryar View Post
I have a MP4 file that just causes the TiVo to hang.
...
...
Any ideas? Otherwise how does anyone else turn their Blu-Rays into Tivo playable MP4s? I used ripbot264 on this one.

Thanks,

Rick
Well, I'm sure that the current streambaby code will create an invalid MP4 for this file, as although streambaby supports 64-bit mp4 atoms (co64 & large mdat atoms), the TiVo only supports 32-bit atoms, so streambaby tries to translate. In this case since the file is > 4G any parts of the MP4 that are past the 4G point will be coded incorrectly. I was hoping (but not hopeful) that the TiVo would be OK with this, since it would never get to the invalid parts of the file anyway (since it stops buffering at 1.1G). Unfortunately it is quite possible that the TiVo is seeing the incorrect chunks in the MP4 header (which are at the beginning) and croaks, even though it would never end up playing those parts.

So, I'm not sure if this is the problem, but it very well could be.

I'll try to put together some code this weekend to take care of this, by truncating the file at the point where it would exceed 4G. This should be OK since the tivo will stop buffering at 1.1G anyway. (This doesn't mean you can't play the whole movie. As soon as the rebuffering starts at the 1.1G point or you FFWD, it is 4G from the point you are starting/restarting to play from)
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
kearygriffin is offline   Reply With Quote
Old 03-12-2009, 10:14 PM   #703
rfryar
My Media, My Way
 
Join Date: Feb 2008
Location: Cottage Grove, MN
Posts: 201
Quote:
Originally Posted by kearygriffin View Post
I'll try to put together some code this weekend to take care of this, by truncating the file at the point where it would exceed 4G. This should be OK since the tivo will stop buffering at 1.1G anyway. (This doesn't mean you can't play the whole movie. As soon as the rebuffering starts at the 1.1G point or you FFWD, it is 4G from the point you are starting/restarting to play from)
Sounds great! Let me know if there is any other information you need or if there is anything you wanted me to try on my end first.

Rick
rfryar is offline   Reply With Quote
Old 03-13-2009, 03:10 AM   #704
pmd
Registered User
 
Join Date: Dec 2004
Posts: 32
Quote:
Originally Posted by kearygriffin View Post
Hopefully this version should at least not hang in an endless loop:
http://streambaby.googlecode.com/fil...y-svn-r152.zip

Thanks again for bearing with me as we try to get these issues sorted out.
Good, no infinite loop, and it's getting a lot further (past the udta atom finally):

Code:
uri: file:/Volumes/Store/Video/Movies/Little%20Miss%20Sunshine%20(2006).mov, Container: mp4, Duration: 5903.16 seconds
Video: h264 718x424 25.0 fps
  PixAspect: 1.4220123, Aspect: 2.4080303
Audio: aac 44100HZ 2 channels
03/13/09 19:02:33 MP4StreamFactory$2: Reading atom at offset: 0
03/13/09 19:02:33 MP4StreamFactory$2: AtomClass: class mp4.util.atom.FtypAtom (size:32)
03/13/09 19:02:33 MP4StreamFactory$2: Reading atom at offset: 32
03/13/09 19:02:33 MP4StreamFactory$2: AtomClass: class mp4.util.atom.FreeAtom (size:2431082)
03/13/09 19:02:37 MP4StreamFactory$2: Reading atom at offset: 2431114
03/13/09 19:02:37 MP4StreamFactory$2: AtomClass: class mp4.util.atom.FreeAtom (size:16)
03/13/09 19:02:37 MP4StreamFactory$2: Reading atom at offset: 2431130
03/13/09 19:02:37 MP4StreamFactory$2: UnknownAtom(119,105,100,101): mp4.util.atom.WideAtom (size:8)
03/13/09 19:02:37 MP4StreamFactory$2: Reading atom at offset: 2431138
03/13/09 19:02:37 MP4StreamFactory$2: AtomClass: class mp4.util.atom.MdatAtom (size:980593490)
03/13/09 19:02:37 MP4StreamFactory$2: Reading atom at offset: 983024628
03/13/09 19:02:37 MP4StreamFactory$2: AtomClass: class mp4.util.atom.MoovAtom (size:2432605)
03/13/09 19:02:37 MP4StreamFactory$2: Reading atom at offset: 985457233
03/13/09 19:02:37 MP4StreamFactory$2: AtomClass: class mp4.util.atom.MvhdAtom (size:108)
03/13/09 19:02:37 MP4StreamFactory$2: Reading atom at offset: 985457341
03/13/09 19:02:37 MP4StreamFactory$2: AtomClass: class mp4.util.atom.TrakAtom (size:973764)
03/13/09 19:02:37 MP4StreamFactory$2: Reading atom at offset: 986431105
03/13/09 19:02:37 MP4StreamFactory$2: AtomClass: class mp4.util.atom.TkhdAtom (size:92)
03/13/09 19:02:37 MP4StreamFactory$2: Reading atom at offset: 986431197
03/13/09 19:02:37 MP4StreamFactory$2: UnknownAtom(108,111,97,100): mp4.util.atom.LoadAtom (size:24)
03/13/09 19:02:37 MP4StreamFactory$2: Reading atom at offset: 986431221
03/13/09 19:02:37 MP4StreamFactory$2: AtomClass: class mp4.util.atom.EdtsAtom (size:36)
03/13/09 19:02:37 MP4StreamFactory$2: Reading atom at offset: 986431257
03/13/09 19:02:37 MP4StreamFactory$2: AtomClass: class mp4.util.atom.ElstAtom (size:28)
03/13/09 19:02:37 MP4StreamFactory$2: Reading atom at offset: 986431285
03/13/09 19:02:37 MP4StreamFactory$2: AtomClass: class mp4.util.atom.MdiaAtom (size:973592)
03/13/09 19:02:37 MP4StreamFactory$2: Reading atom at offset: 987404877
03/13/09 19:02:37 MP4StreamFactory$2: AtomClass: class mp4.util.atom.MdhdAtom (size:32)
03/13/09 19:02:37 MP4StreamFactory$2: Reading atom at offset: 987404909
03/13/09 19:02:37 MP4StreamFactory$2: AtomClass: class mp4.util.atom.HdlrAtom (size:58)
03/13/09 19:02:37 MP4StreamFactory$2: Reading atom at offset: 987404967
03/13/09 19:02:37 MP4StreamFactory$2: AtomClass: class mp4.util.atom.MinfAtom (size:973494)
03/13/09 19:02:37 MP4StreamFactory$2: Reading atom at offset: 988378461
03/13/09 19:02:37 MP4StreamFactory$2: AtomClass: class mp4.util.atom.VmhdAtom (size:20)
03/13/09 19:02:37 MP4StreamFactory$2: Reading atom at offset: 988378481
03/13/09 19:02:37 MP4StreamFactory$2: AtomClass: class mp4.util.atom.HdlrAtom (size:57)
03/13/09 19:02:37 MP4StreamFactory$2: Reading atom at offset: 988378538
03/13/09 19:02:37 MP4StreamFactory$2: AtomClass: class mp4.util.atom.DinfAtom (size:36)
03/13/09 19:02:37 MP4StreamFactory$2: Reading atom at offset: 988378574
03/13/09 19:02:37 MP4StreamFactory$2: AtomClass: class mp4.util.atom.DrefAtom (size:28)
03/13/09 19:02:37 MP4StreamFactory$2: Reading atom at offset: 988378602
03/13/09 19:02:37 MP4StreamFactory$2: AtomClass: class mp4.util.atom.StblAtom (size:973373)
03/13/09 19:02:37 MP4StreamFactory$2: Reading atom at offset: 989351975
03/13/09 19:02:37 MP4StreamFactory$2: AtomClass: class mp4.util.atom.StsdAtom (size:157)
03/13/09 19:02:37 MP4StreamFactory$2: Reading atom at offset: 989352132
03/13/09 19:02:37 MP4StreamFactory$2: AtomClass: class mp4.util.atom.Avc1Atom (size:141)
03/13/09 19:02:37 MP4StreamFactory$2: Reading atom at offset: 989352273
03/13/09 19:02:37 MP4StreamFactory$2: AtomClass: class mp4.util.atom.SttsAtom (size:24)
03/13/09 19:02:37 MP4StreamFactory$2: Reading atom at offset: 989352297
03/13/09 19:02:37 MP4StreamFactory$2: AtomClass: class mp4.util.atom.StssAtom (size:5348)
03/13/09 19:02:37 MP4StreamFactory$2: Reading atom at offset: 989357645
03/13/09 19:02:37 MP4StreamFactory$2: AtomClass: class mp4.util.atom.StscAtom (size:283072)
03/13/09 19:02:37 MP4StreamFactory$2: Reading atom at offset: 989640717
03/13/09 19:02:37 MP4StreamFactory$2: AtomClass: class mp4.util.atom.StszAtom (size:590336)
03/13/09 19:02:37 MP4StreamFactory$2: Reading atom at offset: 990231053
03/13/09 19:02:37 MP4StreamFactory$2: AtomClass: class mp4.util.atom.StcoAtom (size:94428)
03/13/09 19:02:37 MP4StreamFactory$2: Reading atom at offset: 990325481
03/13/09 19:02:37 MP4StreamFactory$2: AtomClass: class mp4.util.atom.UdtaAtom (size:12)
03/13/09 19:02:37 MP4StreamFactory$2: Skipping extra container bytes: 4
03/13/09 19:02:37 MP4StreamFactory$2: Reading atom at offset: 990325493
03/13/09 19:02:37 MP4StreamFactory$2: AtomClass: class mp4.util.atom.TrakAtom (size:1457639)
03/13/09 19:02:37 MP4StreamFactory$2: Reading atom at offset: 991783132
03/13/09 19:02:37 MP4StreamFactory$2: AtomClass: class mp4.util.atom.TkhdAtom (size:92)
03/13/09 19:02:37 MP4StreamFactory$2: Reading atom at offset: 991783224
03/13/09 19:02:37 MP4StreamFactory$2: AtomClass: class mp4.util.atom.EdtsAtom (size:36)
03/13/09 19:02:37 MP4StreamFactory$2: Reading atom at offset: 991783260
03/13/09 19:02:37 MP4StreamFactory$2: AtomClass: class mp4.util.atom.ElstAtom (size:28)
03/13/09 19:02:37 MP4StreamFactory$2: Reading atom at offset: 991783288
03/13/09 19:02:37 MP4StreamFactory$2: AtomClass: class mp4.util.atom.MdiaAtom (size:1457030)
03/13/09 19:02:37 MP4StreamFactory$2: Reading atom at offset: 993240318
03/13/09 19:02:37 MP4StreamFactory$2: AtomClass: class mp4.util.atom.MdhdAtom (size:32)
03/13/09 19:02:37 MP4StreamFactory$2: Reading atom at offset: 993240350
03/13/09 19:02:37 MP4StreamFactory$2: AtomClass: class mp4.util.atom.HdlrAtom (size:58)
03/13/09 19:02:37 MP4StreamFactory$2: Reading atom at offset: 993240408
03/13/09 19:02:37 MP4StreamFactory$2: AtomClass: class mp4.util.atom.MinfAtom (size:1456932)
03/13/09 19:02:37 MP4StreamFactory$2: Reading atom at offset: 994697340
03/13/09 19:02:37 MP4StreamFactory$2: AtomClass: class mp4.util.atom.SmhdAtom (size:16)
03/13/09 19:02:37 MP4StreamFactory$2: Reading atom at offset: 994697356
03/13/09 19:02:37 MP4StreamFactory$2: AtomClass: class mp4.util.atom.HdlrAtom (size:57)
03/13/09 19:02:37 MP4StreamFactory$2: Reading atom at offset: 994697413
03/13/09 19:02:37 MP4StreamFactory$2: AtomClass: class mp4.util.atom.DinfAtom (size:36)
03/13/09 19:02:37 MP4StreamFactory$2: Reading atom at offset: 994697449
03/13/09 19:02:37 MP4StreamFactory$2: AtomClass: class mp4.util.atom.DrefAtom (size:28)
03/13/09 19:02:37 MP4StreamFactory$2: Reading atom at offset: 994697477
03/13/09 19:02:37 MP4StreamFactory$2: AtomClass: class mp4.util.atom.StblAtom (size:1456815)
03/13/09 19:02:37 MP4StreamFactory$2: Reading atom at offset: 996154292
03/13/09 19:02:37 MP4StreamFactory$2: AtomClass: class mp4.util.atom.StsdAtom (size:203)
03/13/09 19:02:37 MP4StreamFactory$2: Reading atom at offset: 996154495
03/13/09 19:02:37 MP4StreamFactory$2: UnknownAtom(109,112,52,97): mp4.util.atom.Mp4aAtom (size:187)
03/13/09 19:02:37 MP4StreamFactory$2: Reading atom at offset: 996154682
03/13/09 19:02:37 MP4StreamFactory$2: AtomClass: class mp4.util.atom.SttsAtom (size:24)
03/13/09 19:02:37 MP4StreamFactory$2: Reading atom at offset: 996154706
03/13/09 19:02:37 MP4StreamFactory$2: AtomClass: class mp4.util.atom.StscAtom (size:329740)
03/13/09 19:02:37 MP4StreamFactory$2: Reading atom at offset: 996484446
03/13/09 19:02:37 MP4StreamFactory$2: AtomClass: class mp4.util.atom.StszAtom (size:1016916)
03/13/09 19:02:37 MP4StreamFactory$2: Reading atom at offset: 997501362
03/13/09 19:02:37 MP4StreamFactory$2: AtomClass: class mp4.util.atom.StcoAtom (size:109924)
03/13/09 19:02:37 MP4StreamFactory$2: Reading atom at offset: 997611286
03/13/09 19:02:37 MP4StreamFactory$2: AtomClass: class mp4.util.atom.MetaAtom (size:461)
03/13/09 19:02:37 MP4StreamFactory$2: Reading atom at offset: 997611747
03/13/09 19:02:37 MP4StreamFactory$2: UnknownAtom(0,0,0,0): mp4.util.atom.X0X0X0X0Atom (size:1751411826)
03/13/09 19:02:37 Listener: 
03/13/09 19:02:37 Listener: connection to receiver closed
03/13/09 19:02:37 Listener: 
03/13/09 19:02:37 Factory: HME receiver disconnected
03/13/09 19:02:37 Listener: 
03/13/09 19:02:37 Listener: Unexpected error: com.tivo.hme.sdk.HmeException: Socket closed
03/13/09 19:02:37 Listener: com.tivo.hme.sdk.HmeException: Socket closed
	at com.tivo.hme.sdk.Application.fatalError(Application.java:937)
	at com.tivo.hme.sdk.Application.cmdViewSetResource(Application.java:1073)
	at com.tivo.hme.sdk.View.setResource(View.java:566)
	at com.tivo.hme.sdk.View.clearResource(View.java:536)
	at com.unwiredappeal.tivo.views.VText.remove(VText.java:64)
	at com.unwiredappeal.tivo.streambaby.ViewScreen.remove(ViewScreen.java:1504)
	at com.unwiredappeal.tivo.streambaby.ViewScreen.cleanup(ViewScreen.java:1545)
	at com.unwiredappeal.tivo.streambaby.StreamBabyStream.cleanup(StreamBabyStream.java:397)
	at com.unwiredappeal.tivo.streambaby.StreamBabyStream$StreamBabyStreamFactory.removeApplication(StreamBabyStream.java:214)
	at com.tivo.hme.sdk.Application.close(Application.java:458)
	at com.unwiredappeal.tivo.streambaby.host.Listener.handleHME(Listener.java:319)
	at com.unwiredappeal.tivo.streambaby.host.Listener.handle(Listener.java:417)
	at com.tivo.hme.host.http.server.HttpConnection.run(HttpConnection.java:123)
	at java.lang.Thread.run(Thread.java:613)

03/13/09 19:02:37 Listener: ctx=HttpRequest /streambaby/ t=java.net.SocketException: Socket closed
I'm happy to keep helping you sort out my bizarre mp4 files :-) At some point you should just tell me how to start debugging it myself in Eclipse! I've used a fair few IDEs in my time, but not Java in Eclipse (Python and C++ yes, but ironically not Java).

Last edited by pmd : 03-13-2009 at 05:50 AM.
pmd is offline   Reply With Quote
Old 03-13-2009, 10:38 PM   #705
cburbs
Registered User
 
Join Date: Jan 2009
Posts: 158
Quote:
Originally Posted by Yoav View Post
Every 1.1 Gigs of data, your movie WILL pause and rebuffer. No matter how fast your home network, or your computer, etc. This is the one downside with streambaby, and is a limitation of tivo streaming.

Your second problem is probably caused by the fact that your mkv file is at a bitrate that is faster than your home network, so the tivo is not getting data fast enough, and so pauses while its waiting for more data, then resumes, but then runs out of data again and resumes, ad-inifinitum. Alternatively, it could be because your computer is too slow at converting that file to an mpeg-2 (mkv files are all converted). Try selecting a lower quality from streambaby before you play the film and see if that helps -- if it does, your movie was just too much data. If it doesn't, you should probably use pytivo to view that movie instead.
So why do AVI files play fine but not MKV. These are show downloaded from RSS feed.
cburbs is offline   Reply With Quote
Old 03-14-2009, 07:26 AM   #706
rfryar
My Media, My Way
 
Join Date: Feb 2008
Location: Cottage Grove, MN
Posts: 201
Quote:
Originally Posted by cburbs View Post
So why do AVI files play fine but not MKV. These are show downloaded from RSS feed.
It has to do with the CPU processing required to convert. Converting XVid AVIs does not take much CPU, but decoding MKVs takes significant CPU power, so the transcoding process to MPG2 does not happen in real time.

Watch your CPU resources on the machine running Streambaby, and see the difference.

I would also take a guess that the AVI material is not as high res as the MKV video, which will also impact the time and CPU required to transocde it.

Rick
rfryar is offline   Reply With Quote
Old 03-14-2009, 08:33 AM   #707
tbear334
Registered User
 
Join Date: Sep 2007
Posts: 11
pyTivo MetaData with Images

I am using manually created pyTivo style .txt meta data files that work fine. But if I add an image file <filename>.mp4.jpg, the image will show up, but none of the other information. If I rename the image file to something else, the text data works. What am I doing wrong?

BTW, awesome job!
tbear334 is offline   Reply With Quote
Old 03-14-2009, 09:25 AM   #708
Sicklybutsexy
Registered User
 
Join Date: May 2007
Posts: 179
Quote:
Originally Posted by moyekj View Post
I couldn't find interlaced h.264 clips anywhere via Google. It may be helpful Sicklybutsexy if you could possibly upload a small clip somewhere for further examination.
Sorry for the late response but I was out of town. I took this m2ts file and demuxed it then remuxed it using mp4muxer.exe. I've also remuxed it using megui with the same result. You can download it here: http://www.adrive.com/public/5bb63c5...490a4efed.html

It transfers over but is in slow motion with what sounds like normal audio speed. thanks. any help would be appreciated.

Here's mediainfo on it:

General
Complete name : I:\Sony Backup\2-22-2009\Emmy's Birthday not muxed\20090221135104.track_4113.mp4
Format : MPEG-4
Format profile : Base Media / Version 2
Codec ID : mp42
File size : 91.6 MiB
Duration : 1mn 52s
Overall bit rate : 6 815 Kbps
Encoded date : UTC 2009-03-14 14:02:39
Tagged date : UTC 2009-03-14 14:02:48
Writing application : mp4creator 1.6.1d

Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L4.0
Format settings, CABAC : Yes
Format settings, ReFrames : 2 frames
Codec ID : avc1
Codec ID/Info : Advanced Video Coding
Duration : 1mn 52s
Bit rate mode : Variable
Bit rate : 6 626 Kbps
Width : 1 920 pixels
Height : 1 080 pixels
Display aspect ratio : 16/9
Frame rate mode : Constant
Frame rate : 25.000 fps
Original frame rate : 29.970 fps
Resolution : 24 bits
Colorimetry : 4:2:0
Scan type : Interlaced
Scan order : Top Field First
Bits/(Pixel*Frame) : 0.128
Stream size : 89.1 MiB (97%)
Encoded date : UTC 2009-03-14 14:02:39
Tagged date : UTC 2009-03-14 14:02:47

Audio
ID : 2
Format : AC-3
Format/Info : Audio Coding 3
Codec ID : ac-3
Duration : 47s 72ms
Bit rate mode : Constant
Bit rate : 448 Kbps
Channel(s) : 6 channels
Channel positions : Front: L C R, Surround: L R, LFE
Sampling rate : 48.0 KHz
Resolution : 16 bits
Stream size : 2.51 MiB (3%)
Encoded date : UTC 2009-03-14 14:02:48
Tagged date : UTC 2009-03-14 14:02:48
Sicklybutsexy is offline   Reply With Quote
Old 03-14-2009, 09:51 AM   #709
krismast
Registered User
 
Join Date: Dec 2008
Posts: 7
ok im confused. i got it to show up on the tivo but when i run it it says No entries in this directory. I tried putting my directory in the ini file. Can someone please tell me exactly what to do. Im not good at this stuff.
krismast is offline   Reply With Quote
Old 03-14-2009, 10:52 AM   #710
moyekj
Registered User
 
Join Date: Jan 2006
Location: Mission Viejo, CA
Posts: 9,006
Quote:
Originally Posted by Sicklybutsexy View Post
Sorry for the late response but I was out of town. I took this m2ts file and demuxed it then remuxed it using mp4muxer.exe. I've also remuxed it using megui with the same result. You can download it here: http://www.adrive.com/public/5bb63c5...490a4efed.html

It transfers over but is in slow motion with what sounds like normal audio speed. thanks. any help would be appreciated.
Well Videolan VLC plays it back exactly as you describe - normal audio and slow motion video. Media Player Classic also plays it back in slow motion. Windows Media Player can't play it at all (I have the proper codecs since other mp4 files that stream to Tivo play in WMP fine). Until you get normal playback with VLC I wouldn't even attempt to stream/transfer to Tivo.
__________________
Roamio Pro (GigE)
Elite (MoCA)
Premiere (MoCA adapter)
Cox - Motorola CableCards & TAs
Slingbox 350 via TiVo Mini & TiVo Stream for remote viewing

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
moyekj is offline   Reply With Quote
Old 03-14-2009, 11:09 AM   #711
Sicklybutsexy
Registered User
 
Join Date: May 2007
Posts: 179
Quote:
Originally Posted by moyekj View Post
Well Videolan VLC plays it back exactly as you describe - normal audio and slow motion video. Media Player Classic also plays it back in slow motion. Windows Media Player can't play it at all (I have the proper codecs since other mp4 files that stream to Tivo play in WMP fine). Until you get normal playback with VLC I wouldn't even attempt to stream/transfer to Tivo.
I'm not sure what this means but it will play perfectly in mplayer if under options I make the setting: -fps 60000/1001

I found that out under trial and error, just don't know what I'm doing but that makes the file play correctly. That's the only setting I have under mplayer.
Sicklybutsexy is offline   Reply With Quote
Old 03-14-2009, 11:40 AM   #712
moyekj
Registered User
 
Join Date: Jan 2006
Location: Mission Viejo, CA
Posts: 9,006
Quote:
Originally Posted by Sicklybutsexy View Post
I'm not sure what this means but it will play perfectly in mplayer if under options I make the setting: -fps 60000/1001

I found that out under trial and error, just don't know what I'm doing but that makes the file play correctly. That's the only setting I have under mplayer.
That's forcing it to play at 60 frames per second. Analyzing the file with MediaInfo or ffmpeg they specify the encoding frame rate as 25 frames per second so that's likely why it looks like slow motion when played back. Needless to say this encoding seems to have plenty of issues for several different decoders so I wouldn't expect Tivo to decode it properly either.
I would revisit your .m2ts -> .mp4 conversion process until you get to a point where VLC can play back the .mp4 file properly.
__________________
Roamio Pro (GigE)
Elite (MoCA)
Premiere (MoCA adapter)
Cox - Motorola CableCards & TAs
Slingbox 350 via TiVo Mini & TiVo Stream for remote viewing

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
moyekj is offline   Reply With Quote
Old 03-14-2009, 11:44 AM   #713
kearygriffin
Registered User
 
Join Date: Jan 2008
Posts: 346
Quote:
Originally Posted by tbear334 View Post
I am using manually created pyTivo style .txt meta data files that work fine. But if I add an image file <filename>.mp4.jpg, the image will show up, but none of the other information. If I rename the image file to something else, the text data works. What am I doing wrong?

BTW, awesome job!
The problem here is that streambaby supports images as "metadata" and so once it sees the <filename>.mp4.jpg file it stops looking for anymore metadata and just uses the image. (so it never gets to the pyTivo data). I'll probably change the priority in a future version so pyTivo metdata has priority over just an image.

What you want to do is edit the pyTivo .txt meta file, and add the following line:
image : img-<filename>.mp4.jpg

And rename the jpg to img-<filename>.mp4.jpg (you can use any filename, as long as it is not <filename>.mp4.jpg) Now you should get both text and image.

(When I fix it, you won't have to rename the jpg file, but you will still need to insert the image : tag in the pyTivo metadata)

The alternative to renaming the jpg files is to put them in a separate directory (images for instance) so in the .txt file:
image : images/<filename>.mp4.jpg
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
kearygriffin is offline   Reply With Quote
Old 03-14-2009, 11:55 AM   #714
kearygriffin
Registered User
 
Join Date: Jan 2008
Posts: 346
Quote:
Originally Posted by krismast View Post
ok im confused. i got it to show up on the tivo but when i run it it says No entries in this directory. I tried putting my directory in the ini file. Can someone please tell me exactly what to do. Im not good at this stuff.
The INI should look something like the following:
dir.1=c:\path\to\my\Videos

If you have something like that and it still does not seem to work, could you post your INI settings? And also, I am assuming this is Windows?
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
kearygriffin is offline   Reply With Quote
Old 03-14-2009, 12:02 PM   #715
Sicklybutsexy
Registered User
 
Join Date: May 2007
Posts: 179
Quote:
Originally Posted by moyekj View Post
That's forcing it to play at 60 frames per second. Analyzing the file with MediaInfo or ffmpeg they specify the encoding frame rate as 25 frames per second so that's likely why it looks like slow motion when played back. Needless to say this encoding seems to have plenty of issues for several different decoders so I wouldn't expect Tivo to decode it properly either.
I would revisit your .m2ts -> .mp4 conversion process until you get to a point where VLC can play back the .mp4 file properly.
well that's just it... i can get to transfer over if I "transcode" the file using tmpgenc. I was just hoping to be able to transfer it over without transcoding (just demuxing and muxing) and therefore retaining perfect quality. I guess that doesn't look like it's possible?
Sicklybutsexy is offline   Reply With Quote
Old 03-14-2009, 12:19 PM   #716
moyekj
Registered User
 
Join Date: Jan 2006
Location: Mission Viejo, CA
Posts: 9,006
Quote:
Originally Posted by Sicklybutsexy View Post
well that's just it... i can get to transfer over if I "transcode" the file using tmpgenc. I was just hoping to be able to transfer it over without transcoding (just demuxing and muxing) and therefore retaining perfect quality. I guess that doesn't look like it's possible?
Try RipBot264 to convert .m2ts to .mp4. Since video is already H.264 I think it should leave it alone when converting. Audio will probably re-encode to AAC though.
__________________
Roamio Pro (GigE)
Elite (MoCA)
Premiere (MoCA adapter)
Cox - Motorola CableCards & TAs
Slingbox 350 via TiVo Mini & TiVo Stream for remote viewing

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
moyekj is offline   Reply With Quote
Old 03-14-2009, 12:28 PM   #717
Sicklybutsexy
Registered User
 
Join Date: May 2007
Posts: 179
Quote:
Originally Posted by moyekj View Post
Try RipBot264 to convert .m2ts to .mp4. Since video is already H.264 I think it should leave it alone when converting. Audio will probably re-encode to AAC though.
Unfortunately ripbot always wants to transcode it. The lower the CQ the higher the bitrate, the higher the CQ the lower the bitrate.
I could be wrong but it certainly seems like its transcoding it. Yeah, it does. The file is now progressive after conversion and the bitrate is constant instead of variable.

Last edited by Sicklybutsexy : 03-14-2009 at 12:40 PM.
Sicklybutsexy is offline   Reply With Quote
Old 03-14-2009, 01:21 PM   #718
kearygriffin
Registered User
 
Join Date: Jan 2008
Posts: 346
Quote:
Originally Posted by Sicklybutsexy View Post
Unfortunately ripbot always wants to transcode it. The lower the CQ the higher the bitrate, the higher the CQ the lower the bitrate.
I could be wrong but it certainly seems like its transcoding it. Yeah, it does. The file is now progressive after conversion and the bitrate is constant instead of variable.
If you have MP4Box you can fix the file like this: (make sure you have a backup!) The # lines are just comments..

# Extract the video track (track 1 in the sample file)
# Can be found by looking at output of MP4Box -info file.mp4
MP4Box file.mp4 -raw 1
# the above should create a file file_track1.h264

# Delete the video track from the mp4
MP4Box file.mp4 -rem 1

# Re-add the video track, using 59.94 as the fps
MP4Box file.mp4 -add file_track1.h264 -fps 59.94
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
kearygriffin is offline   Reply With Quote
Old 03-14-2009, 02:17 PM   #719
kearygriffin
Registered User
 
Join Date: Jan 2008
Posts: 346
Quote:
Originally Posted by kearygriffin View Post
If you have MP4Box you can fix the file like this....
I wasn't able to test on the TiVo when I posted that, but although that seems to "fix" the MP4 file as far as mplayer was concerened, TiVo still doesn't like the file. Not sure why. Could be that TiVo just won't support that type of MP4 or because the fixing process somehow messes up something else.
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
kearygriffin is offline   Reply With Quote
Old 03-14-2009, 03:14 PM   #720
Sicklybutsexy
Registered User
 
Join Date: May 2007
Posts: 179
Quote:
Originally Posted by kearygriffin View Post
I wasn't able to test on the TiVo when I posted that, but although that seems to "fix" the MP4 file as far as mplayer was concerened, TiVo still doesn't like the file. Not sure why. Could be that TiVo just won't support that type of MP4 or because the fixing process somehow messes up something else.
ok. thanks for all your help.
Sicklybutsexy is offline   Reply With Quote
Reply
Forum Jump




Thread Tools


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Advertisements

TiVo Community
Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
vBulletin Skins by: Relivo Media

(C) 2013 Magenium Solutions - All Rights Reserved. No information may be posted elsewhere without written permission.
TiVoŽ is a registered trademark of TiVo Inc. This site is not owned or operated by TiVo Inc.
All times are GMT -5. The time now is 09:26 PM.
OUR NETWORK: MyOpenRouter | TechLore | SansaCommunity | RoboCommunity | MediaSmart Home | Explore3DTV | Dijit Community | DVR Playground |