I've done cropping many times before, but now, it keeps failing for reasons I can't figure out...
I can doand it works perfectly - but when trying to crop, doingCode:ffmpeg.exe -i 1920x1080.mkv -map 0 -c:v libx265 -crf 23 -c:a copy -c:s copy output.mkvgivesCode:ffmpeg.exe -i 1920x1080.mkv -map 0 -c:v libx265 -crf 23 -c:a copy -c:s copy -vf crop=1463:1080:229:0 cropped.mkv
Can anyone explain why this fails? As I said, I never had this problem before!?Code:[Parsed_crop_0 @ 00000202e88817c0] Invalid too big or non positive size for width '1463' or height '1080' [Parsed_crop_0 @ 00000202e88817c0] Failed to configure input pad on Parsed_crop_0 [vf#0:3 @ 00000202e883e340] Error reinitializing filters! [vf#0:3 @ 00000202e883e340] Task finished with error code: -22 (Invalid argument) [vf#0:3 @ 00000202e883e340] Terminating thread with return code -22 (Invalid argument) [vost#0:3/libx265 @ 00000202ea4c26c0] Could not open encoder before EOF [vost#0:3/libx265 @ 00000202ea4c26c0] Task finished with error code: -22 (Invalid argument) [vost#0:3/libx265 @ 00000202ea4c26c0] Terminating thread with return code -22 (Invalid argument) x265 [info]: HEVC encoder version 3.5+117-b34fb2c77 x265 [info]: build info [Windows][GCC 13.2.0][64 bit] 8bit+10bit+12bit x265 [info]: using cpu capabilities: MMX2 SSE2Fast LZCNT SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2 x265 [info]: Main profile, Level-4 (Main tier) x265 [info]: Thread pool created using 8 threads x265 [info]: Slices : 1 x265 [info]: frame threads / pool features : 3 / wpp(17 rows) x265 [info]: Coding QT: max CU size, min CU size : 64 / 8 x265 [info]: Residual QT: max TU size, max depth : 32 / 1 inter / 1 intra x265 [info]: ME / range / subpel / merge : hex / 57 / 2 / 3 x265 [info]: Keyframe min / max / scenecut / bias : 23 / 250 / 40 / 5.00 x265 [info]: Lookahead / bframes / badapt : 20 / 4 / 2 x265 [info]: b-pyramid / weightp / weightb : 1 / 1 / 0 x265 [info]: References / ref-limit cu / depth : 3 / off / on x265 [info]: AQ: mode / str / qg-size / cu-tree : 2 / 1.0 / 32 / 1 x265 [info]: Rate Control / qCompress : CRF-23.0 / 0.60 x265 [info]: tools: rd=3 psy-rd=2.00 early-skip rskip mode=1 signhide tmvp x265 [info]: tools: b-intra strong-intra-smoothing lslices=6 deblock sao [out#0/matroska @ 00000202e883d100] Nothing was written into output file, because at least one of its streams received no packets. frame= 0 fps=0.0 q=27.9 Lq=0.0 size= 0KiB time=N/A bitrate=N/A speed=N/A x265 [info]: frame I: 1, Avg QP:27.41 kb/s: 102.43 x265 [info]: frame P: 20, Avg QP:25.21 kb/s: 2248.84 x265 [info]: frame B: 56, Avg QP:28.34 kb/s: 778.66 x265 [info]: Weighted P-Frames: Y:15.0% UV:0.0% encoded 77 frames in 3.07s (25.08 fps), 1151.74 kb/s, Avg QP:27.51 Conversion failed!
+ Reply to Thread
Results 1 to 10 of 10
-
-
My guess: You want to crop video to an odd width, which is probably illegal in YUV 4:2:0 chroma subsampling.
-
Well, that hasn't been a problem before - and changing it to 1464:1080:228:0 still gives the same error...
-
-
-
-
I've tested with this one:
https://www.gyan.dev/ffmpeg/builds/ffmpeg-git-full.7z
Similar Threads
-
Discs Failing
By pvalley in forum Authoring (Blu-ray)Replies: 0Last Post: 10th Sep 2023, 11:38 -
Subtitle handling appears to be failing
By factor3 in forum EditingReplies: 1Last Post: 14th Oct 2022, 11:10 -
Failing to download on ITV Hub
By ChemicalMisfit in forum Video Streaming DownloadingReplies: 20Last Post: 7th Feb 2022, 16:14 -
Trying (and failing) to download this show
By seanadl in forum Video Streaming DownloadingReplies: 8Last Post: 29th Nov 2021, 16:39 -
Vidcoder/Handbrake Failing
By fordj2 in forum Video ConversionReplies: 8Last Post: 19th Jul 2020, 15:18