This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Crash in AVC encoding pass 1
#3
Yup, it's the deshake filer, it aborts with:
[deshake @ 00000284cabb8fc0] Value -1.000000 for parameter 'rx' out of range [0 - 64]
[deshake @ 00000284cabb8fc0] [Eval @ 000000d94e3fdd80] Undefined constant or missing '(' in 'ry'
[deshake @ 00000284cabb8fc0] Unable to parse option value "ry"
[Parsed_deshake_0 @ 00000284c9487600] Option 'egde' not found
[AVFilterGraph @ 00000284c948ad40] Error initializing filter 'deshake' with args 'x=-1:y=-1:w=-1:rx=-1:ry:-1:egde=16:blocksize=16:contrast=mirror:search=8'
Error reinitializing filters!
It's complaining about rx not inside 0-64. Sad
The documentation (https://www.ffmpeg.org/ffmpeg-all.html#deshake) says:
Quote:Attempt to fix small changes in horizontal and/or vertical shift. This filter helps remove camera shake from hand-holding a camera, bumping a tripod, moving on a vehicle, etc.

The filter accepts the following options:

x
y
w
h

Specify a rectangular area where to limit the search for motion vectors. If desired the search for motion vectors can be limited to a rectangular area of the frame defined by its top left corner, width and height. These parameters have the same meaning as the drawbox filter which can be used to visualise the position of the bounding box.

This is useful when simultaneous movement of subjects within the frame might be confused for camera motion by the motion vector search.

If any or all of x, y, w and h are set to -1 then the full frame is used. This allows later options to be set without specifying the bounding box for the motion vector search.

Default - search the whole frame.
rx
ry

Specify the maximum extent of movement in x and y directions in the range 0-64 pixels. Default 16.
edge

Specify how to generate pixels to fill blanks at the edge of the frame. Available values are:

‘blank, 0’

Fill zeroes at blank locations
‘original, 1’

Original image at blank locations
‘clamp, 2’

Extruded edge value at blank locations
‘mirror, 3’

Mirrored edge at blank locations

Default value is ‘mirror’.
blocksize

Specify the blocksize to use for motion search. Range 4-128 pixels, default 8.
contrast

Specify the contrast threshold for blocks. Only blocks with more than the specified contrast (difference between darkest and lightest pixels) will be considered. Range 1-255, default 125.
search

Specify the search strategy. Available values are:

‘exhaustive, 0’

Set exhaustive search
‘less, 1’

Set less exhaustive search.

Default value is ‘exhaustive’.
filename

If set then a detailed log of the motion search is written to the specified file.
-> Yup, it's a bug in Hybrid I wrongly restricted rx/ry. (correction: I wrongly mapped the parameters. + syntax changed)
-> will fix and send you a link to a dev version once I'm finished.

Cu Selur
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Reply


Messages In This Thread
Crash in AVC encoding pass 1 - by incans - 30.12.2020, 03:05
RE: Crash in AVC encoding pass 1 - by Selur - 30.12.2020, 08:50
RE: Crash in AVC encoding pass 1 - by Selur - 30.12.2020, 08:58
RE: Crash in AVC encoding pass 1 - by Selur - 30.12.2020, 09:49
RE: Crash in AVC encoding pass 1 - by incans - 30.12.2020, 15:07
RE: Crash in AVC encoding pass 1 - by Selur - 30.12.2020, 15:12
RE: Crash in AVC encoding pass 1 - by incans - 30.12.2020, 17:44
RE: Crash in AVC encoding pass 1 - by Selur - 30.12.2020, 17:50

Forum Jump:


Users browsing this thread: 1 Guest(s)