Add ability to choose one of codecs of same format

Feature requests for VLC.
User avatar
Wohlstand
Blank Cone
Blank Cone
Posts: 16
Joined: 12 Apr 2018 15:57
VLC version: 3.0.9.2
Operating System: Linux Mint 20.1
Location: Moscow, Russia

Add ability to choose one of codecs of same format

Postby Wohlstand » 30 Jan 2019 09:34

Hello!
I have found VLC is not able to choose one of codecs when the case multiple different codecs of same format are installed.

For example, I have two my own MIDI codec plugins:
https://github.com/Wohlstand/libADLMIDI
https://github.com/Wohlstand/libOPNMIDI
They are different and resulting different sounding.

For now, I have made a workaround: I have added the "Enable this codec" flag per each plugin to force skip this codec to choose another. I think, it's will be better to have some sort of VLC-side codec chooser, or even some sort of check list to enable / disable certain plugin with no necessary to remove it physically. Personally, I want to be able to do that on Android.

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

Re: Add ability to choose one of codecs of same format

Postby Rémi Denis-Courmont » 30 Jan 2019 19:34

vlc --codec XXX ?
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

User avatar
Wohlstand
Blank Cone
Blank Cone
Posts: 16
Joined: 12 Apr 2018 15:57
VLC version: 3.0.9.2
Operating System: Linux Mint 20.1
Location: Moscow, Russia

Re: Add ability to choose one of codecs of same format

Postby Wohlstand » 31 Jan 2019 14:01

vlc --codec XXX ?
This works! :D
(I have tried `vlc --codec fluidsynth`, `vlc --codec ADLMIDI` and `vlc --codec OPNMIDI` and this worked: MIDI files are was played on a choosen synth by the argument)

But still the a think why not to implement a GUI setup with the ability to change that on the fly?

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

Re: Add ability to choose one of codecs of same format

Postby Rémi Denis-Courmont » 31 Jan 2019 17:28

In general, a codec is stateful. You cannot simply change it during playback.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

User avatar
Wohlstand
Blank Cone
Blank Cone
Posts: 16
Joined: 12 Apr 2018 15:57
VLC version: 3.0.9.2
Operating System: Linux Mint 20.1
Location: Moscow, Russia

Re: Add ability to choose one of codecs of same format

Postby Wohlstand » 01 Feb 2019 03:55

I didn't meant the hot switch in a middle of playback which is yeah, too hard to implement, but the using another codec on song restart or on next song switch which is now works (via my "Enable this synthesizer" workaround in settings of codec itself).

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

Re: Add ability to choose one of codecs of same format

Postby Rémi Denis-Courmont » 01 Feb 2019 09:28

That is already doable via the preferences.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

User avatar
Wohlstand
Blank Cone
Blank Cone
Posts: 16
Joined: 12 Apr 2018 15:57
VLC version: 3.0.9.2
Operating System: Linux Mint 20.1
Location: Moscow, Russia

Re: Add ability to choose one of codecs of same format

Postby Wohlstand » 01 Feb 2019 09:35

Changing of settings of each coded yes, but I can't find any things like "Select preferred codec for `MIDI` format" or "Select preferred codec for H264 format", etc are VLC-side but not a plugin-side workaround I have made. Can you hint me, where they are hidden?

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

Re: Add ability to choose one of codecs of same format

Postby Rémi Denis-Courmont » 01 Feb 2019 13:29

Given that there are hundred of different codecs, and some of them have many different profiles and/or other parameters, that's just not feasible.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded


Return to “VLC media player Feature Requests”

Who is online

Users browsing this forum: drimis216 and 5 guests