Posts: 952
Joined: Feb 2005
Reputation:
0
Ok the results are in. Outofsync after 39:30 but not much. Later on it becomes alittle more out of sync.
I think it's the small reception errors which are in the stream multiple places. I wonder why you had no problems with sync as Time Machine had problems too with receptionerrors.
Running out of options/ideas. Think I will try to record it again as it's still aired every few days. Damn...
Posts: 294
Joined: Feb 2006
Reputation:
2
plugh
Senior Member
Posts: 294
That log you posted from mpeg2repair is the 'key', I think...
That long series of time related messages has to be the root cause of the audio / video timing issue. If that was understood and addressed (Is it something DVB-S related? Are those transport streams 'differant' in some fashion? Or is it Dreambox related?), I bet the reception glitches would be easier to deal with...
Did you look at the faqs / postings in the doom9 'hdtv/dvb' forum? Have you checked out any of the doom9 'dvb capture' guides? Perhaps there is a better TS demuxing tool that can deal with whatever is differant about those dvb-s streams to give you clean video, audio, (and subs?) files...
Posts: 294
Joined: Feb 2006
Reputation:
2
plugh
Senior Member
Posts: 294
And without software audio decoding (ie digital audio out?)?
Posts: 294
Joined: Feb 2006
Reputation:
2
plugh
Senior Member
Posts: 294
I read about ProjectX, but was hesitant about having to load the JRE. Guess I'll bite the bullet...
Get a copy of BeSweet, and use it to convert your AC3 5.1 down to a stereo MP3 stream (it can even make it a Dolby Prologic surround mix if you want). Mux this in as your primary audio track, and the AC3 5.1 as alternate sound track.
When you play movie on 'other' systems, you get software decoded stereo audio by default; when on main system (with digital audio out), select ac3 stream in xbmc. Thus, you are not trying to do software decoding and down-mix of 5.1 'on the fly' on the systems that can't use it, and you pipe the 5.1 stream out to your external decoder on the system that can. You 'move' this decode / down-mix processing to the encode stage, rather than during playback.
I haven't actually measured the cpu hit for mp3 decode, but ac3 2.0 decode was a very small load, so I'd guess mp3 decode would be as low if not lower...
Posts: 294
Joined: Feb 2006
Reputation:
2
plugh
Senior Member
Posts: 294
PS - keep the sample rate at 48K, as I believe other rates (eg 44.1K) have to be converted to 48K PCM 'on the fly' during playback due to xbox sound chip.
Posts: 952
Joined: Feb 2005
Reputation:
0
I deleted my first test movie, Blade Trinity, as it clearly has issues. Using ProjectX the AC3 would show weird length and bitrate. MP2 was fine. However the encode would miss 9 minutes for some reason.
I then starting testing with Million Dollar Baby where AC3 worked fine. I did an encode using both AC3 and MP2. While encoding I was able to play it back fine, however when done XBMC wouldn't start playwork. Nothing happens when pressing A on the file!? Tried demuxing and muxing again. Same problem.
Did you ever see this before?
Next movie is Black Hawk Down which is 1080p...
Posts: 952
Joined: Feb 2005
Reputation:
0
Hmmm apears the problem is that there are two soundtracks in the AVI. When I mux with either and just one, it plays fine. This must be a XBMC problem since the AVI's play fine on PC (Windows Media Player and VLC)
Posts: 952
Joined: Feb 2005
Reputation:
0
Made a segment of the AVI and XBMC can start it and I can choose between the two tracks. Howcome it doesn't start the full AVI? It's less than 4 gb and I also tried it from HDD.
The movie played with analog audio decoding with 19 frame drops via SMB - all services except FTP was disabled. Not bad but not perfect either. Didn't test Digital decoding because I assume it always works if Analog does!?
If two tracks is not possible in a huge AVI I guess I have to encode it all over with just the AC3 - this will give a little more video bitrate and still keep it under 4 gb FATX limit, but might thereby yield a larger frame drop count and I'm not sure disabling FTP will make it disappear.
Should I use the "Second pass ALT" instead?
Posts: 294
Joined: Feb 2006
Reputation:
2
plugh
Senior Member
Posts: 294
"Second pass alt" is my code, so yeah, that's definitely what you want.
Odd about the dual audio; I know it can work, as your segment test showed, and I don't think it's a size related issue. I've never tried it with MP2+AC3; I have files with multiple AC3, multiple MP3, and MP3+AC3...
Do you have the xbmc log enabled? What did it say about the failing file?
Posts: 294
Joined: Feb 2006
Reputation:
2
plugh
Senior Member
Posts: 294
That's kind of odd, particularly if you've got FTP etc off.
Is your display set at 720p or 1080i? Are you using default skin?
Posts: 952
Joined: Feb 2005
Reputation:
0
1080i in the menu and 720p when viewing videos... PM3 skin. I will play around and see if I can get it to play
Posts: 952
Joined: Feb 2005
Reputation:
0
I disabled FTP server also which freed 2 mb up.
1080i PM3 skin uses 13 mb more RAM than 720p skin. WTF?! When pressing A to start playing the file, I have 22 mb available RAM. Why it cannot allocate 9 mb I do not understand. Cache is set to 256 kb so that cannot be the cause.
It plays if the menu is at 720p, but not 1080i...
Why does a movie with 2 tracks require more memory than one track? It only plays one of them anyways. Something is wrong here.
I think the movie will play without drops with your ALT second pass even with software AC3 decoding, so never mind the second audio track - I won't trade my 1080i menu sharpless for an audio track which I do not need and also getting a little better video for the 232 mb MP2 file left out