[SOLVED] Getting VLC to work with OSS4 (well)

Archived topics about LMDE 1 and LMDE 2
Locked
venom104

[SOLVED] Getting VLC to work with OSS4 (well)

Post by venom104 »

Okay here is my story. I installed linux mint debian edition and had some trouble with alsa. I have the ALC887 firmware so to get sound from more than one application, I require a alsa module package. This package is apparently unavailable in the LMDE; so, I installed OSS4.

Everything works great now...well sort of. All my music players work (well just gnome mplayer) because I can set it to OSS. The problem here is that VLC has no OSS/4 setting, at least by DEFAULT. The weird thing is that I can hear sound coming from VLC, it's just EXTREMELY CHOPPY. I did a bunch of research on the net and found out that I have to compile VLC with the --enable-oss flag to get it to work correctly (at least I hope).

Here is where I am now, I want to build vlc from source, but I'm stuck in getting the dependices...whenever I run sudo apt-get build vlc, I get this.

venom@venom-desktop ~ $ sudo apt-get build-dep vlc
Reading package lists... Done
Building dependency tree
Reading state information... Done
Picking 'vlc-dmo' as source package instead of 'vlc'
E: Unable to find a source package for vlc-dmo
venom@venom-desktop ~ $

I've searched for hours and hours trying to find a solution...ubuntu's solution is to enable the universe repo, but I'm not using ubuntu so that boat has sailed. I've also tried adding this to my sources.list file

deb http://download.videolan.org/pub/videolan/debian testing main
deb-src http://download.videolan.org/pub/videolan/debian testing main

and when I do an apt-get update, I get this error

W: Failed to fetch http://download.videolan.org/pub/videol ... ce/Sources 404 Not Found

W: Failed to fetch http://download.videolan.org/pub/videol ... 4/Packages 404 Not Found


I'm on a 64 bit machine, running the 64 bit version of LMDE.

How can I solve this?

I would like to point out that the solution doesn't necessary have to be compiling vlc from scratch...if you know of a way I can wrap ALSA though OSS4 then that MAY work, but I doubt it.
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 3 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
User avatar
Oscar799
Level 20
Level 20
Posts: 10411
Joined: Tue Aug 11, 2009 9:21 am
Location: United Kingdom

Re: Getting VLC to work with OSS4 (well)

Post by Oscar799 »

Moved here by moderator
Image
zerozero

Re: Getting VLC to work with OSS4 (well)

Post by zerozero »

before we get into try to compile vlc (might be a huge task) have you tried this for your card
http://www.webupd8.org/2010/11/fix-hda- ... qus_thread
venom104

Re: Getting VLC to work with OSS4 (well)

Post by venom104 »

zerozero...thank you for responding. I guess I should have put what I tried already...yea I tried that. The problem (as I explained before) is although I can get sound using the generic module, it can't be used for more than one program at a time without the alsa module that I require (it's in the ubuntu repos, I could probably find it if you need me to).

Also, why was my thread moved? This isn't a beginner's question?
venom104

Re: Getting VLC to work with OSS4 (well)

Post by venom104 »

Also, I HAVE UNINSTALLED PULSEAUDIO!
zerozero

Re: Getting VLC to work with OSS4 (well)

Post by zerozero »

ok, so you've covered all the options and now the one you see viable is compiling vlc.
we can try :mrgreen:
show me your repos

Code: Select all

inxi -r
should do it
venom104

Re: Getting VLC to work with OSS4 (well)

Post by venom104 »

zerozero...here is the output of the command...

venom@venom-desktop ~ $ inxi -r
Repos: Active apt sources in file: /etc/apt/sources.list
deb http://packages.linuxmint.com/ debian main upstream import backport romeo
deb-src http://packages.linuxmint.com/ debian main upstream import backport romeo #Added by software-properties
deb http://debian.linuxmint.com/latest testing main contrib non-free
deb http://debian.linuxmint.com/latest/security testing/updates main contrib non-free
deb http://debian.linuxmint.com/latest/multimedia testing main non-free
deb http://download.videolan.org/pub/videolan/debian testing main
deb-src http://download.videolan.org/pub/videolan/debian testing main
Active apt sources in file: /etc/apt/sources.list.d/google-chrome.list
deb http://dl.google.com/linux/chrome/deb/ stable main
venom@venom-desktop ~ $

I have to say that I've never heard of the shell command inxi...and apparently there is no man page for it...couldn't I have just opened my /etc/apt/sources.list file and gave you the output? I went to LMDE to learn more about linux...
zerozero

Re: Getting VLC to work with OSS4 (well)

Post by zerozero »

i love inxi :D http://code.google.com/p/inxi/
no, there's no man page, try inxi -h for a list of options.

about the sources.list:
- the 2 videolan repos, you can remove, the repos in the site are for sid not testing (hence the 404 error)
- you need at least to add the deb-src for main debian and multimedia, like this

Code: Select all

deb-src http://debian.linuxmint.com/latest testing main contrib non-free
deb-src http://debian.linuxmint.com/latest/multimedia testing main non-free
after that you are ready to start chasing dependencies and compiling :lol:
venom104

Re: Getting VLC to work with OSS4 (well)

Post by venom104 »

Thank you zerozero...I finally got it to compile...

I used the guide from here

http://www.andrews-corner.org/vlc.html

I'm getting a segmentation fault whenever I load video, but I'll open a new thread for that.

How do I mark this as closed?
Locked

Return to “LMDE Archive”