Welcome!
Important information
-- Spectre and Meltdown vulnerabilities
-- Change in MX sources

News
-- MX Linux on social media: here
-- Mepis support still here

Current releases
-- MX-17.1 Final release info here
-- antiX-17 release info here

New users
-- Please read this first, and don't forget to add system and hardware information to posts!
-- Here are the Forum Rules

Curious about VLC 

You can ask for help with video cards, tv cards, dvb, monitors, webcams, digital cameras and software related to these devices, here. Tutorials about these devices can be posted here, too.
Message
Author
User avatar
Stevo
Forum Veteran
Forum Veteran
Posts: 16294
Joined: Fri Dec 15, 2006 8:07 pm

Re: Curious about VLC 

#11 Post by Stevo » Thu Feb 20, 2014 12:16 am

JBoman wrote:get a similar result with same version of vlc and just .mpg but I get an error... see attached... :confused:

It means that the ALSA sound system isn't assigning any sound device as "default". This usually also means Flash video won't play in the browser. VLC can be set to use another sound device, but you probably want a default sound device instead.

Install alsa-utils and post the output of

Code: Select all

aplay -l
here. We need to see what devices you have, so we can assign one as the default in the ~/.asoundrc file.

User avatar
JBoman
Forum Guide
Forum Guide
Posts: 1320
Joined: Wed Jul 12, 2006 4:30 pm

Re: Curious about VLC 

#12 Post by JBoman » Thu Feb 20, 2014 12:43 am

Stevo wrote:
JBoman wrote:get a similar result with same version of vlc and just .mpg but I get an error... see attached... :confused:

It means that the ALSA sound system isn't assigning any sound device as "default". This usually also means Flash video won't play in the browser. VLC can be set to use another sound device, but you probably want a default sound device instead.

Install alsa-utils and post the output of

Code: Select all

aplay -l
here. We need to see what devices you have, so we can assign one as the default in the ~/.asoundrc file.
Funny thing is flash videos play fine in the browser and other videos .webm, .mpeg4, avi, etc play in vlc from the desktop. Anyway here is the output>
@Mepis1:~$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: NVidia [HDA NVidia], device 0: STAC9200 Analog [STAC9200 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0

***note... my sound is also screwed in skype
http://patentabsurdity.com/
AMD 64x2 2.6GHz 4GB ram MX-17.1 KDE regular updates
"beware a frequent flirt with potential disaster"

User avatar
Stevo
Forum Veteran
Forum Veteran
Posts: 16294
Joined: Fri Dec 15, 2006 8:07 pm

Re: Curious about VLC 

#13 Post by Stevo » Thu Feb 20, 2014 11:44 am

Well, you just have one device. Try creating a hidden .asoundrc text file in your home folder with this cut and pasted into it:

Code: Select all

defaults.ctl.card 0
defaults.pcm.card 0
defaults.timer.card 0

Then reboot and see if VLC can use a "default" device.

User avatar
DBeckett
Forum Guide
Forum Guide
Posts: 2779
Joined: Sat May 16, 2009 3:59 pm

Re: Curious about VLC 

#14 Post by DBeckett » Thu Feb 20, 2014 12:24 pm

Stevo wrote:Try having VLC use the ffmpeg-type demuxer to play the problem files. Start VLC up from the terminal with the command

Code: Select all

vlc --demux ffmpeg
and then open a problem file to see if it plays.

If it plays, you can make a custom launcher or menu entry to use that command to start VLC.
That was interesting. I have five examples to choose from at the moment. One played okay, two played without sound, and two played with a black screen and no sound (the progress bar indicated that they were indeed playing). In all cases, the command window filled up with various errors.
That would indicate to my limited intellect that the file formats are not the same from file to file.

As I said.... interesting.
Gigabyte 990FXA-UD3, AMD FX-6100 hex-core, 3.3GHz, 8G, Radeon HD6570

User avatar
JBoman
Forum Guide
Forum Guide
Posts: 1320
Joined: Wed Jul 12, 2006 4:30 pm

Re: Curious about VLC 

#15 Post by JBoman » Thu Feb 20, 2014 1:17 pm

I have similar results. Have determined on my system the videos without sound were all downloaded during "private browsing" sessions that used https instead of http so that appears to be a factor in my situation. I have verified this quirk by downloading the same vid from private and non private sessions and the ones downloaded from a https connection do not have sound but from plain http the sound is present. :confused:
This creates a minor problem since I usually always use private browsing and forget about the sound thing till I later try to play saved vids. My current solution is to go back online in non private browsing and redownload the vids which then have sound. Kind of a PITA to get sound. Most vids are downloaded with download helper and are from you tube. Pretty sure that download helper is not the problem though. :snail:
http://patentabsurdity.com/
AMD 64x2 2.6GHz 4GB ram MX-17.1 KDE regular updates
"beware a frequent flirt with potential disaster"

User avatar
lucky9
Forum Veteran
Forum Veteran
Posts: 11380
Joined: Wed Jul 12, 2006 5:54 am

Re: Curious about VLC 

#16 Post by lucky9 » Thu Feb 20, 2014 3:34 pm

Easy enough to check. Disable Download Helper and try. (I've had problems when using Download Helper in the past and don't use it now.)
Yes, even I am dishonest. Not in many ways, but in some. Forty-one, I think it is.
--Mark Twain

Post Reply

Return to “Video-Related”