Hello, I've been using transcode with the Linux v4l2 driver to convert some old VHS tapes to digital MPEG format. The results have been excellent except for one rather significant glitch.
My strategy is to perform a two-pass encoding after first capturing the raw data, both audio and video, from the v4l2 using transcode. To do this raw capture, the following command line is used: transcode -i /dev/video0 -p /dev/dsp -M 4 -I 1 -x v4l2,v4l2 \ -f 0,4 -g 704x480 -u 1024,2 -E 32000,16,2 -y raw,raw \ -N 0x1 -Q 5,5 -o capture.avi I begin the capture by executing this command from a shell and to halt the capture I press the Ctrl-C key at the desired point. However, the result of this process is that the data in raw AVI file actually terminates 10-20 seconds before the point at which I press Ctrl-C. Somehow, it seems that the final frames of the raw capture are discarded by transcode. I don't know how to resolve this problem. Could the large buffer (-u 1024,2) be responsible for this? Maybe transcode will omit the terminal frames of the data in the buffer. Otherwise, the results of a two-pass encoding to MPEG4 on this truncated data are excellent (much better than mencoder with the same parameters).