Hi,
I have to extract one image from video.
I use the convert utility which works fine except the width/height is not correct.
When i apply "identify -verbose" to the video i have
Base filename: ALSTOM charte transition.mpg
Format: MPG (MPEG Video Stream)
Class: DirectClass
Geometry: 352x288+0+0
Type: TrueColor
Endianess: Undefined
Colorspace: RGB
Channel depth:
Red: 8-bit
Green: 8-bit
Blue: 8-bit
Channel statistics:
Red:
Min: 1 (0.00392157)
Max: 255 (1)
Mean: 244.539 (0.958976)
Standard deviation: 30.3916 (0.119183)
Green:
Min: 1 (0.00392157)
Max: 255 (1)
Mean: 245.558 (0.962973)
Standard deviation: 28.6253 (0.112256)
Blue:
Min: 1 (0.00392157)
Max: 255 (1)
Mean: 245.858 (0.96415)
Standard deviation: 28.0245 (0.1099)
Colors: 2715
Rendering intent: Undefined
Resolution: 72x72
Units: Undefined
Filesize: 297.014kb
Interlace: None
Background color: white
Border color: rgb(223,223,223)
Matte color: grey74
Transparent color: black
Page geometry: 352x288+0+0
Dispose: Undefined
Iterations: 0
Scene: 10
Compression: Undefined
Orientation: Undefined
Signature: d2fc676d32a265e7070bf3bea6347c3abbb85ffff63145bf11754dd60832a7bb
Profile-icm: 3144 bytes
Tainted: False
User time: 0.078u
Elapsed time: 0:01
Pixels per second: 1.0285mb
Version: ImageMagick 6.3.1 01/12/07 Q8 http://www.imagemagick.org
When i use ExifTool, information is
File Name : ALSTOM charte transition.mpg
Directory : E:\Alstom
File Size : 1408 kB
File Modification Date/Time : 2007:02:02 16:07:00
File Type : MPEG
MIME Type : video/mpeg
Image Width : 352
Image Height : 288
Aspect Ratio : 16:9, 625 line, PAL
Frame Rate : 25 fps
Video Bitrate : 3000000
Duration : 0:00:03.84 (approx)
Image Size : 352x288
With these 2 utilities the width/height seems to be 352/288 but like you can see above Aspect Ratio is 16:9 so if width equal 352, height cannot be 288.
Any one has an idea?