Ubuntu Multimedia :: Video Capture Using Mencoder?
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:
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...
My 1st and only grandson turned 1 year old and we have taken about 1 million pics of him. I wanted to make a video from pictures taken in the past year. The first one is an ultra sound picture. The last one was taken this last Saturday. I have 153 12 MPixel pictures in a folder. They are named C001.jpg - C153.jpg (I can rename them if needed).
I had noticed mencoder or ffmpeg can create movies from jpegs. But, I didn't think about the frames per second. Would I need to make like 20 copies of each picture and then make it like 10 FPS? or something like that? Optimally, I would like to have a video where each picture lasts for 8-10 seconds or so and I would be able to add a song as audio. (I think I know how to use mencoder to add the audio).
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.
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.
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?
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.
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]..
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.
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.
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:
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.
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?
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?
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.
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?
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?
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
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.
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.
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?
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?
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*?)
I recorded a TV show on my pc using mythbuntu software (ubuntu version of mythtv). It cut out all the commercials and then transcoded it to a nice 40 min nuv file that I put onto a usb thumb drive. Now it's portable and vlc can play the file...on a pc. I want to burn it onto a DVD so I can put it in any NTSC DVD player. Also, the file was recorded at 480x480 and I want to change the size to widescreen (16:9). Additionally, the top of the screen recorded a thin horizontal line of junk that needs to be deleted.
Now, I've googled around and found this line in ffmpeg that should work:
The new 16:9 video size is great, the annoying horizontal line got cropped, and I got a nice mpg file...but the audio is now out of sync. I tried ffmpeg with fewer options and the audio still got out of sync.
So, I'm thinking I should try different software. Maybe mencoder. How could I put the above ffmpeg options into mencoder?
I'm trying to make a stop motion video using StopMotion but can't get the program to capture any video off of my Logitech webcam. Only a black screen appears when I click the "camera" button and alternates between a brief green screen.
I'm trying to convert a video in .ogm format to .avi format so I can stream it to my PS3 via uShare. I'm using Mencoder and the following command to do it (to transcode the audio from vorbis to mp3 and the video from mpeg4 to xvid):
Code: mencoder input.ogm -oac mp3lame -ovc xvid -xvidencopts pass=1 -o output.avi.The only problem is, the video contains 2 audio streams - one Japanese and one English. Needless to say, I need the English one. The above command only seems to transcode the Japanese audio though!Here's what ffmpeg has to say about the input file:
what I can do to specify the correct audio stream to encode? Also, how can I keep the bitrate the same as the output.avi seems to default to 96kbps?I'm not sure which audio stream is which but a little trial and error will sort that out in no time.