Canon XL2 wide screen PAL DV AVI transcode to MP4

Discuss encoding for devices and presets.
Forum rules
An Activity Log is required for support requests. Please read How-to get an activity log? for details on how and why this should be provided.
Post Reply
aomahana
Posts: 1
Joined: Wed Feb 16, 2022 2:02 am

Canon XL2 wide screen PAL DV AVI transcode to MP4

Post by aomahana »

Hello,

I know there can't be too many of you still using the Canon XL2, but it always takes a while for me to get things done ....
These notes are for this particular camera.
Although plenty of people mentioned issues with a squeezed image I couldn't find a solution anywhere (including here), that worked for me.

Recently I completed my first video, made with a PAL Canon XL2 16:9

The files were edited in Vegas Pro 19 using the following settings:
Template Custom 720 W x 576 H 25,000 fps(PAL)
Field Order None Progressive Scan
Pixel Aspect Ratio 1,4568 PAL DV WideScreen

This was primarily a music video, and the stereo audio files originally mastered at 2496 PCM were converted to 2448 PCM

The resultant AVI render :
HD 1080-25P YUV 2448 720_576

I used HandBrake to convert to MP4 for youtube and my website
Here are the HandBrake settings to achieve a correctly proportioned image
Storage Size 720x576 / Display Size 720x576 / Aspect Ratio 3.75:3
Orientation and Cropping
Flip_False / Rotation 0 / Cropping Automatic
Top_Left_Right_Bottom / All 0
Final Dimensions
Storage Size 720x406 / Display Size 720 / Automatic False
Aspect Ratio: 15.96:9
Resolution and Scaling
Resolution Limit / Custom
Maximum Size / 720x406
Anamorphic / Custom
Pixel Aspect / 1:1
Scaled Size / 720x406
Optimal Size / False
Allow Upscaling / False
Borders
Fill / None
Top 0 / Left 0 / Right 0 / Bottom 0
Colour / Black

If you want to see what this looks like, here is a link to the youtube video (stillness) ....
https://youtu.be/_zw5GTPWVNc

The details of the log file below may have to be adjusted for your particular setup.
I ended up using a video quality setting of 19
And audio AAC bitrate was set at 512




HandBrake version (e.g., 1.0.0):


V1.5.1

Operating system and version (e.g., Ubuntu 16.04 LTS, macOS 10.13 High Sierra, Windows 10 Creators Update):

Windows 10 v1809


HandBrake Activity Log ***required*** (see How-to get an activity log)

Code: Select all

HandBrake 1.5.1 (2022011000)
OS: Microsoft Windows NT 10.0.18363.0
CPU: Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz
Ram: 65483 MB, 
GPU Information:
  NVIDIA GeForce GTX 1050 Ti - 30.0.14.7168
Screen: 1024x768
Temp Dir: C:\Users\aomahana\AppData\Local\Temp\
Install Dir: C:\Program Files\HandBrake\
Data Dir: C:\Users\aomahana\AppData\Roaming\HandBrake

-------------------------------------------

 # Starting Encode ...

[18:11:56] base preset: xl2 mp4
[18:11:56] Remote Process started with Process ID: 3048 using port: 8037. Max Allowed Instances: 1
[18:11:56] Worker: Starting HandBrake Engine ...
[18:11:56] Worker: Starting Web Server on port 8037 ...
[18:11:57] Worker: Disconnected worker monitoring enabled!
[18:11:57] Compile-time hardening features are enabled
[18:11:57] hb_init: starting libhb thread
[18:11:57] Starting work at: Fri Feb 04 18:11:57 2022
[18:11:57] 1 job(s) to process
[18:11:57] json job:
{
  "Audio": {
    "AudioList": [
      {
        "Bitrate": 512,
        "DRC": 0,
        "Encoder": "av_aac",
        "Gain": 0,
        "Mixdown": 4,
        "NormalizeMixLevel": false,
        "Samplerate": 48000,
        "Track": 0,
        "DitherMethod": 0
      }
    ],
    "CopyMask": [],
    "FallbackEncoder": "av_aac"
  },
  "Destination": {
    "ChapterList": [],
    "ChapterMarkers": false,
    "AlignAVStart": true,
    "File": "D:\\handbrake renders\\Stillness 2448 Rv4 K 25.mp4",
    "Mp4Options": {
      "IpodAtom": false,
      "Mp4Optimize": true
    },
    "Mux": "av_mp4"
  },
  "Filters": {
    "FilterList": [
      {
        "ID": 4,
        "Settings": {
          "mode": "7"
        }
      },
      {
        "ID": 3,
        "Settings": {
          "block-height": "16",
          "block-thresh": "40",
          "block-width": "16",
          "filter-mode": "2",
          "mode": "3",
          "motion-thresh": "1",
          "spatial-metric": "2",
          "spatial-thresh": "1"
        }
      },
      {
        "ID": 13,
        "Settings": {
          "crop-bottom": "0",
          "crop-left": "0",
          "crop-right": "0",
          "crop-top": "0",
          "height": "406",
          "width": "720"
        }
      },
      {
        "ID": 6,
        "Settings": {
          "mode": "1",
          "rate": "27000000/1080000"
        }
      }
    ]
  },
  "PAR": {
    "Num": 1,
    "Den": 1
  },
  "Metadata": {},
  "SequenceID": 0,
  "Source": {
    "Angle": 1,
    "Range": {
      "Type": "chapter",
      "Start": 1,
      "End": 1
    },
    "Title": 1,
    "Path": "D:\\XL2 rabbit files\\stillness 2448 rv4 k.avi"
  },
  "Subtitle": {
    "Search": {
      "Burn": false,
      "Default": false,
      "Enable": false,
      "Forced": false
    },
    "SubtitleList": []
  },
  "Video": {
    "Encoder": "nvenc_h264",
    "Level": "4.0",
    "TwoPass": false,
    "Turbo": false,
    "ColorMatrixCode": 0,
    "Options": "",
    "Preset": "slower",
    "Profile": "high",
    "Quality": 25,
    "QSV": {
      "Decode": false
    }
  }
}
[18:11:57] CPU: Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz
[18:11:57]  - Intel microarchitecture Skylake
[18:11:57]  - logical processor count: 8
[18:11:57] Intel Quick Sync Video support: no
[18:11:57] hb_scan: path=D:\XL2 rabbit files\stillness 2448 rv4 k.avi, title_index=1
udfread ERROR: ECMA 167 Volume Recognition failed
src/libbluray/disc/disc.c:333: failed opening UDF image D:\XL2 rabbit files\stillness 2448 rv4 k.avi
src/libbluray/disc/disc.c:437: error opening file BDMV\index.bdmv
src/libbluray/disc/disc.c:437: error opening file BDMV\BACKUP\index.bdmv
src/libbluray/bluray.c:2646: nav_get_title_list(D:\XL2 rabbit files\stillness 2448 rv4 k.avi\) failed
[18:11:57] bd: not a bd - trying as a stream/file instead
libdvdread: Encrypted DVD support unavailable.
liblibdvdread: DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.IFO failed
dvdread: Can't open file VIDEO_TS.IFO.
libdvdnav: vm: vm: failed to read VIDEO_TS.IFO
[18:11:57] dvd: not a dvd - trying as a stream/file instead
Input #0, avi, from 'D:\XL2 rabbit files\stillness 2448 rv4 k.avi':
  Metadata:
    TCOD            : 0
    TCDO            : 1320800000
  Duration: 00:02:12.08, start: 0.000000, bitrate: 94061 kb/s
  Stream #0:0: Video: msvideo1 (CRAM / 0x4D415243), rgb555le, 720x576, 91704 kb/s, 25 fps, 25 tbr, 25 tbn, 25 tbc
  Stream #0:1: Audio: pcm_s24le ([1][0][0][0] / 0x0001), 48000 Hz, 2 channels, s32 (24 bit), 2304 kb/s
[18:11:57] scan: decoding previews for title 1
[18:11:57] scan: audio 0x1: pcm_s24le, rate=48000Hz, bitrate=2304000 Unknown (pcm_s24le) (2.0 ch) (2304 kbps)
[18:11:57] scan: 10 previews, 720x576, 25.000 fps, autocrop = 0/0/0/0, aspect 1.25:1, PAR 1:1, color profile: 5-1-6, chroma location: unspecified
[18:11:57] libhb: scan thread found 1 valid title(s)
[18:11:57] Starting Task: Encoding Pass
[18:11:57] work: track 1, dithering not supported by codec
[18:11:57] job configuration:
[18:11:57]  * source
[18:11:57]    + D:\XL2 rabbit files\stillness 2448 rv4 k.avi
[18:11:57]    + title 1, chapter(s) 1 to 1
[18:11:57]    + container: avi
[18:11:57]    + data rate: 94061 kbps
[18:11:57]  * destination
[18:11:57]    + D:\handbrake renders\Stillness 2448 Rv4 K 25.mp4
[18:11:57]    + container: MPEG-4 (libavformat)
[18:11:57]      + optimized for HTTP streaming (fast start)
[18:11:57]      + align initial A/V stream timestamps
[18:11:57]  * video track
[18:11:57]    + decoder: msvideo1 8-bit (yuv420p)
[18:11:57]      + bitrate 91704 kbps
[18:11:57]    + filters
[18:11:57]      + Comb Detect (mode=3:spatial-metric=2:motion-thresh=1:spatial-thresh=1:filter-mode=2:block-thresh=40:block-width=16:block-height=16)
[18:11:57]      + Decomb (mode=39)
[18:11:57]      + Framerate Shaper (mode=1:rate=27000000/1080000)
[18:11:57]        + frame rate: 25.000 fps -> constant 25.000 fps
[18:11:57]      + Crop and Scale (width=720:height=406:crop-top=0:crop-bottom=0:crop-left=0:crop-right=0)
[18:11:57]        + source: 720 * 576, crop (0/0/0/0): 720 * 576, scale: 720 * 406
[18:11:57]    + Output geometry
[18:11:57]      + storage dimensions: 720 x 406
[18:11:57]      + pixel aspect ratio: 1 : 1
[18:11:57]      + display dimensions: 720 x 406
[18:11:57]    + encoder: H.264 (NVEnc)
[18:11:57]      + preset:  slower
[18:11:57]      + profile: high
[18:11:57]      + level:   4.0
[18:11:57]      + quality: 25.00 (CQ)
[18:11:57]      + color profile: 5-1-6
[18:11:57]      + chroma location: unspecified
[18:11:57]  * audio track 1
[18:11:57]    + decoder: Unknown (pcm_s24le) (2.0 ch) (2304 kbps) (track 1, id 0x1)
[18:11:57]      + bitrate: 2304 kbps, samplerate: 48000 Hz
[18:11:57]    + mixdown: Stereo
[18:11:57]    + encoder: AAC (libavcodec)
[18:11:57]      + bitrate: 512 kbps, samplerate: 48000 Hz
[18:11:57] sync: expecting 3302 video frames
[18:11:57] encavcodecInit: H.264 (Nvidia NVENC)
[18:11:57] encavcodec: encoding at rc=vbr, multipass=fullres, 25.00
[18:11:57] encavcodec: encoding with stored aspect 1/1
[18:11:57] sync: first pts video is 0
[18:11:57] sync: Chapter 1 at frame 1 time 0
[18:11:57] sync: first pts audio 0x1 is 0
[18:12:11] reader: done. 1 scr changes
[18:12:12] work: average encoding speed for job is 230.387283 fps
[18:12:12] comb detect: heavy 55 | light 493 | uncombed 2754 | total 3302
[18:12:12] decomb: deinterlaced 55 | blended 493 | unfiltered 2754 | total 3302
[18:12:12] vfr: 3302 frames output, 0 dropped and 0 duped for CFR/PFR
[18:12:12] vfr: lost time: 0 (0 frames)
[18:12:12] vfr: gained time: 0 (0 frames) (0 not accounted for)
[18:12:12] pcm_s24le-decoder done: 6198 frames, 0 decoder errors
[18:12:12] msvideo1-decoder done: 3302 frames, 0 decoder errors
[18:12:12] sync: got 3302 frames, 3302 expected
[18:12:12] sync: framerate min 25.000 fps, max 25.000 fps, avg 25.000 fps
[18:12:12] mux: track 0, 3302 frames, 20084758 bytes, 1216.15 kbps, fifo 2048
[18:12:12] mux: track 1, 6192 frames, 6691847 bytes, 405.20 kbps, fifo 4096
[18:12:12] Finished work at: Fri Feb 04 18:12:12 2022
[18:12:12] libhb: work result = 0

 # Job Completed!

Please replace this text with the contents of your log file between the two code tags - OR -  provide a pastebin URL in place of these 3 lines.
If you are unable to do so, please state why so we can help you.
Post Reply