VLC always creates corrupt MP3 file when converting

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
rovf
New Cone
New Cone
Posts: 4
Joined: 09 Aug 2018 13:24

VLC always creates corrupt MP3 file when converting

Postby rovf » 09 Aug 2018 13:35

I would like to use VLC media player to convert MP4 files with video information into MP3 audio files. I have configured the conversion like this:

Image

Image

Image

The original MP4 file plays well (using, for instance, foobar2000 or the Windows Media Player). The converted MP3 file can't be played (foobar2000 says "Unable to open item for playback (Unsupported format or corrupted file)", and Media Player simply says that the output is corrupt.

Any idea why this is not working?

Ronald

rovf
New Cone
New Cone
Posts: 4
Joined: 09 Aug 2018 13:24

Re: VLC always creates corrupt MP3 file when converting

Postby rovf » 10 Aug 2018 14:31

Found the problem! I have set the AUDIO Codec to MP4 instead of MP3.

cjlan01
New Cone
New Cone
Posts: 1
Joined: 06 Jan 2023 15:17

Re: VLC always creates corrupt MP3 file when converting

Postby cjlan01 » 06 Jan 2023 16:06

"c:\program files\videolan\vlc\vlc" C:\Users\Andrew\Videos\GottaGo.mp4 --audio-filter equalizer --equalizer-preamp=7 --equalizer-band "-4.8 0 4 5.6 5.6 5.6 4 2.4 2.4 2.4" --no-equalizer-2pass --sout=#transcode{afilter=equalizer,vcodec=h264,acodec=mpga,ab=128,channels=2,samplerate=44100}:standard{access=file,mux=ts,dst="C:\Users\Andrew\Videos\gotest.mp4"}

I can get this to work and play the output mp4 file without any problem in "Movies & TV" media player and video clip is fine. However, something inherent is wrong inside the file. Foobar2000 and Window media player can not play it beause it is regarded corrupted. Any idea? Anything wrong with the command line files above? Thx.

Lotesdelere
Cone Master
Cone Master
Posts: 10072
Joined: 08 Sep 2006 04:39
Location: Europe

Re: VLC always creates corrupt MP3 file when converting

Postby Lotesdelere » 06 Jan 2023 17:43

Anything wrong with the command line files above?

mux=mp4
Not ts.

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

Re: VLC always creates corrupt MP3 file when converting

Postby Rémi Denis-Courmont » 06 Jan 2023 18:49

Rather set mux=raw and use .mp3 extension.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

Lotesdelere
Cone Master
Cone Master
Posts: 10072
Joined: 08 Sep 2006 04:39
Location: Europe

Re: VLC always creates corrupt MP3 file when converting

Postby Lotesdelere » 07 Jan 2023 12:53

cjlan01 wants to mux H.264+MPGA into an MP4 container :wink:

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

Re: VLC always creates corrupt MP3 file when converting

Postby Rémi Denis-Courmont » 07 Jan 2023 14:09

This topic is about conversion to MP3 audio
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 173 guests