Search found 5169 matches

by JohnAStebbins
Wed Aug 29, 2018 3:41 pm
Forum: General Questions
Topic: Telecined material filter help.
Replies: 6
Views: 207

Re: Telecined material filter help.

What mduell said... Also, I've never seen hard telecine in a 23.976 fps source (it's soft telecined if it's a DVD source). It would be very unusual for there to be a mix of hard and soft telecine in the same source.
by JohnAStebbins
Wed Aug 29, 2018 3:35 pm
Forum: Mac
Topic: Audio completely replaced by static upon encoding from H.264 source
Replies: 16
Views: 377

Re: Audio completely replaced by static upon encoding from H.264 source

I submitted a patch to ffmpeg that fixes this issue. Once that goes through review on their mailing list and gets committed, I'll also add it to the patches we apply to HandBrake's copy of ffmpeg. Then the fix will be available in the nightly builds. I'll post a note here and in the github issue I c...
by JohnAStebbins
Tue Aug 28, 2018 4:16 pm
Forum: General Questions
Topic: Telecined material filter help.
Replies: 6
Views: 207

Re: Telecined material filter help.

The detelecine filter is prone to false positive detection of telecine with PAL sources. When this happens it causes stutter in the encoded output. So I always turn it off for sources that I know are not telecined.
by JohnAStebbins
Tue Aug 28, 2018 3:14 pm
Forum: *nix
Topic: Error Code Reasons
Replies: 8
Views: 218

Re: Error Code Reasons

HandBrake has some rather broad categories of error that are used HB_ERROR_NONE = 0, HB_ERROR_CANCELED = 1, HB_ERROR_WRONG_INPUT = 2, HB_ERROR_INIT = 3, HB_ERROR_UNKNOWN = 4, HB_ERROR_READ = 5 To get a better idea of what the actual error was, it is helpful to see the log. There is often additional ...
by JohnAStebbins
Fri Aug 24, 2018 7:13 pm
Forum: Mac
Topic: Audio completely replaced by static upon encoding from H.264 source
Replies: 16
Views: 377

Re: Audio completely replaced by static upon encoding from H.264 source

I "fixed" the file by editing it with a hex editor and changing "isom" to "qt " in the header. HandBrake was able to transcode the file after that edit. In theory, other tools should be able to change the major brand as well. E.g. this *should* rebrand it: MP4Box -brand "qt " file.mp4 But there is s...
by JohnAStebbins
Thu Aug 23, 2018 11:10 pm
Forum: Windows
Topic: Encoding shifts video 2 frames back
Replies: 31
Views: 577

Re: Encoding shifts video 2 frames back

Is it missing any video frames? Are any video frames longer or shorter than they should be? If no to both, then is the audio actually starting when it should? I.e. is the audio starting later than it should rather than the video starting earlier? What is your methodology for determining when audio s...
by JohnAStebbins
Thu Aug 23, 2018 9:58 pm
Forum: Mac
Topic: Audio completely replaced by static upon encoding from H.264 source
Replies: 16
Views: 377

Re: Audio completely replaced by static upon encoding from H.264 source

Still doing a bit of guessing here. But I'll bet that VLC succeeds because it assumes the qt format for the remainder of the audio sample description as soon as it sees the box with id "in24". This seems to be a qt specific tag. I tried to do an ffmpeg remux of the file and it won't even write out t...
by JohnAStebbins
Thu Aug 23, 2018 8:38 pm
Forum: Mac
Topic: Audio completely replaced by static upon encoding from H.264 source
Replies: 16
Views: 377

Re: Audio completely replaced by static upon encoding from H.264 source

A few possibilities: 1. VLC decodes as LE even though it has read BE from the audio description. Rember that VLC is still showing it as BE in it's codec information. 1. VLC doesn't play ISO media file correctly, but does play *this* invalid file. 2. VLC may have better/different MP4 parser error rec...
by JohnAStebbins
Thu Aug 23, 2018 7:00 pm
Forum: Mac
Topic: Audio completely replaced by static upon encoding from H.264 source
Replies: 16
Views: 377

Re: Audio completely replaced by static upon encoding from H.264 source

So, here's the problem. ffmpeg doesen't parse some 'qt' extensions in this file because neither the major brand nor compatible brands signalled by the file include 'qt'. But these extensions are present, so ffmpeg gets out of sync in it's parsing. It ends up skipping the "enda" atom that tells it th...
by JohnAStebbins
Thu Aug 23, 2018 3:59 pm
Forum: Mac
Topic: Audio completely replaced by static upon encoding from H.264 source
Replies: 16
Views: 377

Re: Audio completely replaced by static upon encoding from H.264 source

The nightly build doesn't fix it. On my Linux system, firefox plays static, chrome refuses to play it (says the file can't be previewed), mpv plays static, git head ffmpeg plays static, totem plays correctly, and vlc plays correctly. However, in vlc Tools->Codec Information shows Codec: "PCM S24 BE ...
by JohnAStebbins
Tue Aug 21, 2018 11:01 pm
Forum: Mac
Topic: Request for enhanced functionality
Replies: 7
Views: 207

Re: Request for enhanced functionality

Does the pause button on the queue window not work? It's supposed to pause encoding when the current file finishes. Actually, I think it's the "Stop" button that gives you this option. At least on the Linux GUI, there is "Finish Current, Then Stop" option when "Stop" is pressed. The pause button ha...
by JohnAStebbins
Tue Aug 21, 2018 10:54 pm
Forum: Windows
Topic: x264 to x265
Replies: 8
Views: 347

Re: x264 to x265

To elaborate a bit...
H.264 is a specification of a compressed video bitstream
x264 is an implementation of an encoder that generates a bitstream compliant with the H.264 specification
by JohnAStebbins
Mon Aug 20, 2018 4:26 pm
Forum: General Questions
Topic: Recommendations Converting MPEG2 to H265 No Quality Loss?
Replies: 17
Views: 406

Re: Recommendations Converting MPEG2 to H265 No Quality Loss?

1. Pick a preset appropriate to the playback environment
2. Slide the quality slider to the right until you are satisfied with the quality
by JohnAStebbins
Mon Aug 20, 2018 4:23 pm
Forum: Mac
Topic: How can I transfer NTSC to to a PAL file so I can then put it in FCPX to transfer to PAL DVD?
Replies: 3
Views: 137

Re: How can I transfer NTSC to to a PAL file so I can then put it in FCPX to transfer to PAL DVD?

You can't with HandBrake. Other more advanced tools may be able to do something, but how you do it depends on what the original source material was. For example, if the original source was 24fps film, you would first convert the NTSC back to 24 fps progressive video (i.e. inverse telecine). Then sli...
by JohnAStebbins
Fri Aug 17, 2018 4:02 pm
Forum: *nix
Topic: x264 library version on compiled HandBrakeCLI
Replies: 9
Views: 264

Re: x264 library version on compiled HandBrakeCLI

s55 wrote:
Fri Aug 17, 2018 3:33 pm
On linux, HandBrake will use the system version of x264. It's not bundled as with Windows/Mac.
... Unless you are using the flatpak release. The flatpak release bundles most of the same things as the other platforms.
by JohnAStebbins
Mon Aug 06, 2018 5:30 pm
Forum: *nix
Topic: Connect to Server function not working
Replies: 10
Views: 233

Re: Connect to Server function not working

Just verified, to make nfs:// enable the "Connect" button, I had to install gvfs-nfs. You are probably missing this and other gvfs plugins necessary for mounting remote file systems.
by JohnAStebbins
Mon Aug 06, 2018 5:21 pm
Forum: *nix
Topic: Connect to Server function not working
Replies: 10
Views: 233

Re: Connect to Server function not working

"Other Locations" is a feature of the GTK file open dialog and gnome vfs. HandBrake does nothing special to make this work (or not work as the case seems to be). I just tested this by opening a file that is hosted on my Nextcloud server and reading it across the internet (davs://). To my surprise, i...
by JohnAStebbins
Sat Aug 04, 2018 2:54 pm
Forum: General Questions
Topic: actual fps on dvd
Replies: 3
Views: 164

Re: actual fps on dvd

It's not really a "problem" with vlc. It's more of a problem with DVD. The DVD spec only permits 29.97 (NTSC) and 25 fps (PAL). In order to reproduce film framerates for NTSC, they set field repeat flags in the video data that cause some frames to have a longer duration so that the average is 23.97 ...
by JohnAStebbins
Fri Jul 13, 2018 2:28 pm
Forum: Windows
Topic: Error after Finished Encoding
Replies: 2
Views: 223

Re: Error after Finished Encoding

Error 5 indicates a read error. Maybe the tail end of your file has some sort of problem.
by JohnAStebbins
Fri Jul 13, 2018 2:25 pm
Forum: Windows
Topic: Audio not in sync with video
Replies: 3
Views: 279

Re: Audio not in sync with video

Are you saying that your original source video has out of sync audio? If so, this is not something HandBrake can fix. I don't know off hand what tool might do this. Maybe someone else has some idea.
by JohnAStebbins
Wed Jul 11, 2018 9:38 pm
Forum: General Questions
Topic: How RF works and finding the best setting?
Replies: 2
Views: 395

Re: How RF works and finding the best setting?

It states that higher number is worse quality but it recommends using a higher number for higher res footage? That doesn't seem to make sense so maybe someone can help me understand that. The RF controls how closely the output will match the input. If you do 2 encodes using the same RF, one with a ...
by JohnAStebbins
Fri Jul 06, 2018 10:26 pm
Forum: Windows
Topic: Subtitles - font, font size and position
Replies: 4
Views: 479

Re: Subtitles - font, font size and position

There is already an open issue regarding enhanced font size settings https://github.com/HandBrake/HandBrake/issues/146 This feature, if implemented, would have a lot of confusing caveats. Position could only be changed when the source is SRT, or TX3G and the output file format is SSA in Matroska con...
by JohnAStebbins
Sun Jul 01, 2018 4:06 pm
Forum: General Questions
Topic: constant frame rate/CFR flagging in h265 bitstreams
Replies: 7
Views: 462

Re: constant frame rate/CFR flagging in h265 bitstreams

I forgot to mention the other factor that trips up mediainfo and other such apps frequently. 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 b...
by JohnAStebbins
Sun Jul 01, 2018 3:54 pm
Forum: General Questions
Topic: constant frame rate/CFR flagging in h265 bitstreams
Replies: 7
Views: 462

Re: constant frame rate/CFR flagging in h265 bitstreams

I haven't read the H.265 spec to see what it supports. But it wouldn't surprise me if it does not have a specific flag to indicate VFR vs CFR. It's not strictly necessary. In H.264 what the flag really indicates is the meaning of the timebase. When set to CFR, the timebase is the framerate. When set...