Ubuntu Multimedia :: Capture The Video Using The Command Line?
Jan 23, 2011
I wanted to share this nifty technique I came across for capturing video using the command line. The problem: I have a bunch of old VHS tapes (remember those...?) and need to get them digitized. I have a VCR, and a Dazzle Hollywood DV Bridge which captures video to DV over Firewire (IEEE1394). I first tried using Final Cut Pro, but it wouldn't capture, perhaps because it expects a controllable DV camera, and the Dazzle isn't a DVC device. I then tried my other favorite video editing app, Kdenlive, but it seemed to have the same problem.
I took a quick stab at the other common editors in the repositories (Kino, Openshot, etc.), but no luck with any of them. Then I remembered the dvgrab command, and gave that a shot and it worked, giving me a nice .dv file. However, DV makes pretty big files, which I wanted to compress down to something more manageable. Since I was going to be digitizing hours and hours of tapes, it would be great if I could compress while capturing. A little more googling and I had the answer - you can pipe dvgrab directly into ffmpeg! Here's the command:
Code:
dvgrab -format dv1 - | ffmpeg -f dv -i - -b 2000k -ab 512k -y output.mov
the first part starts the capture, in DV1 format, and outputs it to a pipe file. usually you give dvgrab a filename, like
Code:
dvgrab -format dv1 capture.dv
the second part does the encoding:
-f dv: use DV format
-i -: input from the pipe
-b 2000k: video encoding bitrate of 2000k/sec, high quality
-ab 512k: audio encoding bitrate
-y: overwrite file if it exists
I didn't set the codec explicitly, for Quicktime it defaults to MPEG4. This worked great, capturing a 2-hour tape into a high-quality quicktime around 2GB. But I also wanted to be able to view the capture while it was going. Since I left the field monitors and audio splitters at the office, I had to figure out how to do this in software. Turns out that the "tee" command does exactly what I needed - the shell never ceases to amaze! Here's the full command:
Code:
dvgrab -format dv1 - | tee >(ffmpeg -f dv -i - -b 2000k -ab 512k output.mov) >(playdv --disable-audio --no-mmap)
tee uses the
Code:
>(command)
syntax to pipe simultaneously to multiple processes. The only thing that didn't work was audio playback, which was choppy and introduced errors in the capture file. I think a little tweaking with the capture rates could fix that.
View 2 Replies
ADVERTISEMENT
Mar 11, 2010
I want to take consecutive screenshots of a video using command line operations but I can't seem to find accurate documentation on different websites.Does anyone know how to do this using vlc, totem or another program?I've used ffmpeg as well, but then reencodes and splits the video file. I just want to take consecutive screenshots.
View 7 Replies
View Related
Feb 26, 2010
video playback is like I have applied a blueish sepia filter over it. And this is just the playback from totem player or mplayer, and not the playback from ..... (and generally online streaming) - this works just fine. this messy video playback also appears when I use cheese to capture video with my webcam. Note that the preview picture of the video file on nautilus has the natural colours it should have.
at first when I installed the os this particular problem didn't exist, but it came up the time I decided to follow the "comprehensive multimedia guide". So now I have all the pros of following the guide, but this is a major con...
View 3 Replies
View Related
Nov 17, 2010
Is there a command line utility to tell me about what's inside a video file? Say I have a .mpg file. I want to know about the video stream and the various audio streams, the codec used for the video stream, the bitrate of the video stream, and so on.
View 5 Replies
View Related
Mar 27, 2010
I have created several DVDs from my camcorder (sony handycam DCR-HC21 NTSC); however, the recordings are too long. I would like to capture smaller segments of these and load them online to share with family and friends.I would like to know what is the most recommended software for this task. I am running Ubuntu 9.10.I would have done this by using a firewire cable directly attached from the camcorder to my laptop, but my laptop has only USB ports. So I ended up creating DVDs using an stand alone Video Recordable DVD Drive.
View 1 Replies
View Related
May 4, 2010
How do I capture video from my JVC GR-DF470 MiniDV camera into 10.04 Lucid.PiViTi looks good for an editing app, and I've installed OpenShot as well, but neither have a way of capturing the video from a camera. I used Kino previously in 8.04 Hardy, but it was buggy at best in 9.10 Karmic; I've just installed it in 10.04, but capture keeps stopping after 2 or 3 seconds. I also tried kdenlive, but the audio capture has a lot of 'noise' that is louder than the voices on the tape, and once it finishes capturing video, it doesn't display a 'Save' dialogue as it is supposed to - so that wasn't very successful either.So what can I use to capture video from a MiniDV Camera via Firewire.
View 9 Replies
View Related
Sep 29, 2010
I am working in a script I have, to capture video with sound from my capture board, wich is a clone of the pico2000. This script was working in Ubuntu 9.10 untill I reformated my machine and instaled the Ubuntu 10.10, 64 bits. The machine is an AMD Athlon II, 2.6GHz with 3 GBytes of Ram. The former script was:
Code:
#!/bin/bash
clear
SERVICE="mencoder"
MOVIE=$(date +"%H%M")
[Code].....
View 1 Replies
View Related
Dec 3, 2010
This is on Karmic Koala 9.10. The video displays fine via guvcview using a Logitech webcam. The trouble is the capturing of the video. With .AVI, I've tried different video formats (MPEG-4, flash, etc.) and none of them will play. The generated .avi file seems to grow with data, but the result is just unplayable -- it just hangs, thinking it's playing. Is there a troubleshooting page or something to figure out what the problem I'm having with guvcviewer is?
View 1 Replies
View Related
Sep 1, 2011
I'm using natty. is there any way to get a Pinnacle DVC 101 to capture video from composite source on Ubuntu Natty? it seems that when new releases break functionality they often are never fixed.
I'm also unaware of a simple GUI application to use in order to capture the video. It would need start and stop features.
View 3 Replies
View Related
Mar 12, 2010
I have a problem with trying to capture sound through the input jacks on my computer. The sound plays through from the inputs to the output, and it's volume is controlled by alsa mixer, but no programs can pick up the stream, including the PulseAudio and Gnome Volume controls.I have tried many of the suggestions to be found in these forums for sound issues, including removing Pulse, configuring the model in alsa-base.conf, and messing with every setting I can find.Here are the outputs from the commands from the troubleshooting guides:
Code:
lspci -v | less
00:14.2 Audio device: ATI Technologies Inc IXP SB4x0 High Definition Audio
[code]....
View 9 Replies
View Related
Jan 20, 2010
As a TOTAL noob to Linux setting up my ATI All-In-Wonder 2006 AGP card with GATOS to allow me to transfer old video tapes to my computer (for further editing to DVD). I have Ubuntu 9.10 loaded and the relevant link for the GATOS stuff is:[URL]..
View 2 Replies
View Related
Jun 14, 2010
I use Ubuntu 10.04 in my HP 6530s notebook(2.0 C2duo1GB RAM, 512MB video). Recently i downloaded GyachE v1.1.48 for yahoo video chat. after installing GyachE when i started webcam its showing errors: Fatal: Video format not supported by Grab device.
View 3 Replies
View Related
Aug 30, 2010
Anybody had any success in getting ffmpeg to work as advertised with video capture from a webcam? I really want to convert the webcam output to VP8 or H264, but apparently ffmpeg can't even capture the webcam with a video4linux device.
Code:
View 9 Replies
View Related
Feb 13, 2011
Up untill this week I used to grab a streamed video from my root/tmp file. Video is nolonger streamed to this file. What has happened? and how can I grab streamed video?
View 9 Replies
View Related
May 18, 2011
I have been searching for an answer through most of the recent posts about sound issues but have not been able to find a solution. I am currently unable to capture sound from the "Line" input on my sound card. I do have sound and is working correctly for all applications and I do have P/A disabled (I'm not a huge fan of the sound quality with P/A enabled). I have checked and re-checked many settings but to no avail have not been able to capture sound. I'm sure I may be missing something or have not done something in order for this to work. I was using openSUSE 11.4 on a different pc and had no problems, unfortunately this is a different pc with a different sound card which is on-board so I am not entirely familiar with it yet.
It is a C-media CMI9880 which shows up as a Intel HDA (ICH6) and appears to be configured correctly.
View 9 Replies
View Related
Jul 10, 2010
I'm trying to capture video from my Sony DCR-HC21 video camera. I've managed to install Kino fine but was getting the error
aw 1394 kernel module not loaded or failure to read/write /dev/raw/1394
I could get it working by opening as root but then the files belong to root which I didn't want. So I did the following (as suggested in another thread:
chmod 777 /dev/raw1394
And now I get the error "No AV/C compliant cam connected or not switched on"
I've tried so many things ie [URL]
and as I'm a novice I'm reluctant to keep trying random things when I don't really know what its doing.
OK, it's back to the first error, is there anyway to run Kino and capture video without changing to root?
View 9 Replies
View Related
Oct 23, 2010
On my Windoze machine, I use Replay Media Catcher 4 which runs silently in the background and captures any videos (FLV, AVI, MPG, WMV, etc) on any websites that I happen to go to, and saves them to a folder on my hard drive. Right now, if I want to save a video that I'm wathing from Ubuntu, I have to go to /temp, guess which file it is, and copy it after it downloads fully but before it finishes playing, otherwise Firefox deletes it from /temp right away. This is a pain.
Yes, there are screen motion capture utilities in the Ubuntu Software Center, but they're just screen scrapers that result in low quality copies without any audio. I want something that will actually capture the video stream and save it as a file. Even if it doesn't save all videos automatically like RMC4, and I have to right click on the video to Save As, that would be better than copying it from /temp at the precise exact moment.
View 7 Replies
View Related
Dec 18, 2010
I've made a lot of progress getting my easycap 2.0 usb capture device to work with ubuntu 10.10. I've got the picture up any everything works great. But about a minute into the stream it just freezes, I need to go into "playback" and either pause then play, or click "next", it then refreshes and works again for another minute or so. I'd believe it if someone says faulty hardware because the easycap is cheap, but I don't think that's the case. Additionally, is there any way to set VLC so that when I open it, it automatically opens with my video capture device (/dev/video0) so that I don't have to go into the options and change it every time?
View 1 Replies
View Related
Nov 24, 2009
Does anybody know what has happened to Kino - the video capture utility? Used to be packaged by packman for Opensuse but doesn't seem to be available for 11.2.
Is there an alternative I can use for video capture - or has packman just not gotten around to adding this yet?
View 1 Replies
View Related
Sep 25, 2010
In Ubuntu 9.10, I was successfully able to use my Pinnacle Dazzle DVC 100 (a cheap USB analog video capture device). I use it for backing up old video that is stored on tapes, and it isn't working with my current install of Ubuntu 10.04. When I plug the device in, it should be detected and the em28xx module should be loaded. This fails and /var/log/messages has the following:
Code:
Sep 25 16:13:18 kernel: [1196215.111898] usb 2-2: new high speed USB device using ehci_hcd and address 20
Sep 25 16:13:18 kernel: [1196215.266097] usb 2-2: configuration #1 chosen from 1 choice
[code]....
View 3 Replies
View Related
Oct 5, 2010
I'm about to go buy a video capture card this week and was wondering if there's one that's easy to setup in Ubuntu or (ideally) has some official open source drivers available. I'm planning on recording videogame footage and the like from my consoles to edit on kdenlive and upload it to ..... (why? Cuz it can be done. =P). So I'm wondering if anyone has any recommendation before I order one. I'm only interested in SD resolution for the time being.
View 1 Replies
View Related
Nov 11, 2010
Does anyone know an Ubuntu 10.10 compatible video capture card that has composite connections for video and audio (yellow, red and white)? It must be external and do its own processing so it doesn't use the computer's own CPU. I intend to capture a live stream and have the Ubuntu PC serve it to other computers. I may use VLC or MythTV. I have looked on various related sites but finding a compatible USB one which does its own decoding is hard to find.
View 2 Replies
View Related
Aug 6, 2010
I am trying to record a test video with my built-in webcam, using Cheese. However, after I click "Start recording," the Cheese screen turns black, and Cheese seems to hang. I can click "Stop recording" sometimes -- then I get a split-second video clip. But mostly it just hangs until I force quit.
I'm on an Asus 900HA. I could record video clips on using eeebuntu and Cheese. Is there a setting I need to check?
View 8 Replies
View Related
Dec 30, 2010
I have acquired a Canopus ACEDVio video capture card and can not get it to work.
View 1 Replies
View Related
Mar 11, 2010
I have an Acer Aspire One Netbook, and I have the Ubuntu 9.10 Netbook Remix installed. I have tried using Cheese to capture video and it captures maybe 2 seconds of movement, then goes black and/or the image freezes. I can take photos just fine, but video capture seems to be impossible. Any help?
View 2 Replies
View Related
Aug 26, 2011
Is there any way to get libmp3lame to work with ffmpeg without me having to completely recompile ffmpeg? I have managed to get video capture working (huffyuv didn't work for some reason) and this is my command:ffmpeg -f alsa -ac 2 -i hw:0,0 -f x11grab -r 25 -s hd1080 -i :0.0 -vcodec libx264 -vpre lossless_ultrafast -threads 0 -vf 'scale=-1:720' -sameq out.avi
There are so many answers and questions all over the place I can't even tell which package is actually causing the problem... (libmp3lame0? ffmpeg? libavcodec*?)
View 9 Replies
View Related
Aug 13, 2010
What is the best analogue capture program please to capture Austar.
View 1 Replies
View Related
Oct 16, 2009
Does anybody know how to get attributes for a video file from the command line? For instance I'd like to get the video file running time. I've looked all over and I can't find out how to do this; the "file" command shows some data but not running time. I'm sure there has to be a way.
View 2 Replies
View Related
Feb 28, 2011
I'm trying to install Ubuntu Desktop 10.10 on an Intel Atom mainboard (Intel D945GCLF2) with CRT that has been running Ubuntu 9.x previously.
Both, Desktop live CD / installer and alternate install CD cause the screen to go black (and the status LED blinks).
I was able to get a bit further into the boot process with nomodeset as parameter with the Live CD, unfortunately I can't pass GRUB any parameters now that I have used the alternate Install CD by pressing 'e', it just boots.
So now I have Ubuntu installed, I get a terminal with CTRL-ALT-F1 but I don't know what I need to do now or how to adjust resolution or video settings from command line.
View 1 Replies
View Related
Apr 3, 2010
I've installed Ubuntu 9.10 and the prime reason for giving it a go is due to the media center capability with apps such as Moovida and LinuxMce.
Unfortunately during video playback [either divx or flash] there appears to be a random line or lines which flickers on the screen when the video is in fullscreen mode.
I'm using an ATI x1900 video card and have tried using both Tote and VLC, and I have also tried installing the fglrx.
But, both with and without flgrx installed, under the section 'Device' in xorg.conf it says that the driver is 'vesa'.
I don't know how to disable the default ATI driver to enable fglrx, or whether I am going off on completely the wrong tanget and should be looking at something else.
Or is there better support for my type of card in Ubuntu 10 as I don't want to go back to Ubuntu 8 which is the last supported version of the os that ATI developed a driver for my card.
View 1 Replies
View Related