Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
|
|
Thread Tools | Search this Thread | Display Modes |
24th August 2008, 09:56 | #1781 | Link |
Registered User
Join Date: May 2005
Posts: 395
|
Another question.
I'm currently using AVCSource, but when previously using MeGUI's AVISynth creator on a BluRay title, I noticed this line in the .avs file:- DirectShowSource("filename.m2ts",fps=23.9759856527702,audio=false) I was just wondering where that value for fps comes from? - I was under the impression it was supposed to be 24000/1001 or 23.976023976023976023976023976024 which is obviously a different value! AVCSource doesn't have such a parameter, although the .dga file produced by DGAVCIndex does contain this line at the end:- FPS 48000 / 2002 |
24th August 2008, 14:53 | #1782 | Link |
Mr. Sandman
Join Date: Sep 2003
Location: Haddonfield, IL
Posts: 11,768
|
from mediainfo.
you can safely change it to 24000/1001.
__________________
MPEG-4 ASP Custom Matrices: EQM V1(old), EQM AutoGK Sharpmatrix (aka EQM V2), EQM V3HR (updated 01/10/2004), EQM V3LR, EQM V3ULR (updated 04/02/2005), EQM V3UHR (updated 17/12/2004) and EQM V3EHR (updated 05/10/2004) Info about my ASP matrices. MPEG-4 AVC Custom Matrices: EQM AVC-HR Info about my AVC matrices My x264 builds. Mooo!!! |
24th August 2008, 20:39 | #1783 | Link |
Registered User
Join Date: May 2005
Posts: 395
|
hmm, well I guess that's only about a 5ms drift per hour so it won't be noticeable in any kind of audio sync/etc.
which one is more correct? is the mediainfo number calculated from my .m2ts source file somehow? I wonder why the number differs from D Graft's calculation... not trying to be picky, just interested in the theory! |
25th August 2008, 03:22 | #1784 | Link |
Mr. Sandman
Join Date: Sep 2003
Location: Haddonfield, IL
Posts: 11,768
|
the correct one is 24000/1001.
__________________
MPEG-4 ASP Custom Matrices: EQM V1(old), EQM AutoGK Sharpmatrix (aka EQM V2), EQM V3HR (updated 01/10/2004), EQM V3LR, EQM V3ULR (updated 04/02/2005), EQM V3UHR (updated 17/12/2004) and EQM V3EHR (updated 05/10/2004) Info about my ASP matrices. MPEG-4 AVC Custom Matrices: EQM AVC-HR Info about my AVC matrices My x264 builds. Mooo!!! |
26th August 2008, 17:35 | #1786 | Link | |
Swallowed in the Sea
Join Date: Oct 2002
Location: Aix-en-Provence, France
Posts: 5,191
|
Quote:
Code:
if (queryObject == "Win32_LogicalDisk") { if (mo["DriveType"].ToString() == "3") // HDD { long freespace = long.Parse(mo["FreeSpace"].ToString()) / 1073741824; long totalsize = long.Parse(mo["Size"].ToString()) / 1073741824; if (mo["VolumeName"].ToString() == "") mo["VolumeName"] = "Local Disk"; res += mo["VolumeName"].ToString() + " (" + mo["Name"].ToString() + ") - " + Convert.ToString(freespace) + " Go free of " + Convert.ToString(totalsize) + " Go\n"; } } @Avenger007 : could you try this build and this one please and tell me which is the best for you. Last edited by Kurtnoise; 26th August 2008 at 20:13. |
|
26th August 2008, 19:10 | #1787 | Link | |
Bruce Wayne
Join Date: Dec 2007
Posts: 283
|
Quote:
|
|
26th August 2008, 20:10 | #1788 | Link |
Swallowed in the Sea
Join Date: Oct 2002
Location: Aix-en-Provence, France
Posts: 5,191
|
Well...I give up then.
Anyway, could you try this tool...Load it, go to the 2nd tab (Data Storage) and select Win32_LogicalDisk from the dropdown list on the right. What do you see for your floppy drive ? especially the value for the MediaType... Post a screenshot if you want. |
26th August 2008, 20:15 | #1789 | Link | |
Bruce Wayne
Join Date: Dec 2007
Posts: 283
|
Quote:
DriveType: 2 MediaType: 5 |
|
26th August 2008, 20:22 | #1790 | Link |
Swallowed in the Sea
Join Date: Oct 2002
Location: Aix-en-Provence, France
Posts: 5,191
|
unplug your floppy then...
Sorry, I'm kinding but I've no idea how to avoid this behaviour unless to remove this part. As you can see, the code above seems correct to me. btw, it was the Sharktooth idea to commit this patch not me... |
26th August 2008, 20:28 | #1792 | Link |
Registered User
Join Date: Jun 2002
Location: On thin ice
Posts: 6,837
|
Wouldn't DriveInfo.GetDrives() be easier?
__________________
https://github.com/stax76/software-list https://www.youtube.com/@stax76/playlists |
26th August 2008, 22:12 | #1794 | Link |
Registered User
Join Date: Jun 2002
Location: On thin ice
Posts: 6,837
|
I'm confident that this code will fix the issue:
Code:
foreach (var i in DriveInfo.GetDrives()) { if (i.DriveType == DriveType.Fixed) { try { var space = i.AvailableFreeSpace; } catch (Exception ex) { } } }
__________________
https://github.com/stax76/software-list https://www.youtube.com/@stax76/playlists Last edited by stax76; 26th August 2008 at 22:18. |
27th August 2008, 00:34 | #1795 | Link |
Mr. Sandman
Join Date: Sep 2003
Location: Haddonfield, IL
Posts: 11,768
|
no floppy drives on my PCs so i didnt notice it. however if the floppy checking is the only "problem" i think we can live with it...
__________________
MPEG-4 ASP Custom Matrices: EQM V1(old), EQM AutoGK Sharpmatrix (aka EQM V2), EQM V3HR (updated 01/10/2004), EQM V3LR, EQM V3ULR (updated 04/02/2005), EQM V3UHR (updated 17/12/2004) and EQM V3EHR (updated 05/10/2004) Info about my ASP matrices. MPEG-4 AVC Custom Matrices: EQM AVC-HR Info about my AVC matrices My x264 builds. Mooo!!! |
27th August 2008, 01:29 | #1796 | Link |
Registered User
Join Date: May 2005
Posts: 395
|
Not really a question about MeGUI, but about a couple of parameters within it...
I've seen a MeGUI guide or two (one in particular by DJRumpy I believe) where it has been recommended to set the Keyframe Interval to about 10 times the frame rate, and the Min GOP size to "about the same as" the frame rate... i.e. for a typical 24000/1001 fps source, a Keyframe Interval of 240 and Min GOP size of 24 is suggested. Is there any value in changing from the default DXVA-HD-HQ values I see in my profile of 250 and 25? What would be the advantage or disadvantage of either pair of values? Would certain values/combinations invalidate the DXVA compatibility?? And finally, is this "rule of 10" true or reasonable for ALL frame rates? Thanks again from a newbie in advance for the global wisdom, m |
27th August 2008, 01:52 | #1797 | Link |
Mr. Sandman
Join Date: Sep 2003
Location: Haddonfield, IL
Posts: 11,768
|
the rule of thumb is just a rule of thumb... i set 250/25 coz the rule of thumb and coz i live in a PAL country (where almost everything is 25 FPS). if you encode 24 FPS stuff you can safely set it to 240/24... for 30 FPS 300/30.
__________________
MPEG-4 ASP Custom Matrices: EQM V1(old), EQM AutoGK Sharpmatrix (aka EQM V2), EQM V3HR (updated 01/10/2004), EQM V3LR, EQM V3ULR (updated 04/02/2005), EQM V3UHR (updated 17/12/2004) and EQM V3EHR (updated 05/10/2004) Info about my ASP matrices. MPEG-4 AVC Custom Matrices: EQM AVC-HR Info about my AVC matrices My x264 builds. Mooo!!! |
27th August 2008, 02:13 | #1799 | Link |
Registered User
Join Date: May 2005
Posts: 395
|
Thanks Sharktooth.
You mean you don't live in Haddonfield, IL :-) I've already encoded a 24000/1001 fps source with 250/25 Is it worth reencoding with 240/24, or is it only a minor codec/bitrate efficiency issue? (i.e. is the 'rule of thumb' there to be an optimal setting for x264 in some way and how bad is deviating from the rule - just a trivial difference in encoding efficiency I am hoping!!) I *eventually* came to understand the rationale for the whole GOP Sequence M, N/M settings for CCE for MPEG-2 DVD-compliant authoring and there was a limited amount of freedom of choice depending on the source and applied pulldown if any, but there were also hard limits as to what you couldn't choose depending on the source and violating those boundaries would make the encoded stream invalid (e.g. NTSC DVD-standards-compliant MPEG-2 video has a GOP length limit of 36 fields/18 frames) . Are there similar limits/guidelines here? Thanks again, m |
27th August 2008, 06:01 | #1800 | Link |
Registered User
Join Date: May 2005
Posts: 395
|
Hi again,
just used the latest MeGUI build 0.3.0.2002 to auto-encode a 2-pass encode/mux I notice that even though in my Options|Setting I have "Delete Intermediate Files" unchecked, the job files (jobN.xml) created include directives to delete those very files (i.e. FilesToDelete sections for e.g. .stats file, pre-muxing .mkv source, etc) I know I got this to work OK on the last (previous) release. m |
Thread Tools | Search this Thread |
Display Modes | |
|
|