Page 1 of 2

No Audio after Video Conversion

Posted: 22 Apr 2012 15:10
by leed
I have a problem, using the VLC convert function for videos. I use the Software on Windows, Mac and Linux Systems and experience the same problem on all Systems

Every time I convert a Video into another format, the pictures is in most cases great, but the audio is always gone. I'm no expert in choosing which audio format matches
to what video format, but I also don't think that is the problem. I guess there is some setting I'd need to make before convert/streaming videos, but I just can't figure out
what it is.

Can someone help?

Re: No Audio after Video Conversion

Posted: 22 Apr 2012 21:01
by CyberTootie
Some containers cannot hold certain formats. For example, MP4 doesn't support PCM audio.

Re: No Audio after Video Conversion

Posted: 23 Apr 2012 07:54
by leed
I normally try wav, mp3 and aac.

The Formats I try to convert to are avi, mp4,Webm,ogg.
I use the convert/save feature in vlc

Re: No Audio after Video Conversion

Posted: 23 Apr 2012 14:25
by CyberTootie
I have no experience with the VLC converter, but the first step I would take would be to see if an audio stream is actually being written to the file. Play the file and look at the file information to see if there is an audio stream. Then troubleshoot from there.

Re: No Audio after Video Conversion

Posted: 24 Apr 2012 10:36
by Lotesdelere
I normally try wav, mp3 and aac.

The Formats I try to convert to are avi, mp4,Webm,ogg.
I use the convert/save feature in vlc
Tell us what you are exactly trying to achieve, e.g. converting an AVI with an Xvid video track and an MP3 audio track to MP4 with H.264 video and AAC audio.

Also open Tools -> Messages (set Verbosity to 2) before you start the playback and then paste the full resulting log here or on Pastebin.com if it's too long.

Also upload a short sample of a problematic resulting file to either http://streams.videolan.org/upload/ or to MirrorCreator.com or to EmbedUpload.com, so it will upload the file for you to several other hosts, and then post the link to the file here.

Re: No Audio after Video Conversion

Posted: 13 May 2012 12:37
by leed
There are several things I'm doing...

One thing is trying to get the mkv File my camcorder makes into Format I can put on my NAS and then stream to my Xbox

Another thing is that I would also like to start using HTML5 Players online to embed my videos. VLC seems to have excellent prerequisites
to convert the Videos into OGG+Theora, H.264 and WebM/VP8 and it all runs under Linux, so I don't need to boot windows and install some
video programs that all try to take over my whole system.

The strange thing is, if I convert a video to mp3 I get the sound, it's only when converting to a video format, that the audio stream is missing

Re: No Audio after Video Conversion

Posted: 13 May 2012 12:55
by leed
Thanks for the Tip with the Verbose Messaging.

I managed to get my first video converted with sound after googling some of the error messages. It seemed that all I needed to do is uncheck the "keep original audio track" option in the sound settings. That way VLC converts the sound instead of trying to embed the the original.

Cool, thanks a lot for your help.

Re: No Audio after Video Conversion

Posted: 16 Mar 2014 23:07
by mnhoff
Hi all

Similar problem...I am converting a .mkv file to .mp4, and the video comes out fine - but no audio. Unfortunately, the "keep original audio" tickbox is already unchecked, so I'm at a loss...perhaps I need to set a different Codec, bitrate, channels, or Sample Rate? Following is the Messages output when I set Verbosity to "2":

main debug: adding item `Thor.The.Dark.World.2013.1080p.BluRay.x264-MYSELF.mp4' ( file:///E:/videos/Thor.The.Dark.World.2013.1080p.BluRay.x264-MYSELF/Thor.The.Dark.World.2013.1080p.BluRay.x264-MYSELF.mp4 )
main debug: processing request item: Thor.The.Dark.World.2013.1080p.BluRay.x264-MYSELF.mp4, node: Playlist, skip: 0
main debug: Creating an input for 'Thor.The.Dark.World.2013.1080p.BluRay.x264-MYSELF.mp4'
main debug: rebuilding array of current - root Playlist
main debug: rebuild done - 2 items, index 1
main debug: starting playback of the new playlist item
main debug: resyncing on Thor.The.Dark.World.2013.1080p.BluRay.x264-MYSELF.mp4
main debug: Thor.The.Dark.World.2013.1080p.BluRay.x264-MYSELF.mp4 is at 1
main debug: creating new input thread
main debug: Creating an input for 'Thor.The.Dark.World.2013.1080p.BluRay.x264-MYSELF.mp4'
main debug: using timeshift granularity of 50 MiB, in path 'C:\Users\MICHAE~1\AppData\Local\Temp'
main debug: `file:///E:/videos/Thor.The.Dark.World.2013.1080p.BluRay.x264-MYSELF/Thor.The.Dark.World.2013.1080p.BluRay.x264-MYSELF.mp4' gives access `file' demux `' path `/E:/videos/Thor.The.Dark.World.2013.1080p.BluRay.x264-MYSELF/Thor.The.Dark.World.2013.1080p.BluRay.x264-MYSELF.mp4'
main debug: creating demux: access='file' demux='' location='/E:/videos/Thor.The.Dark.World.2013.1080p.BluRay.x264-MYSELF/Thor.The.Dark.World.2013.1080p.BluRay.x264-MYSELF.mp4' file='E:\videos\Thor.The.Dark.World.2013.1080p.BluRay.x264-MYSELF\Thor.The.Dark.World.2013.1080p.BluRay.x264-MYSELF.mp4'
main debug: looking for access_demux module matching "file": 12 candidates
main debug: no access_demux modules matched
main debug: creating access 'file' location='/E:/videos/Thor.The.Dark.World.2013.1080p.BluRay.x264-MYSELF/Thor.The.Dark.World.2013.1080p.BluRay.x264-MYSELF.mp4', path='E:\videos\Thor.The.Dark.World.2013.1080p.BluRay.x264-MYSELF\Thor.The.Dark.World.2013.1080p.BluRay.x264-MYSELF.mp4'
main debug: looking for access module matching "file": 20 candidates
filesystem debug: opening file `E:\videos\Thor.The.Dark.World.2013.1080p.BluRay.x264-MYSELF\Thor.The.Dark.World.2013.1080p.BluRay.x264-MYSELF.mp4'
main debug: using access module "filesystem"
main debug: Using stream method for AStream*
main debug: starting pre-buffering
main debug: received first data after 0 ms
main debug: pre-buffering done 1024 bytes in 0s - 1000000 KiB/s
main debug: looking for stream_filter module matching "any": 6 candidates
main debug: no stream_filter modules matched
main debug: looking for stream_filter module matching "record": 6 candidates
main debug: using stream_filter module "record"
main debug: creating demux: access='file' demux='' location='/E:/videos/Thor.The.Dark.World.2013.1080p.BluRay.x264-MYSELF/Thor.The.Dark.World.2013.1080p.BluRay.x264-MYSELF.mp4' file='E:\videos\Thor.The.Dark.World.2013.1080p.BluRay.x264-MYSELF\Thor.The.Dark.World.2013.1080p.BluRay.x264-MYSELF.mp4'
main debug: looking for demux module matching "mp4": 63 candidates
mp4 debug: dumping root Box "root"
mp4 debug: | + ftyp size 28
mp4 debug: | + moov size 1444236
mp4 debug: | | + mvhd size 108
mp4 debug: | | + trak size 1444077
mp4 debug: | | | + tkhd size 92
mp4 debug: | | | + edts size 36
mp4 debug: | | | | + elst size 28
mp4 debug: | | | + mdia size 1443941
mp4 debug: | | | | + mdhd size 32
mp4 debug: | | | | + hdlr size 45
mp4 debug: | | | | + minf size 1443856
mp4 debug: | | | | | + vmhd size 20
mp4 debug: | | | | | + dinf size 36
mp4 debug: | | | | | | + dref size 28
mp4 debug: | | | | | | | + url size 12
mp4 debug: | | | | | + stbl size 1443792
mp4 debug: | | | | | | + stsd size 156
mp4 debug: | | | | | | | + avc1 size 140
mp4 debug: | | | | | | | | + avcC size 54
mp4 debug: | | | | | | + stts size 788016
mp4 debug: | | | | | | + stss size 10784
mp4 debug: | | | | | | + stsc size 28
mp4 debug: | | | | | | + stsz size 644776
mp4 debug: | | | | | | + co64 size 24
mp4 debug: | | + udta size 43
mp4 debug: | | | + cenc size 35
mp4 debug: | + mdat size -1778712131
mp4 debug: ISO Media file (isom) version 0.
mp4 debug: found 1 tracks
mp4 warning: elst box found
mp4 debug: - [0] duration=6723143ms media time=0ms) rate=1.0
mp4 debug: track[Id 0x1] read 1 chunk
mp4 debug: track[Id 0x1] read 161189 samples length:6723s
main debug: selecting program id=0
mp4 debug: adding track[Id 0x1] video (enable) language en
main debug: using demux module "mp4"
main debug: looking for a subtitle file in E:\videos\Thor.The.Dark.World.2013.1080p.BluRay.x264-MYSELF\
main debug: looking for decoder module matching "any": 39 candidates
avcodec debug: trying to use direct rendering
avcodec debug: allowing 4 thread(s) for decoding
avcodec debug: avcodec codec (H264 - MPEG-4 AVC (part 10)) started
avcodec debug: using frame thread mode with 4 threads
main debug: using decoder module "avcodec"
main debug: looking for meta reader module matching "any": 2 candidates
lua debug: Trying Lua scripts in C:\Users\Michael Nicholas\AppData\Roaming\vlc\lua\meta\reader
lua debug: Trying Lua scripts in G:\programs\VLC\lua\meta\reader
lua debug: Trying Lua playlist script G:\programs\VLC\lua\meta\reader\filename.luac
main debug: meta ok for (null), need to fetch art
main debug: looking for meta fetcher module matching "any": 1 candidates
main debug: no meta reader modules matched
lua debug: Trying Lua scripts in C:\Users\Michael Nicholas\AppData\Roaming\vlc\lua\meta\fetcher
main debug: `file:///E:/videos/Thor.The.Dark.World.2013.1080p.BluRay.x264-MYSELF/Thor.The.Dark.World.2013.1080p.BluRay.x264-MYSELF.mp4' successfully opened
mp4 debug: elst (0) gives 0ms (movie)-> 0ms (track)
lua debug: Trying Lua scripts in G:\programs\VLC\lua\meta\fetcher
mp4 debug: track[Id 0x1] using Sync Sample Box (stss)
mp4 debug: stts gives 0 --> 0 (sample number)
main debug: Buffering 0%
main debug: Buffering 0%
lua debug: Trying Lua playlist script G:\programs\VLC\lua\meta\fetcher\tvrage.luac
main debug: Buffering 33%
main debug: Buffering 66%
main debug: Buffering 100%
main debug: Stream buffering done (400 ms in 0 ms)
main debug: looking for text renderer module matching "any": 2 candidates
main debug: using meta fetcher module "lua"
main debug: removing module "lua"
main debug: searching art for Thor.The.Dark.World.2013.1080p.BluRay.x264-MYSELF.mp4
main debug: looking for art finder module matching "any": 2 candidates
lua debug: Trying Lua scripts in C:\Users\Michael Nicholas\AppData\Roaming\vlc\lua\meta\art
lua debug: Trying Lua scripts in G:\programs\VLC\lua\meta\art
lua debug: Trying Lua playlist script G:\programs\VLC\lua\meta\art\00_musicbrainz.luac
lua debug: Trying Lua playlist script G:\programs\VLC\lua\meta\art\01_googleimage.luac
lua debug: Trying Lua playlist script G:\programs\VLC\lua\meta\art\02_frenchtv.luac
lua debug: Trying Lua playlist script G:\programs\VLC\lua\meta\art\03_lastfm.luac
main debug: no art finder modules matched
main debug: art not found for Thor.The.Dark.World.2013.1080p.BluRay.x264-MYSELF.mp4
freetype debug: Using Arial as font from file C:\Windows\Fonts\arial.ttf
freetype debug: using fontsize: 2
main debug: using text renderer module "freetype"
main debug: looking for video filter2 module matching "any": 55 candidates
swscale debug: 32x32 chroma: YUVA -> 16x16 chroma: RGBA with scaling using Bicubic (good quality)
main debug: using video filter2 module "swscale"
main debug: looking for video filter2 module matching "any": 55 candidates
yuvp debug: YUVP to YUVA converter
main debug: using video filter2 module "yuvp"
main debug: Deinterlacing available
main debug: deinterlace 0, mode blend, is_needed 0
main debug: Opening vout display wrapper
main debug: looking for vout display module matching "any": 10 candidates
qt4 debug: IM: Setting an input
direct3d debug: creating Vout EventThread
direct3d debug: DirectXCreateWindow
main debug: looking for vout window hwnd module matching "qt4,any": 3 candidates
qt4 debug: requesting video window...
qt4 debug: Video was requested 0, 0
main debug: using vout window hwnd module "qt4"
direct3d debug: created video sub-window
direct3d debug: Vout EventThread running
direct3d debug: disabling screen saver
direct3d debug: Direct3d Device: AMD Radeon HD 6800 Series 4098 26425 0
main debug: VoutDisplayEvent 'resize' 1938x845 window
direct3d warning: trying surface pixel format: YV12
direct3d debug: selected surface pixel format is YV12
direct3d debug: Using D3DTEXF_LINEAR for minification
direct3d debug: Using D3DTEXF_LINEAR for magnification
direct3d debug: Direct3D scene created successfully
direct3d debug: Direct3D device adapter successfully initialized
main debug: using vout display module "direct3d"
main debug: original format sz 1920x800, of (0,0), vsz 1920x800, 4cc I420, sar 1:1, msk r0x0 g0x0 b0x0
main debug: removing module "freetype"
main debug: looking for text renderer module matching "any": 2 candidates
main debug: VoutDisplayEvent 'resize' 1920x800 window
freetype debug: Using Arial as font from file C:\Windows\Fonts\arial.ttf
freetype debug: using fontsize: 2
main debug: using text renderer module "freetype"
avcodec debug: using direct rendering
main error: Failed to resize display
main debug: End of video preroll
main debug: Received first picture
direct3d debug: Created 1368x54 texture for OSD
main debug: Decoder buffering done in 114 ms
main debug: picture might be displayed late (missing 0 ms)

Re: No Audio after Video Conversion

Posted: 14 Jul 2015 20:41
by jwiz
Hello,

I am also having an issue when converting a DVD to MP4. The video looks great, but there is no audio. I"m not sure what the problem is.
It's a basic DVD with audio files and video files.

Re: FIXED:No Audio after Video Conversion

Posted: 23 Nov 2017 20:44
by baylife
THE FIX: This is a common problem that can be solved by ensuring that the conversion audio bitrates matches.

Open file you wish to convert. While file is playing, under Tools, select Codec information. For notice the audio bit rate.

When you make the conversion, under settings, make sure the audio bit rate you're converting to matches.

For whatever reasons, VLC doesn't automatically downgrade audio bit rate. So if your original audio bit rate is 48000 and your audio setting is set at 44100, VLC would generate a converted file without audio!

Good luck!

Re: FIXED:No Audio after Video Conversion

Posted: 04 Dec 2017 05:07
by stevebow
THE FIX: This is a common problem that can be solved by ensuring that the conversion audio bitrates matches.

Unfortunately this did not help, same bitrate and still no audio track at all within the converted file.

Re: No Audio after Video Conversion

Posted: 30 May 2018 00:43
by basket3238
the problem lies in the audio files. to solve this simply change the audio file sample rate format to 48000 hz by clicking on the customize tab. next change the codecs to MPEG 4 (AAC). this will add the duel audio during your conversion bruh.

Re: No Audio after Video Conversion

Posted: 05 Jan 2019 01:54
by cordingm
the problem lies in the audio files. to solve this simply change the audio file sample rate format to 48000 hz by clicking on the customize tab. next change the codecs to MPEG 4 (AAC). this will add the duel audio during your conversion bruh.
Perfect. Worked like a charm. Thanks!

Re: No Audio after Video Conversion

Posted: 05 Mar 2019 11:25
by altash
"the problem lies in the audio files. to solve this simply change the audio file sample rate format to 48000 hz by clicking on the customize tab. next change the codecs to MPEG 4 (AAC). this will add the duel audio during your conversion bruh."

Possible to advise where can i change the audio file rate?

Re: No Audio after Video Conversion

Posted: 05 Mar 2019 12:44
by altash
VLC could not open the mp4a audio encoder.


this message came on when i try to convert with MPEG 4.0 (AAC).

Re: No Audio after Video Conversion

Posted: 27 Apr 2019 19:16
by bigfatdad
Hi all

I'm also having problems with audio when converting my old .avi files to MP4. The video stream converts just fine.

I'm running on MacOS 10.14.4 (Mojave), and using VLC 3.0.6 Vetinari.

The media information window in VLC shows the source .avi file has the following settings:

Stream 0
Codec: H264 - MPEG-4 AVC (part 10) (avc1)
Type: Video
....
Stream 2
Codec: PCM S16 LE (s16l)
Type: Audio
Channels: Stereo
Sample Rate: 48000 Hz
Bits per Sample: 16


For the conversion, I've tried the standard Profile "Video - H.264 + MP3 (MP4)". This results in no audio.

Based on the feedback above, I've also tried to customise this standard profile's audio settings by changing:
Codec: MPEG 4 Audio (ACC)
Channels: 2 (this is the default)
Bitrate: 256
Samplerate: 48000

Alas, this still results in no audio :(

Now, I've noticed that if I look at VLC's media information window for the resulting .mp4 file, it has the following settings:

Stream 0
Codec: DV Video (dv )
Type: Video
....
Stream 1
Codec: MPEG ACC Audio (mp4a)
Type: Audio
Sample Rate: 48000 Hz
Bits per Sample: 16

So I noticed that the source has streams 0 and 2 (see above), whilst the result has streams 0 and 1. I also noticed that the result doesn't show "Channels: Stereo". Hmm. This may have no significance, but I also noticed (using HandBrake - sorry VLC :) that the source has two audio streams? Just FYI, I've also tried to convert using HandBrake, and the audio does come out but at a low frequency (as if playing at half speed, only not half speed - if that makes any sense :)

Note that the source .avi plays just fine in VLC, with sound. It's only after conversion that the sound goes missing.

Any thoughts, anyone?

Many thanks in advance.

Re: No Audio after Video Conversion

Posted: 05 May 2019 17:55
by BeNachos
I've been having the same issue, and I tried to change the codec(I think) and then it only gave me audio that didn't work on my editing software. I was trying to convert flv to mp4. here is the log thing

https://pastebin.com/gpr5Wvui

Re: No Audio after Video Conversion

Posted: 05 May 2019 17:59
by InTheWings
try 3.0.7 nightly build. There was a bug on MP3 muxing
http://nightlies.videolan.org/build/win64/

Re: No Audio after Video Conversion

Posted: 12 May 2019 22:24
by tfanara
I GOT IT!!!!! After I tried everything, the audio still wasn't working. UNTIL I clicked to edit the profile (the little wrench) and saw that my settings in codec weren't actually saving. Changed it there and BOOM!

Re: No Audio after Video Conversion

Posted: 16 Aug 2019 00:44
by CineMan
VLC converts an mkv file for me to mp4 without chaning anythin as above and it has sound. No sound converting with handbrake or a****soft video converter

Re: No Audio after Video Conversion

Posted: 14 Nov 2019 18:14
by grkatz
I'm having the same problem. I am converting a DVD of home movies (burned on a DVD recorder from a VHS-c video) to an mp4. The DVD does have audio so it isn't the DVD or the burning process. It also plays fine with audio if I use VLC's media player. It just doesn't have audio with Windows Media Player and Windows 10 Movies/Tv. Other MP4 files play fine on Windows, just not the ones that were converted with VLC.

Re: No Audio after Video Conversion

Posted: 22 Nov 2019 23:05
by dallert
I'm having the same problem. I am converting a DVD of home movies (burned on a DVD recorder from a VHS-c video) to an mp4. The DVD does have audio so it isn't the DVD or the burning process. It also plays fine with audio if I use VLC's media player. It just doesn't have audio with Windows Media Player and Windows 10 Movies/Tv. Other MP4 files play fine on Windows, just not the ones that were converted with VLC.
I have the same exact problem.

Re: No Audio after Video Conversion

Posted: 27 Dec 2019 06:00
by unlved1
"I'm having the same problem. I am converting a DVD of home movies (burned on a DVD recorder from a VHS-c video) to an mp4. The DVD does have audio so it isn't the DVD or the burning process. It also plays fine with audio if I use VLC's media player. It just doesn't have audio with Windows Media Player and Windows 10 Movies/Tv. Other MP4 files play fine on Windows, just not the ones that were converted with VLC."
Same Problem I have having. Please help!!

Re: No Audio after Video Conversion

Posted: 16 Mar 2020 23:17
by Brendoe
"I'm having the same problem. I am converting a DVD of home movies (burned on a DVD recorder from a VHS-c video) to an mp4. The DVD does have audio so it isn't the DVD or the burning process. It also plays fine with audio if I use VLC's media player. It just doesn't have audio with Windows Media Player and Windows 10 Movies/Tv. Other MP4 files play fine on Windows, just not the ones that were converted with VLC."
Same Problem I have having. Please help!!
i figured it out if anyone is still interested. When using the mp4 option i clicked the audio codec and chose the MPEG 4 audio (AAC) option instead of the default mpeg audio and changed the sample rate to 48000. Hope this helps!

Re: No Audio after Video Conversion

Posted: 01 Apr 2020 22:28
by dreadfuljude
Hello, I am here to thank you for the solution. sample rate to 48000 and audio AAC codec did it! Thank you.