Page 1 of 1

Inter- or intra-frame compression? (preset "Production Standard")

Posted: Sat Jul 21, 2018 9:51 am
by Chabrol
Does the preset "Production Standard" produce INTRA-frame or INTER-frame compressed files?

Why I'm asking?
I have to process/edit footage from an iPhone which captures in variable frame rates.
Now it would be ideal if I could get INTRA frame compressed files out of HandBrake to make it easier for the NLE (Avid, Premiere) to deal with the files.

If I hoover over the HandBrake preset "Production Proxy ..." it says "Intra-only". But when I hoover over the preset "Production Standard" there is no information about intra- or inter-frame compression.

HandBrake version: 1.1.1 (latest)
OS: Win7 64bit SP1


--------------------------------------------------------------------
HandBrake Activity Log

Code: Select all

[11:34:16] hb_init: starting libhb thread

 # Starting Scan ...

[11:34:16] CPU: Intel(R) Xeon(R) CPU E5-1650 0 @ 3.20GHz
[11:34:16]  - Intel microarchitecture Sandy Bridge
[11:34:16]  - logical processor count: 12
[11:34:16] Intel Quick Sync Video support: no
[11:34:16] hb_scan: path=F:\PrPro Media Files\TestProject\01_Footage\Interview_HB.mp4, title_index=0
udfread ERROR: ECMA 167 Volume Recognition failed
src/libbluray/disc/disc.c:323: failed opening UDF image F:\PrPro Media Files\TestProject\01_Footage\Interview_HB.mp4
src/libbluray/disc/disc.c:424: error opening file BDMV\index.bdmv
src/libbluray/disc/disc.c:424: error opening file BDMV\BACKUP\index.bdmv
[11:34:16] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 5.0.3
libdvdread: Encrypted DVD support unavailable.
libdvdread:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.IFO failed
libdvdread:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.BUP failed
libdvdread: Can't open file VIDEO_TS.IFO.
libdvdnav: vm: failed to read VIDEO_TS.IFO
[11:34:16] dvd: not a dvd - trying as a stream/file instead
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'F:\PrPro Media Files\\TestProject\01_Footage\Interview_HB.mp4':
  Metadata:
    major_brand     : mp42
    minor_version   : 0
    compatible_brands: mp42mp41
    creation_time   : 2018-06-04 03:49:03
  Duration: 00:04:22.68, start: 0.000000, bitrate: 8321 kb/s
    Stream #0:0(eng): Video: h264 (High) [avc1 / 0x31637661]
      yuv420p, tv, bt709/bt709/bt709
      1920x1080 [PAR 1:1 DAR 16:9], 7999 kb/s
      25 fps, 25k tbn (default)
    Metadata:
      creation_time   : 2018-06-04 03:49:04
      handler_name    : Alias Data Handler
      encoder         : AVC Coding
    Stream #0:1(eng): Audio: aac (LC) [mp4a / 0x6134706D]
      48000 Hz, stereo, fltp, 317 kb/s (default)
    Metadata:
      creation_time   : 2018-06-04 03:49:04
      handler_name    : Alias Data Handler
[11:34:16] scan: decoding previews for title 1
[11:34:16] scan: audio 0x1: aac, rate=48000Hz, bitrate=317375 English (AAC) (2.0 ch)
[11:34:17] scan: 10 previews, 1920x1080, 25.000 fps, autocrop = 0/0/0/0, aspect 16:9, PAR 1:1
[11:34:17] scan: supported video decoders: avcodec qsv
[11:34:17] libhb: scan thread found 1 valid title(s)

 # Processing Scan Information ...


 # Scan Finished ...



Re: Inter- or intra-frame compression? (preset "Production Standard")

Posted: Sun Jul 22, 2018 9:24 am
by Deleted User 13735
Handbrake recompresses your video.
For most conversion purposes, like sanitizing vfr for Premiere, the Normal or Baseline preset at rf18 looks great. They avoid compression that is unwanted during editing. Increasing the number of reference frames doesn't hurt, and is still almost as fast.

All-Intra lossless files in High10P are usually unnecessary and tortuous to encode, and you won't see a 1% difference in ssim (quality) numbers. If I'm feeling super picky I might encode at RF1 instead. I have tested this in Handbrake.

So the short answer is, you can make your encodes take as long as you want.

Another alternative in Windows is VideoRedo, which tries to avoid recompressing frames completely. It completes in minutes instead of hours.

Re: Inter- or intra-frame compression? (preset "Production Standard")

Posted: Mon Jul 23, 2018 9:58 pm
by Chabrol
Hi, thx for your answer.

I'd like to use intra-frame compressed footage (ProRes, DNx, AVC Intra etc.) simply because it's easier to work with inside the NLE. And less glitchy :)

How do I get an intra frame compressed file out HandBrake?

Re: Inter- or intra-frame compression? (preset "Production Standard")

Posted: Tue Jul 24, 2018 10:56 am
by BradleyS
See the section on Production presets in the documentation: https://handbrake.fr/docs/en/1.1.0/tech ... esets.html

Only the proxy presets are Intra-only; Standard and Max are I/P with only one reference frame per GOP. This is nearly as fast to decode, giving you an I-frame every 1/2 second or less with P-frames referencing a single I-frame, so scrubbing and editing works smoothly. At high resolution and bit rate, it's simply too data intensive to produce I-only for all excepting the fastest machines; the sheer size becomes the bottleneck during use.

If you really want Intra-only, start with Production Max or Production Standard, go to the Video tab, and change keyint=12 to keyint=1 in the additional video options field. Coupled with min-keyint=1 which is already part of the preset, this effectively sets the GOP to one frame, thus Intra-only.

Re: Inter- or intra-frame compression? (preset "Production Standard")

Posted: Wed Jul 25, 2018 11:19 pm
by Deleted User 13735
I'd like to use intra-frame compressed footage (ProRes, DNx, AVC Intra etc.) simply because it's easier to work with inside the NLE. And less glitchy :)
As mentioned, all-Intra x/264 is a brontosaurus.

For any NLE, I/P only is a most useful intermediate and easy on your system. Not even a little "glitchy."
For all-Intra, XAVC-I in my NLE is my go-to format. Light weight and compatible with anything.