Search found 5177 matches

by JohnAStebbins
Wed Oct 17, 2018 8:09 pm
Forum: Windows
Topic: Resizing method used
Replies: 6
Views: 77

Re: Resizing method used

libx264 is the library that does the actual work of generating an h.264 bitstream from a series of input frames. Anything not directly related to generation of the h.264 bitstream comes from the x264 exe. The only definitive reference I know of is the code. If it's not an option handled in x264/comm...
by JohnAStebbins
Wed Oct 17, 2018 5:42 pm
Forum: Windows
Topic: Resizing method used
Replies: 6
Views: 77

Re: Resizing method used

x264 is not part of ffmpeg. It is it's own project. They provide a command line exe called x264 that *uses* ffmpeg libraries for decoding source files, scaling, muxing, etc. They also provide libx264 that *only* does h.264 encoding. HandBrake uses both libx264 and all the various ffmpeg libraries to...
by JohnAStebbins
Wed Oct 17, 2018 5:38 pm
Forum: Windows
Topic: Resizing method used
Replies: 6
Views: 77

Re: Resizing method used

HandBrake uses libswscale for filtering. Looking at the code, it's not clear to me which parameter is the number of taps or if it even allows direct setting of the number of taps. The parameter that affects what swscale calls the "filterSize" is called "sizeFactor" and is set to it's default value o...
by JohnAStebbins
Tue Oct 16, 2018 9:04 pm
Forum: Windows
Topic: Resizing method used
Replies: 6
Views: 77

Re: Resizing method used

lanczos If you don't want scaling, just use a preset that doesn't scale or set the "storage dimensions" to match the source. "Production Max" and "Production Standard" presets won't scale. You may also need to disable cropping. libx264 doesn't do scaling. HandBrake doesn't use the x264 exe, so if yo...
by JohnAStebbins
Mon Oct 15, 2018 6:30 pm
Forum: General Questions
Topic: what settings for old DVD encode(deinterlace filters, etc.)
Replies: 7
Views: 110

Re: what settings for old DVD encode(deinterlace filters, etc.)

To answer some of your questions more directly. It's better to deinterlace (if required) while transcoding. You can use higher quality deinterlacer druing non-realtime transcoding than you could use during realtime playback. Maybe. Some DVDs are soft telecined throughout the entire video. This type ...
by JohnAStebbins
Mon Oct 15, 2018 6:07 pm
Forum: General Questions
Topic: what settings for old DVD encode(deinterlace filters, etc.)
Replies: 7
Views: 110

Re: what settings for old DVD encode(deinterlace filters, etc.)

For most users, decomb default is "best". If you are having issues with that, we need to dive down deeper into your particular problems. This requires an activity log. As an example, if you are encoding interlaced content with lots of motion throughout the entire video, decomb's automatic detection ...
by JohnAStebbins
Thu Oct 11, 2018 6:39 pm
Forum: Mac
Topic: No valid Source when opening H.265 file
Replies: 16
Views: 469

Re: No valid Source when opening H.265 file

FYI, we still don't parse keyframes for HEVC in PS (or TS). This causes errors in the log during preview generation since the decoder doesn't receive data starting at a clean keyframe after the seeks during scan. It will result in some unclean preview frames in some cases. For this particular source...
by JohnAStebbins
Thu Oct 11, 2018 6:29 pm
Forum: Mac
Topic: No valid Source when opening H.265 file
Replies: 16
Views: 469

Re: No valid Source when opening H.265 file

I've had some time to dig deeper into this. First, we don't recognize h.265 in PS streams. It's an omission that's pretty easily solved by enabling stream probing for any unidentified stream. Right now we only enable probing for specific streams that have ambiguous stream IDs. Second, there's a bug ...
by JohnAStebbins
Mon Sep 24, 2018 5:03 pm
Forum: Mac
Topic: No valid Source when opening H.265 file
Replies: 16
Views: 469

Re: No valid Source when opening H.265 file

After a quick look, our PS demux doesn't support h.265. Some investigation into the proper stream type(s) and iframe recognition will be required to add support.
by JohnAStebbins
Mon Sep 24, 2018 4:58 pm
Forum: Mac
Topic: No valid Source when opening H.265 file
Replies: 16
Views: 469

Re: No valid Source when opening H.265 file

BradleyS wrote:
Mon Sep 24, 2018 4:35 pm
The file does not open in QuickTime Player on macOS 10.13.6. I'm not seeing anything of substance indicating it's an MP4 container aside from the file extension.
Ah, I just assumed it was that old problem again. Seems it is a mis-named PS file that we just fail to see any video stream in.
by JohnAStebbins
Mon Sep 24, 2018 3:56 pm
Forum: Mac
Topic: No valid Source when opening H.265 file
Replies: 16
Views: 469

Re: No valid Source when opening H.265 file

This is another case of our PS demux mistakenly recognizing an mp4 file as PS. I won't have time to do a deeper dive to see if there is anything we can do about it for a couple of weeks. But this should be added to a github issue so it doesn't get overlooked.
by JohnAStebbins
Sat Sep 22, 2018 4:17 pm
Forum: Mac
Topic: Constant framerate not constant?
Replies: 5
Views: 152

Re: Constant framerate not constant?

This discussion comes up all the time. Every framerate can't be represented perfectly by the clock HandBrake uses internally. HandBrake uses the standard 90khz clock used by all transport streams and program streams. This is the same clock used by all broadcast TV, Blurays (including UHD), and DVDs....
by JohnAStebbins
Mon Sep 10, 2018 5:23 pm
Forum: Mac
Topic: Include sub folders when selecting source folder?
Replies: 3
Views: 165

Re: Include sub folders when selecting source folder?

It's not possible. There are lots of complications when dealing with multiple directories of files. I chose not to deal with those complications when initially writing batch support and haven't had the motivation to go back and work through the issues to enhance it.
by JohnAStebbins
Thu Sep 06, 2018 9:59 pm
Forum: Windows
Topic: how to passtrough subtitle and keep in srt instead of converting to ass
Replies: 6
Views: 281

Re: how to passtrough subtitle and keep in srt instead of converting to ass

To be clear, we are not against SRT passthru support. It's just not high on anyone's priority list and there are lots of other interesting things to do.
by JohnAStebbins
Thu Sep 06, 2018 9:08 pm
Forum: Windows
Topic: Encoding shifts video 2 frames back
Replies: 31
Views: 688

Re: Encoding shifts video 2 frames back

Ugh, I stated something backwards. "Align A/V start" *prevents* the insertion of an "empty edit". Empty edits confuse some players.

Previous post edited and corrected. :mrgreen:
by JohnAStebbins
Thu Sep 06, 2018 8:55 pm
Forum: Windows
Topic: Encoding shifts video 2 frames back
Replies: 31
Views: 688

Re: Encoding shifts video 2 frames back

..and may be you know why these "pro tool" (like AE) while being such a PRO could possibly get wrong one of the most popular video format on earth? The "mp4 spec" is a bit of a mess. Apple created it's QT spec based on mp4 and did things their own way for a very long time. Then there is the officia...
by JohnAStebbins
Thu Sep 06, 2018 8:27 pm
Forum: Windows
Topic: Encoding shifts video 2 frames back
Replies: 31
Views: 688

Re: Encoding shifts video 2 frames back

Is this an intermediate file that you will be re-encoding again? If so, why placebo? For intermediates, it's a whole lot faster to just use more disk space to preserve quality. Even if it's not an intermediate, placebo has it's name for a reason. The amount of gain you might get with placebo can be ...
by JohnAStebbins
Thu Sep 06, 2018 8:07 pm
Forum: Windows
Topic: why you said 18 to 20 crf for standard ??? and 20 to 23 for hd ?? non sence!!
Replies: 2
Views: 327

Re: why you said 18 to 20 crf for standard ??? and 20 to 23 for hd ?? non sence!!

For SD content, you are starting out with a low quality source. If you want to refrain from degrading much further, you use a lower RF. For HD content, you could apply the same logic as above. I.e. "you want to refrain from degrading it much further". But this is overkill for the vast majority of pe...
by JohnAStebbins
Thu Sep 06, 2018 7:12 pm
Forum: Windows
Topic: Encoding shifts video 2 frames back
Replies: 31
Views: 688

Re: Encoding shifts video 2 frames back

1. Ultrafast is "less effecient" at compression. What this means is that for a given desired quality, the filesize will most likely be larger. The quality slider only provides a rough control of the actual output quality. Changing other settings (e.g. changing from placebo to ultrafast) slightly cha...
by JohnAStebbins
Thu Sep 06, 2018 5:07 pm
Forum: Windows
Topic: Encoding shifts video 2 frames back
Replies: 31
Views: 688

Re: Encoding shifts video 2 frames back

I had a look at the files you supplied. Both the uncompressed and encoded version have 968 video frames. When I single step through both the original and encoded version, I see the logo appear at frame 14 and hear a blip at frame 17 (playing back with mpv). If I had to guess, AE is ignoring or not p...
by JohnAStebbins
Wed Sep 05, 2018 8:38 pm
Forum: Windows
Topic: Encoding shifts video 2 frames back
Replies: 31
Views: 688

Re: Encoding shifts video 2 frames back

Hmm, I wonder if the nightly build would make any difference. It's a different avi demux.
by JohnAStebbins
Wed Sep 05, 2018 8:19 pm
Forum: Windows
Topic: Encoding shifts video 2 frames back
Replies: 31
Views: 688

Re: Encoding shifts video 2 frames back

Can you supply a source sample we can test with and see the problem first hand?
by JohnAStebbins
Wed Sep 05, 2018 5:27 pm
Forum: Windows
Topic: Encoding shifts video 2 frames back
Replies: 31
Views: 688

Re: Encoding shifts video 2 frames back

BTW, just right now I've encode 4 videos and everything is fine. They all were rendered from AE into uncompressed avi, 23.976, grainy. But they all have video and audio right from the very 1st frame and they all are very short (~1 min). Can you post another log of one of these videos that encoded c...
by JohnAStebbins
Wed Sep 05, 2018 5:26 pm
Forum: Windows
Topic: Encoding shifts video 2 frames back
Replies: 31
Views: 688

Re: Encoding shifts video 2 frames back

After Effects may be broken. This is why I ask. Have you tried other players and stepped through the video. VLC would be a good option.