|
SageTV Github Development Discussion related to SageTV Open Source Development. Use this forum for development topics about the Open Source versions of SageTV, hosted on Github. |
|
Thread Tools | Search this Thread | Display Modes |
#21
|
|||
|
|||
Have you tried setting seeker/fast_mux_switch=false on the main server?
|
#22
|
||||
|
||||
Quote:
Thanks, but I still feel like there is another issue of some sort. What else can I provide to troubleshoot this one?
__________________
SageTV Server: unRAID Docker v9, S2600CPJ, Norco 24 hot swap bay case, 2x Xeon 2670, 64 GB DDR3, 3x Colossus for DirecTV, HDHR for OTA Living room: nVidia Shield TV, Sage Mini Client, 65" Panasonic VT60 Bedroom: Xiomi Mi Box, Sage Mini Client, 42" Panasonic PZ800u Theater: nVidia Shield TV, mini client, Plex for movies, 120" screen. Mitsubishi HC4000. Denon X4300H. 7.4.4 speaker setup. |
#23
|
|||
|
|||
Quote:
I assume you mean the live show transition issue seems to be gone? I expected it might, since the strange file size queries Jeff pointed out are happening when fast_mux_switch simply changes the filename for encoding. Turning that off basically causes a stop/restart for the new file if I'm reading the code correctly. I'm still coming up to speed on how this all works but near as I can tell, the tuners are capturing on the windows machine but streaming the data back to a "file" which is actually an "stv://" path on the Linux main server or a network share. What I haven't found is which code processes that stv URL on the server. The Windows machine MpegMux simply calls a standard Windows library 'CreateFile' with that "stv://" path. The thing is, if it fails the return code is passed back from the mux to the Encoder but is ignored in the switchOutputFile code that calls it. I suspect there's a clue in here as to why the live show fast switch isn't working. I could be following the code trail wrong, though at there are plenty of options. So is issue #1 in your original post (seemingly shared channel changes) what you're concerned about? Is that still happening? Last edited by wnjj; 03-06-2017 at 01:16 PM. |
#24
|
||||
|
||||
That one appears to be gone. There were duplicate entries in the properties file that had more than one tuning device name. I changed those to what they should be and it seems to have corrected things.
__________________
SageTV Server: unRAID Docker v9, S2600CPJ, Norco 24 hot swap bay case, 2x Xeon 2670, 64 GB DDR3, 3x Colossus for DirecTV, HDHR for OTA Living room: nVidia Shield TV, Sage Mini Client, 65" Panasonic VT60 Bedroom: Xiomi Mi Box, Sage Mini Client, 42" Panasonic PZ800u Theater: nVidia Shield TV, mini client, Plex for movies, 120" screen. Mitsubishi HC4000. Denon X4300H. 7.4.4 speaker setup. |
#25
|
||||
|
||||
OK, I'm pretty sure I found the bug now...it's been there forever...apparently not many people used encoding server upload with seamless file switching on Windows....which is somewhat of a surprise.
If you look here: https://github.com/google/sagetv/blo...2Dump.cpp#L657 That's where the dumper filter that writes out the data is in the mode where it's looking for an MPEG start code where it's a clean boundary to transition from one file to the next. Once it finds it, it writes out what's left up to that point in the current file....then closes the current file and opens the new file and continues writing from there. The problem lies here: https://github.com/google/sagetv/blo...Dump.cpp#L1102 When it closes the file...it also sets m_bRemoteFile to FALSE for some reason (likely me just trying to make the state known)...however, m_bRemoteFile has already been set to TRUE in the SetFilename method so now when OpenFile is called, it doesn't realize that it's supposed to be a remote file and tries to open the stv:// directly as a local file and will fail when it does that. I've just checked in what should be a fix for this...but I can't compile Windows code currently so I have no way to test this.
__________________
Jeffrey Kardatzke Founder of SageTV |
#26
|
||||
|
||||
Quote:
Or, what would I need to compile the windows code if nobody is willing to do it?
__________________
SageTV Server: unRAID Docker v9, S2600CPJ, Norco 24 hot swap bay case, 2x Xeon 2670, 64 GB DDR3, 3x Colossus for DirecTV, HDHR for OTA Living room: nVidia Shield TV, Sage Mini Client, 65" Panasonic VT60 Bedroom: Xiomi Mi Box, Sage Mini Client, 42" Panasonic PZ800u Theater: nVidia Shield TV, mini client, Plex for movies, 120" screen. Mitsubishi HC4000. Denon X4300H. 7.4.4 speaker setup. |
#27
|
|||
|
|||
There's a sticky on compiling the Windows native code. I have this and the JAR creation set up on my desktop. Granted I don't know what all is going on, but have an EXE based on the latest GitHub entries. Attached in ZIP format.
__________________
Home Network: https://karylstein.com/technology.html |
#28
|
|||
|
|||
The fix Jeff made is to MPEG2Dump.ax.
|
#29
|
|||
|
|||
Of course! Where does that .ax file go? One of the DLLs? Here's the whole build directory minus the .ax files due to space.
__________________
Home Network: https://karylstein.com/technology.html |
#30
|
|||
|
|||
Quote:
AX files are like DLL's (dynamic loaded binaries) but are specifically for DShow filters. Last edited by wnjj; 03-06-2017 at 07:14 PM. |
#31
|
|||
|
|||
Quote:
__________________
Home Network: https://karylstein.com/technology.html |
#32
|
|||
|
|||
Quote:
k
__________________
If you wish to see what I am up to and support my efforts visit my Patreon page |
#33
|
|||
|
|||
Like jusjoken said, it's in SageTV/Common instead of SageTV/SageTV.
Thanks for compiling, KarylFStein. panteragstk, give that new .ax file a shot with seeker/fast_mux_switch=true. Last edited by wnjj; 03-06-2017 at 09:55 PM. |
#34
|
||||
|
||||
Thanks for trying, but no workie. I'm still impressed with how this community is so helpful. You guys rock...except that it doesn't work yet
__________________
SageTV Server: unRAID Docker v9, S2600CPJ, Norco 24 hot swap bay case, 2x Xeon 2670, 64 GB DDR3, 3x Colossus for DirecTV, HDHR for OTA Living room: nVidia Shield TV, Sage Mini Client, 65" Panasonic VT60 Bedroom: Xiomi Mi Box, Sage Mini Client, 42" Panasonic PZ800u Theater: nVidia Shield TV, mini client, Plex for movies, 120" screen. Mitsubishi HC4000. Denon X4300H. 7.4.4 speaker setup. |
#35
|
|||
|
|||
Quote:
I love a good puzzle. If you want to post the main and encoder server logs again with this new ax file in place I'd take another look. |
#36
|
||||
|
||||
Yeah. I'm surprised as well. Puzzles are fun, but this one is frustrating because there seems to be little to go on. I'll post logs when I get a chance.
__________________
SageTV Server: unRAID Docker v9, S2600CPJ, Norco 24 hot swap bay case, 2x Xeon 2670, 64 GB DDR3, 3x Colossus for DirecTV, HDHR for OTA Living room: nVidia Shield TV, Sage Mini Client, 65" Panasonic VT60 Bedroom: Xiomi Mi Box, Sage Mini Client, 42" Panasonic PZ800u Theater: nVidia Shield TV, mini client, Plex for movies, 120" screen. Mitsubishi HC4000. Denon X4300H. 7.4.4 speaker setup. |
#37
|
|||
|
|||
Quote:
Sorry if this is insulting but I assume you restarted Sage on the encoder server after replacing the filter file? |
#38
|
||||
|
||||
Also, don't .ax files need to be registered like .dll files in Windows?
__________________
Server: Ryzen 2400G with integrated graphics, ASRock X470 Taichi Motherboard, HDMI output to Vizio 1080p LCD, Win10-64Bit (Professional), 16GB RAM Capture Devices (7 tuners): Colossus (x1), HDHR Prime (x2),USBUIRT (multi-zone) Source: Comcast/Xfinity X1 Cable Primary Client: Server Other Clients: (1) HD200, (1) HD300 Retired Equipment: MediaMVP, PVR150 (x2), PVR150MCE, HDHR, HVR-2250, HD-PVR |
#39
|
|||
|
|||
Yes, but from what I can tell, you don't need to re-register if you are replacing one with a compatible interface. They are loaded into memory so you would have to restart the app and maybe Windows itself (doubtful)?
|
#40
|
||||
|
||||
Quote:
Quote:
I'll restart the encoding server and re-test and attach the logs.
__________________
SageTV Server: unRAID Docker v9, S2600CPJ, Norco 24 hot swap bay case, 2x Xeon 2670, 64 GB DDR3, 3x Colossus for DirecTV, HDHR for OTA Living room: nVidia Shield TV, Sage Mini Client, 65" Panasonic VT60 Bedroom: Xiomi Mi Box, Sage Mini Client, 42" Panasonic PZ800u Theater: nVidia Shield TV, mini client, Plex for movies, 120" screen. Mitsubishi HC4000. Denon X4300H. 7.4.4 speaker setup. |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
SageTV as a network encoder / recording on network encoder works, not from server | perfessor101 | SageTV Software | 0 | 06-21-2014 05:59 AM |
Network Encoder Problem | nox71 | SageTV Beta Test Software | 0 | 06-22-2010 07:23 PM |
Weird Network Encoder Problem | interloper | SageTV Beta Test Software | 0 | 04-09-2009 06:50 AM |
HD-PVR as network encoder problem | phelme | Hardware Support | 9 | 07-28-2008 12:38 AM |
Problem setting up network encoder | Alfiegerner | SageTV Software | 1 | 12-29-2006 11:30 PM |