Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 936916 - media-video/handbrake-1.6.1 preview image corruption, unusable video conversion, failing avfilter graph
Summary: media-video/handbrake-1.6.1 preview image corruption, unusable video conversi...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal major
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL: https://www.reddit.com/r/handbrake/co...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-07-30 00:37 UTC by Eric "me262" Mason
Modified: 2024-07-31 05:22 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Eric "me262" Mason 2024-07-30 00:37:58 UTC
Along with handbrake 1.6.1, I also have media-video/ffmpeg 6.1.1-r8:0/58.60.60 installed on my system.
When opening a video I've ripped from MakeMKV, I observe a distorted image in the preview window. The image is gray and repeated 4 times of every preview image. I attempted to push through and convert, but I also get a corrupted image.

Looking in the handbrake logs I see the following lines, leading me to believe it's a subtle incompatibility with ffmpeg:

[19:47:34] hb_avfilter_graph_init: avfilter_graph_parse2 failed (format='pix_fmts=yuv420p',zscale='w=1920:h=1080:filter=lanczos:range=limited')
[19:47:34] reinit_video_filters: failed to create filter graph
[19:47:34] scan: 10 previews, 1920x1080, 23.976 fps, autocrop = 140/140/0/0, aspect 16:9, PAR 1:1, color profile: 1-1-1, chroma location: left
[19:47:34] scan: supported video decoders: avcodec nvdec
[19:47:34] libhb: scan thread found 1 valid title(s)
[AVFilterGraph @ 0x5600894ba080] No such filter: 'zscale'
[AVFilterGraph @ 0x5600894ba080] Error creating filters
[19:47:35] hb_avfilter_graph_init: avfilter_graph_parse2 failed (crop='x=0:y=140:w=1920:h=800',zscale='width=1920:height=800:filter=lanczos',format='pix_fmts=yuv420p',zscale='width=1920:heig
[19:47:35] hb_get_preview3: Failure to initialise filter 'AVFilter'
[AVFilterGraph @ 0x56008948bd40] No such filter: 'zscale'
[AVFilterGraph @ 0x56008948bd40] Error creating filters
[19:47:35] hb_get_preview3: Failure to initialise filter 'AVFilter'

Reproducible: Always

Steps to Reproduce:
1. Rip BD using MakeMKV
2. Open .mkv file in HandBrake
3. Observe gray image repeated 4 times in preview screen.
Actual Results:  
Picture in reddit thread on left (this is an enlarged preview window in handbrake).

Expected Results:  
Picture in reddit thread on right (this is the source file playing in VLC).

Additionaly, I tried compiling the handbrake 1.7.3 and 1.8.1 source by hand and didn't have problems with this (other than nvenc was not found). Maybe an updated ebuild could take care of this, which I attempted, but was unsuccessful so far.
One patch (1.6.1-missing-include) will no longer apply, and another fails (9999-dont-search-python) to apply, after that, eautoreconf can't find configure.??, and aclocal fails to find configure.ac. (autoconf 2.71-r7 and automake 1.16.5-r2)