command line options for resampling, volume etc.,

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
sureshkn
New Cone
New Cone
Posts: 2
Joined: 25 Oct 2016 03:49

command line options for resampling, volume etc.,

Postby sureshkn » 25 Oct 2016 04:28

I am running VLC to play audio CDs from Rasbperry Pi 2 using Raspian Lite. My idea is to play without volume normalization, 100% volume, no-resampling.

The command I use is.,

vlc --audio-resampler=disable --audio-replay-gain-mode=none --no-audio-time-stretch --aout alsa --alsa-audio-device=hw:1,0 cddasimple:///dev/sr0

In spite of using --audio-resampler=disable VLC always ends up using ugly-resampler. I guess resampler never gets used because input & output are the same.

core audio output debug: input 's16l' 44100 Hz Stereo frame=1 samples/4 bytes
core audio output debug: conversion: 's16l'->'s16l' 44100 Hz->44100 Hz Stereo->Stereo

I hope resampler never gets activated.

Since I don't explicitly use any filter for volume normalization I hope it is disabled.

Remaining is volume at 100%. Setting --gain=8.0 gave me distorted audio. Is there any other option to set to 100% volume ?
"volume" command in Lua prompt shows 256.

Thanks,
Suresh.

Rémi Denis-Courmont
Developer
Developer
Posts: 15317
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: command line options for resampling, volume etc.,

Postby Rémi Denis-Courmont » 25 Oct 2016 09:26

The ugly resampler applies zero-hold-order. It is a no-op if the input and output rates are identical.

100% volume is achieved with "--alsa-gain 1", or leaving the volume to 100% on the GUI.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

sureshkn
New Cone
New Cone
Posts: 2
Joined: 25 Oct 2016 03:49

Re: command line options for resampling, volume etc.,

Postby sureshkn » 27 Oct 2016 03:18

Thanks Rémi. I am running Raspbian Lite, so there is no GUI available. I have to live with command-line options only.
I have a I2S DAC and an external preamp to control to volume. So, would like as much less software processing of audio in VLC as possible. :)

If you have any other command line options then please let me know.


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 32 guests