Quantcast DVDREasy and Bitrateviewer - digitalFAQ.com Forums [Archives]
  #1  
06-23-2005, 01:58 PM
Prodater64 Prodater64 is offline
Free Member
 
Join Date: Mar 2003
Location: Palma de Mallorca - España
Posts: 2,925
Thanks: 0
Thanked 0 Times in 0 Posts
@Pedro: Could you say me how DVDREasy used bitrateviewer.

How to use it automatically and what information it gives?

BTW: It is enough info that gives you mpeginfo? Do you know mediainfo lib?

http://sourceforge.net/projects/mediainfo/
Reply With Quote
Someday, 12:01 PM
admin's Avatar
Site Staff / Ad Manager
 
Join Date: Dec 2002
Posts: 42
Thanks: ∞
Thanked 42 Times in 42 Posts
  #2  
06-23-2005, 02:15 PM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
It does not use it anymore. It uses mpeginfo (or somethig like that) delivered by Hank.
Reply With Quote
  #3  
06-23-2005, 02:19 PM
Prodater64 Prodater64 is offline
Free Member
 
Join Date: Mar 2003
Location: Palma de Mallorca - España
Posts: 2,925
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by Dialhot
It does not use it anymore. It uses mpeginfo (or somethig like that) delivered by Hank.
I know that, an my question was "used".
That doesn't meant that he can't answer my question, isn't it?
Reply With Quote
  #4  
06-23-2005, 08:29 PM
dvdreasy dvdreasy is offline
Free Member
 
Join Date: May 2004
Location: Portugal
Posts: 79
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by Prodater64
@Pedro: Could you say me how DVDREasy used bitrateviewer.

How to use it automatically and what information it gives?

BTW: It is enough info that gives you mpeginfo? Do you know mediainfo lib?

http://sourceforge.net/projects/mediainfo/
Hi Prodater64,

In fact, BITRATEVIEWER was only needed to get MPEG information of the original movie (Chroma format, DCT precision, Pic. structure, Field topfirst, DCT type, Quantscale, Scan type, Frame type, etc.)

I don't know how to parse an MPEG2 file and BITRATEVIER was the only tool,at least to my knoledge, that gives me this kind of info. Based on that DVDREasy writes the rights settings for HC and CCE (TFF, Interlaced,....)

Now, DVDREasy uses MPEGinfo (developed by Hank), that gives basicly the same results.

BITRATEVIEWER doesn´t have command line. you must fire it by a SHELL in you app and control it by keystrokes (sendkey). its a litle tricky...

if you want i can post how DVDREasy used to controlle it . . .

I don´t know mediainfo lib. I must check this out !

Hope I really anwsered your question . . .

Cheers
Reply With Quote
  #5  
06-23-2005, 10:54 PM
Prodater64 Prodater64 is offline
Free Member
 
Join Date: Mar 2003
Location: Palma de Mallorca - España
Posts: 2,925
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by dvdreasy
if you want i can post how DVDREasy used to controlle it . . .
Please, post it.
Thank you.
Reply With Quote
  #6  
06-24-2005, 02:40 AM
Zyphon Zyphon is offline
Free Member
 
Join Date: Oct 2003
Location: London, England (UK)
Posts: 1,035
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by dvdreasy
BITRATEVIEWER doesn´t have command line. you must fire it by a SHELL in you app and control it by keystrokes (sendkey). its a litle tricky...

if you want i can post how DVDREasy used to controlle it . . .
Could you use the too AutoIt, as you probably know this tool can simulate keystrokes and mouse clicks on an application.

Just a thought.
__________________
Regards.

Michael.
Reply With Quote
  #7  
06-24-2005, 05:49 AM
dvdreasy dvdreasy is offline
Free Member
 
Join Date: May 2004
Location: Portugal
Posts: 79
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by Prodater64
Please, post it.
Thank you.
OK,

here it is (vb6 implementation)

This code fire up BITRATEVIEWER, gets the MPEG info and copy it to the clipboard and then writes that info in VSETTINGS.TXT

Code:
Private Sub brviewer()
Dim X As Double, textline As String, Y As Integer, anterior As Integer
    '**************** fire up bitrate viewer **************************+
    X = Shell(p_brviewer, vbNormalFocus) '(p_brviewer is a string with the fullpath to BITRATE VIEWER)
    espera 10000
    SendKeys "{TAB 5}~", True '(goto and press the open button)
    espera 1000
    SendKeys mypath & "\vts_01_1.vob", True '(send the vob file to be analyse)
    espera 10000
    SendKeys "~", True '(send the ENTER key)
    espera 500000 '(you must wait a litle to BRV parse the begining of the vob)
    AppActivate X
    SendKeys "{TAB 2}", True '(position the cursor in the info pannel)
    espera 10000
    SendKeys "^+{HOME}", True '(mark all the text in the info pannel)
    espera 10000
    SendKeys "^c", True '(send CTRL+C to copy all the marked text)
    'espera 10000
    SendKeys "% ", True '(open the control box menu)
    SendKeys "{UP}~"    '(go up one item - wich actually go to the last item = CLOSE)
    espera 100000
    '*****************   get values from clipboard *******************************
    Open mypath & "\vsettings.txt" For Output As #1
    textline = Clipboard.GetText(1)
    anterior = 1
    For Y = 1 To Len(textline)
        If Mid$(textline, Y, 2) = Chr$(13) + Chr$(10) Then
            Print #1, Mid$(textline, anterior, Y - anterior) + Chr$(13)
            anterior = Y + 2
        End If
    Next Y
    Close #1
    espera 10000
end sub


Public Sub espera(quanto As Long)
Dim Y As Long
    For Y = 1 To quanto
        DoEvents
    Next Y
End Sub
Reply With Quote
  #8  
06-24-2005, 09:57 PM
Prodater64 Prodater64 is offline
Free Member
 
Join Date: Mar 2003
Location: Palma de Mallorca - España
Posts: 2,925
Thanks: 0
Thanked 0 Times in 0 Posts
Thank you.
It is very interesting.
Reply With Quote
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
DVDREasy: OPV in HC dvdreasy Video Encoding and Conversion 29 06-04-2005 09:10 PM
DVDREasy: OPV in CCE dvdreasy Video Encoding and Conversion 5 05-24-2005 04:41 AM
DVDREasy using HCEnc? black prince Video Encoding and Conversion 32 05-09-2005 07:42 PM
DVDREasy 0.2.0 dvdreasy Conversão e Codificação de Vídeo (Português) 2 05-18-2004 11:55 AM
BitrateViewer: value considered as a minimal for quality? Dialhot Avisynth Scripting 1 01-14-2004 06:57 AM

Thread Tools



 
All times are GMT -5. The time now is 01:30 PM  —  vBulletin © Jelsoft Enterprises Ltd