Re: [CinCVS] Live video: how does it work?

2006-09-10 Thread Herman Robak
On Sat, 09 Sep 2006 23:44:28 +0200, Bas Alphenaar  
[EMAIL PROTECTED] wrote:


I compiled r872 today and decided to give the live video plugin a go.  
First I switched on my Sony HDR-HC1,


 That is a HDV camera, right?  Make sure that you tell the camera to
output DV.  According to the output cited below, DV is assumed.


connected to the PC with a Firewire cable. Then I started Cinelerra with  
sudo cinelerra because a normal user doesn't have enough rights to use  
/dev/raw1394.


 I chmod it to 666 (read-write for everyone) instead of running programs
as root.  Since I don't use raw1394 to attach disks, that is the lesser
of two evils.

In the Recording tab in Preferences I set everything according to PAL,  
the Record Driver to DV 1394 and the Device Path to /dev/raw1394. After  
everything was set up I added the Live Video plugin to the video track  
but when I played this track, Cinelerra crashed and left this in the  
console:


Device1394Input::open DV1394_IOC_INIT: Invalid argument
Device1394Input::open DV1394_START_RECEIVE: Invalid argument
Device1394Input::run DV1394_IOC_WAIT_FRAMES: Invalid argument
Device1394Input::open DV1394_IOC_INIT: Invalid argument

...

BC_Signals::dump_buffers: buffer table size=0
BC_Signals::delete_temps: deleting 0 temp files
SigHandler::signal_handler total files=0
Aborted

Does anybody know how to use the Live Video plugin properly?


 I have not tried it for years, and it was buggy then, too.
Don't spend too much effort on getting it to work, there are
dvgrab (command line) and Kino (GUI) which can grab DV video
nicely.

 If you want to grab HDV, the only tool I have used for that is
mpg1394grab.  It is superseded by libiec-something now, but it
works for me.  Grab the source file here:
http://www.nuug.no/pub/herman/mpg1394grab.c

--
Herman Robak

___
Cinelerra mailing list
Cinelerra@skolelinux.no
https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra


Re: [CinCVS] Live video: how does it work?

2006-09-10 Thread Johannes Sixt
On Saturday 09 September 2006 23:44, Bas Alphenaar wrote:
 Hello,

 I compiled r872 today and decided to give the live video plugin a go.
 First I switched on my Sony HDR-HC1, connected to the PC with a Firewire
 cable. Then I started Cinelerra with sudo cinelerra because a normal
 user doesn't have enough rights to use /dev/raw1394. In the Recording
 tab in Preferences I set everything according to PAL, the Record Driver
 to DV 1394 and the Device Path to /dev/raw1394. After everything was set
 up I added the Live Video plugin to the video track but when I played
 this track, Cinelerra crashed and left this in the console:


 Device1394Input::open DV1394_IOC_INIT: Invalid argument
 Device1394Input::open DV1394_START_RECEIVE: Invalid argument
 Device1394Input::run DV1394_IOC_WAIT_FRAMES: Invalid argument
 Device1394Input::open DV1394_IOC_INIT: Invalid argument
 Device1394Input::open DV1394_START_RECEIVE: Invalid argument
 Device1394Input::run DV1394_IOC_WAIT_FRAMES: Invalid argument

Try /dev/dv1394 instead of /dev/raw1394

-- Hannes

___
Cinelerra mailing list
Cinelerra@skolelinux.no
https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra


[CinCVS] Live video: how does it work?

2006-09-09 Thread Bas Alphenaar

Hello,

I compiled r872 today and decided to give the live video plugin a go. 
First I switched on my Sony HDR-HC1, connected to the PC with a Firewire 
cable. Then I started Cinelerra with sudo cinelerra because a normal 
user doesn't have enough rights to use /dev/raw1394. In the Recording 
tab in Preferences I set everything according to PAL, the Record Driver 
to DV 1394 and the Device Path to /dev/raw1394. After everything was set 
up I added the Live Video plugin to the video track but when I played 
this track, Cinelerra crashed and left this in the console:



Device1394Input::open DV1394_IOC_INIT: Invalid argument
Device1394Input::open DV1394_START_RECEIVE: Invalid argument
Device1394Input::run DV1394_IOC_WAIT_FRAMES: Invalid argument
Device1394Input::open DV1394_IOC_INIT: Invalid argument
Device1394Input::open DV1394_START_RECEIVE: Invalid argument
Device1394Input::run DV1394_IOC_WAIT_FRAMES: Invalid argument
signal_entry: got SIGSEGV my pid=7187 execution table size=16:
PatchGUI::reposition 5

PatchGUI::reposition 6

PatchGUI::reposition 7

PatchGUI::reposition 8

PatchGUI::reposition 9

PatchGUI::reposition 10

PatchGUI::reposition 11

vrender.C: run: 414
vrender.C: process_buffer: 103
vrender.C: process_buffer: 113
livevideo.C: process_buffer: 498
vrender.C: run: 416
vrender.C: run: 555
vrender.C: run: 414
vrender.C: process_buffer: 103
vrender.C: process_buffer: 113
signal_entry: lock table size=12
0x8b3d160 CWindowTool::input_lock CWindowTool::run
0x850a098 BC_Synchronous::next_command BC_Synchronous::run
0x8c02e48 TransportQue::output_lock PlaybackEngine::run
0x8c03408 MainIndexes::input_lock MainIndexes::run 1
0x8c6a720 ResourceThread::draw_lock ResourceThread::run
0x8aca308 BC_WindowBase::event_condition BC_WindowBase::get_event
0x8b62c40 BC_WindowBase::event_condition BC_WindowBase::get_event
0x8c96470 BC_WindowBase::event_condition BC_WindowBase::get_event
0x8b82258 BC_WindowBase::event_condition BC_WindowBase::get_event
0x89ab438 BC_WindowBase::event_condition BC_WindowBase::get_event
0x8c051a0 BC_WindowBase::event_condition BC_WindowBase::get_event
0x853c8c8 Device1394Input::buffer_lock Device1394Input::run 1 *
BC_Signals::dump_buffers: buffer table size=0
BC_Signals::delete_temps: deleting 0 temp files
SigHandler::signal_handler total files=0
Aborted


Does anybody know how to use the Live Video plugin properly?

___
Cinelerra mailing list
Cinelerra@skolelinux.no
https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra