|
SageTV Software Discussion related to the SageTV application produced by SageTV. Questions, issues, problems, suggestions, etc. relating to the SageTV software application should be posted here. (Check the descriptions of the other forums; all hardware related questions go in the Hardware Support forum, etc. And, post in the customizations forum instead if any customizations are active.) |
|
Thread Tools | Search this Thread | Display Modes |
#21
|
|||
|
|||
Quote:
It crashes in the same manner as the 64bit UI for the server9.2.1. I also used the 32bit client to connect to my existing 32bit server9.1.9 on the old Window7 platform; it also crashes on livetv and files recorded by the older server; but, nothing crashes when using the server9.1.9 32bit UI for any type of playback. Hope that helps. |
#22
|
||||
|
||||
It should be set to 1 any way
|
#23
|
|||
|
|||
Looking into the debug log for the demux and noticed one difference between the 2 files. In the working one, track 0 is the AC3 audio and track 1 is the Mpeg2 video. In the crashing one, the tracks are swapped. I'm still tracking down where/why it's crashing.
|
#24
|
||||
|
||||
Yup I see that it crashing it make no sense
|
#25
|
|||
|
|||
Have you tried recording the HDHR stream as a transport stream instead of a program stream? I seem to remember this caused less errors in the recording for several users.
|
#26
|
|||
|
|||
An update on this:
I was able to reproduce the crash with files provided by AlbuQuirky. After many iterations, debug logs and print statements I uncovered the problem. There is an issue in the MpegDeMux.ax filter code when it stores the MPEG2 header info into the DirectShow data structures. The header storage is defined as an array of DWORD (4 bytes long), but was being allocated and loaded with a quantity of data that is not module 4. Then when the downstream filter read that header it would access memory outside the structure. I found at least one example online where the header was padded to make it modulo 4 which is a simple solution. I’ll submit a pull request when I get some time but in the meantime if anyone else is crashing upon MPEG2 playback on a Windows client I can share the patched filter. The odd thing is this code was built that way before going open source. I suspect that VS2015 compiles it a bit different which is why it never surfaced on V7 and earlier. It’s funny that it hasn’t been observed on V9 until now but it also takes a certain compression style so may not be prevalent for most OTA streams. |
#27
|
|||
|
|||
That's interesting. Well done.
|
#28
|
|||
|
|||
Pull request created: https://github.com/google/sagetv/pull/436
|
#29
|
|||
|
|||
Quote:
Many thanks to wnjj and all who have contributed to this finding. Professional, indeed. If there is any other way that I might assist, please feel free to contact me. |
#30
|
|||
|
|||
Any idea if the changes needed for the format detector mentioned in this thread
https://forums.sagetv.com/forums/showthread.php?t=66352 are also included in this? Hoping to be able to install this fix and keep the updates that came from the format detector. Is this going to be as easy as replacing a couple files or will it require an updated install of SageTV? Thanks for your efforts here, greatly appreciated. |
#31
|
|||
|
|||
Quote:
In the meantime, installing a sage.jar per jvl711's instructions (https://github.com/jvl711/MediaForma...ster/README.md) would be equivalent. |
#32
|
|||
|
|||
Attached are the patched MpegDeMux.ax filters for 32 and 64 bit. Shut down SageTV, backup the previous version and copy into the SageTV/Common folder.
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Linux 64bit MiniClient (issues with JTux on 64bit) | stuckless | SageTV Github Development | 23 | 08-19-2015 12:54 PM |
Hauppauge 2250 no channels in Win7 64bit | dvd_maniac | Hardware Support | 2 | 03-28-2010 09:34 AM |
H.264 Playback Crashes on ClientPC | Brent | SageTV Beta Test Software | 2 | 11-22-2008 02:44 PM |
Server crashes after adding channels to A180 | harrijay | SageTV Linux | 0 | 12-17-2007 08:59 AM |