[Ffmpeg-devel] Cropping and resizing

Harald Milz hm
Fri Mar 17 10:00:52 CET 2006


Hi Luca,

On Wed, Mar 15, 2006 at 08:39:18AM +0100, Luca Abeni wrote:
> On Tue, 2006-03-14 at 18:11 +0100, Harald Milz wrote:
> [...]
> > ffmpeg -i vdrsync.mpv  -croptop 84 -cropbottom 84 -cropleft 0 \
> >         -cropright 0 -aspect 16:9  -b 15000  -s 720,576 \
> >         -f rawvideo -vcodec mpeg2video  -ilme \
> >         -ildct  -y vdrsync1.mpv
> Just to check: the "-s 720,576" is a typo in your email, right? (it
> should be "-s 720x576", I think). Anyway, can you post the full output

I didn't find any difference in the behaviour... 

> of ffmpeg when you type this command line? Also, what's the size of your
> input video?

ffmpeg -i vdrsync.mpv  -croptop 84 -cropbottom 84 -aspect 16:9  -b 15000
-s 720x576 -f rawvideo -vcodec mpeg2video  -ilme -ildct  -y vdrsync1.mpv
ffmpeg version 0.4.9-pre1, build 4718, Copyright (c) 2000-2004 Fabrice
Bellard
  built on Feb 27 2005 17:54:09, gcc: 3.3.4 (pre 3.3.5 20040809)
Input #0, mpegvideo, from 'vdrsync.mpv':
  Duration: N/A, bitrate: N/A
  Stream #0.0: Video: mpeg2video, 720x576, 25.00 fps
Output #0, rawvideo, to 'vdrsync1.mpv':
  Stream #0.0: Video: mpeg2video, 720x576, 25.00 fps, q=2-31, 15000 kb/s
Stream mapping:
  Stream #0.0 -> #0.0
Press [q] to stop encoding
[mpeg2video @ 0x2aaaaafce4b0]concealing 420 errorsate=2213.2kbits/s
[mpeg2video @ 0x2aaaaafce4b0]Warning MVs not available
frame=93563 q=2.0 Lsize= 1011090kB time=3742.5 bitrate=2213.2kbits/s
video:1011078kB audio:0kB global headers:0kB muxing overhead 0.001213%
hm at seneca:/cdrecord> l vdrsync*
-rw-r--r--  1 hm users 1035356170 2006-03-17 08:58 vdrsync1.mpv
-rw-r--r--  1 hm users 1051289535 2006-03-17 00:52 vdrsync.mpv

And the result is 720x576, aspect 16:9 (anamorphous), but with black
bars... 

>                                N O    W A R ! ! !

Good point ... 

-- 
Hindsight is an exact science.





More information about the ffmpeg-devel mailing list