Search found 5712 matches

by JohnAStebbins
Sat Aug 26, 2023 2:29 pm
Forum: Windows
Topic: Custom cropping only allows even numbers
Replies: 11
Views: 3131

Re: Custom cropping only allows even numbers

"Not possible" would be an overstatement. There are certainly ways to do it. I.e. convert the image to a color format with full resolution color planes, do the crop, then convert back. This procedure would be one way to properly preserve the relationship that exists between the color plane...
by JohnAStebbins
Wed Aug 23, 2023 2:13 pm
Forum: Windows
Topic: Custom cropping only allows even numbers
Replies: 11
Views: 3131

Re: Custom cropping only allows even numbers

Allowing only even cropping is intentional. Some color formats (yuv420 in particular which is used in DVD and BD video) have color planes that are half the resolution of the intensity plane. Since you can't crop half a pixel, it is not possible to crop the color planes to odd pixel boundaries (half ...
by JohnAStebbins
Tue Aug 01, 2023 2:24 pm
Forum: *nix
Topic: A few questions on default ./configure settings under Ubuntu.
Replies: 3
Views: 6444

Re: A few questions on default ./configure settings under Ubuntu.

FFmpeg's license does not permit redistribution of a binary build that mixes LGPL licensed components with FDK-AAC. We tried, they complained, we complied. When FDK-AAC is enabled in the build, FDK-AAC will be listed as a separate encoder in the audio encoders list. You would have to modify presets ...
by JohnAStebbins
Fri Jun 09, 2023 2:27 pm
Forum: General Questions
Topic: Does the log mean that my source file is broken?
Replies: 11
Views: 2586

Re: Does the log mean that my source file is broken?

Off topic, but this is an interesting message from the decoder...

Code: Select all

[h264 @ 00000182f58abb40] Application has requested 33 threads. Using a thread count greater than 16 is not recommended.
HandBrake may be asking for too many threads from the decoder for high core count CPUs
by JohnAStebbins
Wed May 31, 2023 1:30 pm
Forum: *nix
Topic: Cannot open video files on Fedora 38
Replies: 4
Views: 8035

Re: Cannot open video files on Fedora 38

The intel-media-driver package is for hardware acceleration on the iGPU. Handbrake will work without it, but will only provide software encoding options. The flatpak version of Handbrake requires the flatpak version of intel-mdeia-driver in order to use the iGPU for hardware acceleration. You can in...
by JohnAStebbins
Wed Mar 29, 2023 1:45 pm
Forum: General Questions
Topic: Handbrake not producing constant frame rate when told to
Replies: 8
Views: 2047

Re: Handbrake not producing constant frame rate when told to

Handbrake uses a 90khz clock for timestamps. A 23.976 fps frame's duration at 90khz is 3753.754 ticks. Since duration must be represented as an integer number of ticks, most frames will be 3754 ticks and about every 4th frame will be 3753 ticks. This 1/90000th second jitter every 4th frame is what y...
by JohnAStebbins
Sun Mar 19, 2023 3:38 pm
Forum: Windows
Topic: HB Ignores Log File Location
Replies: 3
Views: 1266

Re: HB Ignores Log File Location

I don’t think you can select the log file location, it is always in the same folder as the handbrake executable I think. There are a couple preference options that should affect the log file location. In the Linux GUI, these are. Set a custom directory for HandBrake temporary files Put individual e...
by JohnAStebbins
Sun Feb 05, 2023 5:03 pm
Forum: Windows
Topic: Unable to create a destination mp4 file with video constant frame rate
Replies: 6
Views: 2580

Re: Unable to create a destination mp4 file with video constant frame rate

Each frame duration is represented as a number of 90khz clock ticks. In the case of 23.976 fps video, each frame is 1 / 23.976 seconds or approximately 3753.753 90khz ticks. The duration of a frame can not be a fraction, so to stay in sync and true to the original source duration, some frames are re...
by JohnAStebbins
Mon Sep 26, 2022 1:31 pm
Forum: General Questions
Topic: 60fps to 25fps
Replies: 3
Views: 1401

Re: 60fps to 25fps

In order to convert 60 fps to 25 fps, every other input frame must be dropped for about 4 output frames, then on the 5th output frame an extra input frame needs to be dropped to compensate for the fractional quotient.
by JohnAStebbins
Sat Sep 24, 2022 1:36 pm
Forum: General Questions
Topic: How To Donate To Handbrake Team?
Replies: 4
Views: 1493

Re: How To Donate To Handbrake Team?

HandBrake makes heavy use of libraries from other projects that do accept donations. I suggest sprinkling some money around those other projects if you are feeling philanthropic. Just a few of the organizations that support the development of the libraries that we an many others use. https://ffmpeg....
by JohnAStebbins
Wed Sep 14, 2022 2:36 pm
Forum: *nix
Topic: what is an .m4v file and why does handbrake ALWAYS want to render videos in this format?
Replies: 6
Views: 873

Re: what is an .m4v file and why does handbrake ALWAYS want to render videos in this format?

iPod, first AppleTV, QuickTime Player 7, old versions of iTunes. .m4v was required to enable ac-3 audio and chapters. In addition, the vast majority of players that are not brain dead like those mentioned above are smart enough to recognize the file type based on it's content rather than it's filen...
by JohnAStebbins
Thu Sep 08, 2022 5:56 pm
Forum: Windows
Topic: How to save Video Conversion half the way to continue the Job work later ?
Replies: 4
Views: 550

Re: How to save Video Conversion half the way to continue the Job work later ?

Also should the Software remain open if i close the Software and again open it ? even then it does not start from where I left last. When I close the Software and again open it it does give a pop up asking do you want to recover your earlier job but that in no ways starts from where I left. So I do...
by JohnAStebbins
Wed Sep 07, 2022 5:49 pm
Forum: Windows
Topic: DVD quality looks horrible after putting through software.
Replies: 10
Views: 893

Re: DVD quality looks horrible after putting through software.

The Linux version of MakeMKV is perpetually in Beta and has a free registration key.
https://forum.makemkv.com/forum/viewtop ... f=5&t=1053

I wonder if it runs in WSL?
by JohnAStebbins
Fri Sep 02, 2022 9:09 pm
Forum: General Questions
Topic: Strange 'Overlay' appearing
Replies: 7
Views: 636

Re: Strange 'Overlay' appearing

You might want to disable "Foreign audio search". It automatically adds any subtitle track that looks like it may have subtitles for a sequence with foreign audio. In this case, it interpreted the forced subtitles in a track (which are probably the watermark you are seeing) as potential fo...
by JohnAStebbins
Sun Aug 07, 2022 2:05 pm
Forum: General Questions
Topic: Handbrake upsizing video bitrate
Replies: 3
Views: 1043

Re: Handbrake upsizing video bitrate

I'm not even sure why Handbrake is increasing the bitrate since I doubt it's increasing the quality You assume correctly that HandBrake can't increase the quality. When a video is recompressed to a "higher quality" than the original, all you are doing is faithfully preserving all the comp...
by JohnAStebbins
Thu Jun 30, 2022 3:19 am
Forum: Windows
Topic: Can "Align A/V Start" option cause desync?
Replies: 3
Views: 621

Re: Can "Align A/V Start" option cause desync?

Is it possible even when I cut a clip from a middle of a longer movie? Both video and audio are well underway so start time should be irrelevant. In this scenario is is almost guaranteed that the start times will not align. Audio frame and video frames have differing durations. So if you start an a...
by JohnAStebbins
Sun Jun 26, 2022 12:32 am
Forum: General Questions
Topic: MKV from HandBrake is larger and has less readable metadata.
Replies: 14
Views: 2002

Re: MKV from HandBrake is larger and has less readable metadata.

I did do a quick check this time to see how much trouble it would be. ffmpeg supports reading compressed PGS. But it does not support writing compressed PGS. So I'll have to patch ffmpeg to add this feature. Probably a day's work at worst. Just have to set aside my work on OctoPrint and OctoDash for...
by JohnAStebbins
Sun Jun 26, 2022 12:26 am
Forum: Windows
Topic: Can "Align A/V Start" option cause desync?
Replies: 3
Views: 621

Re: Can "Align A/V Start" option cause desync?

In media files, it is possible for the first audio timestamp and the first video timestamp to be different, e.g. the audio starts at time X and the video starts at time Y. Align A/V start shortens or extends the duration of the first video frame to force X == Y. If the original difference in start t...
by JohnAStebbins
Sat Jun 25, 2022 11:22 pm
Forum: Mac
Topic: Detelecine original 24p content that is 29.97 back to 24p
Replies: 7
Views: 1204

Re: Detelecine original 24p content that is 29.97 back to 24p

HandBrake has a convenient "Interlace Detection" filter that may help in this scenario. When this filter is enabled, it looks for combing artefacts in the incoming frames and marks the combed frames. The information about which frames have combing is fed through to the "Deinterlace&qu...
by JohnAStebbins
Thu Jun 23, 2022 7:19 pm
Forum: General Questions
Topic: MKV from HandBrake is larger and has less readable metadata.
Replies: 14
Views: 2002

Re: MKV from HandBrake is larger and has less readable metadata.

The PGS track is compressed in the zlib format in mkvmerge file, but uncompressed in the HandBrake one. That's interesting. I didn't know that was an option in mkv. It certainly would save a lot of space. Will have to look into adding support for that since zlib is already one of our dependencies. ...
by JohnAStebbins
Thu Jun 23, 2022 3:28 pm
Forum: General Questions
Topic: MKV from HandBrake is larger and has less readable metadata.
Replies: 14
Views: 2002

Re: MKV from HandBrake is larger and has less readable metadata.

But why isn’t there info about bitrate of video and audio streams (in MKV from HandBrake), please? Not sure really. The matroska specification has no track elements for bitrate, but it can be calculated from duration and size of the data in the track. Matroska does have "Technical Information ...
by JohnAStebbins
Thu Jun 23, 2022 3:14 pm
Forum: Mac
Topic: Detelecine original 24p content that is 29.97 back to 24p
Replies: 7
Views: 1204

Re: Detelecine original 24p content that is 29.97 back to 24p

Unfortunately, HandBrake's detelecine filter doesn't have any logging that could tell us more about what might be happening. I really should add a verbose logging option so we can see if there are any breaks in the 2-3 pulldown pattern. But that looks like what is happening. If you are really intere...
by JohnAStebbins
Thu Jun 23, 2022 2:47 pm
Forum: General Questions
Topic: Keep output file exactly the same while only adding burn-in of forced subs
Replies: 4
Views: 467

Re: Keep output file exactly the same while only adding burn-in of forced subs

Is there a reason you are choosing to encode to MPEG-2? If you don't require MPEG-2 for some player compatibility reason, you should use a more modern codec. The MPEG-2 codec is old technology (nearly 30 years old) and the encoder implementation (i.e. the software implementing the spec) is much less...
by JohnAStebbins
Thu Jun 23, 2022 2:38 pm
Forum: General Questions
Topic: MKV from HandBrake is larger and has less readable metadata.
Replies: 14
Views: 2002

Re: MKV from HandBrake is larger and has less readable metadata.

The PGS track is compressed in the zlib format in mkvmerge file, but uncompressed in the HandBrake one. That's interesting. I didn't know that was an option in mkv. It certainly would save a lot of space. Will have to look into adding support for that since zlib is already one of our dependencies. ...