[MPlayer-users] cropdetect and MJPEG (bpp=2)

Brian J. Murrell cd221686124087cf6518baa0130d0609 at interlinx.bc.ca
Mon Feb 10 14:08:10 CET 2003


I am trying to do some crop detection on an MJPEG (in quicktime
container) file I captured with mjpeg_tools and it's not working.
When I put some debugging into vf_cropdetect.c, it revealed that
checkline() is being called with a bpp=2, however checkline does not
support bpp=2.

Is this a bug or intentional behaviour?  Here is what mplayer -vv has
to say about the file format:

!!! trying demuxer 7 based on filename extension
Checking for MOV
MOV: Movie DATA found!
MOV: Movie header found!
QuickTime/MOV file format detected.
MOV: Movie header (100 bytes): tscale=30000  dur=53880827
Quicktime Clip Info:
 Info: Made with Quicktime for Linux
--------------
MOV: Track #0:
MOV:  Track header!
tkhd len=84 ver=0 flags=0x0 id=1 dur=53880827 lay=0 vol=0
MOV:  Edit atom!
MOV:   Edit list table (1 entries) (ver:0,flags:0)
MOV:     entry#0: duration: 53880827  start time: 0  speed: 1.0x
MOV:  Media stream!
MOV:   Media header!
MOV:   Handler header: mhlr/vide () Linux Video Media Handler
MOV:   Media info!
MOV:    Video header!
MOV:    Handler header: dhlr/alis () Linux Alias Data Handler
MOV: unknown chunk: dinf 28
MOV:    Sample info!
MOV:     Description list! (cnt:1)
MOV:      desc #0: mjpa  (80 bytes)
MOV:     Sample duration table! (1 blocks)
MOV:     Sample->Chunk mapping table!  (1 blocks) (ver:0,flags:0)
MOV:     Sample size table! (entries=53827 ss=0) (ver:0,flags:0)
MOV:     64bit chunk offset table! (53827 chunks)
MOV track #0: 53827 chunks, 53827 samples
pts=53880827  scale=30000  time=1796.028
EL#0: pts=0  1st_sample=0  frames=53827 (1796.028s)  pts_offs=0
==> Found video stream: 0
MOV: Found unsupported Field-Handling movie atom (10)!
Image size: 352 x 480 (24 bpp)
Display size: 352 x 480
Fourcc: mjpa  Codec: 'Quicktime for Linux'
--------------
MOV: Track #1:
MOV:  Track header!
tkhd len=84 ver=0 flags=0x0 id=2 dur=53880826 lay=0 vol=255
MOV:  Edit atom!
MOV:   Edit list table (1 entries) (ver:0,flags:0)
MOV:     entry#0: duration: 53880826  start time: 0  speed: 1.0x
MOV:  Media stream!
MOV:   Media header!
MOV:   Handler header: mhlr/soun () Linux Sound Media Handler
MOV:   Media info!
MOV:    Sound header!
MOV:    Handler header: dhlr/alis () Linux Alias Data Handler
MOV: unknown chunk: dinf 28
MOV:    Sample info!
MOV:     Description list! (cnt:1)
MOV:      desc #0: twos  (20 bytes)
MOV:     Sample duration table! (1 blocks)
MOV:     Sample->Chunk mapping table!  (3 blocks) (ver:0,flags:0)
MOV:     Sample size table! (entries=79204815 ss=1) (ver:0,flags:0)
MOV:     64bit chunk offset table! (77349 chunks)
MOV track #1: 77349 chunks, 0 samples
pts=79204815  scale=44100  time=1796.028
==> Found audio stream: 1
Audio bits: 16  chans: 2  rate: 44100
Fourcc: twos
--------------
MOV: longest streams: A: #1 (77349 samples)  V: #0 (53827 samples)
[V] filefmt:7  fourcc:0x61706A6D  size:352x480  fps:29.97  ftime:=0.0334

Thanx,
b.

-- 
Brian J. Murrell
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-users/attachments/20030210/16c8716a/attachment.pgp>


More information about the MPlayer-users mailing list