Page 1 of 2

VLC - No audio through external audio card

Posted: 27 Feb 2010 00:56
by philosopher
Hi ya there people
I've been using vlc for years (windows and mac).
I have this strange problem now. I've bought an external TASCAM Usb audio card for my iMac.
The card works perfectly for all application, but VLC.
I have it set up as default audio device, but no sound comes through it by VLC.
I've selected it through the Audio>Audio Devices menu too, no luck.
If I select Built in Output (which is the onboard iMac soundcard) sound is OK.
Any ideas? Anyone had a similar problem?
Thanks

Re: VLC - No audio through external audio card

Posted: 27 Feb 2010 03:45
by ajmas
What is the setting for audio output in the system preferences?

Re: VLC - No audio through external audio card

Posted: 28 Feb 2010 00:36
by philosopher
What is the setting for audio output in the system preferences?
The Tascam.
Thanks

Re: VLC - No audio through external audio card

Posted: 01 Mar 2010 17:32
by ajmas
Other questions:
- Do you see anything in the VLC logs that look relevant?
- Does the audio play through the Mac speakers?
- Have you tested this with other media?
- Does the same video have audio though the device when using Quicktime?

Re: VLC - No audio through external audio card

Posted: 03 Mar 2010 09:12
by philosopher
- Do you see anything in the VLC logs that look relevant?
Haven't checked that. Will do
- Does the audio play through the Mac speakers?
If I select the internal speakers output, yes it does
- Have you tested this with other media?
All kinds of video and mp3s, same behavior
- Does the same video have audio though the device when using Quicktime?
Yes

Thanks for your time guys

Re: VLC - No audio through external audio card

Posted: 19 Mar 2010 13:02
by MonolithTMA
@Philosopher Which Tascam Unit do you have? I have the original US-144, not the US-144MKII. I think I've only had this problem since upgrading to Snow Leopard. I now have two programs that will output audio to the Mac's regular output, but not through the Tascam US-144. Fortunately Logic Express and Garageband work just fine with it or I'd be SOL.

Re: VLC - No audio through external audio card

Posted: 24 Mar 2010 03:38
by neurator
I have the same exact problem, with a Tascam US0-122L. From within the Audio Device menu if I switch to the internal speakers, it works fine. Switch to the Tascam, no dice. The tascam works with everything else.

Bug report time?

Re: VLC - No audio through external audio card

Posted: 24 Mar 2010 19:15
by ajmas
Do any of you have any VLC logs that might indicate an error?

Without access to these particular devices it is hard to try to investigate, without supplementary information. Some other questions:
- Does is it work with MPlayer?
- Does it work with VLC on MS-Windows or Linux?

Either way could you open up a ticket in the VLC bug database and post the ticket number here, for tracking purposes.

Re: VLC - No audio through external audio card

Posted: 29 Mar 2010 00:12
by philosopher
Do any of you have any VLC logs that might indicate an error?
Any ideas where I can find those logs (Snow Leopard)?

Re: VLC - No audio through external audio card

Posted: 29 Mar 2010 00:52
by MonolithTMA
Do any of you have any VLC logs that might indicate an error?
Any ideas where I can find those logs (Snow Leopard)?
Under the Window menus, then Messages.

I see tons of this:
main debug: audio output is too slow (42777), trashing 46440us
Complete log:

Code: Select all

audio output is too slow (43057), trashing 46439us audio output is too slow (42733), trashing 46440us main debug: audio output is too slow (43009), trashing 46440us main debug: audio output is too slow (42864), trashing 46440us main debug: audio output is too slow (42180), trashing 46440us main debug: audio output is too slow (43014), trashing 46440us main debug: audio output is too slow (42930), trashing 46440us main debug: audio output is too slow (43090), trashing 46440us main debug: audio output is too slow (42976), trashing 46440us main debug: audio output is too slow (42970), trashing 46440us main debug: audio output is too slow (42777), trashing 46440us main debug: audio output is too slow (43054), trashing 46439us main debug: audio output is too slow (42715), trashing 46440us main debug: audio output is too slow (42604), trashing 46440us main debug: audio output is too slow (42994), trashing 46440us main debug: audio output is too slow (42260), trashing 46440us main debug: audio output is too slow (42339), trashing 46440us main debug: audio output is too slow (42862), trashing 46440us main debug: audio output is too slow (42888), trashing 46440us main debug: audio output is too slow (42179), trashing 46440us main debug: audio output is too slow (42750), trashing 46440us main debug: audio output is too slow (42801), trashing 46440us main debug: audio output is too slow (43027), trashing 46439us main debug: audio output is too slow (42150), trashing 46440us main debug: audio output is too slow (42590), trashing 46440us main debug: audio output is too slow (42643), trashing 46440us main debug: audio output is too slow (43023), trashing 46440us main debug: audio output is too slow (42996), trashing 46440us main debug: audio output is too slow (43023), trashing 46440us main debug: audio output is too slow (42946), trashing 46440us main debug: audio output is too slow (42987), trashing 46440us main debug: audio output is too slow (43057), trashing 46440us main debug: audio output is too slow (42809), trashing 46440us main debug: audio output is too slow (42977), trashing 46439us main debug: audio output is too slow (42921), trashing 46440us main debug: audio output is too slow (43029), trashing 46440us main debug: audio output is too slow (42219), trashing 46440us main debug: audio output is too slow (42382), trashing 46440us main debug: audio output is too slow (42337), trashing 46440us main debug: audio output is too slow (42195), trashing 46440us main debug: audio output is too slow (42476), trashing 46440us main debug: audio output is too slow (42964), trashing 46440us main debug: audio output is too slow (42863), trashing 46440us main debug: audio output is too slow (42799), trashing 46440us main debug: audio output is too slow (42195), trashing 46439us main debug: audio output is too slow (42901), trashing 46440us main debug: audio output is too slow (42753), trashing 46440us main debug: audio output is too slow (42952), trashing 46440us main debug: audio output is too slow (42097), trashing 46440us main debug: audio output is too slow (43047), trashing 46440us main debug: audio output is too slow (42809), trashing 46440us main debug: audio output is too slow (42912), trashing 46440us main debug: audio output is too slow (42966), trashing 46440us main debug: audio output is too slow (42880), trashing 46440us main debug: audio output is too slow (42882), trashing 46440us main debug: audio output is too slow (42930), trashing 46439us main debug: audio output is too slow (42754), trashing 46440us main debug: audio output is too slow (42287), trashing 46440us main debug: audio output is too slow (42889), trashing 46440us main debug: audio output is too slow (42817), trashing 46440us main debug: audio output is too slow (42870), trashing 46440us main debug: audio output is too slow (42066), trashing 46440us main debug: audio output is too slow (42545), trashing 46440us main debug: audio output is too slow (42678), trashing 46440us main debug: audio output is too slow (42855), trashing 46440us main debug: audio output is too slow (42244), trashing 46440us main debug: audio output is too slow (42353), trashing 46439us main debug: audio output is too slow (42776), trashing 46440us main debug: audio output is too slow (42743), trashing 46440us main debug: audio output is too slow (42936), trashing 46440us main debug: audio output is too slow (42772), trashing 46440us main debug: audio output is too slow (42869), trashing 46440us main debug: audio output is too slow (42820), trashing 46440us main debug: audio output is too slow (42687), trashing 46440us main debug: audio output is too slow (42977), trashing 46440us main debug: audio output is too slow (42153), trashing 46440us main debug: audio output is too slow (42869), trashing 46440us main debug: audio output is too slow (42948), trashing 46439us main debug: audio output is too slow (43007), trashing 46440us main debug: audio output is too slow (42148), trashing 46440us main debug: audio output is too slow (42654), trashing 46440us main debug: audio output is too slow (42962), trashing 46440us main debug: audio output is too slow (42414), trashing 46440us main debug: audio output is too slow (42297), trashing 46440us main debug: audio output is too slow (42884), trashing 46440us main debug: audio output is too slow (42719), trashing 46440us main debug: audio output is too slow (42275), trashing 46440us main debug: audio output is too slow (42373), trashing 46440us main debug: audio output is too slow (42846), trashing 46439us main debug: audio output is too slow (42122), trashing 46440us main debug: audio output is too slow (42271), trashing 46440us main debug: audio output is too slow (42769), trashing 46440us main debug: audio output is too slow (42841), trashing 46440us main debug: audio output is too slow (42336), trashing 46440us main debug: audio output is too slow (42453), trashing 46440us main debug: audio output is too slow (42841), trashing 46440us main debug: audio output is too slow (42929), trashing 46440us main debug: audio output is too slow (42121), trashing 46440us main debug: audio output is too slow (42426), trashing 46440us main debug: audio output is too slow (42472), trashing 46439us main debug: audio output is too slow (42959), trashing 46440us main debug: audio output is too slow (42907), trashing 46440us main debug: audio output is too slow (42988), trashing 46440us main debug: audio output is too slow (42772), trashing 46440us main debug: audio output is too slow (42709), trashing 46440us main debug: audio output is too slow (42642), trashing 46440us main debug: audio output is too slow (42746), trashing 46440us main debug: audio output is too slow (42260), trashing 46440us main debug: audio output is too slow (42884), trashing 46440us main debug: audio output is too slow (42873), trashing 46440us main debug: audio output is too slow (42851), trashing 46439us main debug: audio output is too slow (42253), trashing 46440us main debug: audio output is too slow (42426), trashing 46440us main debug: audio output is too slow (42787), trashing 46440us main debug: audio output is too slow (42960), trashing 46440us main debug: audio output is too slow (42163), trashing 46440us main debug: audio output is too slow (42976), trashing 46440us main debug: audio output is too slow (42648), trashing 46440us main debug: audio output is too slow (42815), trashing 46440us main debug: audio output is too slow (42157), trashing 46440us main debug: audio output is too slow (42874), trashing 46440us main debug: audio output is too slow (42148), trashing 46439us main debug: audio output is too slow (42977), trashing 46440us main debug: control type=5 avformat warning: DEMUX_SET_POSITION: 152055227 main debug: audio output is too slow (42687), trashing 46440us main debug: audio output is too slow (43030), trashing 46440us main debug: audio output is too slow (42278), trashing 46440us main debug: audio output is too slow (42754), trashing 46440us main debug: audio output is too slow (42904), trashing 46440us main debug: audio output is too slow (42327), trashing 46440us main debug: audio output is too slow (42860), trashing 46440us main debug: audio output is too slow (42772), trashing 46440us main debug: audio output is too slow (43147), trashing 46440us main debug: control type=5 main debug: Buffering 0% main debug: Buffering 8% main debug: Buffering 17% main debug: Buffering 26% main debug: Buffering 35% main debug: Buffering 43% main debug: Buffering 52% main debug: Buffering 61% main debug: Buffering 69% main debug: Buffering 78% main debug: Buffering 87% main debug: Buffering 96% main debug: Stream buffering done (314 ms in 0 ms) main debug: End of audio preroll main debug: End of video preroll main debug: Received first picture main debug: Decoder buffering done in 30 ms main warning: PTS is out of range (-9783), dropping buffer main warning: output PTS is out of range (127996), clearing out main warning: PTS is out of range (-35758), dropping buffer main debug: audio output is too slow (44727), trashing 46439us main debug: audio output is too slow (44494), trashing 46439us main debug: audio output is too slow (44690), trashing 46440us main debug: audio output is too slow (43938), trashing 46440us main debug: audio output is too slow (44762), trashing 46440us main debug: audio output is too slow (44489), trashing 46440us main debug: audio output is too slow (44706), trashing 46440us main debug: audio output is too slow (43914), trashing 46440us main debug: audio output is too slow (44542), trashing 46440us main debug: audio output is too slow (44482), trashing 46440us main debug: audio output is too slow (44107), trashing 46440us main debug: audio output is too slow (43950), trashing 46440us main debug: audio output is too slow (44399), trashing 46439us main debug: audio output is too slow (44553), trashing 46440us main debug: audio output is too slow (43842), trashing 46440us main debug: audio output is too slow (44547), trashing 46440us main debug: audio output is too slow (43977), trashing 46440us main debug: audio output is too slow (44685), trashing 46440us main debug: audio output is too slow (44526), trashing 46440us main debug: audio output is too slow (44767), trashing 46440us main debug: audio output is too slow (44107), trashing 46440us main debug: audio output is too slow (44725), trashing 46440us main debug: audio output is too slow (44545), trashing 46440us main debug: audio output is too slow (44597), trashing 46439us main debug: audio output is too slow (44166), trashing 46440us main debug: audio output is too slow (44115), trashing 46440us main debug: audio output is too slow (44532), trashing 46440us main debug: audio output is too slow (44865), trashing 46440us main debug: audio output is too slow (44813), trashing 46440us main debug: audio output is too slow (44845), trashing 46440us main debug: audio output is too slow (44800), trashing 46440us main debug: audio output is too slow (44517), trashing 46440us main debug: audio output is too slow (44794), trashing 46440us main debug: audio output is too slow (44703), trashing 46440us main debug: audio output is too slow (44739), trashing 46439us main debug: audio output is too slow (44723), trashing 46440us main debug: audio output is too slow (44448), trashing 46440us main debug: audio output is too slow (43940), trashing 46440us main debug: audio output is too slow (44230), trashing 46440us main debug: audio output is too slow (44744), trashing 46440us main debug: audio output is too slow (44010), trashing 46440us main debug: audio output is too slow (44659), trashing 46440us main debug: audio output is too slow (44747), trashing 46440us main debug: audio output is too slow (44769), trashing 46440us main debug: audio output is too slow (44711), trashing 46440us main debug: audio output is too slow (44730), trashing 46439us main debug: audio output is too slow (44748), trashing 46440us main debug: audio output is too slow (44044), trashing 46440us main debug: audio output is too slow (44728), trashing 46440us main debug: audio output is too slow (44481), trashing 46440us main debug: audio output is too slow (44062), trashing 46440us main debug: audio output is too slow (44540), trashing 46440us main debug: audio output is too slow (44780), trashing 46440us main debug: audio output is too slow (43906), trashing 46440us main debug: audio output is too slow (44705), trashing 46440us main debug: audio output is too slow (44598), trashing 46440us main debug: audio output is too slow (44563), trashing 46439us main debug: audio output is too slow (44220), trashing 46440us main debug: audio output is too slow (44451), trashing 46440us main debug: audio output is too slow (44592), trashing 46440us main debug: audio output is too slow (44677), trashing 46440us main debug: audio output is too slow (44858), trashing 46440us main debug: audio output is too slow (44751), trashing 46440us main debug: audio output is too slow (44616), trashing 46440us main debug: audio output is too slow (44748), trashing 46440us main debug: audio output is too slow (44777), trashing 46440us main debug: audio output is too slow (44010), trashing 46440us main debug: audio output is too slow (44805), trashing 46439us main debug: audio output is too slow (44053), trashing 46440us main debug: audio output is too slow (44775), trashing 46440us main debug: audio output is too slow (44712), trashing 46440us main debug: audio output is too slow (43972), trashing 46440us main debug: audio output is too slow (44865), trashing 46440us main debug: audio output is too slow (44688), trashing 46440us main debug: audio output is too slow (44007), trashing 46440us main debug: audio output is too slow (44835), trashing 46440us main debug: audio output is too slow (44679), trashing 46440us main debug: audio output is too slow (44815), trashing 46440us main debug: audio output is too slow (44094), trashing 46439us main debug: audio output is too slow (44030), trashing 46440us main debug: audio output is too slow (44725), trashing 46440us main debug: audio output is too slow (44716), trashing 46440us main debug: audio output is too slow (43948), trashing 46440us main debug: audio output is too slow (44586), trashing 46440us main debug: audio output is too slow (44640), trashing 46440us main debug: audio output is too slow (44689), trashing 46440us main debug: audio output is too slow (44019), trashing 46440us main debug: audio output is too slow (44630), trashing 46440us main debug: audio output is too slow (44713), trashing 46440us main debug: audio output is too slow (43965), trashing 46439us main debug: audio output is too slow (44779), trashing 46440us main debug: audio output is too slow (44651), trashing 46440us main debug: audio output is too slow (44757), trashing 46440us main debug: audio output is too slow (43909), trashing 46440us main debug: audio output is too slow (43939), trashing 46440us main debug: audio output is too slow (44334), trashing 46440us main debug: incoming request - stopping current input main debug: dying input main debug: control type=0 main debug: control: stopping input main debug: dying input avcodec debug: ffmpeg codec (On2's VP6.2 Video (Flash)) stopped main debug: removing module "avcodec" main debug: killing decoder fourcc `VP6F', 0 PES in FIFO main debug: [0] 2 0 main debug: [1] 2 0 main debug: [2] 2 0 main debug: [3] 2 0 main debug: [4] 2 0 main debug: [5] 0 0 main debug: [6] 0 0 main debug: [7] 4 0 main debug: [8] 4 0 main debug: [9] 4 0 main debug: [10] 4 0 main debug: [11] 2 0 main debug: [12] 2 0 main debug: [13] 2 0 main debug: [14] 2 0 main debug: [15] 2 0 main debug: saving a free vout avcodec debug: ffmpeg codec (MPEG Audio layer 1/2/3) stopped main debug: removing module "avcodec" main debug: killing decoder fourcc `mp3 ', 0 PES in FIFO main debug: removing module "converter_float" main debug: removing module "scaletempo" main debug: removing module "bandlimited_resampler" macosx debug: input has stopped, refreshing interface main debug: removing module "auhal" main debug: removing module "float32_mixer" main debug: releasing aout main debug: removing module "avformat" main debug: removing module "stream_filter_record" main debug: removing module "access_file" main debug: Program doesn't contain anymore ES main debug: thread ended main debug: dead input main debug: destroying useless vout main debug: removing module "i420_yuy2_sse2" macosx debug: Closing main debug: removing module "macosx" main debug: removing module "opengl" main debug: removing module "blend" main debug: removing module "quartztext" main debug: removing module "yuvp" main debug: removing module "swscale"

Re: VLC - No audio through external audio card

Posted: 29 Mar 2010 22:37
by ajmas
I am no expert here, but I wouldn't be surprised if VLC is dealing with a full audio out buffer.

Are there any tools to configure the buffer, or similar, on the audio card side?

Also, if you find any open source applications that can output audio to the device properly, please could you list it here? The idea being that the VLC developers can see if something is being done differently.

Edit: Came across this thread: https://forum.videolan.org/viewtopic.php?f=14&t=45582 . Although it is Windows oriented, see if any of the steps work for you on the Mac side.

Re: VLC - No audio through external audio card

Posted: 30 Mar 2010 13:16
by MonolithTMA
lso, if you find any open source applications that can output audio to the device properly, please could you list it here? The idea being that the VLC developers can see if something is being done
Audacity works fine. http://audacity.sourceforge.net/

Re: VLC - No audio through external audio card

Posted: 30 Mar 2010 13:18
by MonolithTMA
Edit: Came across this thread: https://forum.videolan.org/viewtopic.php?f=14&t=45582 . Although it is Windows oriented, see if any of the steps work for you on the Mac side.
I think that should be viewtopic.php?f=14&t=45582 No "httpS"

Re: VLC - No audio through external audio card

Posted: 30 Mar 2010 14:01
by MonolithTMA
Are there any tools to configure the buffer, or similar, on the audio card side?
For my unit, the Tascam US-144, I can alter those settings, but only within the audio software I am using. I have those options in Logic Express and Garageband. My old Tascam US 428 allowed you to change those settings independent of the audio software, but I don't have it anymore.

Re: VLC - No audio through external audio card

Posted: 11 Apr 2010 05:52
by mrblasto
I write audio recording software for the mac and pc. My software has the same problem--the Tascam audio output doesn't work on the mac even though other external cards and the built in output work. The Tascam does work with my software on the pc and midi works though that is irrelevant for the problem discussed. The Tascam also works ok with Garageband, so it's unlikely that the Tascam or its drivers are at fault. I've been unable to track down the problem, but perhaps the VLC log posted above will help. I'm both new to VLC, but I'm curious about what the VCL is using for its audio library. If I make any progress tracking down the error, I'll post back to this thread with my findings.

Re: VLC - No audio through external audio card

Posted: 11 Apr 2010 15:37
by MonolithTMA
Piano For Dummies also has this issue, btw, so it's not just a VLC issue.

Re: VLC - No audio through external audio card

Posted: 11 Apr 2010 18:12
by ajmas
Playing around with the SPDIF optical output on my Mac I found out about the "Audio MIDI Setup" application (in /Applications/Utilities ) which comes with the Mac. There may be some settings in there that can be configured?

Also, see if, in the VLC preferences (all radio), changing the "audio device" in Audio/Output Modules/auhal changes anything. I have never used that, so it is a long shot.

Re: VLC - No audio through external audio card

Posted: 16 May 2010 19:08
by Lightnin51
I've just bought an iMac and a Lexicon IONIX Audio Interface and want to play MPEG2 files via VLC.
I am having the same problem with no sound via the interface on VLC. I have selected the Lexicon audio option and no sound - if I select the built-in option the sound plays through the iMAC speakers ok.

Does anyone know why this is happening :?:

The Interface works fine for iTunes and my sequencer software etc.

Thanks

Re: VLC - No audio through external audio card

Posted: 18 May 2010 00:56
by ajmas
Not sure. Though does the "audio -> audio device" sub-menu display any items? Also, see what output settings are in the System Preferences.

Are there any open source audio applications that manage to play through the device - this would allow the developers to see if something different is being done.

Re: VLC - No audio through external audio card

Posted: 20 May 2010 23:02
by Lightnin51
Hi

The Lexicon Output is selectable in the VLC audio sub-menu. On selecting this - no sound plays through the audio interface i.e. through my monitor speakers, the video looks fine. If I select the built-in option in this sub-menu then sound plays ok through the Mac speakers!!
My reason for using VLC is so I can play MPEG-2 video from home movies but I have tried other formats (AVI, M4V, MP4, MOV) and DVD, video again ok but still no sound if the Audio Interface is selected - but works ok with the Mac built-in option.

Quicktime works ok through the audio interface for instance (obviously not for MPEG-2)

So my thinking is that there is an incompatibility between VLC and this Audio Interface but that is as far as my knowledge will take me - so maybe the developers know why this is - would be interesting if other makes of audio interface have similar issues.

Re: VLC - No audio through external audio card

Posted: 12 Oct 2010 21:47
by raduz
Hi, this is slightly late, but in case somebody is still tuned up to this thread, I'd like to say that I experience the exact same problems with a different device, namely EE-MU Tracker pro by Creative, also on a Mac machine. Seeing that you guys had problems half a year ago and it's still here, I'm starting to be pessimistic. Cheers, R.

Re: VLC - No audio through external audio card

Posted: 06 Nov 2010 08:59
by Larrikin
hi

i have the same problem , no sound out of external card with VLC ....
ive been searching , still havent found a answer
any help would be very much appreciated


regards

Larrikin

Re: VLC - No audio through external audio card

Posted: 15 Mar 2011 22:20
by balki
If anyone's still having issues with this, like I just was... I've discovered Soundflower works.

Re: VLC - No audio through external audio card

Posted: 19 Aug 2011 16:06
by theforce88
hi all,

I'm wondering if there has been any solution to this issue?

I recently purchased the tascam US-200.
VLC is the only media player that WONT play any sound through the external soundcard. I have to change it to internal speakers.

Previous to this I used an m-audio external sound card with no issues.

I'm wondering if its because of a conflict with VLC, Mac Lion and the tascam, and their tascam need to bring out new drivers for it?
Because when I go into system preferences/sound it does say that the select device does not have output/input controls.

I tried soundflower, but it has crashed a few times when using it.

Re: VLC - No audio through external audio card

Posted: 07 Jun 2012 20:12
by aitte
i have exact the same problem with an alesis multimix 8 usb 2.0
any solutions yet?