transcode-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Original]

Re: [transcode-users] Recording from v4l2?


To: transcode-users@xxxxxxxxx
Subject: Re: [transcode-users] Recording from v4l2?
From: Jacob Meuser <jakemsr@xxxxxxxxxxx>
Date: Mon, 20 Dec 2004 11:09:09 -0800
Delivered-to: itdp@localhost
In-reply-to: <41C1B3D2.8060306@voicenet.com>
References: <1103135886.8990.3.camel@localhost.localdomain><41C08BB8.7040807@voicenet.com><1103138498.8990.10.camel@localhost.localdomain><41C0AE40.7030601@voicenet.com><1103190639.3385.0.camel@localhost.localdomain><41C175DE.6030103@voicenet.com><1103199173.3385.16.camel@localhost.localdomain><41C18103.2000400@voicenet.com><1103201502.3385.18.camel@localhost.localdomain><41C1B3D2.8060306@voicenet.com>
User-agent: Mutt/1.4.2i

On Thu, Dec 16, 2004 at 11:12:02AM -0500, Adam K Kirchhoff wrote:
> 
> [ adamk@xxxxx - ~ ]: transcode -H 0 -x v4l2 -i /dev/null -p /dev/dsp0 -o 
> output.avi -y xvid4 -c 150
                      ^^^^^^
that's not valid.  don't know why transcode doesn't complain, though.

let's go about this another way.

please apply the patch below and show the output.

-- 
<jakemsr@xxxxxxxxxxx>

Index: import_v4l2.c
===================================================================
RCS file: /cvstc/transcode/import/v4l/import_v4l2.c,v
retrieving revision 1.13
diff -u -r1.13 import_v4l2.c
--- import_v4l2.c       18 Oct 2004 00:59:21 -0000      1.13
+++ import_v4l2.c       20 Dec 2004 18:54:39 -0000
@@ -1162,6 +1162,8 @@
        if(ioctl(v4l2_audio_fd, SNDCTL_DSP_SETFMT, &tmp) < 0)
        {
                perror(module "SNDCTL_DSP_SETFMT");
+               fprintf(stderr, "device = %s, v4l2_audio_fd = %d, tmp = %d\n",
+                               device, v4l2_audio_fd, tmp);
                return(1);
        }
 


[Prev in Thread] Current Thread [Next in Thread]