Page 1 of 1

Jigsaw Puzzel Ouput with DV Camera and Firewire

Posted: 13 Jan 2008 03:08
by mmaki
Packaged version (0.8.6c) on Ubuntu 7.10 with a Canon DV cam connected via firewire.
Intel Core2 Duo 2GHz 4GB RAM
Works fine with Kino and cat /dev/dv1394/0 > test.dv

When I try to stream with
vlc -vvv dv/rawdv:///dev/raw1394
I get frozen or scrolling blocky jigsaw looking video

-vvv has lots of
AC EOB marker is absent ...
and
main video output warning: late picture skipped

Any help greatly appreciated!

Here is the verbose output
$ vlc -vvv --no-audio dv/rawdv:///dev/raw1394
VLC media player 0.8.6c Janus
[00000001] main private debug: checking builtin modules
[00000001] main private debug: checking plugin modules
[00000001] main private debug: loading plugins cache file /home/mmaki/.vlc/cache/plugins-04041e.dat
[00000001] main private debug: recursively browsing `modules'
[00000001] main private debug: recursively browsing `/usr/lib/vlc'
[00000001] main private debug: recursively browsing `plugins'
[00000001] main private debug: module bank initialized, found 216 modules
[00000001] main private debug: opening config file /home/mmaki/.vlc/vlcrc
[00000001] main private debug: CPU has capabilities 486 586 MMX MMXEXT SSE SSE2 FPU
[00000001] main private debug: looking for memcpy module: 1 candidate
[00000001] main private debug: using memcpy module "memcpy"
[00000281] main playlist debug: waiting for thread completion
[00000281] main playlist debug: thread 3079760784 (playlist) created at priority 0 (playlist/playlist.c:184)
[00000282] main private debug: waiting for thread completion
[00000282] main private debug: thread 3071368080 (preparser) created at priority 0 (playlist/playlist.c:210)
[00000283] main interface debug: looking for interface module: 1 candidate
[00000283] main interface debug: using interface module "hotkeys"
[00000283] main interface debug: thread 3062975376 (interface) created at priority 0 (interface/interface.c:231)
[00000285] main interface debug: looking for interface module: 1 candidate
[00000285] main interface debug: using interface module "screensaver"
[00000285] main interface debug: thread 3054582672 (interface) created at priority 0 (interface/interface.c:231)
[00000281] main playlist debug: adding playlist item `dv/rawdv:///dev/raw1394' ( dv/rawdv:///dev/raw1394 )
[00000287] main interface debug: looking for interface module: 5 candidates
[00000287] main interface debug: using interface module "wxwidgets"
[00000287] main interface debug: thread 3028446096 (manager) created at priority 0 (interface/interface.c:216)
[00000287] wxwidgets interface debug: Using last windows config '(-1,0,0,1440,900)(0,331,243,720,567)(6,0,0,-1,150)'
[00000287] wxwidgets interface debug: id=0 p=(331,243) s=(720,567)
[00000287] wxwidgets interface debug: id=6 p=(0,0) s=(-1,150)
[00000281] main playlist debug: nothing requested, starting
[00000281] main playlist debug: creating new input thread
[00000290] main input debug: waiting for thread completion
[00000290] main input debug: creating statistics handler
[00000290] main input debug: `dv/rawdv:///dev/raw1394' gives access `dv' demux `rawdv' path `/dev/raw1394'
[00000290] main input debug: creating access 'dv' path='/dev/raw1394'
[00000292] main access debug: looking for access2 module: 6 candidates
[00000292] access_dv access debug: opening device /dev/raw1394
[00000290] main input debug: thread 2974747536 (input) created at priority 0 (input/input.c:265)
[00000294] main private debug: thread 2966207376 (dv event thread handler) created at priority 0 (dv.c:246)
[00000292] main access debug: using access2 module "access_dv"
[00000295] main private debug: pre buffering
[00000292] access_dv access debug: send play command over Digital Video control channel
[00000295] main private debug: received first data for our buffer
[00000295] main private debug: prebuffering done 144000 bytes in 0s - 1753 kbytes/s
[00000290] main input debug: creating demux: access='dv' demux='rawdv' path='/dev/raw1394'
[00000296] main demuxer debug: looking for demux2 module: 1 candidate
[00000296] rawdv demuxer debug: Realtime DV Source: No
[00000290] main input debug: selecting program id=0
[00000296] main demuxer debug: using demux2 module "rawdv"
[00000298] main decoder debug: looking for decoder module: 25 candidates
[00000298] ffmpeg decoder debug: libavcodec initialized (interface 3352064 )
[00000298] ffmpeg decoder debug: postprocessing disabled
[00000298] ffmpeg decoder debug: using direct rendering
[00000298] ffmpeg decoder debug: ffmpeg codec (DV Video) started
[00000298] main decoder debug: using decoder module "ffmpeg"
[00000298] main decoder debug: thread 2949614480 (decoder) created at priority 0 (input/decoder.c:159)
[00000290] main input debug: audio is disabled, not selecting ES 0x1
[00000292] access_dv access warning: unimplemented query in control
[00000290] main input debug: `dv/rawdv:///dev/raw1394' successfully opened
[00000298] ffmpeg decoder debug: disabling direct rendering
[00000298] main decoder debug: no usable vout present, spawning one
[00000330] main video output debug: window size: 720x480
[00000330] main video output debug: looking for video output module: 6 candidates
[00000331] main private debug: Registering subpicture channel, ID: 2
[00000331] main private debug: Registering subpicture channel, ID: 3
[00000331] main private debug: Registering subpicture channel, ID: 4
[00000331] main private debug: Registering subpicture channel, ID: 5
[00000330] xvideo video output debug: adaptor 0, port 280, format 0x32315659 (YV12) planar
[00000330] xvideo video output debug: Window manager supports NetWM
[00000330] xvideo video output debug: Window manager supports _NET_WM_STATE_FULLSCREEN
[00000330] xvideo video output debug: Window manager supports _NET_WM_STATE_ABOVE
[00000330] xvideo video output debug: Window manager supports _NET_WM_STATE_BELOW
[00000330] main video output debug: using video output module "xvideo"
[00000330] main video output debug: waiting for thread completion
[00000330] main video output debug: got 8 direct buffer(s)
[00000330] main video output debug: picture in 720x480 (0,0,720x480), chroma I420, ar 3:2, sar 1:1
[00000330] main video output debug: picture user 720x480 (0,0,720x480), chroma I420, ar 3:2, sar 1:1
[00000330] main video output debug: picture out 720x480 (0,0,720x480), chroma I420, ar 3:2, sar 1:1
[00000330] main video output debug: direct render, mapping render pictures 0-6 to system pictures 1-7
[00000330] main video output debug: thread 2939939728 (video output) created at priority 0 (video_output/video_output.c:421)
[00000330] main video output warning: late picture skipped (213315)
...
AC EOB marker is absent pos=64
...
[00000330] main video output warning: late picture skipped (16006)
...
[00000001] main private debug: removing all interfaces
[00000287] main interface debug: thread 3028446096 joined (interface/interface.c:258)
[00000287] main interface debug: removing module "wxwidgets"
[00000285] main interface debug: thread 3054582672 joined (interface/interface.c:258)
[00000285] main interface debug: removing module "screensaver"
[00000283] main interface debug: thread 3062975376 joined (interface/interface.c:258)
[00000283] main interface debug: removing module "hotkeys"
[00000001] main private debug: removing playlist handler
[00000282] main private debug: thread 3071368080 joined (playlist/playlist.c:247)
[00000290] main input debug: control type=0
[00000290] main input debug: control: stopping input
[00000290] main input debug: closing input
[00000296] main demuxer debug: removing module "rawdv"
[00000298] ffmpeg decoder warning: cannot decode one frame (24000 bytes)
[00000292] access_dv access debug: closing Digital Video control channel
[00000294] main private debug: thread 2966207376 joined (dv.c:269)
[00000292] access_dv access error: thread 2974747536: mutex_lock failed at dv.c:274 (22:Invalid argument)
[00000292] access_dv access error: thread 2974747536: mutex_unlock failed at dv.c:278 (22:Invalid argument)
[00000292] main access debug: removing module "access_dv"
[00000298] ffmpeg decoder debug: ffmpeg codec (DV Video) stopped
[00000298] main decoder debug: removing module "ffmpeg"
[00000298] main decoder debug: thread 2949614480 joined (input/decoder.c:191)
[00000298] main decoder debug: killing decoder fourcc `dvsd', 0 PES in FIFO
[00000298] main decoder debug: cannot find playlist, destroying vout
[00000330] main video output debug: removing module "xvideo"
[00000330] main video output debug: thread 2939939728 joined (video_output/video_output.c:461)
[00000290] main input debug: thread 2974747536 joined (input/input.c:412)
[00000281] main playlist debug: thread 3079760784 joined (playlist/playlist.c:248)
[00000281] main playlist: stopping playback
[00000281] main playlist debug: deleting playlist item `dv/rawdv:///dev/raw1394'
[00000001] main private debug: removing all video outputs
[00000001] main private debug: removing all audio outputs
[00000001] main private debug: removing module "memcpy"
[00000001] main private debug: opening config file /home/mmaki/.vlc/vlcrc
[00000001] main private debug: saving plugins cache file /home/mmaki/.vlc/cache/plugins-04041e.dat
$

Re: Jigsaw Puzzel Ouput with DV Camera and Firewire

Posted: 26 Feb 2008 10:56
by pkpdjh
I get similar behavior.

Here's an example of my film:

http://www.evlax.com/pages/BrianCox.mov

When I try to watch it on VLC, I get a bunch of blocks and can barely make out the picture.

When I try to run it through ffmpeg, this is what I get:

FFmpeg version SVN-r7231, Copyright (c) 2000-2006 Fabrice Bellard, et al.
configuration: --prefix=/usr --mandir=${prefix}/share/man --enable-gpl --enable-pp --enable-pthreads --enable-vorbis --enable-faac --enable-libogg --enable-a52 --enable-dts --enable-libgsm --disable-debug --enable-mp3lame --enable-faad
libavutil version: 49.1.0
libavcodec version: 51.25.0
libavformat version: 51.6.0
built on May 4 2007 15:46:52, gcc: 3.3.5 (Debian 1:3.3.5-13)
AC EOB marker is absent pos=64
AC EOB marker is absent pos=72
AC EOB marker is absent pos=67
.
.
.
AC EOB marker is absent pos=64
AC EOB marker is absent pos=85
AC EOB marker is absent pos=90
AC EOB marker is absent pos=98
AC EOB marker is absent pos=93
AC EOB marker is absent pos=64
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'evlax/xoops/pages/BrianCox.mov':
Duration: 00:00:40.9, start: 0.000000, bitrate: 1542 kb/s
Stream #0.0(eng): Video: dvvideo, yuv411p, 720x480, 29.97 fps(r)
Stream #0.1(eng): Audio: pcm_s16le, 48000 Hz, stereo, 1536 kb/s
Stream #0.2(eng): Data: tmcd / 0x64636D74
Stream #0.3(eng): Data: text / 0x74786574