Message ID | 20070511170342.GA32257@seneca.muc.de |
---|---|
State | New |
Headers |
Received: from colin.muc.de ([193.149.48.1] helo=mail.muc.de ident=qmailr) by www.linuxtv.org with esmtp (Exim 4.50) id 1HmYxs-0003E1-Lr for vdr@linuxtv.org; Fri, 11 May 2007 19:31:36 +0200 Received: (qmail 7518 invoked by uid 66); 11 May 2007 17:31:35 -0000 Received: from seneca by colin2.muc.de with UUCP; Fri May 11 17:31:35 2007 -0000 Received: by seneca.muc.de (Postfix, from userid 2425) id 0BC8A100EAD; Fri, 11 May 2007 17:03:43 +0000 (UTC) Date: Fri, 11 May 2007 19:03:42 +0200 From: Harald Milz <hm@seneca.muc.de> To: VDR Mailing List <vdr@linuxtv.org> Message-ID: <20070511170342.GA32257@seneca.muc.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-PGP-Key: http://www.muc.de/~hm/hm.asc X-PGP-KeyID: CFEADB67 X-Nospam: Sending UCE and Spam is _strongly_ discouraged. User-Agent: Mutt/1.5.9i Subject: [vdr] Q: dvd-plugin and softdevice X-BeenThere: vdr@linuxtv.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: VDR Mailing List <vdr@linuxtv.org> List-Id: VDR Mailing List <vdr.linuxtv.org> List-Unsubscribe: <http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr>, <mailto:vdr-request@linuxtv.org?subject=unsubscribe> List-Archive: <http://www.linuxtv.org/pipermail/vdr> List-Post: <mailto:vdr@linuxtv.org> List-Help: <mailto:vdr-request@linuxtv.org?subject=help> List-Subscribe: <http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr>, <mailto:vdr-request@linuxtv.org?subject=subscribe> X-List-Received-Date: Fri, 11 May 2007 17:31:36 -0000 Status: O X-Status: X-Keywords: X-UID: 12867 |
Commit Message
Harald Milz
May 11, 2007, 5:03 p.m. UTC
Hi, I would like to use the dvd plugin (CVS as of today) together with softdevice-0.4.0. Plays DVDs fine but no sound. In the plugin's source code there's in player-dvd.c: BitStreamOutActive = false; HasBitStreamOut = (cPluginManager::GetPlugin("bitstreamout") != NULL); SoftDeviceOutActive = false; HasSoftDeviceOut = (cPluginManager::GetPlugin("xine") != NULL); Shouldn't the plugin also check for softdevice? player-dvd.h says static bool SoftDeviceOutActive; // currently used to switch for xine static bool HasSoftDeviceOut; // currently used to switch for xine Hmmm - However - this patch leads to May 11 18:52:00 linvdr vdr: [3894] dvd-plugin: SoftDeviceOutActive=1, HasSoftDeviceOut=1 but still no sound, but a whole lot of May 11 18:52:20 linvdr vdr: [3894] ERROR: dvd-plugin iframeassembler full 524772 May 11 18:52:20 linvdr vdr: [3982] [softdevice-audio] samplerate: 22050Hz, channels: #2 May 11 18:52:20 linvdr vdr: [3982] [softdevice-audio] Device 'spdif-48', Samplerate 22050 Channels 2 May 11 18:52:20 linvdr vdr: [3982] [softdevice-audio] Period size 1152 Buffer size 6915 May 11 18:52:20 linvdr vdr: [3982] [softdevice-audio] Hardware initialized May 11 18:52:20 linvdr vdr: [3982] [softdevice-audio] samplerate: 48000Hz, channels: #2 May 11 18:52:20 linvdr vdr: [3982] [softdevice-audio] Device 'spdif-48', Samplerate 48000 Channels 2 May 11 18:52:20 linvdr vdr: [3982] [softdevice-audio] Period size 1152 Buffer size 9216 May 11 18:52:20 linvdr vdr: [3982] [softdevice-audio] Hardware initialized spdif-48 is a plug that resamples everything to 48 kHz: pcm.spdif-48 { type plug slave.pcm "spdif" slave.rate 48000 } Seems softdevice-audio doesn't get any useful data from dvd: [mp2 @ 0xb79e7148]header missing skiping one byte and libdvdnav: Using dvdnav version 0.1.10 from http://dvd.sf.net libdvdnav: DVD Title: VDRCONVERT_11-05-2007 libdvdnav: DVD Serial Number: 464496BE00000000 libdvdnav: DVD Title (Alternative): libdvdnav: Unable to find map file '//.dvdnav/VDRCONVERT_11-05-2007.map' libdvdnav: DVD disk reports itself with Region mask 0x00000000. Regions: 1 2 3 4 5 6 7 8 libdvdnav: Language 'de' not found, using 'en' instead libdvdnav: Menu Languages available: en libdvdnav: Language 'de' not found, using 'en' instead libdvdnav: Menu Languages available: en libdvdnav: Language 'de' not found, using 'en' instead libdvdnav: Menu Languages available: en libdvdnav: Language 'de' not found, using 'en' instead libdvdnav: Menu Languages available: en libdvdnav: Language 'de' not found, using 'en' instead libdvdnav: Menu Languages available: en libdvdnav: Language 'de' not found, using 'en' instead libdvdnav: Menu Languages available: en [mpegdecoder] Error! Codec 86020 not supported by libavcodec [mpegdecoder] Error! Codec 86020 not supported by libavcodec The DVD was created using vdrconvert-CVS and plays fine on my standalone DVD player, so no region code and the generic name. Is that vdrconvert's error? ???
Comments
On Friday 11 May 2007 19:03, Harald Milz wrote: > Hi, > > I would like to use the dvd plugin (CVS as of today) together with > softdevice-0.4.0. Plays DVDs fine but no sound. In the plugin's source code > there's in player-dvd.c: > > BitStreamOutActive = false; > HasBitStreamOut = (cPluginManager::GetPlugin("bitstreamout") != NULL); > > SoftDeviceOutActive = false; > HasSoftDeviceOut = (cPluginManager::GetPlugin("xine") != NULL); > > Shouldn't the plugin also check for softdevice? player-dvd.h says > > static bool SoftDeviceOutActive; // currently used to switch for xine > static bool HasSoftDeviceOut; // currently used to switch for xine Usually I do not modify dvd plugin to get sound :-) (AC3 optical link to external decoder) . So it's only up to the "normal" audio selector of vdr to choose the audio track. > > Hmmm - [snip] > libdvdnav: Menu Languages available: en > libdvdnav: Language 'de' not found, using 'en' instead > libdvdnav: Menu Languages available: en > [mpegdecoder] Error! Codec 86020 not supported by libavcodec > [mpegdecoder] Error! Codec 86020 not supported by libavcodec 86020 = 0x15004 = CODEC_ID_AC3 Can you try to select a non AC3 audio track or rebuild ffmpeg with AC3 decoding support, as that's to my opinion missing.
Hi, does nobody have an idea concerning this one? The question appears to be "how do I use softdevice-audio with dvd-plugin". Harald Milz <hm@seneca.muc.de> wrote: > Hi, > I would like to use the dvd plugin (CVS as of today) together with > softdevice-0.4.0. Plays DVDs fine but no sound. In the plugin's source code > there's in player-dvd.c: > BitStreamOutActive = false; > HasBitStreamOut = (cPluginManager::GetPlugin("bitstreamout") != NULL); > SoftDeviceOutActive = false; > HasSoftDeviceOut = (cPluginManager::GetPlugin("xine") != NULL); > Shouldn't the plugin also check for softdevice? player-dvd.h says > static bool SoftDeviceOutActive; // currently used to switch for xine > static bool HasSoftDeviceOut; // currently used to switch for xine > Hmmm - > However - this patch > --- player-dvd.c.ORIG 2006-04-09 20:35:53.000000000 +0200 > +++ player-dvd.c 2007-05-11 18:50:22.871312099 +0200 > @@ -577,7 +577,8 @@ > HasBitStreamOut = (cPluginManager::GetPlugin("bitstreamout") != NULL); > SoftDeviceOutActive = false; > - HasSoftDeviceOut = (cPluginManager::GetPlugin("xine") != NULL); > + HasSoftDeviceOut = (cPluginManager::GetPlugin("xine") != NULL) || > + (cPluginManager::GetPlugin("softdevice") != NULL); > cSetupLine *slBitStreamOutActive = NULL; > if(HasBitStreamOut) { > leads to > May 11 18:52:00 linvdr vdr: [3894] dvd-plugin: SoftDeviceOutActive=1, HasSoftDeviceOut=1 > but still no sound, but a whole lot of > May 11 18:52:20 linvdr vdr: [3894] ERROR: dvd-plugin iframeassembler full 524772 > May 11 18:52:20 linvdr vdr: [3982] [softdevice-audio] samplerate: 22050Hz, channels: #2 > May 11 18:52:20 linvdr vdr: [3982] [softdevice-audio] Device 'spdif-48', Samplerate 22050 Channels 2 > May 11 18:52:20 linvdr vdr: [3982] [softdevice-audio] Period size 1152 Buffer size 6915 > May 11 18:52:20 linvdr vdr: [3982] [softdevice-audio] Hardware initialized > May 11 18:52:20 linvdr vdr: [3982] [softdevice-audio] samplerate: 48000Hz, channels: #2 > May 11 18:52:20 linvdr vdr: [3982] [softdevice-audio] Device 'spdif-48', Samplerate 48000 Channels 2 > May 11 18:52:20 linvdr vdr: [3982] [softdevice-audio] Period size 1152 Buffer size 9216 > May 11 18:52:20 linvdr vdr: [3982] [softdevice-audio] Hardware initialized > spdif-48 is a plug that resamples everything to 48 kHz: > pcm.spdif-48 { > type plug > slave.pcm "spdif" > slave.rate 48000 > } > Seems softdevice-audio doesn't get any useful data from dvd: > [mp2 @ 0xb79e7148]header missing skiping one byte > and > libdvdnav: Using dvdnav version 0.1.10 from http://dvd.sf.net > libdvdnav: DVD Title: VDRCONVERT_11-05-2007 > libdvdnav: DVD Serial Number: 464496BE00000000 > libdvdnav: DVD Title (Alternative): > libdvdnav: Unable to find map file '//.dvdnav/VDRCONVERT_11-05-2007.map' > libdvdnav: DVD disk reports itself with Region mask 0x00000000. Regions: 1 > 2 3 4 5 6 7 8 > libdvdnav: Language 'de' not found, using 'en' instead > libdvdnav: Menu Languages available: en > libdvdnav: Language 'de' not found, using 'en' instead > libdvdnav: Menu Languages available: en > libdvdnav: Language 'de' not found, using 'en' instead > libdvdnav: Menu Languages available: en > libdvdnav: Language 'de' not found, using 'en' instead > libdvdnav: Menu Languages available: en > libdvdnav: Language 'de' not found, using 'en' instead > libdvdnav: Menu Languages available: en > libdvdnav: Language 'de' not found, using 'en' instead > libdvdnav: Menu Languages available: en > [mpegdecoder] Error! Codec 86020 not supported by libavcodec > [mpegdecoder] Error! Codec 86020 not supported by libavcodec > The DVD was created using vdrconvert-CVS and plays fine on my standalone > DVD player, so no region code and the generic name. Is that vdrconvert's > error? > ??? > -- > Blood is thicker than water, and much tastier. > _______________________________________________ > vdr mailing list > vdr@linuxtv.org > http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
On 14 May 2007, at 11:34, Harald Milz wrote: > does nobody have an idea concerning this one? The question appears > to be > "how do I use softdevice-audio with dvd-plugin". > > > > Harald Milz <hm@seneca.muc.de> wrote: >> Hi, > >> Seems softdevice-audio doesn't get any useful data from dvd: > >> [mpegdecoder] Error! Codec 86020 not supported by libavcodec >> [mpegdecoder] Error! Codec 86020 not supported by libavcodec Coded 86020 is Dolby AC3. Do you have A52 support compiled into your ffmpeg?
--- player-dvd.c.ORIG 2006-04-09 20:35:53.000000000 +0200 +++ player-dvd.c 2007-05-11 18:50:22.871312099 +0200 @@ -577,7 +577,8 @@ HasBitStreamOut = (cPluginManager::GetPlugin("bitstreamout") != NULL); SoftDeviceOutActive = false; - HasSoftDeviceOut = (cPluginManager::GetPlugin("xine") != NULL); + HasSoftDeviceOut = (cPluginManager::GetPlugin("xine") != NULL) || + (cPluginManager::GetPlugin("softdevice") != NULL); cSetupLine *slBitStreamOutActive = NULL; if(HasBitStreamOut) {