Is glav/lavplay supposed to work for DV (format 2) AVI files?

When I tried it I got sound, but not video.  It gives a graded greyscale image
(horizontal lines, dark at top, light at bottom) then prints a bunch of
messages (enclosed below).  After the first (grey) frame, nothing is printed.
Ie., the window does not update.

I noticed lav2yuv works, for example:
  lav2yuv sample.dv |yuvplay
works fine.  I can also make Mpegs, etc, from DV files.

It would be nice to view/edit DV though.  Yes, I do know that I can run
"dv2jpg", and then use glav, but I want to keep files in their original
format, without any quality loss.  I also know that I could use "kino", but
this program is just too bloated.  In fact, I can't get kino to compile (some
problems with C++).  I really like mjpegtools "streams" philosophy.  All I
need is some way to view the video so I can decide what frames to extract,
edit, etc.

Questions:

Do lav2yuv and lavplay use different interfaces to load data?
I'm puzzled that lav2yuv works, but lavplay doesn't.

Does it matter if data is interlaced or not?
I'm using progressive scan video from a Canon Optura DV camera.
Perhaps this is messing stuff up.

Thanks for any help,
  Richard

Encl: 1. (verbose) error output from lavplay:
      2. shared libraries used by lavtools:
----------------------------
   1. Debugging output

[EMAIL PROTECTED] mannr]$ lavplay -v 2  foo001.dv 
lavplay1.6.1
lavtools version 1.6.1
--DEBUG: [lavplay] Opening video file foo001.dv ...
--DEBUG: [lavplay] File: foo001.dv, absolute name: /home/mannr/foo001.dv
--DEBUG: [lavplay]    frames:            60
--DEBUG: [lavplay]    width:            720
--DEBUG: [lavplay]    height:           480
--DEBUG: [lavplay]    interlacing: bottom field first
--DEBUG: [lavplay]    frames/sec:    29.970
--DEBUG: [lavplay]    audio samps:    64064
--DEBUG: [lavplay]    audio chans:        2
--DEBUG: [lavplay]    audio bits:        16
--DEBUG: [lavplay]    audio rate:     32000
--DEBUG: [lavplay] 1.0/SPVF = 29.9700
--DEBUG: [lavplay] Initializing the threading system
--DEBUG: [lavplay] Starting software playback thread
--DEBUG: [lavplay] Playback thread: sleeping for new frames (waiting for frame
0)
   INFO: [lavplay] Initialising SDL
   INFO: [lavplay] SDL YUV overlay: hardware
   INFO: [lavplay] Using mmap(2) system call for capture
   INFO: [lavplay] Output norm: NTSC
   INFO: [lavplay] Output dimensions: 720x480
++ WARN: [lavplay] Error playing a frame
--DEBUG: [lavplay] Playback thread: sleeping for new frames (waiting for frame
   1)
++ WARN: [lavplay] Unable to set negative priority for audio thread.
++ WARN: [lavplay] Pthread Real-time scheduling for audio thread could not be
enabled.
++ WARN: [lavplay] Error playing a frameNorm: NTSC, Diff: -0.007168
++ WARN: [lavplay] Error playing a frameNorm: NTSC, Diff: -0.011805
++ WARN: [lavplay] Error playing a frameNorm: NTSC, Diff: -0.016452
....etc...

--DEBUG: [lavplay] Playback thread: was told to exit
--DEBUG: [lavplay] Closing down the threading system

------------------------
  2. Shared libraries.

[EMAIL PROTECTED] mannr]$ ldd /usr/local/bin/lavplay  
        liblavplay-1.6.so.0 => /usr/local/lib/liblavplay-1.6.so.0 (0x40018000)
        liblavjpeg-1.6.so.0 => /usr/local/lib/liblavjpeg-1.6.so.0 (0x40024000)
        liblavfile-1.6.so.0 => /usr/local/lib/liblavfile-1.6.so.0 (0x40048000)
        libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0x40054000)
        libdv.so.2 => /usr/lib/libdv.so.2 (0x40073000)
        libpopt.so.0 => /usr/lib/libpopt.so.0 (0x4009d000)
        libm.so.6 => /lib/i686/libm.so.6 (0x400b3000)
        libglib-1.2.so.0 => /usr/lib/libglib-1.2.so.0 (0x400d8000)
        libdl.so.2 => /lib/libdl.so.2 (0x400fd000)
        libSDL-1.1.so.0 => /usr/lib/libSDL-1.1.so.0 (0x40101000)
        libpthread.so.0 => /lib/i686/libpthread.so.0 (0x40170000)
        libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x40185000)
        libc.so.6 => /lib/i686/libc.so.6 (0x40245000)
        libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x40375000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

notes:
   libc, libm, ld-linux.so.2 -> version 2.2.2.so, gcc-2.95.4-0.20010823
                                   (glibc-2.?)
   libdv.so.2.0.0


-------------------------------------------------------
This SF.net email is sponsored by:Crypto Challenge is now open! 
Get cracking and register here for some mind boggling fun and 
the chance of winning an Apple iPod:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en
_______________________________________________
Mjpeg-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mjpeg-users

Reply via email to