Best settings for slide show.

General questions or discussion about HandBrake, Video and/or audio transcoding, trends etc.
Post Reply
borgobello
Posts: 6
Joined: Thu Jan 15, 2015 3:11 pm

Best settings for slide show.

Post by borgobello »

Hi to all. I'm trying to understand which are the best settings to re-compress a slide show. The origin is a mpeg 4 file with two hours of Powerpoint presentation at 1280x720 with about 120 frames and in a corner a little box (160x90) with the speaker. Now the file is about 1,5GB, and I really hope to reduce the size of this file (I will have other 9 files of same type), without losing to much details.
I've just done two tries, reducing file to about 150MB, but quality was significantly lower then the original. Did someone any try about this?
rollin_eng
Veteran User
Posts: 3517
Joined: Wed May 04, 2011 11:06 pm

Re: Best settings for slide show.

Post by rollin_eng »

Could you please post your HB logs, instructions can be found here:

https://handbrake.fr/docs/en/latest/hel ... y-log.html
borgobello
Posts: 6
Joined: Thu Jan 15, 2015 3:11 pm

Re: Best settings for slide show.

Post by borgobello »

I can send last encode log, because I've trashed the activity logs in the output folder I can't find the "EncodeLogs" folder (see screenshot).
But I asked generally for other people that had experience compressing this kind of movie, it's not a real support request...
With the last try, I used "stillimage" medium preset with RF21, and I get an acceptable quality with 185MB file. Can I get something better? Is it worth to use higher quality preset (slow, ecc...) or lower RF? Can I get a smaller file with similar quality?

https://www.dropbox.com/s/30ueiiailuj0v ... 4.txt?dl=0
https://www.dropbox.com/s/df5c855sq3m4m ... 5.png?dl=0

I paste log here too:

HandBrake Activity Log for Session: 2020-03-19T17:03:54Z
Handbrake Version: 1.3.1 (2020010400)
Registrazione lezione 2.mp4
Preset: Very Fast 480p30 (Modificato)
[18:03:54] macgui: QueueCore scanning specifically for title: 1
[18:03:54] CPU: Intel(R) Xeon(R) CPU X5680 @ 3.33GHz
[18:03:54] - logical processor count: 12
[18:03:54] hb_scan: path=/Users/studio/Movies/Film MPEG2/Registrazione lezione 2.mov, title_index=1
[18:03:54] thread 700008058000 started ("scan")
udfread ERROR: ECMA 167 Volume Recognition failed
disc.c:323: failed opening UDF image /Users/studio/Movies/Film MPEG2/Registrazione lezione 2.mov
disc.c:424: error opening file BDMV/index.bdmv
disc.c:424: error opening file BDMV/BACKUP/index.bdmv
bluray.c:2585: nav_get_title_list(/Users/studio/Movies/Film MPEG2/Registrazione lezione 2.mov/) failed
[18:03:54] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 6.0.1
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
[18:03:54] dvd: not a dvd - trying as a stream/file instead
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/Users/studio/Movies/Film MPEG2/Registrazione lezione 2.mov':
Metadata:
major_brand : qt
minor_version : 0
compatible_brands: qt
creation_time : 2020-03-19T14:18:30.000000Z
com.apple.quicktime.make: Apple
com.apple.quicktime.model: MacPro5,1
com.apple.quicktime.software: Mac OS X 10.14.6 (18G3020)
com.apple.quicktime.creationdate: 2020-03-19T12:30:12+0100
Duration: 01:59:32.25, start: 0.000000, bitrate: 1293 kb/s
Stream #0:0(und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p(tv, bt709), 1280x720 [SAR 1:1 DAR 16:9], 1023 kb/s, 60 fps, 60 tbr, 6k tbn, 12k tbc (default)
Metadata:
creation_time : 2020-03-19T14:18:30.000000Z
handler_name : Core Media Video
encoder : H.264
Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 262 kb/s (default)
Metadata:
creation_time : 2020-03-19T14:18:30.000000Z
handler_name : Core Media Audio
[18:03:54] Found ffmpeg 0 chapters, container=mov,mp4,m4a,3gp,3g2,mj2
[18:03:54] scan: decoding previews for title 1
[18:03:54] scan: preview 1
[18:03:54] fifo_close: trashing 0 buffer(s)
[18:03:54] scan: audio 0x1: aac, rate=44100Hz, bitrate=262122 Unknown (AAC LC) (2.0 ch) (262 kbps)
[18:03:54] scan: preview 2
[18:03:54] scan: preview 3
[18:03:54] scan: preview 4
[18:03:54] scan: preview 5
[18:03:54] scan: preview 6
[18:03:54] scan: preview 7
[18:03:54] scan: preview 8
[18:03:54] scan: preview 9
[18:03:54] scan: preview 10
[18:03:54] scan: 10 previews, 1280x720, 60.000 fps, autocrop = 0/0/6/0, aspect 16:9, PAR 1:1
[18:03:54] Freed 1 buffers of size 1024
[18:03:54] Freed 1 buffers of size 2048
[18:03:54] Freed 1 buffers of size 4096
[18:03:54] Freed 1 buffers of size 65536
[18:03:54] Freed 1 buffers of size 131072
[18:03:54] Freed 1 buffers of size 262144
[18:03:54] Freed 2 buffers of size 2097152
[18:03:54] Allocated 4660224 bytes of buffers on this pass and Freed 4660224 bytes, 0 bytes leaked
[18:03:54] thread 700008058000 exited ("scan")
[18:03:54] thread 700008058000 joined ("scan")
[18:03:54] libhb: scan thread found 1 valid title(s)
[18:03:54] macgui: QueueCore scan done
[18:03:54] thread 700008058000 started ("work")
[18:03:54] Starting work at: Thu Mar 19 18:03:54 2020

[18:03:54] 1 job(s) to process
[18:03:54] macgui: QueueCore started encoding Registrazione lezione 2.mp4
[18:03:54] macgui: QueueCore with preset Very Fast 480p30 (Modificato)
[18:03:54] Starting Task: Encoding Pass
[18:03:54] thread 7000081e1000 started ("decomb_filter_segment")
[18:03:54] thread 700008264000 started ("decomb_filter_segment")
[18:03:54] thread 7000082e7000 started ("decomb_filter_segment")
[18:03:54] thread 70000836a000 started ("decomb_filter_segment")
[18:03:54] thread 7000083ed000 started ("decomb_filter_segment")
[18:03:54] thread 700008470000 started ("decomb_filter_segment")
[18:03:54] thread 7000084f3000 started ("decomb_filter_segment")
[18:03:54] thread 700008576000 started ("decomb_filter_segment")
[18:03:54] thread 7000085f9000 started ("decomb_filter_segment")
[18:03:54] thread 70000867c000 started ("decomb_filter_segment")
[18:03:54] thread 7000086ff000 started ("decomb_filter_segment")
[18:03:54] thread 700008782000 started ("decomb_filter_segment")
[18:03:54] thread 700008805000 started ("decomb_check_segment")
[18:03:54] thread 700008888000 started ("decomb_check_segment")
[18:03:54] thread 70000890b000 started ("decomb_check_segment")
[18:03:54] thread 70000898e000 started ("decomb_check_segment")
[18:03:54] thread 700008a11000 started ("decomb_check_segment")
[18:03:54] thread 700008a94000 started ("decomb_check_segment")
[18:03:54] thread 700008b17000 started ("decomb_check_segment")
[18:03:54] thread 700008b9a000 started ("decomb_check_segment")
[18:03:54] thread 700008c1d000 started ("decomb_check_segment")
[18:03:54] thread 700008ca0000 started ("decomb_check_segment")
[18:03:54] thread 700008d23000 started ("decomb_check_segment")
[18:03:54] thread 700008da6000 started ("decomb_check_segment")
[18:03:54] thread 700008e29000 started ("yadif_filter_segment")
[18:03:54] thread 700008eac000 started ("yadif_filter_segment")
[18:03:54] thread 700008f2f000 started ("yadif_filter_segment")
[18:03:54] thread 700008fb2000 started ("yadif_filter_segment")
[18:03:54] thread 700009035000 started ("yadif_filter_segment")
[18:03:54] thread 7000090b8000 started ("yadif_filter_segment")
[18:03:54] thread 70000913b000 started ("yadif_filter_segment")
[18:03:54] thread 7000091be000 started ("yadif_filter_segment")
[18:03:54] thread 700009241000 started ("yadif_filter_segment")
[18:03:54] thread 7000092c4000 started ("yadif_filter_segment")
[18:03:54] thread 700009347000 started ("yadif_filter_segment")
[18:03:54] thread 7000093ca000 started ("yadif_filter_segment")
[18:03:54] work: only 1 chapter, disabling chapter markers
[18:03:54] job configuration:
[18:03:54] * source
[18:03:54] + /Users/studio/Movies/Film MPEG2/Registrazione lezione 2.mov
[18:03:54] + title 1, chapter(s) 1 to 1
[18:03:54] + container: mov,mp4,m4a,3gp,3g2,mj2
[18:03:54] + data rate: 1293 kbps
[18:03:54] * destination
[18:03:54] + /Users/studio/Movies/Film MPEG4/Registrazione lezione 2.mp4
[18:03:54] + container: MPEG-4 (libavformat)
[18:03:54] + align initial A/V stream timestamps
[18:03:54] * video track
[18:03:54] + decoder: h264
[18:03:54] + bitrate 1023 kbps
[18:03:54] + filters
[18:03:54] + Comb Detect (mode=0:spatial-metric=2:motion-thresh=2:spatial-thresh=3:filter-mode=1:block-thresh=80:block-width=16:block-height=16)
[18:03:54] + Decomb (mode=39)
[18:03:54] + Framerate Shaper (mode=2:rate=27000000/900000)
[18:03:54] + frame rate: 60.000 fps -> peak rate limited to 30.000 fps
[18:03:54] + AVFilter (crop='x=160:y=0:w=1120:h=720',scale='width=1120:height=720:flags=lanczos+accurate_rnd:in_color_matrix=bt709:out_color_matrix=bt709:in_range=limited:out_range=limited',format='pix_fmts=yuv420p')
[18:03:54] + crop: x=160, y=0, w=1120, h=720
[18:03:54] + scale: width=1120, height=720, flags=lanczos+accurate_rnd, in_color_matrix=bt709, out_color_matrix=bt709, in_range=limited, out_range=limited
[18:03:54] + format: pix_fmts=yuv420p
[18:03:54] + Crop and Scale (width=1120:height=720:crop-top=0:crop-bottom=0:crop-left=160:crop-right=0)
[18:03:54] + source: 1280 * 720, crop (0/0/160/0): 1120 * 720, scale: 1120 * 720
[18:03:54] + Output geometry
[18:03:54] + storage dimensions: 1120 x 720
[18:03:54] + pixel aspect ratio: 1 : 1
[18:03:54] + display dimensions: 1120 x 720
[18:03:54] + encoder: H.264 (libx264)
[18:03:54] + preset: medium
[18:03:54] + tune: stillimage
[18:03:54] + profile: auto
[18:03:54] + level: 4.1
[18:03:54] + quality: 21.00 (RF)
[18:03:54] + color profile: 1-1-1
[18:03:54] * audio track 1
[18:03:54] + decoder: Unknown (AAC LC) (2.0 ch) (262 kbps) (track 1, id 0x1)
[18:03:54] + bitrate: 262 kbps, samplerate: 44100 Hz
[18:03:54] + mixdown: Stereo
[18:03:54] + dither: triangular
[18:03:54] + encoder: AAC (Apple AudioToolbox)
[18:03:54] + bitrate: 160 kbps, samplerate: 44100 Hz
[18:03:55] sync: expecting 430335 video frames
[18:03:55] thread 700009e06000 started ("Audio Synchronization")
[18:03:55] encx264: min-keyint: 30, keyint: 300
[18:03:55] encx264: encoding at constant RF 21.000000
[18:03:55] encx264: unparsed options: level=4.1:deblock=-3,-3:psy-rd=2,0.7:vbv-bufsize=78125:vbv-maxrate=62500:aq-strength=1.2
[18:03:55] encx264: opening libx264 (pass 0)
x264 [info]: using SAR=1/1
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2
x264 [info]: profile High, level 4.1, 4:2:0, 8-bit
[18:03:55] Writing Metadata to output file...
[18:03:55] thread 70000a9cb000 started ("Muxer")
[18:03:55] thread 70000aa4e000 started ("Reader")
[18:03:55] thread 70000aad1000 started ("Audio decoder (libavcodec)")
[18:03:55] thread 70000ab54000 started ("Video decoder (libavcodec)")
[18:03:55] thread 70000abd7000 started ("Video Synchronization")
[18:03:55] thread 70000ac5a000 started ("AAC encoder (Apple)")
[18:03:55] thread 70000acdd000 started ("H.264/AVC encoder (libx264)")
[18:03:55] thread 70000ad60000 started ("Muxer")
[18:03:55] thread 70000ade3000 started ("Comb Detect")
[18:03:55] thread 70000ae66000 started ("Decomb")
[18:03:55] thread 70000aee9000 started ("Framerate Shaper")
[18:03:55] thread 70000af6c000 started ("AVFilter")
[18:03:55] ffmpeg_read starting chapter 1 at 1500
[18:03:55] sync: first pts video is 0
[18:03:55] sync: first pts audio 0x1 is 0
[18:03:55] sync: "Capitolo 1" (1) at frame 2 time 1500
[18:25:02] reader: done. 1 scr changes
[18:25:02] thread 70000aa4e000 exited ("Reader")
[18:25:03] thread 70000ad60000 exited ("Muxer")
[18:25:03] thread 70000ad60000 joined ("Muxer")
[18:25:03] work: average encoding speed for job is 339.357239 fps
[18:25:03] thread 70000aad1000 exited ("Audio decoder (libavcodec)")
[18:25:03] thread 700009e06000 exited ("Audio Synchronization")
[18:25:03] thread 70000ab54000 exited ("Video decoder (libavcodec)")
[18:25:03] thread 70000abd7000 exited ("Video Synchronization")
[18:25:03] thread 70000ac5a000 exited ("AAC encoder (Apple)")
[18:25:03] thread 70000a9cb000 exited ("Muxer")
[18:25:03] thread 70000acdd000 exited ("H.264/AVC encoder (libx264)")
[18:25:03] thread 70000ade3000 exited ("Comb Detect")
[18:25:03] thread 70000ade3000 joined ("Comb Detect")
[18:25:03] comb detect: heavy 0 | light 1 | uncombed 430333 | total 430334
[18:25:03] thread 7000085f9000 exited ("decomb_filter_segment")
[18:25:03] thread 7000084f3000 exited ("decomb_filter_segment")
[18:25:03] thread 7000081e1000 exited ("decomb_filter_segment")
[18:25:03] thread 70000867c000 exited ("decomb_filter_segment")
[18:25:03] thread 700008264000 exited ("decomb_filter_segment")
[18:25:03] thread 700008782000 exited ("decomb_filter_segment")
[18:25:03] thread 7000082e7000 exited ("decomb_filter_segment")
[18:25:03] thread 7000083ed000 exited ("decomb_filter_segment")
[18:25:03] thread 7000086ff000 exited ("decomb_filter_segment")
[18:25:03] thread 700008576000 exited ("decomb_filter_segment")
[18:25:03] thread 70000836a000 exited ("decomb_filter_segment")
[18:25:03] thread 700008470000 exited ("decomb_filter_segment")
[18:25:03] thread 7000081e1000 joined ("decomb_filter_segment")
[18:25:03] thread 700008264000 joined ("decomb_filter_segment")
[18:25:03] thread 7000082e7000 joined ("decomb_filter_segment")
[18:25:03] thread 70000836a000 joined ("decomb_filter_segment")
[18:25:03] thread 7000083ed000 joined ("decomb_filter_segment")
[18:25:03] thread 700008470000 joined ("decomb_filter_segment")
[18:25:03] thread 7000084f3000 joined ("decomb_filter_segment")
[18:25:03] thread 700008576000 joined ("decomb_filter_segment")
[18:25:03] thread 7000085f9000 joined ("decomb_filter_segment")
[18:25:03] thread 70000867c000 joined ("decomb_filter_segment")
[18:25:03] thread 7000086ff000 joined ("decomb_filter_segment")
[18:25:03] thread 700008782000 joined ("decomb_filter_segment")
[18:25:03] thread 700008da6000 exited ("decomb_check_segment")
[18:25:03] thread 700008d23000 exited ("decomb_check_segment")
[18:25:03] thread 700008a94000 exited ("decomb_check_segment")
[18:25:03] thread 700008c1d000 exited ("decomb_check_segment")
[18:25:03] thread 700008a11000 exited ("decomb_check_segment")
[18:25:03] thread 700008805000 exited ("decomb_check_segment")
[18:25:03] thread 700008b17000 exited ("decomb_check_segment")
[18:25:03] thread 700008ca0000 exited ("decomb_check_segment")
[18:25:03] thread 700008805000 joined ("decomb_check_segment")
[18:25:03] thread 700008b9a000 exited ("decomb_check_segment")
[18:25:03] thread 70000898e000 exited ("decomb_check_segment")
[18:25:03] thread 70000890b000 exited ("decomb_check_segment")
[18:25:03] thread 700008888000 exited ("decomb_check_segment")
[18:25:03] thread 700008888000 joined ("decomb_check_segment")
[18:25:03] thread 70000890b000 joined ("decomb_check_segment")
[18:25:03] thread 70000898e000 joined ("decomb_check_segment")
[18:25:03] thread 700008a11000 joined ("decomb_check_segment")
[18:25:03] thread 700008a94000 joined ("decomb_check_segment")
[18:25:03] thread 700008b17000 joined ("decomb_check_segment")
[18:25:03] thread 700008b9a000 joined ("decomb_check_segment")
[18:25:03] thread 700008c1d000 joined ("decomb_check_segment")
[18:25:03] thread 700008ca0000 joined ("decomb_check_segment")
[18:25:03] thread 700008d23000 joined ("decomb_check_segment")
[18:25:03] thread 700008da6000 joined ("decomb_check_segment")
[18:25:03] thread 70000ae66000 exited ("Decomb")
[18:25:03] thread 70000ae66000 joined ("Decomb")
[18:25:03] decomb: deinterlaced 0 | blended 1 | unfiltered 430333 | total 430334
[18:25:03] thread 700009035000 exited ("yadif_filter_segment")
[18:25:03] thread 700008e29000 exited ("yadif_filter_segment")
[18:25:03] thread 7000093ca000 exited ("yadif_filter_segment")
[18:25:03] thread 7000092c4000 exited ("yadif_filter_segment")
[18:25:03] thread 700008fb2000 exited ("yadif_filter_segment")
[18:25:03] thread 70000913b000 exited ("yadif_filter_segment")
[18:25:03] thread 7000090b8000 exited ("yadif_filter_segment")
[18:25:03] thread 700009241000 exited ("yadif_filter_segment")
[18:25:03] thread 700009347000 exited ("yadif_filter_segment")
[18:25:03] thread 700008f2f000 exited ("yadif_filter_segment")
[18:25:03] thread 700008eac000 exited ("yadif_filter_segment")
[18:25:03] thread 7000091be000 exited ("yadif_filter_segment")
[18:25:03] thread 700008e29000 joined ("yadif_filter_segment")
[18:25:03] thread 700008eac000 joined ("yadif_filter_segment")
[18:25:03] thread 700008f2f000 joined ("yadif_filter_segment")
[18:25:03] thread 700008fb2000 joined ("yadif_filter_segment")
[18:25:03] thread 700009035000 joined ("yadif_filter_segment")
[18:25:03] thread 7000090b8000 joined ("yadif_filter_segment")
[18:25:03] thread 70000913b000 joined ("yadif_filter_segment")
[18:25:03] thread 7000091be000 joined ("yadif_filter_segment")
[18:25:03] thread 700009241000 joined ("yadif_filter_segment")
[18:25:03] thread 7000092c4000 joined ("yadif_filter_segment")
[18:25:03] thread 700009347000 joined ("yadif_filter_segment")
[18:25:03] thread 7000093ca000 joined ("yadif_filter_segment")
[18:25:03] thread 70000aee9000 exited ("Framerate Shaper")
[18:25:03] thread 70000aee9000 joined ("Framerate Shaper")
[18:25:03] vfr: 215168 frames output, 215166 dropped and 0 duped for CFR/PFR
[18:25:03] vfr: lost time: 0 (0 frames)
[18:25:03] vfr: gained time: 0 (0 frames) (0 not accounted for)
[18:25:03] fifo_close: trashing 0 buffer(s)
[18:25:03] thread 70000af6c000 exited ("AVFilter")
[18:25:03] thread 70000af6c000 joined ("AVFilter")
[18:25:03] thread 70000aa4e000 joined ("Reader")
[18:25:03] thread 70000aad1000 joined ("Audio decoder (libavcodec)")
[18:25:03] thread 70000ab54000 joined ("Video decoder (libavcodec)")
[18:25:03] thread 70000abd7000 joined ("Video Synchronization")
[18:25:03] thread 70000ac5a000 joined ("AAC encoder (Apple)")
[18:25:03] thread 70000acdd000 joined ("H.264/AVC encoder (libx264)")
[18:25:03] aac-decoder done: 308884 frames, 0 decoder errors
[18:25:03] h264-decoder done: 430334 frames, 0 decoder errors
[18:25:03] sync: got 430334 frames, 430335 expected
[18:25:03] sync: framerate min 30.000 fps, max 60.001 fps, avg 60.000 fps
[18:25:03] thread 700009e06000 joined ("Audio Synchronization")
x264 [info]: frame I:726 Avg QP: 6.92 size: 52035
x264 [info]: frame P:53883 Avg QP:17.88 size: 629
x264 [info]: frame B:160559 Avg QP:22.29 size: 79
x264 [info]: consecutive B-frames: 0.4% 0.1% 0.9% 98.6%
x264 [info]: mb I I16..4: 71.3% 5.8% 22.9%
x264 [info]: mb P I16..4: 0.1% 0.0% 0.1% P16..4: 1.4% 0.3% 0.3% 0.0% 0.0% skip:97.8%
x264 [info]: mb B I16..4: 0.0% 0.0% 0.0% B16..8: 0.9% 0.0% 0.0% direct: 0.0% skip:99.0% L0:54.9% L1:40.4% BI: 4.7%
x264 [info]: 8x8 transform intra:8.4% inter:46.0%
x264 [info]: coded y,uvDC,uvAC intra: 21.4% 19.6% 13.4% inter: 0.2% 0.3% 0.0%
x264 [info]: i16 v,h,dc,p: 87% 12% 1% 0%
x264 [info]: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 61% 10% 23% 1% 1% 1% 1% 1% 2%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 32% 29% 11% 3% 4% 4% 5% 4% 6%
x264 [info]: i8c dc,h,v,p: 75% 18% 6% 1%
x264 [info]: Weighted P-Frames: Y:0.0% UV:0.0%
x264 [info]: ref P L0: 74.0% 6.4% 14.2% 5.4%
x264 [info]: ref B L0: 68.8% 30.4% 0.8%
x264 [info]: ref B L1: 97.4% 2.6%
x264 [info]: kb/s:94.16
[18:25:03] mux: file size, 185117302 bytes
[18:25:03] mux: track 0, 215168 frames, 84390523 bytes, 94.13 kbps, fifo 32768
[18:25:03] mux: track 1, 308887 frames, 92724905 bytes, 103.43 kbps, fifo 32768
[18:25:03] mux: overhead, 15.27 bytes per frame
[18:25:03] thread 70000a9cb000 joined ("Muxer")
[18:25:03] fifo_close: trashing 0 buffer(s)
[18:25:03] fifo_close: trashing 0 buffer(s)
[18:25:03] fifo_close: trashing 0 buffer(s)
[18:25:03] fifo_close: trashing 0 buffer(s)
[18:25:03] fifo_close: trashing 0 buffer(s)
[18:25:03] fifo_close: trashing 0 buffer(s)
[18:25:03] fifo_close: trashing 0 buffer(s)
[18:25:03] fifo_close: trashing 0 buffer(s)
[18:25:03] fifo_close: trashing 0 buffer(s)
[18:25:03] fifo_close: trashing 0 buffer(s)
[18:25:03] fifo_close: trashing 0 buffer(s)
[18:25:03] fifo_close: trashing 0 buffer(s)
[18:25:03] Freed 320 buffers of size 1024
[18:25:03] Freed 32 buffers of size 2048
[18:25:03] Freed 32 buffers of size 4096
[18:25:03] Freed 32 buffers of size 8192
[18:25:03] Freed 32 buffers of size 16384
[18:25:03] Freed 32 buffers of size 32768
[18:25:03] Freed 32 buffers of size 65536
[18:25:03] Freed 32 buffers of size 131072
[18:25:03] Freed 1 buffers of size 262144
[18:25:03] Freed 32 buffers of size 2097152
[18:25:03] Allocated 76021760 bytes of buffers on this pass and Freed 76021760 bytes, 0 bytes leaked
[18:25:03] Finished work at: Thu Mar 19 18:25:03 2020

[18:25:03] thread 700008058000 exited ("work")
[18:25:03] thread 700008058000 joined ("work")
[18:25:03] libhb: work result = 0
mduell
Veteran User
Posts: 7192
Joined: Sat Apr 21, 2007 8:54 pm

Re: Best settings for slide show.

Post by mduell »

borgobello wrote: Thu Mar 19, 2020 3:26 pm Hi to all. I'm trying to understand which are the best settings to re-compress a slide show. The origin is a mpeg 4 file with two hours of Powerpoint presentation at 1280x720 with about 120 frames and in a corner a little box (160x90) with the speaker. Now the file is about 1,5GB, and I really hope to reduce the size of this file (I will have other 9 files of same type), without losing to much details.
I've just done two tries, reducing file to about 150MB, but quality was significantly lower then the original. Did someone any try about this?
Is the quality of the slides lower or the quality of the speaker?

Try without the stillimage tune due to the speaker video.

If that doesn't work, try a lower RF, maybe 16 or so. It will be larger but may be better. Try with and without tune stillimage.
Gunpowder
Posts: 6
Joined: Sat Jun 27, 2020 10:17 am

Re: Best settings for slide show.

Post by Gunpowder »

Hi, i gonna use this thread instead creating a new one. In these times its necessary to keep the online lectures small as possible, because there are so many of them when you study.
This is my first try and my 2 hours media was compressed to 170MB. I bet there is more to configure, buts thats ok. Just copy the code to editor and safe as .json file. Convert time: ~17mins

Code: Select all

{
  "PresetList": [
    {
      "AlignAVStart": true,
      "AudioCopyMask": [
        "copy:aac",
        "copy:ac3",
        "copy:dtshd",
        "copy:dts",
        "copy:mp3",
        "copy:truehd",
        "copy:flac",
        "copy:eac3"
      ],
      "AudioEncoderFallback": "ac3",
      "AudioLanguageList": [],
      "AudioList": [
        {
          "AudioBitrate": 160,
          "AudioCompressionLevel": 0.0,
          "AudioEncoder": "av_aac",
          "AudioMixdown": "stereo",
          "AudioNormalizeMixLevel": false,
          "AudioSamplerate": "auto",
          "AudioTrackQualityEnable": false,
          "AudioTrackQuality": -1.0,
          "AudioTrackGainSlider": 0.0,
          "AudioTrackDRCSlider": 0.0
        }
      ],
      "AudioSecondaryEncoderMode": true,
      "AudioTrackSelectionBehavior": "first",
      "ChapterMarkers": true,
      "ChildrenArray": [],
      "Default": false,
      "FileFormat": "mp4",
      "Folder": false,
      "FolderOpen": false,
      "Mp4HttpOptimize": false,
      "Mp4iPodCompatible": false,
      "PictureAutoCrop": true,
      "PictureBottomCrop": 26,
      "PictureLeftCrop": 0,
      "PictureRightCrop": 0,
      "PictureTopCrop": 0,
      "PictureDARWidth": 1280,
      "PictureDeblock": 4,
      "PictureDeinterlaceFilter": "decomb",
      "PictureCombDetectPreset": "default",
      "PictureCombDetectCustom": "",
      "PictureDeinterlacePreset": "default",
      "PictureDeinterlaceCustom": "",
      "PictureDenoiseCustom": "",
      "PictureDenoiseFilter": "off",
      "PictureDenoisePreset": "light",
      "PictureDenoiseTune": "none",
      "PictureSharpenCustom": "",
      "PictureSharpenFilter": "off",
      "PictureSharpenPreset": "medium",
      "PictureSharpenTune": "none",
      "PictureDetelecine": "off",
      "PictureDetelecineCustom": "",
      "PictureItuPAR": false,
      "PictureKeepRatio": true,
      "PictureLooseCrop": false,
      "PictureModulus": 2,
      "PicturePAR": "auto",
      "PicturePARWidth": 1,
      "PicturePARHeight": 1,
      "PictureRotate": "0:0",
      "PictureForceHeight": 0,
      "PictureForceWidth": 0,
      "PresetName": "Good Slide Show",
      "Type": 1,
      "UsesPictureFilters": false,
      "UsesPictureSettings": 2,
      "SubtitleAddCC": false,
      "SubtitleAddForeignAudioSearch": true,
      "SubtitleAddForeignAudioSubtitle": false,
      "SubtitleBurnBehavior": "foreign",
      "SubtitleBurnBDSub": false,
      "SubtitleBurnDVDSub": false,
      "SubtitleLanguageList": [],
      "SubtitleTrackSelectionBehavior": "none",
      "VideoAvgBitrate": 0,
      "VideoColorMatrixCode": 0,
      "VideoEncoder": "x264",
      "VideoFramerate": "30",
      "VideoFramerateMode": "pfr",
      "VideoGrayScale": false,
      "VideoScaler": "swscale",
      "VideoPreset": "fast",
      "VideoTune": "",
      "VideoProfile": "main",
      "VideoLevel": "4.0",
      "VideoOptionExtra": "",
      "VideoQualityType": 2,
      "VideoQualitySlider": 22.0,
      "VideoQSVDecode": false,
      "VideoQSVAsyncDepth": 4,
      "VideoTwoPass": true,
      "VideoTurboTwoPass": true,
      "x264Option": "--ref 1 --deblock 0:0 --partitions i4x4,i8x8,p8x8,b8x8 --me hex --subme 2 --psy-rd 1.00:0.00 --no-mixed-refs --merange 16 --trellis 0 --8x8dct --cqm flat --deadzone-inter 21 --deadzone-intra 11 --chroma-qp-offset 0 --threads 9 --lookahead-threads 3 --bframes 3 --b-pyramid normal --b-adapt 1 --b-bias 0 --direct spatial --weightp 1 --keyint 750 --min-keyint 25 --scenecut 40 --rc-lookahead 10 --crf 23.0 --qcomp 0.60 --qpmin 0 --qpmax 69 --qpstep 4 --vbv-maxrate 750 --vbv-bufsize 1500 --nal-hrd none --ipratio 1.40 --aq-mode 1:direct=auto",
      "x264UseAdvancedOptions": true
    }
  ],
  "VersionMajor": "34",
  "VersionMicro": "0",
  "VersionMinor": "0"
}
mduell
Veteran User
Posts: 7192
Joined: Sat Apr 21, 2007 8:54 pm

Re: Best settings for slide show.

Post by mduell »

That's a lot of nonsense to avoid choosing the appropriate tune.
Gunpowder
Posts: 6
Joined: Sat Jun 27, 2020 10:17 am

Re: Best settings for slide show.

Post by Gunpowder »

Go ahead an post the .json file for the best results. All of you know it better, but dont help at all this guy. So i post my solution that works great, even when there is [Censored] in it. But i try to help at least.
musicvid
Veteran User
Posts: 3681
Joined: Sat Jun 27, 2009 1:19 am

Re: Best settings for slide show.

Post by musicvid »

You can probably reduce your source file size further by removing any fades, transitions, or motion graphics.
Post Reply