Ubuntu Multimedia :: Ffmpeg Video Capture - From A Webcam ?
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
ADVERTISEMENT
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
Jul 24, 2011
I am having problems with ffmpeg. My goal is to capture a video stream from my webcam and feed that into a webcam-capturing program. But to get that to work, I will need ffmpeg to work. I need the following command to work, but I get an error:
Code:
$ ffmpeg -b 100K -an -f video4linux2 -s 320x240 -r 10 -i $device -b 100K -f image2pipe -vcodec mjpeg - | perl -pi -e 's/\xFF\xD8/KIRSLESEP\xFF\xD8/ig'
ffmpeg: relocation error: /usr/lib/libavfilter.so.2: symbol avformat_find_stream_info, version LIBAVFORMAT_53 not defined in file libavformat.so.53 with link time reference
View 1 Replies
View Related
Apr 18, 2011
I'm looking for configuring a Ubuntu box, we need to capture alsa output into ffmpeg with jack or OSS but not pulseaudio, as that tends to glitch badly. We have things working, but we are sort of hacking around in the dark, we play music, but as we aren't linux audio experts ourselves.
View 1 Replies
View Related
Jul 25, 2011
As the title says, I'm looking for a command to resize on the fly as I capture. My desktop's 1680x1050, but I want to shrink down to say 1280x720.. or other.
So far my command is code...
View 1 Replies
View Related
Nov 10, 2010
i installed an nvidia graphics card recently and this
Code:
ffmpeg -f alsa -ac 2 -i pulse -f x11grab -r 30 -s 1024x768 -i :0.0 -acodec pcm_s16le -vcodec libx264 -vpre lossless_ultrafast -threads 0 ./Desktop/mydesktop.mkv
[code]....
View 4 Replies
View Related
Jul 11, 2010
I have a Ubuntu Server 10.04 box, which i have a Microsoft LifeCame VX-500 webcam connected via USB.
i think Ubuntu has detected my webcam
Code:
kimse@ajax:/dev$ sudo lsusb
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 002: ID 045e:074a Microsoft Corp.
[Code]....
View 3 Replies
View Related
Aug 31, 2010
I'm having trouble to find the right ffmpeg options to encode a video that can be read on a htc G1 cell phone. I have used several codecs and formats but none is working.
I have followed these instruction to install ffmpeg and x264 [URL]
Here is my ffmpeg config :
Code:
FFmpeg version SVN-r24953, Copyright (c) 2000-2010 the FFmpeg developers
built on Aug 27 2010 22:44:01 with gcc 4.4.1
configuration: --enable-gpl --enable-version3 --enable-nonfree --enable-postproc --enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb --enable-
[Code].....
View 3 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
Feb 19, 2010
I am trying to get a listing of video information using ffmpeg or mplayer. I have found a way BUT it is only returning 1 piece of info..
Here is what I'm doing in PHP:
print exec("/usr/local/bin/mplayer -identify file.flv -ao null -vo null -frames 0 2>/dev/null | grep ^ID_");
But this will not provide an entire listing, it will only print out 1 thing such as:
ID_AUDIO_CODEC=mp3
I can specify what exactly I want to know something like:
print exec("/usr/local/bin/mplayer -identify file.flv -ao null -vo null -frames 0 2>/dev/null | grep ^ID_VIDEO_WIDTH");
but I want to just have all the info available at once instead of having to loop through like 20 times..
View 3 Replies
View Related
Jun 5, 2010
is there a command to create a video from a mp3 and a png suitable to upload on ..... if anybody knows?
View 4 Replies
View Related
Jul 15, 2010
I want to convert all video file in folder a become audio file in folder b use ffmpeg, how to type it in terminal?
View 7 Replies
View Related
Aug 13, 2011
I tried to trim a video in FFmpeg using this command:
Code:
ffmpeg -ss 00:20:48.500 -t 00:01:00 -i INPUT.mp4 -acodec copy -vcodec copy OUTPUT.mp4
But FFmpeg is not accurate and it started the video from a nearby point instead (from 00:24:46~). I tried to add 2 seconds to my starting point and it took another frame (not what I wanted).
The video source is H264 video with AAC audio.
View 8 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
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
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
Mar 11, 2011
I have some videos in an mkv container that are 1920 pixels wide, but less than 1080 pixels high. This causes problems when playing the videos on a PS3 (after converting to an AVCHD system), because the PS3 won't centre the video, leaving a very large black bar at the bottom but none at the top. Is there a way to use mencoder or ffmpeg to losslessly add padding to the top and bottom to make the video 1920x1080?
If I use
Code:
ffmpeg -i video.mkv -acodec copy -vcodec copy -scodec copy -padtop 132 -padbottom 132 out.mkv
then ffmpeg won't do the padding, and the resulting file is basically exactly the same. If I use
Code:
ffmpeg -i video.mkv -acodec copy -vpre libx264-lossless_fast -scodec copy -padtop 132 -padbottom 132 out.mkv
I get
Code:
Output #0, matroska, to 'anr.mkv':
Metadata:
encoder : Lavf52.64.2
[code]......
View 1 Replies
View Related
Jan 10, 2011
How I would capture on-screen audio AND my webcam audio at the same time.(My webcam seems to rely on pulse).
View 1 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
Jan 3, 2010
I spent about a half hour wrestling with different website tutorials about how to convert a file with ffmpeg and figuring out how to get all the video quality options right. Then I discovered you can just use the -sameq option and it figures it all out for you if you don't want to change the vid quality but just want it in another format. Thought I'd leave this on the site in case anyone else finds himself in the same boat.
View 1 Replies
View Related
Mar 1, 2010
I'm trying to write a bash script for gpodder to automatically convert video podcasts to play on my media player. I'm using ffmpeg for the conversions (compiled myself with all codecs enabled). I'd like to avoid resampling the video or audio whenever it's unnecessary but ffmpeg seems to want to resample my video even if I only give it audio parameters to change.For example I have a test video with the following parameters:
Code:
Stream #0.0(eng): Video: h264, yuv420p, 640x480, 1394 kb/s, 29.97 fps, 29.97 tbr, 2997 tbn, 5994 tbc
Stream #0.1(eng): Audio: aac, 44100 Hz, stereo, s16, 159 kb/s
[code]...
View 2 Replies
View Related
Jun 5, 2010
How do you loop a video a number of times in ffmpeg or mencoder? I made a ogv out of a gif. It loops 1 time, so it's less than a second.
View 4 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