Force decoding using a specific codec

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
tonsofpcs
Cone that earned his stripes
Cone that earned his stripes
Posts: 363
Joined: 04 Jan 2006 10:03
Location: Binghamton, NY, USA
Contact:

Force decoding using a specific codec

Postby tonsofpcs » 27 Aug 2008 16:12

I have a file whose audio component is being recognized as one format but I know it is of another format, is there a way that I can force it to be decoded as if it were a specific codec and not the one detected (or noted as fourcc in the container, if applicable)?
Eric Adler

Want to help VLC? Help review strings -- Currently under review: QT4StringsReview
Want to talk about video production techniques or get useful things? visit my video production support site

Arite
Big Cone-huna
Big Cone-huna
Posts: 2478
Joined: 26 Jun 2007 20:40
VLC version: 3.0.20
Operating System: Debian Testing|Win10

Re: Force decoding using a specific codec

Postby Arite » 27 Aug 2008 16:58

You could try entering a codec list (from VLC 0.9.0 help):

Code: Select all

--codec=<string> Preferred decoders list List of codecs that VLC will use in priority. For instance, 'dummy,a52' will try the dummy and a52 codecs before trying the other ones. Only advanced users should alter this option as it can break playback of all your streams.
Arite.
Don't use PMs for support questions.

tonsofpcs
Cone that earned his stripes
Cone that earned his stripes
Posts: 363
Joined: 04 Jan 2006 10:03
Location: Binghamton, NY, USA
Contact:

Re: Force decoding using a specific codec

Postby tonsofpcs » 27 Aug 2008 17:09

Thanks, I tried that on 0.8.1 to no avail, I will try on the last 0.9.0 nightly a bit later today.

Arite
Big Cone-huna
Big Cone-huna
Posts: 2478
Joined: 26 Jun 2007 20:40
VLC version: 3.0.20
Operating System: Debian Testing|Win10

Re: Force decoding using a specific codec

Postby Arite » 27 Aug 2008 17:12

What is the container/audio codec/detected audio codec? You could also manually edit the FourCC, however that could cause problems with the file and may not work afterwards properly.

Arite.
Don't use PMs for support questions.

dionoea
Cone Master
Cone Master
Posts: 5157
Joined: 03 Dec 2003 23:09
Location: Paris, France

Re: Force decoding using a specific codec

Postby dionoea » 27 Aug 2008 23:32

You can't override the fourcc in VLC. That could be useful in some cases. Feel free to submit a patch :)
Antoine Cellerier
dionoea
(Please do not use private messages for support questions)

tonsofpcs
Cone that earned his stripes
Cone that earned his stripes
Posts: 363
Joined: 04 Jan 2006 10:03
Location: Binghamton, NY, USA
Contact:

Re: Force decoding using a specific codec

Postby tonsofpcs » 28 Aug 2008 00:02

I'm still fighting to get git to update the local tree after compiling..... I wouldn't know where to start with the code.
Eric Adler

Want to help VLC? Help review strings -- Currently under review: QT4StringsReview
Want to talk about video production techniques or get useful things? visit my video production support site

tonsofpcs
Cone that earned his stripes
Cone that earned his stripes
Posts: 363
Joined: 04 Jan 2006 10:03
Location: Binghamton, NY, USA
Contact:

Re: Force decoding using a specific codec

Postby tonsofpcs » 31 Aug 2008 07:16

Ticket is open @ ticket 1945.
Eric Adler

Want to help VLC? Help review strings -- Currently under review: QT4StringsReview
Want to talk about video production techniques or get useful things? visit my video production support site


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 200 guests