Announcement

Collapse
No announcement yet.

Aspect ration lost during convertion.

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Aspect ration lost during convertion.

    I have an anamorphic source file with an aspect ratio of 16:9.
    Once converted, it is now close to 4:3.

    The encode is for a mp4(h265).

    Here is the convert log:
    Code:
     0m 00.09s: info, try to open file D:/Users/xxxxxxxx/Downloads/DVDFab/Stargate SG-1 - S9E02 - Avalon, Part 2.m4v
     0m 00.13s: info: open successed, iformat = QuickTime / MOV
     0m 00.13s: info: create config(videoconvert)
     0m 00.13s: info: crop value after clone: left = 0 right= 0 top=0 bottom=0 enable=0 mode=0
     0m 00.14s: info: use profile(MP4.H265)
     0m 00.14s: info: file (.m4v)
     0m 00.14s: info: 3D working_mode(disable), 3D format(sbs_lef_right) 
     0m 00.14s: info: stream input@ Video(1)[codec(h264) size(718*480) fps(23990/1000) interlace(1) duration(2624)sec opcode(compress)]
    567m 25.99s: UILog:MsgWork:WorkStatus_Start
     0m 00.14s: info: perset file config OK ! 
     0m 00.15s: info: set output video frame_rate(24000/1001)
     0m 00.15s: info: recommand= 0, Shrink support= 0, enable= 0, cuda_cap= 0 , cpu_count= 8
     0m 00.15s: info: stream output Video(1)[codec(hevc) size(720*604) fps(24000/1001) interlace(1) bitrate(1210) duration(2624)sec]
     0m 00.15s: info: stream input@ Audio(2)[codec(aac) channels(6) sample(48000) bitrate(447984) bitdepth(16) opcode(copy)]
     0m 00.15s: info: stream output Audio(2)[codec(aac) channels(6) sample(48000) bitrate(447984) bitdepth(16) opcode(copy)]
     0m 00.15s: info: SubMode(Render) -- Display Only forced Subtitle(false) 
     0m 00.16s: info: enable multi-thread software decoder, thread count = 8
    567m 26.01s: UILog:MsgWork:WorkStatus_Start
     0m 00.24s: info: h264_encode: encode param profile(1) level(30) bitrate(1210) crf(-1)
    56m 23.95s:
    Here is a printout of media info of the source :
    Code:
    General
    Format                                   : MPEG-4
    Format profile                           : Base Media / Version 2
    Codec ID                                 : mp42
    File size                                : 838 MiB
    Duration                                 : 43mn 44s
    Overall bit rate mode                    : Variable
    Overall bit rate                         : 2 677 Kbps
    Movie name                               : 02 Avalon, Part 2
    Encoded date                             : UTC 2014-09-25 15:12:31
    Tagged date                              : UTC 2014-09-25 15:29:02
    Writing application                      : HandBrake 0.9.9 2013052900
    
    Video
    ID                                       : 1
    Format                                   : AVC
    Format/Info                              : Advanced Video Codec
    Format profile                           : High@L4.1
    Format settings, CABAC                   : Yes
    Format settings, ReFrames                : 4 frames
    Codec ID                                 : avc1
    Codec ID/Info                            : Advanced Video Coding
    Duration                                 : 43mn 44s
    Bit rate                                 : 2 030 Kbps
    Width                                    : 718 pixels
    Height                                   : 480 pixels
    Display aspect ratio                     : 16:9
    Frame rate mode                          : Variable
    Frame rate                               : 24.000 fps
    Minimum frame rate                       : 19.965 fps
    Maximum frame rate                       : 59.960 fps
    Color space                              : YUV
    Chroma subsampling                       : 4:2:0
    Bit depth                                : 8 bits
    Scan type                                : Progressive
    Bits/(Pixel*Frame)                       : 0.245
    Stream size                              : 635 MiB (76%)
    Writing library                          : x264 core 130 r2273 b3065e6
    Encoding settings                        : cabac=1 / ref=3 / deblock=1:0:0 / analyse=0x3:0x113 / me=hex / subme=7 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=12 / lookahead_threads=2 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=1 / b_bias=0 / direct=1 / weightb=1 / open_gop=0 / weightp=2 / keyint=240 / keyint_min=24 / scenecut=40 / intra_refresh=0 / rc_lookahead=40 / rc=crf / mbtree=1 / crf=1.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / vbv_maxrate=2998 / vbv_bufsize=375 / crf_max=0.0 / nal_hrd=none / ip_ratio=1.40 / aq=1:1.00
    Encoded date                             : UTC 2014-09-25 15:12:31
    Tagged date                              : UTC 2014-09-25 15:29:02
    Color primaries                          : BT.601 NTSC
    Transfer characteristics                 : BT.709
    Matrix coefficients                      : BT.601
    Color range                              : Limited
    
    Audio #1
    ID                                       : 2
    Format                                   : AAC
    Format/Info                              : Advanced Audio Codec
    Format profile                           : LC
    Codec ID                                 : 40
    Duration                                 : 43mn 44s
    Bit rate mode                            : Variable
    Bit rate                                 : 448 Kbps
    Maximum bit rate                         : 580 Kbps
    Channel(s)                               : 6 channels
    Channel positions                        : Front: L C R, Side: L R, LFE
    Sampling rate                            : 48.0 KHz
    Compression mode                         : Lossy
    Stream size                              : 140 MiB (17%)
    Title                                    : Stereo
    Language                                 : English
    Encoded date                             : UTC 2014-09-25 15:12:31
    Tagged date                              : UTC 2014-09-25 15:29:01
    
    Audio #2
    ID                                       : 3
    Format                                   : AAC
    Format/Info                              : Advanced Audio Codec
    Format profile                           : LC
    Codec ID                                 : 40
    Duration                                 : 43mn 44s
    Bit rate mode                            : Variable
    Bit rate                                 : 192 Kbps
    Maximum bit rate                         : 232 Kbps
    Channel(s)                               : 2 channels
    Channel positions                        : Front: L R
    Sampling rate                            : 48.0 KHz
    Compression mode                         : Lossy
    Stream size                              : 60.1 MiB (7%)
    Title                                    : Stereo
    Language                                 : French
    Encoded date                             : UTC 2014-09-25 15:12:31
    Tagged date                              : UTC 2014-09-25 15:29:01
    
    Menu
    ID                                       : 4
    Codec ID                                 : text
    Duration                                 : 43mn 44s
    Encoded date                             : UTC 2014-09-25 15:12:31
    Tagged date                              : UTC 2014-09-25 15:29:02
    Bit rate mode                            : CBR
    00:00:00.000                             : Chapter 1
    00:12:36.005                             : Chapter 2
    00:23:25.353                             : Chapter 3
    00:34:14.469                             : Chapter 4

    #2
    Out of interest, who created that source? It's completely screwed up!

    It's been encoded with a 718x480 (mod-2 block size) resolution and variable frame rate!
    I SUPPORT 'FAIR USE'. MY MORALS PREVENT ME FROM HELPING ANYONE WHO OBTAINS COPYRIGHTED CONTENT ILLEGITIMATELY
    I've been testing hardware media playback devices and software A/V encoders and decoders since 2001 | My Network Layout and A/V Gear

    Comment


      #3
      Variable framerate is very common with science-fiction TV Series DVD.
      Star Trek, Stargate are confirmed are like that for example.

      Typically, filmed scenes are done in 23.997 fps progressive and special effects shots (like the generic) are 29.997 fps interlaced.

      To keep everything, you need the variable framerate. That is why the Handbrake tool is set by default at variable framerate according to the manual.

      Furthermore, to avoid deinterlacing visual artefacts, it can be a real headache of selecting the right mix of detelicine and deinterlace algorithm. I remember the Stargate SG-1 content being real nasty to do with a double encode. The first pass with detelecine and the second with Handbrake's "slow deinterlace".

      As for the mod-2 block size, it is Handbrake's "strict anamorphic" setting that made the call. I found that setting to be the less troublesome one for compatibility among my players.

      I have yet to see that with bluray sources. Most likely, it is no longer permitted in the format.

      By the way, 9.1.7.7 handled those files just fine.

      Comment


        #4
        Originally posted by spaceharfang View Post
        Variable framerate is very common with science-fiction TV Series DVD.
        Star Trek, Stargate are confirmed are like that for example.
        Nah... Only if the files you've downloaded have been encoded by an idiot, who has no idea what they're doing!

        By-the-way: I've been working with digital video at a professional level for over twenty years...
        Last edited by SeeMoreDigital; 12-09-2014, 03:45 PM.
        I SUPPORT 'FAIR USE'. MY MORALS PREVENT ME FROM HELPING ANYONE WHO OBTAINS COPYRIGHTED CONTENT ILLEGITIMATELY
        I've been testing hardware media playback devices and software A/V encoders and decoders since 2001 | My Network Layout and A/V Gear

        Comment


          #5
          By the way, I AM the person who encoded those files (in case it was not clear enough in my previous posting).

          Anything mentioned above, I can demonstrate.

          You need to get you facts straight. Any search on the format used by Star Trek DVDs will yield results on the subject. That pretty easy to confirm by monitoring the effective framerate upon playback of the source media.
          Granted my use of "common" can be debated, let's just say that it is common enough in my TV series DVD collection (over 6 series out of 9 with it to varying degrees).

          Nah... Only if the files you've downloaded have been encoded by an idiot, who has no idea what they're doing!
          By the way, that last comment can be seen as a serious lack of professionalism on two accounts.
          1- Name calling someone without verifying your facts.
          2- Accusing someone of illegal activity without a shred of evidence.

          Also, in computer engineering research, profession naming doesn't hold a shred of weight. What matters is what you can demonstrate.

          Comment


            #6
            There's no facts to get straight here. If you originally generated those Stargate episodes using Handbrake, you should have selected the 'constant frame rate' option and not resized to 718 pixels!

            Sufficed to say, no commercially produced DVD, Blu-ray disc, TV broadcast or camcorder captures video using variable frame rates!

            Just because some encoding application offers you some wacky encoding options, does not mean you have to or should use them!

            Oh... By-the-way. The 'convert log' you provided clearly states the word 'downloads'!

            Last edited by SeeMoreDigital; 12-09-2014, 09:10 PM.
            I SUPPORT 'FAIR USE'. MY MORALS PREVENT ME FROM HELPING ANYONE WHO OBTAINS COPYRIGHTED CONTENT ILLEGITIMATELY
            I've been testing hardware media playback devices and software A/V encoders and decoders since 2001 | My Network Layout and A/V Gear

            Comment


              #7
              Before bashing on a feature you should learn about it.

              The "Variable Framerate" feature is not generating variable framerate in the output for some dubious advantage.
              It is a "if the source is variable framerate to begin with, leave it as is" feature.


              I am well aware that accepted best practice is to use modulus 16 size to allow the best alignment with the internal macroblock sizes. Yet modulus 2 is still within the standard. At time, handbrake's modulus 16 option failed with microsoft Video app, which was part of the players to support. Whose bug that was did not matter. The "strict" option worked everywhere consistently (including with DVDFab up to 9.1.7.7 inclusively) and provided better vertical upscalability.

              Sufficed to say, no commercially produced DVD, Blu-ray disc, TV broadcast or camcorder captures video using variable frame rates!
              Here is a mediainfo printout of an original mpeg2 DVD stream of a Star Trek TNG episode from an official/original dvd (http://www.amazon.com/exec/obidos/AS...3V8S/wikia-20/).
              It has variable framerate.
              Code:
              ID                                       : 1
              Format                                   : MPEG Video
              Format version                           : Version 2
              Format profile                           : Main@Main
              Format settings, BVOP                    : Yes
              Format settings, Matrix                  : Custom
              Format settings, GOP                     : Variable
              Codec ID                                 : 61
              Duration                                 : 45mn 34s
              Bit rate mode                            : Variable
              Bit rate                                 : 5 155 Kbps
              Maximum bit rate                         : 9 800 Kbps
              Width                                    : 720 pixels
              Height                                   : 480 pixels
              Display aspect ratio                     : 4:3
              Original display aspect ratio            : 4:3
              Frame rate mode                          : Variable
              Frame rate                               : 25.161 fps
              Original frame rate                      : 29.970 fps
              Minimum frame rate                       : 19.969 fps
              Maximum frame rate                       : 731.707 fps
              Standard                                 : Component
              Color space                              : YUV
              Chroma subsampling                       : 4:2:0
              Bit depth                                : 8 bits
              Compression mode                         : Lossy
              Bits/(Pixel*Frame)                       : 0.593
              Time code of first frame                 : 00:59:58;00
              Time code source                         : Group of pictures header
              Stream size                              : 1.64 GiB (89%)
              Encoded date                             : UTC 2014-12-09 18:04:45
              Tagged date                              : UTC 2014-12-09 18:04:45
              Color primaries                          : BT.601 NTSC
              Transfer characteristics                 : BT.601
              Matrix coefficients                      : BT.601
              Oh... By-the-way. The 'convert log' you provided clearly states the word 'downloads'!
              Yet failed to see that the DVDFab work folder was placed under it, for reasons that do not belong here.

              Comment


                #8
                If you know more than SeeMoreDigital you shouldn't be having an issue.

                Thread closed.
                How to post the internal log


                Things should be made as simple as possible, but no simpler.
                Albert Einstein

                Comment


                  #9
                  The issue has been fixed in 9.1.8.4.

                  Thank you to the team behind DVDFab.

                  Comment

                  Working...
                  X