• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Capturing Video in Linux

Hyperfocal

Senior member
Does anyone have any suggestions or good FAQ sites for capturing video under Linux?

I'm running a temporary setup with:
Red Hat 9
Celeron 900
320 MB ram
All In Wonder 128pro
old Maxtor 9GB HD

I've got Xawtv running, but can't capture images or avi files.

The TV window has a ragged pattern on the right and bottom edges.

This is really experimental, I'm a complete Linux noob and would appreciate any tips.
 
I've got Xawtv running, but can't capture images or avi files.
You actually can, xawtv comes with a binary called streamer, which can be used to capture whatever is available to the tuner. Example usage can be grabbed from streamer --help, although examples for MJPEG are not provided, since MJPEGTOOLS must be installed. It can be found here.
Here's an example for ya:
streamer -t mm:ss -s 320x240 -r 25 -o some.avi -f mjpeg -j 75 -F stereo
This will:
- record hh:mm worth of input (ie: 00:20 for 20 seconds)
- record at a size of 320x240
- record at a frame rate of 25 fps (default NTSC, the North American standard, is 29.97)
- use the mjpeg codec
- use a jpeg quality of 75 of a possible 100
- record sound to stereo 2 (channels).

Once you have capture the stuff to an avi file, you can use glav, which is part of mjpegtools, to edit the video. I haven't had a lot of success with video over 40 minutes in length using glav, but it hasn't been that important to me, and may have been fixed already. It has a really simple interface on how you can use it to edit out commercials and such. Rudimentary cuts. Note that glav saves a configuration to a file, it does not in any way modify the video file. Once you have used glav to edit it, you can then use lavtrans to apply your cuts. You can find basically all the documentation you need for this here.

EDIT: Note: Cinelerra is designed for broadcast level stuff, but I have a very hard time getting it to run stably. I'm not sure if this is simply a lack of effort on my part, but basically, I am fine with fine cuts using glav. 🙂
 
Thanks for the links and suggestions. They've gotten me looking in the right direction.

I'll try to figure out streamer this evening.
 
Back
Top