newbye questions

General questions or discussion about HandBrake, Video and/or audio transcoding, trends etc.
Post Reply
frpatte
Posts: 5
Joined: Thu Jan 19, 2017 9:25 pm

newbye questions

Post by frpatte »

Bonjour,

I am totally new to handbrake and to computer video. I installed handbrake, to compress films from 2 layers dvd (~8Gb) in order to be able to copy them on a "normal" DVD (4.7Gb).

I am testing this and could get some results. I have 2 questions:

1- How can I guess the size of the output file (must be < 4.7Gb)

2- the subtitle aspect changes in the output file: from white on the initial DVD, they become black(bg) and yellow (fg), how can I preserve the original color (and fonts).

Thank you.

F.P.
Woodstock
Veteran User
Posts: 4623
Joined: Tue Aug 27, 2013 6:39 am

Re: newbye questions

Post by Woodstock »

If you expect to play the output in a regular DVD player, handbrake is NOT the tool you want. DVDs are encoded with MPEG2 video; while MPEG2 is one of the options for handbrake's output, you gain nothing by doing so, unless you want to give up detail. And compressing with any other codec will be undone by your DVD authoring software, as it converts it back to MPEG2.

Subtitles should not change - they're passed through, unless you ask that they be burned in. DVD subtitles are (almost universally) IMAGES, and the color is chosen by the disk author.

If your plan is to use the DVD as a data disk, rather than a video disk, it's very easy to get an 8GB DVD video down to under 4GB; just encode with H.264 video. Most will get under 4GB without too much degradation.
Deleted User 13735

Re: newbye questions

Post by Deleted User 13735 »

Handbrake does not author, burn, or copy DVDs.
frpatte
Posts: 5
Joined: Thu Jan 19, 2017 9:25 pm

Re: newbye questions

Post by frpatte »

Woodstock wrote:If you expect to play the output in a regular DVD player, handbrake is NOT the tool you want. DVDs are encoded with MPEG2 video; while MPEG2 is one of the options for handbrake's output, you gain nothing by doing so, unless you want to give up detail. And compressing with any other codec will be undone by your DVD authoring software, as it converts it back to MPEG2.
OK. I misspkoke: I extract a dvd using vobcopy and get a big file.vob, which I want to compress in order to burn it on a DVD.
Woodstock wrote:Subtitles should not change - they're passed through, unless you ask that they be burned in. DVD subtitles are (almost universally) IMAGES, and the color is chosen by the disk author.
That is not what I experienced (or maybe I made a mistake in the handbrake settings): under "Subtitle Default", I must tick "Add Français subtitle track if default audio is not Français", if not I don't get any subtitle tracks in the m4v file I get.

under Subtitle List" tab, I press "Add All" and I get this: Unknown (VOBSUB) --> Passthrough (2 times)

Nowhere, I ask to burn the subtitles in the image, I want them as a track that I can activate and deactivate.

In the m4v file I get 2 subtitle tracks yellow/black.

F.P.
rollin_eng
Veteran User
Posts: 4859
Joined: Wed May 04, 2011 11:06 pm

Re: newbye questions

Post by rollin_eng »

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

viewtopic.php?f=6&t=31236
frpatte
Posts: 5
Joined: Thu Jan 19, 2017 9:25 pm

Re: newbye questions

Post by frpatte »

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

viewtopic.php?f=6&t=31236

Handbrake Version: 20170104113809-063446f-unknown (2017010401)
[12:36:17] gtkgui: Modified Preset: /General/Fast 1080p30
[12:36:17] 1 job(s) to process
[12:36:17] json job:
{
"Audio": {
"AudioList": [
{
"Bitrate": 160,
"CompressionLevel": -1.0,
"DRC": 0.0,
"DitherMethod": "auto",
"Encoder": "fdk_aac",
"Gain": 0.0,
"Mixdown": "stereo",
"NormalizeMixLevel": false,
"PresetEncoder": "fdk_aac",
"Quality": -3.0,
"Samplerate": "auto",
"Track": 0
}
],
"CopyMask": [
"copy:aac"
],
"FallbackEncoder": "fdk_aac"
},
"Destination": {
"ChapterList": [
{
"Name": "Chapter 1"
}
],
"ChapterMarkers": false,
"File": "/home/patte/tests-handbrake/LA_FEMME_MODELE1.m4v",
"Mp4Options": {
"IpodAtom": false,
"Mp4Optimize": false
},
"Mux": "m4v"
},
"Filters": {
"FilterList": [
{
"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": 4,
"Settings": {
"mode": "7"
}
},
{
"ID": 6,
"Settings": {
"mode": 2,
"rate": "27000000/900000"
}
},
{
"ID": 11,
"Settings": {
"crop-bottom": 76,
"crop-left": 2,
"crop-right": 0,
"crop-top": 76,
"height": 424,
"width": 718
}
}
]
},
"Metadata": {
"Name": "LA_FEMME_MODELE1"
},
"PAR": {
"Den": 45,
"Num": 64
},
"SequenceID": 0,
"Source": {
"Angle": 0,
"Path": "/home/patte/tests-handbrake/LA_FEMME_MODELE1.vob",
"Range": {
"End": 1,
"Start": 1,
"Type": "chapter"
},
"Title": 1
},
"Subtitle": {
"Search": {
"Burn": true,
"Default": false,
"Enable": false,
"Forced": true
},
"SubtitleList": [
{
"Burn": false,
"Default": false,
"Forced": false,
"Offset": 0,
"Track": 0
},
{
"Burn": false,
"Default": false,
"Forced": false,
"Offset": 0,
"Track": 1
}
]
},
"Video": {
"ColorMatrixCode": 0,
"Encoder": "x264",
"Level": "4.0",
"OpenCL": false,
"Options": "",
"Preset": "ultrafast",
"Profile": "main",
"QSV": {
"AsyncDepth": 4,
"Decode": false
},
"Quality": 50.0,
"Tune": "",
"Turbo": false,
"TwoPass": false
}
}
[12:36:17] starting job
[12:36:17] job configuration:
[12:36:17] * source
[12:36:17] + /home/patte/tests-handbrake/LA_FEMME_MODELE1.vob
[12:36:17] + title 1, chapter(s) 1 to 1
[12:36:17] * destination
[12:36:17] + /home/patte/tests-handbrake/LA_FEMME_MODELE1.m4v
[12:36:17] + container: MPEG-4 (libavformat)
[12:36:17] * video track
[12:36:17] + decoder: mpeg2video
[12:36:17] + bitrate 9500 kbps
[12:36:17] + filters
[12:36:17] + 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)
[12:36:17] + Decomb (mode=39)
[12:36:17] + Framerate Shaper (mode=2:rate=27000000/900000)
[12:36:17] + frame rate: 25.000 fps -> peak rate limited to 30.000 fps
[12:36:17] + Crop and Scale (width=718:height=424:crop-top=76:crop-bottom=76:crop-left=2:crop-right=0)
[12:36:17] + source: 720 * 576, crop (76/76/2/0): 718 * 424, scale: 718 * 424
[12:36:17] + Output geometry
[12:36:17] + storage dimensions: 718 x 424
[12:36:17] + pixel aspect ratio: 64 : 45
[12:36:17] + display dimensions: 1021 x 424
[12:36:17] + encoder: H.264 (libx264)
[12:36:17] + preset: ultrafast
[12:36:17] + profile: main
[12:36:17] + level: 4.0
[12:36:17] + quality: 50.00 (RF)
[12:36:17] * subtitle track 1, Unknown (track 0, id 0x2000bd) Picture [VOBSUB] -> Passthrough
[12:36:17] * subtitle track 2, Unknown (track 1, id 0x2100bd) Picture [VOBSUB] -> Passthrough
[12:36:17] * audio track 1
[12:36:17] + decoder: Unknown (AC3) (2.0 ch) (track 1, id 0x8000bd)
[12:36:17] + bitrate: 192 kbps, samplerate: 48000 Hz
[12:36:17] + mixdown: Stereo
[12:36:17] + dither: triangular
[12:36:17] + encoder: AAC (libfdk_aac)
[12:36:17] + bitrate: 160 kbps, samplerate: 48000 Hz
[12:36:17] file is MPEG Program Stream
[12:36:17] decomb filter thread started for segment 0
[12:36:17] yadif thread started for segment 1
[12:36:17] mask erode thread started for segment 0
[12:36:17] mask erode thread started for segment 1
[12:36:17] mask dilate thread started for segment 0
[12:36:17] mask dilate thread started for segment 1
[12:36:17] yadif thread started for segment 0
[12:36:17] mask filter thread started for segment 1
[12:36:17] mask filter thread started for segment 0
[12:36:17] Probing 1 unknown stream
[12:36:17] decomb check thread started for segment 1
[12:36:17] decomb check thread started for segment 0
[12:36:17] decomb filter thread started for segment 1
[12:36:17] Probe: Found stream mpeg2video. stream id 0xe0-0x0
[12:36:17] decvobsub: input color palette is empty!
[12:36:17] decvobsub: input color palette is empty!
[12:36:17] sync: expecting 169872 video frames
[12:36:17] encx264: encoding at constant RF 50.000000
[12:36:17] encx264: unparsed options: level=4.0:ref=1:scenecut=0:bframes=0:no-deblock=1:cabac=0:analyse=none:8x8dct=0:weightp=0:me=dia:subme=0:mixed-refs=0:trellis=0:vbv-bufsize=25000:vbv-maxrate=20000:aq-mode=0:mbtree=0:rc-lookahead=0
x264 [info]: using SAR=64/45
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.1 Cache64
x264 [info]: profile Constrained Baseline, level 4.0
[12:36:17] sync: first pts video is 0
[12:36:17] sync: first pts audio 0x8000bd is 0
[12:36:21] sync: first pts subtitle 0x2000bd is 1490400
[12:36:21] sync: first pts subtitle 0x2100bd is 1490400
[13:03:11] reader: done. 1 scr changes
[13:03:12] work: average encoding speed for job is 104.872772 fps
[13:03:12] comb detect: heavy 1916 | light 6635 | uncombed 160770 | total 169321
[13:03:12] decomb: deinterlaced 1916 | blended 6635 | unfiltered 160770 | total 169321
[13:03:12] vfr: 169321 frames output, 0 dropped and 0 duped for CFR/PFR
[13:03:12] vfr: lost time: 0 (0 frames)
[13:03:12] vfr: gained time: 0 (0 frames) (0 not accounted for)
[13:03:12] stream: 3315471 good frames, 7 errors (0%)
[12:36:17] file is MPEG Program Stream
[12:36:17] decomb filter thread started for segment 0
[12:36:17] yadif thread started for segment 1
[12:36:17] mask erode thread started for segment 0
[12:36:17] mask erode thread started for segment 1
[12:36:17] mask dilate thread started for segment 0
[12:36:17] mask dilate thread started for segment 1
[12:36:17] yadif thread started for segment 0
[12:36:17] mask filter thread started for segment 1
[12:36:17] mask filter thread started for segment 0
[12:36:17] Probing 1 unknown stream
[12:36:17] decomb check thread started for segment 1
[12:36:17] decomb check thread started for segment 0
[12:36:17] decomb filter thread started for segment 1
[12:36:17] Probe: Found stream mpeg2video. stream id 0xe0-0x0
[12:36:17] decvobsub: input color palette is empty!
[12:36:17] decvobsub: input color palette is empty!
[12:36:17] sync: expecting 169872 video frames
[12:36:17] encx264: encoding at constant RF 50.000000
[12:36:17] encx264: unparsed options: level=4.0:ref=1:scenecut=0:bframes=0:no-deblock=1:cabac=0:analyse=none:8x8dct=0:weightp=0:me=dia:subme=0:mixed-refs=0:trellis=0:vbv-bufsize=25000:vbv-maxrate=20000:aq-mode=0:mbtree=0:rc-lookahead=0
x264 [info]: using SAR=64/45
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.1 Cache64
x264 [info]: profile Constrained Baseline, level 4.0
[12:36:17] sync: first pts video is 0
[12:36:17] sync: first pts audio 0x8000bd is 0
[12:36:21] sync: first pts subtitle 0x2000bd is 1490400
[12:36:21] sync: first pts subtitle 0x2100bd is 1490400
[13:03:11] reader: done. 1 scr changes
[13:03:12] work: average encoding speed for job is 104.872772 fps
[13:03:12] comb detect: heavy 1916 | light 6635 | uncombed 160770 | total 169321
[13:03:12] decomb: deinterlaced 1916 | blended 6635 | unfiltered 160770 | total 169321
[13:03:12] vfr: 169321 frames output, 0 dropped and 0 duped for CFR/PFR
[13:03:12] vfr: lost time: 0 (0 frames)
[13:03:12] vfr: gained time: 0 (0 frames) (0 not accounted for)
[13:03:12] stream: 3315471 good frames, 7 errors (0%)
[13:03:12] ac3-decoder done: 211652 frames, 0 decoder errors
[13:03:12] mpeg2video-decoder done: 169321 frames, 0 decoder errors
[13:03:12] sync: got 169321 frames, 169872 expected
[13:03:12] sync: framerate min 25.000 fps, max 25.000 fps, avg 25.000 fps
x264 [info]: frame I:678 Avg QP:46.85 size: 2461
x264 [info]: frame P:168643 Avg QP:49.63 size: 175
x264 [info]: mb I I16..4: 100.0% 0.0% 0.0%
x264 [info]: mb P I16..4: 2.7% 0.0% 0.0% P16..4: 2.7% 0.0% 0.0% 0.0% 0.0% skip:94.6%
x264 [info]: coded y,uvDC,uvAC intra: 2.1% 21.5% 0.9% inter: 0.1% 0.4% 0.0%
x264 [info]: i16 v,h,dc,p: 54% 22% 16% 8%
x264 [info]: i8c dc,h,v,p: 88% 4% 8% 0%
x264 [info]: kb/s:36.75
[13:03:12] mux: track 0, 169321 frames, 31081833 bytes, 36.71 kbps, fifo 16384
[13:03:12] mux: track 1, 317479 frames, 135457707 bytes, 160.00 kbps, fifo 32768
[13:03:12] mux: track 2, 1631 frames, 5177268 bytes, 6.12 kbps, fifo 256
[13:03:12] mux: track 3, 1630 frames, 4841428 bytes, 5.72 kbps, fifo 256
[13:03:12] libhb: work result = 0
video.baba
Novice
Posts: 59
Joined: Sun May 24, 2015 11:12 am

Re: newbye questions

Post by video.baba »

Why are you using HandBrake? It is not the correct program for your needs. Handbrake doesn't make DVDs.
frpatte
Posts: 5
Joined: Thu Jan 19, 2017 9:25 pm

Re: newbye questions

Post by frpatte »

video.baba wrote:Why are you using HandBrake? It is not the correct program for your needs. Handbrake doesn't make DVDs.
I answered this: I extract a dvd using vobcopy and get a big file.vob, which I want to compress in order to burn it on a DVD

Is handbrake not made to compress video files?
Woodstock
Veteran User
Posts: 4623
Joined: Tue Aug 27, 2013 6:39 am

Re: newbye questions

Post by Woodstock »

Yes, it is made to compress files, but...

You are starting with an MPEG2 video file in the VOB. To WRITE a DVD, you need an MPEG2 video file. MPEG2 source with MPEG2 out is not going to shrink the file unless you give up resolution. And, when you use DVD authoring software to write it to disk, it MAY take that output and EXPAND it to meet the standards of a DVD.

This all assumes that the destination of the DVD is a DVD player that only understands standard video DVDs. If the destination is a data DVD that will be played by a computer of some sort, you have lots of options open to you.
Deleted User 13735

Re: newbye questions

Post by Deleted User 13735 »

Frpatte,

Handbrake is designed to COMPRESS files.
Handbrake does not AUTHOR DVDs!!


Look it up.
frpatte
Posts: 5
Joined: Thu Jan 19, 2017 9:25 pm

Re: newbye questions

Post by frpatte »

I am wondering if people are able to read! I SAID, IN A SECOND MAIL, THAT I WANTED TO *COMPRESS* A VIDEO FILE IN ORDER TO BURN IT ON A DVD (device I don't want to make a dvd )

And what about my question on subtitles which are supposed to "pass through" and which become yellow/black!

F.P.
Deleted User 13735

Re: newbye questions

Post by Deleted User 13735 »

You've been told you can burn a DATA file on a dvd. It's a normal Windows function.
Why are you pestering?
rollin_eng
Veteran User
Posts: 4859
Joined: Wed May 04, 2011 11:06 pm

Re: newbye questions

Post by rollin_eng »

To answer your questions:

1) google for online bitrate calculators.

2) Not sure about your subtitle issue.
Woodstock
Veteran User
Posts: 4623
Joined: Tue Aug 27, 2013 6:39 am

Re: newbye questions

Post by Woodstock »

The subtitle issue probably has to do with this:
[12:36:17] decvobsub: input color palette is empty!
[12:36:17] decvobsub: input color palette is empty!
Which may have to do with decoding from VOBs, which don't always have "all" information in them. Handbrake has to fill that information in when it is missing.

I've never seen that issue when encoding from MKV files created by a ripping tool.
handnovice
New User
Posts: 1
Joined: Tue Jan 24, 2017 4:29 pm

Re: newbye questions

Post by handnovice »

As a newbie I feel ready to take a beating for this my first post.

I recently, a few months ago, had to deal with huge video files. In two instances where I had one goal, to get these files small enough to put onto my old cellphone.

1. An enormous ISO file. Say on order of 5,000,000 kb that a pal handed it to me on a flash drive. I used a video converter app to convert it to mp4, now on size order of 500,000. Then used Handbrake to compress it to size order of one tenth, or about 50,000. Goal achieved.

2. A family travel dvd movie I wanted to backup. I used a cloner app to backup to computer in a folder with VOB files. I then used a video converter app to make mp4 from that folder, then compressed resulting large mp4 with Handbrake.

I come a bit late to the party, however, my shared my experience may add to the argument. :D

I do not mention the specific other apps used to avoid advertising, per rules.
mduell
Veteran User
Posts: 8207
Joined: Sat Apr 21, 2007 8:54 pm

Re: newbye questions

Post by mduell »

Multi-generation loss is a bad idea.
Post Reply