2012-01-02, 08:15 AM
Awhile back I lost the ability to play MPEG and MPEG-2 files in NPVR. Don't ask when, it was a long time ago. I could render MPEG files of any sort just fine in GraphEdit, so I knew I had the necessary splitter installed.
Tonight I finally decided I wanted to fix it, and the only way I could get it to work was to set <ForceMpgGraph> to False in config.xml. The other apparently related setting <MpgUsingSplitter> seems to make no difference.
Why do I have to set <ForceMpgGraph> to False, why does it default to True, and what other consequence does this have?
With <ForceMpgGraph> set to True, the NPVR log shows an incomplete graph when I try play an MPEG, and of course it doesn't play:
But with it set to False, the graph looks more complete and the file plays:
So it's fine that it works with <ForceMpgGraph> set to False, but I'm not happy until I understand it.
:confused:
Tonight I finally decided I wanted to fix it, and the only way I could get it to work was to set <ForceMpgGraph> to False in config.xml. The other apparently related setting <MpgUsingSplitter> seems to make no difference.
Why do I have to set <ForceMpgGraph> to False, why does it default to True, and what other consequence does this have?
With <ForceMpgGraph> set to True, the NPVR log shows an incomplete graph when I try play an MPEG, and of course it doesn't play:
Code:
2012-01-01 23:47:55.424 [DEBUG][1] Graph filter list:
2012-01-01 23:47:55.424 [DEBUG][1] - MPEG-2 Demultiplexer
2012-01-01 23:47:55.424 [DEBUG][1] - File Source (Async.)
But with it set to False, the graph looks more complete and the file plays:
Code:
2012-01-02 00:05:08.066 [DEBUG][1] Graph filter list:
2012-01-02 00:05:08.067 [DEBUG][1] - Default DirectSound Device
2012-01-02 00:05:08.067 [DEBUG][1] - EVR Renderer
2012-01-02 00:05:08.067 [DEBUG][1] - AC3Filter
2012-01-02 00:05:08.067 [DEBUG][1] - ffdshow Video Decoder
2012-01-02 00:05:08.067 [DEBUG][1] - \\DAVE-PC\Movies\Raiders of the Lost Ark.mpg
So it's fine that it works with <ForceMpgGraph> set to False, but I'm not happy until I understand it.
:confused:
server: NextPVR 5.0.7/Win10 2004/64-bit/AMD A6-7400k/hvr-2250 & hvr-1250/Winegard Flatwave antenna/Schedules Direct
main client: NextPVR 5.0.7 Desktop Client; LG 50UH5500 WebOS 3.0 TV
main client: NextPVR 5.0.7 Desktop Client; LG 50UH5500 WebOS 3.0 TV