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

Questions about applications and software
Forum rules
Before you post please read this

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

Postby venom104 on Mon May 07, 2012 3:06 am

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 venom104 on Wed May 09, 2012 1:59 pm, edited 2 times in total.
venom104
Level 1
Level 1
 
Posts: 47
Joined: Sun Sep 05, 2010 11:58 am

Linux Mint is funded by ads and donations.
 

Re: Getting VLC to work with OSS4 (well)

Postby Oscar799 on Mon May 07, 2012 4:07 pm

Moved here by moderator
Image
"Don't fix it if it ain't broken,don't break it if you can't fix it" Husse
Registered Linux User #511789
User avatar
Oscar799
Level 18
Level 18
 
Posts: 8170
Joined: Tue Aug 11, 2009 9:21 am
Location: United Kingdom

Re: Getting VLC to work with OSS4 (well)

Postby zerozero on Mon May 07, 2012 4:38 pm

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
User avatar
zerozero
Level 16
Level 16
 
Posts: 6303
Joined: Tue Jul 07, 2009 2:29 pm

Re: Getting VLC to work with OSS4 (well)

Postby venom104 on Mon May 07, 2012 5:54 pm

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
Level 1
Level 1
 
Posts: 47
Joined: Sun Sep 05, 2010 11:58 am

Re: Getting VLC to work with OSS4 (well)

Postby venom104 on Mon May 07, 2012 5:55 pm

Also, I HAVE UNINSTALLED PULSEAUDIO!
venom104
Level 1
Level 1
 
Posts: 47
Joined: Sun Sep 05, 2010 11:58 am

Re: Getting VLC to work with OSS4 (well)

Postby zerozero on Mon May 07, 2012 6:03 pm

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
User avatar
zerozero
Level 16
Level 16
 
Posts: 6303
Joined: Tue Jul 07, 2009 2:29 pm

Re: Getting VLC to work with OSS4 (well)

Postby venom104 on Mon May 07, 2012 7:06 pm

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...
venom104
Level 1
Level 1
 
Posts: 47
Joined: Sun Sep 05, 2010 11:58 am

Re: Getting VLC to work with OSS4 (well)

Postby zerozero on Mon May 07, 2012 7:58 pm

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:
User avatar
zerozero
Level 16
Level 16
 
Posts: 6303
Joined: Tue Jul 07, 2009 2:29 pm

Re: Getting VLC to work with OSS4 (well)

Postby venom104 on Mon May 07, 2012 9:52 pm

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?
venom104
Level 1
Level 1
 
Posts: 47
Joined: Sun Sep 05, 2010 11:58 am

Linux Mint is funded by ads and donations.
 

Return to Software & Applications

Who is online

Users browsing this forum: No registered users and 6 guests