tape transfer with mencoder (was: Re: Cinelerra--Video Editing??)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hal MacArgle wrote:
On 06-17, Ray Olszewski wrote:

Since you are using mplayer anyway ... have you tried using mencoder for the captures? Try a command something like this (assuming you're capturing from tapes via NTSC video and sound-card audio):

	mencoder tv:// -tv driver=v4l:device=/dev/video0:input=1: \
		immediatemode=1:forceaudio:adevice=/dev/dsp:norm=NTSC \
		:audiorate=32000:width=320:height=240:fps=29.97 \
		-oac copy    -oac mp3lame -lameopts preset=medium \
		-ovc lavc -lavcopts vcodec=mpeg4:vbitrate=9 \
		-ofps 29.97 -endpos $whichtime -o $filename

replacing $whichtime (number of seconds to record) and $filename with appropriate values. (Your bttv card may require input=3, but you'll know that from using it with xawtv and streamer.)


	This should be directed to Ray I guess but was wondering what
speed CPU he uses with the above to get 29.97fps without pauses and
if the HD is UDMA100?? (NTSC tapes, sound-card line in audio and bttv
BT878 capture card..


I do video capture on two different machines. I've only done tape transfer on the higher quality of the two, which is also my main fileserver. Its specs are:

	Athlon64 3000
	1 GB DDR 400 (3200) RAM
	main HD is a Seagate 300 GB drive, I think UDMA 100 (maybe 133),
		with (of course) DMA enabled
	kernel 2.4.27, compiled for Athlon, Debian-Sid install

And all the stuff you put in parentheses represents correct assumptions about my setup:

	Soundblaster sound card (es1371 driver)
	AverMedia TV card (bttv driver), with jumper cable to sound card
	several different VHS-NTSC VCRs

Offhand, I don't recall what CPU use I see when transferring tapes (I haven't done any recently). Recording off the air (analog cable, actually), it's under 10%.

For off-the-air capture, my other machine is a Celeron 1.7 GHz, with 256 MB RAM, some UDMA100 hard disk, and the same sound and TV cards. Taping off the air (digital cable this time), it only runs at about 20% CPU use ... but tapes are noisier than my cable feed, so they place more demand on the codec, so I don't know if this machine would do tapes well.

Note, though, that I only capture at 320x240. I've tried 640x480 but run into problems there, for reasons I don't really understand (not CPU limits, at least not on the Athlon ... maybe problems with deinterlacing?).

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

[Index of Archives]     [Audio]     [Hams]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Fedora Users]

  Powered by Linux