el Filou
Well-Known Member
Thread Starter
- Joined
- Dec 14, 2009
- Messages
- 262
- Likes
- 43
EDIT: after 3 years using workarounds, I finally found the root cause of this issue. Explanation in this thread: https://forum.redfox.bz/threads/rec...8-10-disable-c1e-c3-power-save-in-bios.75761/
Hello.
I recently upgraded my HTPC to Windows 10 (64) from Windows XP, and I have a problem with ReClock in a very specific case.
I use MediaPortal, and I configured ReClock to be used when playing video.
The thing is, MediaPortal considers that when you play an MPEG TS file, you're watching a "TV" source, which is technically correct as it comes from the TV tuner card, but that means it also considers DVB radio, i.e. a TS source with just an audio channel and no video, as TV and so it also uses ReClock to play it. This means I can't disable ReClock just for DVB radio as it would be disabled also for playing video TS files and I obviously don't want that.
My problem is that when playing DVB radio, the sound is skipping every ~4 seconds.
Some technical information:
- I use LAV Audio Decoder, in MediaPortal as well as in MPC-HC, and I use the external filter so it's the same version in both with the same config.
- the playback is not really live from the tuner card, as MediaPortal is always buffering "TV" streams to a TS file on disk and then playing that file, so it's like playing any file really, with the difference that it's being written to at the same time.
- Playing "live" TV the same way with ReClock in MediaPortal poses no problem at all (with or without PAL speeddown).
- Playing the file in MPC-HC with ReClock while MP is recording to it poses no problem.
- Using the system default audio renderer instead of ReClock works fine.
- The same situation worked flawlessly under Windows XP with Kernel Streaming.
- MediaPortal developers don't support ReClock and will ask to use their own MediaPortal audio renderer that also does resampling and clock-matching, but it is useless to me as it doesn't support PAL speeddown and setting speaker config that matches the source.
- If I check ReClock properties while playing in MediaPortal (see attached picture), when it is skipping I can see "24 ms samp" changing very briefly to "0 ms samp"
Here is what I tried to troubleshoot. None of those things changed anything.
- Pause the "live" stream so as to have more data on disk, in case it was a file buffer size problem. I paused for as long as one minute (about 1,5 MB file buffer on disk).
- Disabling "Auto A/V Sync correction" in LAV Decoder
- Using DirectSound and WaveOut output in ReClock
- Using higher prebuffer values (up to 1000 ms)
- Using lower Sinc resampling quality and output sample rate
I have attached log files from when I tried to listen to a radio channel. I started the channel, then hit pause for ~10 seconds, then let it play until it had skipped 4 times and then pressed Stop.
I also included the logs from MediaPortal if it can be of any use (TsReader is the splitter MP uses).
Do you think there is anything that can be done on ReClock's side, or is the problem mostly on the player's side?
Thanks a lot for any help, best regards.
Hello.
I recently upgraded my HTPC to Windows 10 (64) from Windows XP, and I have a problem with ReClock in a very specific case.
I use MediaPortal, and I configured ReClock to be used when playing video.
The thing is, MediaPortal considers that when you play an MPEG TS file, you're watching a "TV" source, which is technically correct as it comes from the TV tuner card, but that means it also considers DVB radio, i.e. a TS source with just an audio channel and no video, as TV and so it also uses ReClock to play it. This means I can't disable ReClock just for DVB radio as it would be disabled also for playing video TS files and I obviously don't want that.
My problem is that when playing DVB radio, the sound is skipping every ~4 seconds.
Some technical information:
- I use LAV Audio Decoder, in MediaPortal as well as in MPC-HC, and I use the external filter so it's the same version in both with the same config.
- the playback is not really live from the tuner card, as MediaPortal is always buffering "TV" streams to a TS file on disk and then playing that file, so it's like playing any file really, with the difference that it's being written to at the same time.
- Playing "live" TV the same way with ReClock in MediaPortal poses no problem at all (with or without PAL speeddown).
- Playing the file in MPC-HC with ReClock while MP is recording to it poses no problem.
- Using the system default audio renderer instead of ReClock works fine.
- The same situation worked flawlessly under Windows XP with Kernel Streaming.
- MediaPortal developers don't support ReClock and will ask to use their own MediaPortal audio renderer that also does resampling and clock-matching, but it is useless to me as it doesn't support PAL speeddown and setting speaker config that matches the source.
- If I check ReClock properties while playing in MediaPortal (see attached picture), when it is skipping I can see "24 ms samp" changing very briefly to "0 ms samp"
Here is what I tried to troubleshoot. None of those things changed anything.
- Pause the "live" stream so as to have more data on disk, in case it was a file buffer size problem. I paused for as long as one minute (about 1,5 MB file buffer on disk).
- Disabling "Auto A/V Sync correction" in LAV Decoder
- Using DirectSound and WaveOut output in ReClock
- Using higher prebuffer values (up to 1000 ms)
- Using lower Sinc resampling quality and output sample rate
I have attached log files from when I tried to listen to a radio channel. I started the channel, then hit pause for ~10 seconds, then let it play until it had skipped 4 times and then pressed Stop.
I also included the logs from MediaPortal if it can be of any use (TsReader is the splitter MP uses).
Do you think there is anything that can be done on ReClock's side, or is the problem mostly on the player's side?
Thanks a lot for any help, best regards.
Attachments
Last edited: