|
Prev: ??: Stunned by aptitude.
Next: Some interconnectivity
From: j t on 2 Jul 2008 12:30 On Wed, Jul 2, 2008 at 3:38 AM, <coolzone(a)it.dk> wrote: > On Wed, 2 Jul 2008 00:48:10 +0200 > coolzone(a)it.dk wrote: > What are you using to capture video? Disclaimer: I know nothing about Pinnacle video cards (I have an Adaptec avc2010 pci card which works perfectly under linux). Surely if you want to capture the digital video stream produced by the card, you just work out the name of the raw output device which the card produces (/dev/avcap0 in my case, but it might be /dev/video or something else for you) and then run: cat /dev/yourDeviceHere > yourNewVideoFileHere For me, the line I use to capture video (with my adaptec avc2010) is: cat /dev/avcap0 > capture.mpg (but that's because my card produces a compressed mpeg2 stream, so I use the file extension .mpg). This way, I get _exactly_ what the card is producing (I edit mpeg2 stream on linux using projectX, but that's another story). HTH, Jaime -- To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
From: Gabriel Parrondo on 2 Jul 2008 19:30 El mié, 02-07-2008 a las 04:38 +0200, coolzone(a)it.dk escribió: > On Wed, 2 Jul 2008 00:48:10 +0200 > coolzone(a)it.dk wrote: > > Okay, so I figured out how to capture using mencoder, but the quality > is really bad. > > What are you using to capture video? Well, the quality pretty much depends on the parameters you're using with mencoder. I would ask for the command you were trying, but I see you already solved your problem using transcode, which renders my mail useless ;). [...] > -- Gabriel Parrondo GNU/Linux User #404138 GnuPG Public Key ID: BED7BF43 JID: gabrielp(a)xmpp.us "The only difference between theory and practice is that, in theory, there's no difference between theory and practice." -- To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
From: coolzone on 2 Jul 2008 20:30 On Wed, 02 Jul 2008 20:19:12 -0300 Gabriel Parrondo <g.parrondo(a)gmail.com> wrote: > El mié, 02-07-2008 a las 04:38 +0200, coolzone(a)it.dk escribió: > > Well, the quality pretty much depends on the parameters you're using > with mencoder. I would ask for the command you were trying, but I see > you already solved your problem using transcode, which renders my mail > useless ;). Maybe not useless :-) For other users experimenting with the same in the future. With mencode I used the following command (using PAL in my country): mencoder tv:// -tv driver=v4l2:input=1:norm=pal:width=640:height=480:device=/dev/video0: freq=775.25:adevice=/dev/dsp1:forceaudio:audiorate=32000 buffersize=64 -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=400:keyint=30 -oac mp3lame -lameopts br=32:cbr:mode=3 -ffourcc divx -o "test.avi" I tried to change the options, but no matter what I did, the result was poor. With transcode I used this command: transcode -x v4l2=resync_margin=1:resync_interval=250,v4l2 -g 640x480 -i /dev/video0 -p /dev/dsp -e 32000,16,2 -N 0x1 -J resample,levels,smartyuv,pv -w 4000 -y ffmpeg -F mpeg4 -o test.avi Which results in some larger files, but with excelent quality. Any advice on how to improve would be greatly appreciated, especially about the file sizes that transcode produces. > [...] > > > > -- > Gabriel Parrondo > GNU/Linux User #404138 > GnuPG Public Key ID: BED7BF43 > JID: gabrielp(a)xmpp.us > > "The only difference between theory and practice is that, in theory, > there's no difference between theory and practice." > > > -- > To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org > with a subject of "unsubscribe". Trouble? Contact > listmaster(a)lists.debian.org > > -- To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
From: cothrige on 2 Jul 2008 22:10 coolzone(a)it.dk writes: > On Wed, 02 Jul 2008 20:19:12 -0300 > > With mencode I used the following command (using PAL in my country): > > mencoder tv:// -tv > driver=v4l2:input=1:norm=pal:width=640:height=480:device=/dev/video0: > freq=775.25:adevice=/dev/dsp1:forceaudio:audiorate=32000 buffersize=64 > -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=400:keyint=30 -oac mp3lame > -lameopts br=32:cbr:mode=3 -ffourcc divx -o "test.avi" > > I tried to change the options, but no matter what I did, the result was > poor. > > With transcode I used this command: > > transcode -x v4l2=resync_margin=1:resync_interval=250,v4l2 -g 640x480 > -i /dev/video0 -p /dev/dsp -e 32000,16,2 -N 0x1 -J > resample,levels,smartyuv,pv -w 4000 -y ffmpeg -F mpeg4 -o test.avi > > Which results in some larger files, but with excelent quality. > > Any advice on how to improve would be greatly appreciated, especially > about the file sizes that transcode produces. I have not used transcode in a long time, but it seems to me at first glance that the above command has a video bitrate of 4000 whereas the mencoder is 400. If the mencoder command is as you have typed it here such a low bitrate could be at least part of the trouble. Patrick -- To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
|
Pages: 1 Prev: ??: Stunned by aptitude. Next: Some interconnectivity |