|
| Author |
Message |
KyleR96
Joined: 13 Jun 2008 Posts: 3 Location: Lewisville, TX
|
Posted: Sat Aug 02, 2008 3:59 pm Post subject: |
|
|
| rdian06 wrote: |
This is using a skeleton HME app as wmcbrine described? |
Yes that is correct. |
|
| Back to top |
|
 |
rdian06
Joined: 12 Apr 2008 Posts: 364
|
Posted: Sat Aug 02, 2008 4:16 pm Post subject: |
|
|
| Got a link to the method you're using to convert the mkv to mp4? Just curious if it's cooking the audio. |
|
| Back to top |
|
 |
KyleR96
Joined: 13 Jun 2008 Posts: 3 Location: Lewisville, TX
|
Posted: Sat Aug 02, 2008 4:37 pm Post subject: |
|
|
| rdian06 wrote: | Got a link to the method you're using to convert the mkv to mp4? Just curious if it's cooking the audio. |
Here is the one I tried:
http://clipmarks.com/clipmark/D052FB6C-9138-4DC3-B63C-7792BCC076CA/
I think this converts the audio to stereo. I wanted something that worked on linux. I'm trying out GOTSent right now.
I did play the file I convert on my PC and it had the same sound sync problem so its not the TiVo. |
|
| Back to top |
|
 |
Tennesotans
Joined: 08 Jul 2008 Posts: 4
|
Posted: Thu Aug 07, 2008 11:24 am Post subject: |
|
|
If I understand this thread, y'all have found a way of playing h264 on your Tivo with a custom script/HME. What resolution h264 can the Tivo HD decode? 720p? 1080p? Does this play with pause, 30 sec skip, ff, rw...??
I'd MUCH rather use my Tivo HD than buy a blu-ray player  |
|
| Back to top |
|
 |
wmcbrine

Joined: 04 Jan 2008 Posts: 444
|
Posted: Thu Aug 07, 2008 2:58 pm Post subject: |
|
|
I've played a 1280x720p 24fps h264 file with no trouble. I'll try 1080i/p when I find them... I'd be surprised if they didn't work.
Trick play works if you program it. Currently I have it doing pause/play/ff/rw, but not skip/replay yet. (This requires a slightly more complex app than the one I posted here. I'll post it on TCF in the "Video Streaming in HME" thread later. Meanwhile, you can get some additional functionality from Allanon's version, if you can't write it yourself.) _________________ My pyTivo fork |
|
| Back to top |
|
 |
rdian06
Joined: 12 Apr 2008 Posts: 364
|
Posted: Thu Aug 07, 2008 6:39 pm Post subject: |
|
|
| wmcbrine wrote: | I've played a 1280x720p 24fps h264 file with no trouble. I'll try 1080i/p when I find them... I'd be surprised if they didn't work.
Trick play works if you program it. Currently I have it doing pause/play/ff/rw, but not skip/replay yet. (This requires a slightly more complex app than the one I posted here. I'll post it on TCF in the "Video Streaming in HME" thread later. Meanwhile, you can get some additional functionality from Allanon's version, if you can't write it yourself.) |
Nice. Have you tried anything with AAC 5.1 audio? Or does it only handle AAC stereo? |
|
| Back to top |
|
 |
wmcbrine

Joined: 04 Jan 2008 Posts: 444
|
Posted: Thu Aug 07, 2008 8:20 pm Post subject: |
|
|
I myself have only stereo equipment, sorry. _________________ My pyTivo fork |
|
| Back to top |
|
 |
Tennesotans
Joined: 08 Jul 2008 Posts: 4
|
Posted: Fri Aug 08, 2008 7:19 am Post subject: |
|
|
Sounds promising... I will see if I set this up... I will report back  |
|
| Back to top |
|
 |
MasterCephus

Joined: 04 Jan 2008 Posts: 156 Location: Hueytown, AL
|
Posted: Wed Aug 13, 2008 10:11 am Post subject: |
|
|
So to summarize, wmcbrine, you can successfully send a h.264 file to the Tivo and it will play without it having to be transcoded using the HME stuff you speced out? _________________ MetaGenerator
pyTivo Manager |
|
| Back to top |
|
 |
wmcbrine

Joined: 04 Jan 2008 Posts: 444
|
Posted: Wed Aug 13, 2008 11:22 am Post subject: |
|
|
Yes. But, only in that way. After some failed experiments, I've decided that I'm not going to spend any more time trying to do it through pyTivo until we know that it can be done at all via HMO (rather than HME) -- presumably when TiVo Desktop 2.7 comes out. _________________ My pyTivo fork |
|
| Back to top |
|
 |
rdian06
Joined: 12 Apr 2008 Posts: 364
|
Posted: Tue Sep 16, 2008 4:02 pm Post subject: |
|
|
Don't mean to get anyones' hopes up prematurely. Just wanted to add a few links to relevant information for if/when we start pursuing the h264 HMO route again.
1) h264 + AC3 5.1 audio in an mp4 container will work with HME streaming currently. See:
http://www.tivocommunity.com/tivo-vb/showthread.php?p=6680769#post6680769
2) ffmpeg as of SVN 15184 (tweaked again in SVN 15197) has AC3 muxing support for mov/mp4/m4v. Meaning my recent SVN 15216 build should be able to turn an h264 + AC3 mkv into an h264 + AC3 mp4 file by just simple remuxing or do just audio transcoding and remuxing for h264 + AC3 high bit rate/DTS/AAC to h264 + AC3 mp4.
3) Streaming/transferring an mp4 container out of ffmpeg on the fly will be problematic because mp4 streaming requires transplanting the moov atom from the end of the file to the beginning of the file using a utility called qt-faststart that is part of the ffmpeg utils suite.
See http://multimedia.cx/eggs/improving-qt-faststart/
A pure Python version of qt-faststart.py exists here:
http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/2008-September/052952.html
Basic research on qt-faststart and ffmpeg indicates that the moov atom is normally moved as part of a second pass and that the whole of original file where mdat atom appears before moov atom must be available for the second pass to begin.
My conjecture at this time is that we either have to figure out if ffmpeg can be modified to somehow determine the moov atom by scanning the input file and then generating the moov before the streaming begins (so that it can send the moov atom before mdat atom) OR hope that Tivo will be made to accept an EVO or MPEG2-TS container for HMO in the future. |
|
| Back to top |
|
 |
jcthorne
Joined: 30 Jan 2008 Posts: 22 Location: Houston, TX
|
Posted: Wed Sep 17, 2008 9:52 am Post subject: |
|
|
Heck I'd be happy with a two step process.
Convert the mkv to an MP4 and then let pytivo/ffmpeg stream it to Tivo.
Got my hopes up you did!  |
|
| Back to top |
|
 |
PaulS
Joined: 04 Jan 2008 Posts: 140
|
Posted: Wed Sep 17, 2008 10:19 am Post subject: |
|
|
| Absolutely. Dealing with these MKV files is more trouble that it's worth. |
|
| Back to top |
|
 |
rdian06
Joined: 12 Apr 2008 Posts: 364
|
Posted: Wed Sep 17, 2008 11:13 am Post subject: |
|
|
| jcthorne wrote: | Heck I'd be happy with a two step process.
Convert the mkv to an MP4 and then let pytivo/ffmpeg stream it to Tivo.
Got my hopes up you did!  |
Actually, I believe with HME (using moyekj's tivostream or wmcbrine's HME/VLC Video Streamer) and my latest ffmpeg build with the new AC3 muxing for MP4 support, the two step process is possible now. As I explained above, the conversion process would take an h264 + AC3/DTS/AAC mkv and remux + transcode the audio to h264 + AC3 384k mp4. The video shouldn't require any transcoding (though I don't know if there is a limit to the bitrate that the Tivo HME playback can handle).
The ffmpeg command line would look something like this (assuming my.mkv has h264 video and you have an ffmpeg SVN 15197 or higher) :
| Code: |
ffmpeg -i my.mkv -vcodec copy -ab 448k -ar 48000 -acodec ac3 -copyts -f mp4 my.mp4
|
Then you have to run my.mp4 through either the compiled c version of qt-faststart or the python version of qt-faststart.py (see previous post) to move the moov atom to the front of the file for streaming.
I don't have time to test this right now because I don't have tivostream or HME/VLC Video streamer setup yet. Plus I have been devoting what time I do have to ffmpeg building. But the key is that moyekj has already confirmed that h264 video + AC3 audio in an mp4 processed by qt-faststart works with the Tivo.
No HMO yet with pyTivo, but hopefully in the future. |
|
| Back to top |
|
 |
jcthorne
Joined: 30 Jan 2008 Posts: 22 Location: Houston, TX
|
Posted: Thu Sep 18, 2008 10:57 am Post subject: |
|
|
Sorry, I should not have said streaming. What I am looking for is HMO I suppose. I don't mind the two step process, heck most of the mkv files have to be preprocessed before pytivo gets them now. But I would like to store h.264 video on the tivo rather than mpeg2 for the significant space savings.
I do not and will not stream from a file server to tivo. Streaming in real time for HD video is a loosing proposition with Tivo due to its overhead for network operations. And I do not want a file server independent of the Tivo running 24/7 for cost of operation reasons. Tivo is pretty energy efficient, even with large drives attached. PC file servers are not.
Really look forward to this h264 being a part of pytivo storing the video on the Tivo. Heck, I'd really like to find a way to move our music and photo data to tivo or a very efficient NAS device. |
|
| Back to top |
|
 |
|