|
From: Bill F. <bil...@mi...> - 2002-06-19 18:49:42
|
On a related topic, the audio wasn't working for me with playdv:
% playdv --no-mmap --disable-video /dev/ieee1394/dv/host0/NTSC/in
format 4:3
Audio is 32.0 kHz, 12 bits quantization, 2 channels, emphasis off
soundcard doesn't support format
This is on a dual 500 MHz G4 (PPC) with Awacs/Screamer sound device.
I made the following one line patch to playdv/oss.c and now the sound
works fine.
--- .orig/oss.c Sun May 26 17:02:42 2002
+++ .mod/oss.c Wed Jun 19 14:39:05 2002
@@ -76,7 +76,7 @@
gboolean
dv_oss_init(dv_audio_t *audio, dv_oss_t *oss)
{
- gint format = AFMT_S16_LE, rate_request, channels_request;
+ gint format = AFMT_S16_NE, rate_request, channels_request;
gchar *device;
channels_request = audio->num_channels;
Also related to the audio, how difficult would it be to add an option
--skip-video=n that would only decode and display every nth video frame,
since at the moment if I try and do both audio and video, the audio is
very stuttery and not understandable because my processor can't keep up
with the demands of decoding the full frame rate video?
-Regards
-Bill
|