mpeg2 encoder

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • leo77
    Junior Member
    Junior Member
    • Jun 2004
    • 18

    mpeg2 encoder

    Hi, I was using the mpeg encoder from www.mpeg.org/MPEG/MSSG but I couldnt set the parameter (.par) file in the right way. The video apears with a pink bar on the botton, or with the columns wrong... I think the problem is about resolutoin (display window size) but I've already tryed to fix it and didnt work...
    can Someone here give me a hand?
    thanks in advance...
  • reboot
    Digital Video Expert
    Digital Video Expert
    • Apr 2004
    • 695

    #2
    The link to their encoder is broken, or I would have installed it just to see what you mean.
    BTW, contrary to your post title, this is only an mpeg1 (VCD) encoder.
    My DVDLab (and other) Guides

    Comment

    • leo77
      Junior Member
      Junior Member
      • Jun 2004
      • 18

      #3
      The encoder that I downloaded is at: ftp://ftp.mpegtv.com/pub/mpeg/mssg/mpeg2v12.zip
      acording to the creators, it is mpeg2
      (at the readme file: http://www.mpeg.org/MPEG/MSSG/Codec/readme.txt )

      Comment

      • reboot
        Digital Video Expert
        Digital Video Expert
        • Apr 2004
        • 695

        #4
        Ok, they've updated, now it does mpeg2. Some year maybe they'll get a GUI for it.
        Post your .par file, and I'll take a look.
        My DVDLab (and other) Guides

        Comment

        • leo77
          Junior Member
          Junior Member
          • Jun 2004
          • 18

          #5
          the par file...

          MPEG-2 Test Sequence, 30 frames/sec
          susi%d /* name of source files */
          susi%d /* name of reconstructed images ("-": don't store) */
          - /* name of intra quant matrix file ("-": default matrix) */
          - /* name of non intra quant matrix file ("-": default matrix) */
          stat.out /* name of statistics file ("-": stdout ) */
          0 /* input picture file format: 0=*.Y,*.U,*.V, 1=*.yuv, 2=*.ppm */
          150 /* number of frames */
          0 /* number of first frame */
          00:00:00:00 /* timecode of first frame */
          15 /* N (# of frames in GOP) */
          3 /* M (I/P frame distance) */
          0 /* ISO/IEC 11172-2 stream */
          0 /* 0:frame pictures, 1:field pictures */
          352 /* horizontal_size */
          264 /* vertical_size */
          2 /* aspect_ratio_information 1=square pel, 2=4:3, 3=16:9, 4=2.11:1 */
          5 /* frame_rate_code 1=23.976, 2=24, 3=25, 4=29.97, 5=30 frames/sec. */
          5000000.0 /* bit_rate (bits/s) */
          112 /* vbv_buffer_size (in multiples of 16 kbit) */
          0 /* low_delay */
          0 /* constrained_parameters_flag */
          4 /* Profile ID: Simple = 5, Main = 4, SNR = 3, Spatial = 2, High = 1 */
          8 /* Level ID: Low = 10, Main = 8, High 1440 = 6, High = 4 */
          0 /* progressive_sequence */
          1 /* chroma_format: 1=4:2:0, 2=4:2:2, 3=4:4:4 */
          2 /* video_format: 0=comp., 1=PAL, 2=NTSC, 3=SECAM, 4=MAC, 5=unspec. */
          5 /* color_primaries */
          5 /* transfer_characteristics */
          4 /* matrix_coefficients */
          352 /* display_horizontal_size */
          264 /* display_vertical_size */
          0 /* intra_dc_precision (0: 8 bit, 1: 9 bit, 2: 10 bit, 3: 11 bit */
          1 /* top_field_first */
          0 0 0 /* frame_pred_frame_dct (I P B) */
          0 0 0 /* concealment_motion_vectors (I P B) */
          1 1 1 /* q_scale_type (I P B) */
          1 0 0 /* intra_vlc_format (I P B)*/
          0 0 0 /* alternate_scan (I P B) */
          0 /* repeat_first_field */
          0 /* progressive_frame */
          0 /* P distance between complete intra slice refresh */
          0 /* rate control: r (reaction parameter) */
          0 /* rate control: avg_act (initial average activity) */
          0 /* rate control: Xi (initial I frame global complexity measure) */
          0 /* rate control: Xp (initial P frame global complexity measure) */
          0 /* rate control: Xb (initial B frame global complexity measure) */
          0 /* rate control: d0i (initial I frame virtual buffer fullness) */
          0 /* rate control: d0p (initial P frame virtual buffer fullness) */
          0 /* rate control: d0b (initial B frame virtual buffer fullness) */
          2 2 11 11 /* P: forw_hor_f_code forw_vert_f_code search_width/height */
          1 1 3 3 /* B1: forw_hor_f_code forw_vert_f_code search_width/height */
          1 1 7 7 /* B1: back_hor_f_code back_vert_f_code search_width/height */
          1 1 7 7 /* B2: forw_hor_f_code forw_vert_f_code search_width/height */
          1 1 3 3 /* B2: back_hor_f_code back_vert_f_code search_width/height */



          --
          the file I decoded to try to encode again with this par file can be found at
          ftp://ftp.tek.com/tv/test/streams/Element/index.html
          the file is susi_15.m2v
          Last edited by leo77; 8 Jun 2004, 11:22 PM.

          Comment

          • reboot
            Digital Video Expert
            Digital Video Expert
            • Apr 2004
            • 695

            #6
            352 /* horizontal_size */
            264 /* vertical_size */

            Not valid. It should be 352x240.
            My DVDLab (and other) Guides

            Comment

            • leo77
              Junior Member
              Junior Member
              • Jun 2004
              • 18

              #7
              thanks a lot...
              How can I know the valid sizes? I wanna use it with other videos too...
              is there a way of getting them directly from the video file (or, is it on the "header" of the video file)?

              Comment

              • reboot
                Digital Video Expert
                Digital Video Expert
                • Apr 2004
                • 695

                #8
                Virtualdub, File, File Info.
                DVD stands for Digital Versatile/Video Disc, DVDR stands for DVD Recordable and DVDRW for DVD ReWriteable.

                Video forums, video software downloads, guides, blu-ray players and media.

                VCD stands for 'Video Compact Disc' and basically it is a CD that contains moving pictures and sound. If you're familiar with regular audio/music CDs, then you will know what a VCD looks like.


                Check your framerate too. 29.97 for NTSC, 25 for PAL. You have it at #5=30fps.
                Last edited by reboot; 10 Jun 2004, 11:01 AM.
                My DVDLab (and other) Guides

                Comment

                • leo77
                  Junior Member
                  Junior Member
                  • Jun 2004
                  • 18

                  #9
                  thanks...

                  Comment

                  Working...