Here you go:
Code:
ffmpeg -i Original/Original.mp4 -t 00:00:29 -vf crop=iw:ih-50:0:0 Done/Done.mp4
ffmpeg version 0.8.17-4:0.8.17-0ubuntu0.12.04.1, Copyright (c) 2000-2014 the Libav developers
built on Mar 16 2015 13:26:50 with gcc 4.6.3
The ffmpeg program is only provided for script compatibility and will be removed
in a future release. It has been deprecated in the Libav project to allow for
incompatible command line syntax improvements in its replacement called avconv
(see Changelog for details). Please use avconv instead.
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'Original/Original.mp4':
Metadata:
major_brand : mp42
minor_version : 0
compatible_brands: isommp42
creation_time : 2015-07-24 08:01:26
Duration: 00:05:35.87, start: 0.000000, bitrate: 383 kb/s
Stream #0.0(und): Video: h264 (Constrained Baseline), yuv420p, 634x360 [PAR 1:1 DAR 317:180], 284 kb/s, 29.97 fps, 29.97 tbr, 30k tbn, 59.94 tbc
Stream #0.1(und): Audio: aac, 44100 Hz, stereo, s16, 96 kb/s
Metadata:
creation_time : 2015-07-24 08:01:27
[buffer @ 0x639d80] w:634 h:360 pixfmt:yuv420p
[crop @ 0x6482e0] w:634 h:360 -> w:634 h:310
Output #0, mp4, to 'Done/Done.mp4':
Metadata:
major_brand : mp42
minor_version : 0
compatible_brands: isommp42
creation_time : 2015-07-24 08:01:26
encoder : Lavf53.21.1
Stream #0.0(und): Video: mpeg4, yuv420p, 634x310 [PAR 1:1 DAR 317:155], q=2-31, 200 kb/s, 30k tbn, 29.97 tbc
Stream #0.1(und): Audio: libvo_aacenc, 44100 Hz, stereo, s16, 200 kb/s
Metadata:
creation_time : 2015-07-24 08:01:27
Stream mapping:
Stream #0.0 -> #0.0
Stream #0.1 -> #0.1
Press ctrl-c to stop encoding
frame= 870 fps= 92 q=19.3 Lsize= 1679kB time=29.00 bitrate= 474.2kbits/s
video:953kB audio:708kB global headers:0kB muxing overhead 1.086535%
I am trying to play it on the web, on MAC as well using iTunes and QuickTimes Player
Bookmarks