which tool do you recommend?
I just want to crop some Pixels and dont want to encode the complete video
+ Reply to Thread
Results 1 to 9 of 9
You will have to re-encode if you want to crop off some pixels.
Theoretically, it ought to be possible to crop using the MP4/AVC/HEVC conformance window cropping rectangles windowing feature, but I don't think a particular app dedicated to just cropping has been created yet.
And some containers allow you to specify cropping values, MKV for example. But don't count on any players paying any attention to them.
You should be able to crop the right edge and bottom with roozhou's modified ffmpeg build. The elementary stream VUI parameters are altered, so there is more likelihood that a player will pay attention to them. There is no way that I know of to crop the top and left without re-encoding, but in theory it should be possible
Can you guys test this out on some players? I set the crop as 16:24 (so 16 from the right, 24 from the bottom)
Works ok so far in mpchc, potplayer, ffplay, avisynth (lsmash, ffvideosource), but it's only a 10sec test . It plays correctly as 1904x1064 in those listed. Mediainfo reports it as such as well . I haven't tested any HW players
1.264 is the original elementary stream 1920x1080p24
1.mp4 is 1.264 in mp4 container
out2.264 is 1.264 with the VUI parameters set to crop
ffmpeg2.mp4 is out2.264 in mp4 container
ok. which free video editing tools with grahic interface do you recommend in general for Mp4 with AVC?
Can you guys test this out on some players?
sps:0 profile:100/40 poc:0 ref:4 120x68 FRM 8B8 crop:0/0/0/8 VUI 420 1/48 b8 reo:2
Stream #0:0(und), 1, 1/12288: Video: h264 (High), 1 reference frame (avc1 / 0x31637661), yuv420p(left), 1920x1080 (1920x1088)
sps:0 profile:100/40 poc:0 ref:4 120x68 FRM 8B8 crop:0/16/0/24 VUI 420 1/48 b8 reo:2
Stream #0:0(und), 1, 1/12288: Video: h264 (High), 1 reference frame (avc1 / 0x31637661), yuv420p(left), 1904x1064 (1920x1088)