damienhaynes / moving-pictures

Moving Pictures is a movies plug-in for the MediaPortal media center application. The goal of the plug-in is to create a very focused and refined experience that requires minimal user interaction. The plug-in emphasizes usability and ease of use in managing a movie collection consisting of ripped DVDs, and movies reencoded in common video formats supported by MediaPortal.
12 stars 6 forks source link

Dynamic Refresh Rate On ISO Images #1069

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Mediaportal V1.2.1 Final
Moving Pictures V1.2.3
Skin Black Glass Nova HD

Hi and thanks MovingPictures developers for the great job.

I wanted to tell you about an defect in the function of DynamicRefreshRate, 
with the use of ISO files (DVD or Blu-Ray).

Steps to reproduce the problem - case 1:
1. Enable "Dynamic Refresh Rate" in MediaPortal Configuration 
2. Start MP in fullscreen (1080p/60HZ resolution) 
3. Start a ISO image of DVD-Movie in Moving Pictures with Refresh Rate 1080p/25 
4. Refresh rate does not change
5. Expected: MP changes the RefreshRate to 1080p/50, as set in configuration 
--> Playback in MyVideo is working as exspected

Steps to reproduce the problem - case 2:
1. Enable "Dynamic Refresh Rate" in MediaPortal Configuration 
2. Start MP in fullscreen (1080p/60HZ resolution) 
3. Start a ISO image of BluRay-Movie in Moving Pictures with Refresh Rate 
1080p/24 (I use the internal player) 
4. Refresh rate does not change
5. Expected: MP changes the RefreshRate to 1080p/24, as set in configuration 

With files mkv/avi everything works properly.
Log's are attached.

Best regards.
Sergio

Original issue reported on code.google.com by nicser...@yahoo.it on 29 Nov 2011 at 12:06

Attachments:

GoogleCodeExporter commented 9 years ago
I was about to post exact same report...

Log after playing a bluray iso within Moving Pictures (23,976 fps):

2013-01-08 10:15:38.114281 [Info.][MPMain(1)]: Start process C:\Program 
Files\Elaborate Bytes\VirtualCloneDrive\Daemon.exe -mount 
0,"\\ACMT\Media02\Video\Publico\Peliculas\300 (2007).iso"
2013-01-08 10:15:38.880325 [Info.][MPMain(1)]: 
RefreshRateChanger.AdaptRefreshRate: unable to guess framerate on file 
g:\bdmv\STREAM\00000.m2ts
2013-01-08 10:15:38.884325 [Info.][MPMain(1)]: 
RefreshRateChanger.SetRefreshRateBasedOnFPS: current refreshrate is 50hz - 
changing it to 60hz
2013-01-08 10:15:38.884325 [Info.][MPMain(1)]: 
RefreshRateChanger.SetRefreshRateBasedOnFPS: using internal win32 method for 
changing refreshrate. current is 50hz, desired is 60
2013-01-08 10:15:39.214344 [Info.][MPMain(1)]: CycleRefreshRate: successfully 
changed refresh rate to 60Hz (60Hz requested)

Log after doing the same within MyVideos:

2013-01-08 10:25:35.047423 [Info.][MPMain(1)]: open folderdatabase
2013-01-08 10:25:55.994622 [Info.][MPMain(1)]: Start process C:\Program 
Files\Elaborate Bytes\VirtualCloneDrive\Daemon.exe -mount 
0,"\\ACMT\Media02\Video\Publico\Peliculas\300 (2007).iso"
2013-01-08 10:25:57.664717 [Info.][MPMain(1)]: 
MediaInfoWrapper.MediaInfoWrapper: DLL Version      : MediaInfoLib - v0.7.61
2013-01-08 10:25:57.664717 [Info.][MPMain(1)]: 
MediaInfoWrapper.MediaInfoWrapper: Inspecting media : G:\BDMV\STREAM\00000.m2ts
2013-01-08 10:25:57.664717 [Info.][MPMain(1)]: 
MediaInfoWrapper.MediaInfoWrapper: Parse speed      : 0.3
2013-01-08 10:25:57.665717 [Info.][MPMain(1)]: 
MediaInfoWrapper.MediaInfoWrapper: FrameRate        : 23,976
2013-01-08 10:25:57.665717 [Info.][MPMain(1)]: 
MediaInfoWrapper.MediaInfoWrapper: Width            : 1920
2013-01-08 10:25:57.665717 [Info.][MPMain(1)]: 
MediaInfoWrapper.MediaInfoWrapper: Height           : 1080
2013-01-08 10:25:57.665717 [Info.][MPMain(1)]: 
MediaInfoWrapper.MediaInfoWrapper: AspectRatio      : widescreen
2013-01-08 10:25:57.666717 [Info.][MPMain(1)]: 
MediaInfoWrapper.MediaInfoWrapper: VideoCodec       : VC-1 [ "vc-1.png" ]
2013-01-08 10:25:57.666717 [Info.][MPMain(1)]: 
MediaInfoWrapper.MediaInfoWrapper: Scan type        : progressive
2013-01-08 10:25:57.666717 [Info.][MPMain(1)]: 
MediaInfoWrapper.MediaInfoWrapper: IsInterlaced     : False
2013-01-08 10:25:57.666717 [Info.][MPMain(1)]: 
MediaInfoWrapper.MediaInfoWrapper: VideoResolution  : 1080P
2013-01-08 10:25:57.666717 [Info.][MPMain(1)]: 
MediaInfoWrapper.MediaInfoWrapper: VideoDuration    : 6998575
2013-01-08 10:25:57.667717 [Info.][MPMain(1)]: 
MediaInfoWrapper.MediaInfoWrapper: AudioRate        : 48000
2013-01-08 10:25:57.667717 [Info.][MPMain(1)]: 
MediaInfoWrapper.MediaInfoWrapper: AudioChannels    : 6 [ "5.1.png" ]
2013-01-08 10:25:57.667717 [Info.][MPMain(1)]: 
MediaInfoWrapper.MediaInfoWrapper: AudioCodec       : TRUEHD / AC-3 [ "truehd _ 
ac-3.png" ]
2013-01-08 10:25:57.667717 [Info.][MPMain(1)]: 
MediaInfoWrapper.MediaInfoWrapper: HasAudio         : True
2013-01-08 10:25:57.667717 [Info.][MPMain(1)]: 
MediaInfoWrapper.MediaInfoWrapper: HasVideo         : True
2013-01-08 10:25:57.667717 [Info.][MPMain(1)]: 
MediaInfoWrapper.MediaInfoWrapper: HasSubtitles     : True
2013-01-08 10:25:57.668717 [Info.][MPMain(1)]: 
MediaInfoWrapper.MediaInfoWrapper: NumSubtitles     : 14
2013-01-08 10:25:57.668717 [Info.][MPMain(1)]: g_Player.Play(G:\BDMV\index.bdmv 
Video)
2013-01-08 10:25:57.685718 [Info.][MPMain(1)]: BDPlayer play: G:\BDMV\index.bdmv
2013-01-08 10:25:57.723720 [Info.][MPMain(1)]: DirectShowUtils: First try to 
insert new audio renderer Default DirectSound Device 
2013-01-08 10:25:57.851728 [Info.][MPMain(1)]: DirectShowUtils: Found audio 
renderer
2013-01-08 10:26:01.286924 [Info.][MPMain(1)]: BDPlayer OnMediaTypeChanged() - 
Video: VC1(23,976 fps), Audio: AC3
2013-01-08 10:26:01.309926 [Info.][MPMain(1)]: 
RefreshRateChanger.SetRefreshRateBasedOnFPS: current refreshrate is 50hz - 
changing it to 23hz
2013-01-08 10:26:01.309926 [Info.][MPMain(1)]: 
RefreshRateChanger.SetRefreshRateBasedOnFPS: using internal win32 method for 
changing refreshrate. current is 50hz, desired is 23
2013-01-08 10:26:01.878958 [Info.][MPMain(1)]: CycleRefreshRate: successfully 
changed refresh rate to 23,97Hz (23Hz requested)

Moving Pictures play process doesn't include a call to MediaInfo dll, so it's 
impossible for it to know the actual iso fps.

bye!

Original comment by jlmont...@gmail.com on 8 Jan 2013 at 9:33

GoogleCodeExporter commented 9 years ago
I understand ..
For ISO images, however, Moving Pictures could simply use the data "Video Frame 
Rate" already available in its database ..

Original comment by nicser...@yahoo.it on 12 Jan 2013 at 7:15

GoogleCodeExporter commented 9 years ago
That could be a simple way to retrieve framerate without having to search into 
de file itself, right!

Original comment by jlmont...@gmail.com on 14 Jan 2013 at 5:01

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Solved. You must tick MP Config -> DVD Discs/Images -> DVD Discs/Images Player, 
option "Use MediaInfo for DVDs...".

Thanks HomeY inside MP forum, for the hint:

http://forum.team-mediaportal.com/threads/bug-setting-correct-refresh-rate-playi
ng-iso-images.115494/#post-961570

bye!

Original comment by jlmont...@gmail.com on 30 Jan 2013 at 9:03