Russian documentation for AVInfo utitly.


                            * AVInfo *
                    /Audio Video Informator/ 


 

    AVInfo  -        ޣ    .
         ,       
        (txt,html,csv),  
         .   , 
    ޣ          .    
          (     
    ,   ,       ģ    ).
      :  AVI,  MKV,  MPEG,  MP3,  OGM, IFO (DVD) , 
    .




    Microsoft Windows 95,98,ME,NT,2k,XP,2003s (  ):

          avinfo.exe avinfo.tpl avinfo.cfg  ,
          %path% (  c:\windows,  ).

           .

    Linux, FreeBSD, *nix:

         ,        -windows 
         (   autoconf  automake ...)
           avinfo,    
          config.h
        

 


    AVInfo,    ,   
        ( ).
           (. .
    ),  ޣ    .
    (       avinfo ).
     AVInfo        
        .



 

    AVInfo      :

    *.avi - RIFF/AVI,    , ,  
             (LIST [INFO]),  (  idx1)
              9   9  . indx  .
    *.mp3, *.mp2 - MPEG/Layer3(2),    , 
              (id3v1 tag),   
             (     VBR-)
    *.mpg,*.mpeg, *.vob - MPEG1(2),      
            ,   .
              9   9  .
            N.B.     vob-,    
                private streams,    
            AVInfo .
    *.srt, *.smi, *.sub, *.ssa - .    
              (/ ), .
    *.ogm, *.ogg - OGG Vorbis.   9   ,
             ..  .
    *.mkv, *.mka - Matroska.   9 , ,  .
                   /todo/

      ,   AVInfo,   ,
     ,     (*.rm,*.viv)





    avinfo [options] [scanpath] 


    Scanpath    ,  .   ,
      ()     .


        -r, --reccurent    
                         ()   
                        (    scanpath     
                        ).    ,  
                              
                        (   ).
                        .  
        -m, --max-line=
                             ޣ.
                           list,   
                             html .
                        0  ' '
        -s, --silent    
                            (   
                        )
        -w, --wait=
                           .  
                         .     
                        avinfo  background    
                        . 
        -l, --list=_
                           .
                          -      
                        
                             .  
                             -r.
                           '-'    
                        stdin.
        -c, --config=__
                           
                        (    avinfo.cfg)
        -T, --template-file=__
                           
        -o, --output=__ޣ       
                         ޣ     stdout.
        -A, --append
                          ޣ    
                        .     -o.
        -t, --template=_
                            .  
                          ,    .
        -f, --force-ext=
                             
                        (  )
        -i, --ignore-ext=ext1[;ext2][;ext3]...[]
                            
        -M, --modify-var:var=value
                            
        -h, --help
                          (  )  
                          
        -b, --built-in     
                          
        -v, --version
                              
        --title=
                           html   
                        .     .
        --report-unknown
                             
                        (-   )
        --offset=number
                            
                        (  ,  
                         /)
        -V, --verbose      
                              
                        stderr.


 
        AVInfo      ,  
           .
        -       .

          -      ,
                  conifg.h     
             .

             ,   
            name=value.
    
             '#'    
         ,          .

           (value)    ,
             '%',  %APPDIR%
             ,  
         ޣ     ,    
         ,    '%',    
        .

               
         include=__.

          include   .   ,
            ,  
              AVInfo.

           :   .

           

               "" 
        .   ģ     avinfo.cfg
        
            
     

        ,    ޣ,    
        (  "" ,      AVInfo).
               ,  
         ,     .

          .

            [template name=_ ver=1]
            [head=XX]
            _
            [body]
            _
            [foot]
            _
            [template name=__2 ver=1]
            ....


          -  ,   ,  
            , ,  ޣ, .   
            MAX_PATH (      255  32 ).

        ver -  .     , 
            ,   ,  AVInfo .
            
            ,  .  
           '#'     .
               .
            
             ,  
         .

            :

                -  
                - LINE_MAX  2048  ( \n  
             ),  LINE_MAX  ̣.
               - 1
               -  .

        C avinfo      (avinfo.tpl)


 

        list
                    , 
            ""    . , ,   
              , CRC, .   ӣ 
             ,   ,  
               . ,  fps    20,
                    , 
              fps - , , ,  ,
               .


        html-list
                ޣ   html-.

        default
              ,    / 
                 ( -t).  .

        description
                  descript.ion,  
                  .  ,
                .

        short
              description.

        raw
              ,    "" ()
            ,    .   
             .      -b

        csv-list
            (    ,    )
             ޣ   Coma Separated Values (  MS Excel).

 


        avinfo . 
                      
        avinfo . -r 
                  ,   ޣ 
        avinfo . -r -t:list
                ,     list
        avinfo . -r -t:html-list -o=filelist.html
                 ޣ       
                   html   filelist.html
        avinfo c:\anime -V -t:description -o:c:\anime\descript.ion
                  descript.ion   c:\anime  
                   ,      
                      .
        avinfo -l=mylist -t:html-list --report-unknown -i:mp3;ogg -o:mylist.html
                   ( )   
                mylist,    html ޣ   mylist.html,
                     mp3  ogg


,   :

     : # - ,    . 
    ޣ    1,    - 9.
    * -     .



    :

        stat.* -  (  ,  )
            stat.total.* -  
                stat.total.files -   () . 
                stat.total.size -    ( Kb)
                stat.total.length -    
                    ( ,     )
                stat.total.error -    
            stat.max.* -   
                stat.max.x -   
                stat.max.y -   
                stat.max.fps -  fps ( ,  )
                stat.max.vidbps -    ( kbps)
                stat.max.freq -    
                stat.max.audbps -    ( kpbs)
                stat.max.name -     ()
            stat.min.* -   
                stat.min.x -   
                stat.min.y -   
                stat.min.fps -  fps ( ,  )
                stat.min.vidbps -    ( kbps)
                stat.min.freq -    
                stat.min.audbps -    ( kpbs)
                stat.min.name -     ()

      :

        app.* -    
            app.name -  
            app.ver - 
            app.build -  (\)
            app.url -  
        
    
       :

        run.* -    
            run.utime -   (unix time,    Epoch)
            run.year -  
            run.mon -  
            run.day -  
            run.hour -  
            run.min -  
            run.sec -  
            run.wday -  
            run.yday -  
            run.scan.time -  ( ),   
            run.report.time -  ( ),   ޣ
                (    )


       
        (,    ,     )
    
        counter -    (  )
        error -   (  /  )

           

        stream.v -    
        stream.a -    
        stream.t -     
        stream.d -     
        d#.num -      (, d1.num, d9.num)


          :

            v#.x -  
            v#.y -  
            v#.aspectX -   ( )
            v#.aspectY -   ( )
            v#.l -   ()
            v#.fpsH -    ( )
            v#.fpsL -    
            v#.cc - FourCC  
            v#.bps -  
            v#.bpsadd -  VBR ( )
            v#.bits -   (1,8,16,24,32)

          :

            a#.freq -   (Hz)
            a#.bits -   (1,4,8,16)
            a#.l -    ()
            a#.cc -  
            a#.bps -  
            a#.bpsadd -  VBR ( )
            a#.ch -   (1,2,6)
            
          :

            t#.lang -   (   )
            
          
            
            d#.num -     
            d##.name -  
            d##.value -  




    *      ,     
           unix ( ),     , 
          memleak,       
         .
    *    peterhost.ru      
    ( - , ,ݣ         ).
    *  SPB.ANIME.GET     
    *    ,        
    



         GPL,   ģ   
    copying.
           
       .




           gs@shounen.ru
      : http://shounen.ru/soft/avinfo/
      http://livejournal/community/avinfo/
     http://svn.berlios.de/viewcvs/avinfo/

() George Shuklin, Stanislav Maslovski, 2003-2005
    
