No sound decoded on avi files - works in quicktime

Microsoft Windows specific usage questions
Forum rules
Please post only Windows specific questions in this forum category. If you don't know where to post, please read the different forums' rules. Thanks.
engberg
New Cone
New Cone
Posts: 3
Joined: 31 Mar 2018 23:30

No sound decoded on avi files - works in quicktime

Postby engberg » 31 Mar 2018 23:36

Hello

I have some avi-files that VLC plays, but without sound.

Under statistic - is says no packets decoded.

VLC plays other files fine - and the avi's in question is played back fine - with sound in quicktime.


The debug is here:


direct3d11 error: SetThumbNailClip failed: 0x800706f4
main debug: processing request item: paaske1.avi, node: Spilleliste, skip: 0
main debug: resyncing on paaske1.avi
main debug: paaske1.avi is at 0
main debug: starting playback of new item
main debug: resyncing on paaske1.avi
main debug: paaske1.avi is at 0
main debug: creating new input thread
main debug: Creating an input for 'paaske1.avi'
main debug: requesting art for new input thread
main debug: using timeshift granularity of 50 MiB
main debug: using timeshift path: C:\Users\Kasper\AppData\Local\Temp
main debug: `file:///F:/paaske1.avi' gives access `file' demux `any' path `/F:/paaske1.avi'
main debug: creating demux: access='file' demux='any' location='/F:/paaske1.avi' file='F:\paaske1.avi'
main debug: looking for access_demux module matching "file": 15 candidates
main debug: looking for meta fetcher module matching "any": 1 candidates
main debug: no access_demux modules matched
main debug: creating access: file:///F:/paaske1.avi
main debug: (path: F:\paaske1.avi)
main debug: looking for access module matching "file": 25 candidates
main debug: using access module "filesystem"
main debug: looking for stream_filter module matching "prefetch,cache_read": 24 candidates
cache_read debug: Using stream method for AStream*
lua debug: Trying Lua scripts in C:\Users\Kasper\AppData\Roaming\vlc\lua\meta\fetcher
cache_read debug: starting pre-buffering
lua debug: Trying Lua scripts in C:\Program Files\VideoLAN\VLC\lua\meta\fetcher
cache_read debug: received first data after 0 ms
cache_read debug: pre-buffering done 1024 bytes in 0s - 1000000 KiB/s
main debug: no meta fetcher modules matched
main debug: using stream_filter module "cache_read"
main debug: looking for art finder module matching "any": 2 candidates
main debug: looking for stream_filter module matching "any": 24 candidates
lua debug: Trying Lua scripts in C:\Users\Kasper\AppData\Roaming\vlc\lua\playlist
lua debug: Trying Lua scripts in C:\Program Files\VideoLAN\VLC\lua\playlist
lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\playlist\anevia_streams.luac
lua debug: Trying Lua scripts in C:\Users\Kasper\AppData\Roaming\vlc\lua\meta\art
lua debug: Trying Lua scripts in C:\Program Files\VideoLAN\VLC\lua\meta\art
lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\meta\art\00_musicbrainz.luac
lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\playlist\anevia_xml.luac
lua debug: skipping script (unmatched scope) C:\Program Files\VideoLAN\VLC\lua\meta\art\00_musicbrainz.luac
lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\meta\art\01_googleimage.luac
lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\playlist\appletrailers.luac
lua debug: skipping script (unmatched scope) C:\Program Files\VideoLAN\VLC\lua\meta\art\01_googleimage.luac
lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\meta\art\02_frenchtv.luac
lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\playlist\bbc_co_uk.luac
lua debug: skipping script (unmatched scope) C:\Program Files\VideoLAN\VLC\lua\meta\art\02_frenchtv.luac
lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\meta\art\03_lastfm.luac
qt debug: IM: Setting an input
lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\playlist\cue.luac
lua debug: skipping script (unmatched scope) C:\Program Files\VideoLAN\VLC\lua\meta\art\03_lastfm.luac
main debug: no art finder modules matched
lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\playlist\dailymotion.luac
main debug: looking for meta fetcher module matching "any": 1 candidates
lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\playlist\jamendo.luac
lua debug: Trying Lua scripts in C:\Users\Kasper\AppData\Roaming\vlc\lua\meta\fetcher
lua debug: Trying Lua scripts in C:\Program Files\VideoLAN\VLC\lua\meta\fetcher
main debug: no meta fetcher modules matched
main debug: looking for art finder module matching "any": 2 candidates
lua debug: Trying Lua scripts in C:\Users\Kasper\AppData\Roaming\vlc\lua\meta\art
lua debug: Trying Lua scripts in C:\Program Files\VideoLAN\VLC\lua\meta\art
lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\playlist\koreus.luac
lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\meta\art\00_musicbrainz.luac
lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\playlist\liveleak.luac
lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\meta\art\01_googleimage.luac
lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\playlist\newgrounds.luac
lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\meta\art\02_frenchtv.luac
lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\playlist\rockbox_fm_presets.luac
lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\meta\art\03_lastfm.luac
lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\playlist\soundcloud.luac
main debug: no art finder modules matched
lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\playlist\twitch.luac
lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\playlist\vimeo.luac
lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\playlist\vocaroo.luac
lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\playlist\youtube.luac
main debug: no stream_filter modules matched
main debug: looking for stream_directory module matching "any": 1 candidates
main debug: no stream_directory modules matched
main debug: attachment of directory-extractor failed for file:///F:/paaske1.avi
main debug: looking for stream_filter module matching "record": 24 candidates
main debug: using stream_filter module "record"
main debug: creating demux: access='file' demux='any' location='/F:/paaske1.avi' file='F:\paaske1.avi'
main debug: looking for demux module matching "avi": 55 candidates
avi debug:
avi debug:
avi debug:
avi debug:
avi debug:
avi debug:
avi debug:
avi debug: skipping movi chunk
avi debug:
avi debug: no more data at 339961212
avi debug: * LIST-root size:339961212 pos:0
avi debug: + RIFF-AVI size:339961204 pos:0
avi debug: | + LIST-hdrl size:32484 pos:12
avi debug: | | + avih size:56 pos:24
avi debug: | | + LIST-strl size:32140 pos:88
avi debug: | | | + strh size:56 pos:100
avi debug: | | | + strf size:32 pos:164
avi debug: | | | + indx size:32024 pos:204
avi debug: | | + LIST-odml size:260 pos:32236
avi debug: | | | + dmlh size:248 pos:32248
avi debug: | + LIST-movi size:339890916 pos:32504
avi debug: | + idx1 size:37776 pos:339923428
avi debug: AVIH: 1 stream, flags HAS_INDEX TRUST_CKTYPE
avi debug: stream[0] rate:10000000 scale:400000 samplesize:0
avi debug: stream[0] iavs with handler dvsd
main debug: selecting program id=0
avi debug: loading subindex(0x1) 2360 entries
avi debug: selected standard index for stream[0]
avi debug: stream[0] created 2360 index entries
avi debug: stream[0] length:94 (based on index)
main debug: using demux module "avi"
main debug: looking for a subtitle file in F:\
main debug: looking for video decoder module matching "any": 17 candidates
avcodec debug: using ffmpeg Lavc58.6.103
avcodec debug: CPU flags: 0x000853db
avcodec debug: allowing 6 thread(s) for decoding
avcodec debug: codec (dvvideo) started
avcodec debug: using slice thread mode with 6 threads
main debug: using video decoder module "avcodec"
main debug: looking for meta reader module matching "any": 2 candidates
lua debug: Trying Lua scripts in C:\Users\Kasper\AppData\Roaming\vlc\lua\meta\reader
lua debug: Trying Lua scripts in C:\Program Files\VideoLAN\VLC\lua\meta\reader
lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\meta\reader\filename.luac
main debug: no meta reader modules matched
main debug: `file:///F:/paaske1.avi' successfully opened
main debug: Buffering 0%
main debug: Buffering 8%
main debug: Buffering 16%
main debug: Buffering 25%
main debug: Buffering 33%
main debug: Buffering 41%
main debug: Buffering 50%
main debug: looking for text renderer module matching "any": 3 candidates
main debug: Buffering 58%
main debug: Buffering 66%
main debug: Buffering 75%
main debug: Buffering 83%
main debug: Buffering 91%
main debug: Buffering 100%
main debug: Stream buffering done (325 ms in 2 ms)
freetype debug: Using DWrite backend
freetype debug: DWrite_GetFamily(): family name: Arial
main debug: using text renderer module "freetype"
main debug: looking for video converter module matching "any": 24 candidates
swscale debug: 32x32 (32x32) chroma: YUVA -> 16x16 (16x16) chroma: RGBA with scaling using Bicubic (good quality)
main debug: using video converter module "swscale"
main debug: looking for video converter module matching "any": 24 candidates
yuvp debug: YUVP to YUVA converter
main debug: using video converter module "yuvp"
main debug: Deinterlacing available
main debug: deinterlace -1, mode auto, is_needed 0
main debug: looking for vout window module matching "qt,any": 3 candidates
qt debug: requesting video window...
main debug: resized to 600x354
main debug: resized to 768x576
main debug: resized to 720x576
main debug: using vout window module "qt"
main debug: looking for inhibit module matching "any": 1 candidates
main debug: using inhibit module "inhibit"
main debug: Opening vout display wrapper
main debug: looking for vout display module matching "any": 12 candidates
direct3d11 debug: creating Vout EventThread
direct3d11 debug: Win32VoutCreateWindow
main debug: VoutDisplayEvent 'resize' 720x576
direct3d11 debug: inclinometer not found. (hr=0x80070490)
direct3d11 debug: created video sub-window
direct3d11 debug: Vout EventThread running
direct3d11 debug: supports colorspace RGB Rec.709 gamma:22 range:FULL
direct3d11 debug: supports colorspace RGB Rec.709 gamma:22 range:STUDIO
direct3d11 debug: supports colorspace RGB Rec.2020 gamma:22 range:STUDIO
direct3d11 debug: supports colorspace RGB Rec.2020 gamma:22 range:FULL
direct3d11 debug: supports colorspace RGB Rec.2020 gamma:2084 range:FULL
direct3d11 debug: supports colorspace RGB Rec.2020 gamma:2084 range:STUDIO
direct3d11 debug: Output max luminance: 270.0, colorspace RGB Rec.709 gamma:22 range:FULL, bits per pixel 8
direct3d11 debug: using colorspace RGB Rec.709 gamma:22 range:FULL
direct3d11 debug: Using pixel format I420 for chroma I420
main debug: VoutDisplayEvent 'resize' 784x615
direct3d11 debug: Direct3D11 resources created
direct3d11 debug: Direct3D11 device adapter successfully initialized
direct3d11 debug: Direct3D11 Open Succeeded
main debug: using vout display module "direct3d11"
direct3d11 debug: D3D11 pool succeed with 24 surfaces (720x576) context 0x0000000005bce3f8
main debug: original format sz 720x576, of (0,0), vsz 720x576, 4cc I420, sar 16:15, msk r0x0 g0x0 b0x0
main debug: removing module "freetype"
main debug: VoutDisplayEvent 'resize' 720x576
main debug: looking for text renderer module matching "any": 3 candidates
direct3d11 debug: Detected size change 720x540
freetype debug: Using DWrite backend
freetype debug: DWrite_GetFamily(): family name: Arial
main debug: using text renderer module "freetype"
avcodec warning: plane 0 not aligned: disabling direct rendering
main debug: Received first picture
main debug: Decoder wait done in 143 ms
direct3d11 debug: unhandled source transfer 0
main debug: Detected interlaced video
main debug: deinterlace -1, mode auto, is_needed 1
main debug: Adding 'deinterlace' as static
main debug: looking for video filter module matching "deinterlace,chain": 46 candidates
deinterlace debug: using x deinterlace method
deinterlace debug: deinterlacing
main debug: using video filter module "deinterlace"
main debug: Filter 'deinterlace' (000000000270c6a0) appended to chain
qt debug: Logical video size: 768x576
main debug: resized to 768x576
main debug: VoutDisplayEvent 'resize' 768x576
qt debug: Logical video size: 768x576
main debug: resized to 768x576
main debug: VoutDisplayEvent 'resize' 768x576
main debug: VoutDisplayEvent 'resize' 768x576
direct3d11 debug: Detected size change 768x576
direct3d11 debug: unhandled source transfer 0
main debug: auto hiding mouse cursor
main debug: resized to 768x553
main debug: VoutDisplayEvent 'resize' 768x553
main debug: VoutDisplayEvent 'resize' 768x553
direct3d11 debug: Detected size change 737x553
main debug: resized to 768x576
main debug: VoutDisplayEvent 'resize' 768x576
main debug: VoutDisplayEvent 'resize' 768x576
direct3d11 debug: Detected size change 768x576
main debug: auto hiding mouse cursor
main debug: toggling resume
main debug: auto hiding mouse cursor

robUx4
Developer
Developer
Posts: 255
Joined: 31 Jan 2005 13:50
VLC version: master
Operating System: Windows
Contact:

Re: No sound decoded on avi files - works in quicktime

Postby robUx4 » 03 Apr 2018 14:22

What does MediaInfo say about the file ?
Can you upload the files somewhere ?

engberg
New Cone
New Cone
Posts: 3
Joined: 31 Mar 2018 23:30

Re: No sound decoded on avi files - works in quicktime

Postby engberg » 03 Apr 2018 15:49

mediaarea.net/MediaInfoOnline gives me this:

General
Complete name : paaske1.avi
Format : AVI
Format/Info : Audio Video Interleave
Commercial name : DV
File size : 324 MiB
Duration : 1 min 34 s
Overall bit rate mode : Constant
Overall bit rate : 28.8 Mb/s

Video
ID : 0
Format : DV
Duration : 1 min 34 s
Bit rate mode : Constant
Bit rate : 24.4 Mb/s
Encoded bit rate : 28.8 Mb/s
Width : 720 pixels
Height : 576 pixels
Display aspect ratio : 4:3
Frame rate mode : Constant
Frame rate : 25.000 FPS
Standard : PAL
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Interlaced
Scan order : Bottom Field First
Compression mode : Lossy
Bits/(Pixel*Frame) : 2.357
Time code of first frame : 00:00:00:00
Time code source : Subcode time code
Stream size : 324 MiB (100%)

Audio
ID : 0-0
Format : PCM
Muxing mode : DV
Muxing mode, more info : Muxed in Video #1
Duration : 1 min 34 s
Bit rate mode : Constant
Bit rate : 1 536 kb/s
Encoded bit rate : 0 b/s
Channel(s) : 2 channels
Sampling rate : 48.0 kHz
Bit depth : 16 bits
Stream size : 17.3 MiB (5%)
Encoded stream size : 0.00 Byte (0%)

robUx4
Developer
Developer
Posts: 255
Joined: 31 Jan 2005 13:50
VLC version: master
Operating System: Windows
Contact:

Re: No sound decoded on avi files - works in quicktime

Postby robUx4 » 05 Apr 2018 15:00

OK that's a DV Type 1 file where the audio is muxed in the same track as the video. I think we should support that.
Can you try with '--demux=avformat' ?

Also can you upload the sample somewhere ?

engberg
New Cone
New Cone
Posts: 3
Joined: 31 Mar 2018 23:30

Re: No sound decoded on avi files - works in quicktime

Postby engberg » 06 Apr 2018 14:42

The sample is 1.3GB - so I don't really know where to put it.

The --demux=avformat - I don't know the proper way to use that..

User avatar
InTheWings
Developer
Developer
Posts: 1275
Joined: 07 Aug 2013 13:15
VLC version: crashing
Operating System: Linux
Contact:

Re: No sound decoded on avi files - works in quicktime

Postby InTheWings » 09 Apr 2018 04:58

The sample is 1.3GB - so I don't really know where to put it.

The --demux=avformat - I don't know the proper way to use that..
You don't need to send the full file, you just need few MBs from the start
:!: If you want your problem to be solved :
* First read troubleshooting guide VSG:Main
* Always provide verbose LOGS ! (command line or from gui)
* Always check your issue against a developer build from Nightly Build of VLC
* Tell us when your problem is solved !

ghiga_andrei
New Cone
New Cone
Posts: 9
Joined: 20 Mar 2018 23:43
Operating System: Windows
Location: Bucharest, Romania

Re: No sound decoded on avi files - works in quicktime

Postby ghiga_andrei » 11 Apr 2018 00:11

I also have problems with .avi files captured with WinDV from a Digital8 camcorder.
Here a small sample file with no sound:
https://mega.nz/#!94NhQCrC!KE07qgx6uptr ... dUlVdWqmvk

Also, AVI DV files (Type 1 and Type 2 when sound is ok) have another problem that when it reaches by normal play or I seek past exactly 18m:45s, the image and audio become noise, like this:
https://mega.nz/#!Y9slhLiA!s2yh5PV_bTky ... GMzXvGsVjY

If I seek back before 18:45 then everythink goes back to normal until it reaches this exact point again.
I cannot upload a sample larger than 19minutes, it is huge.

ghiga_andrei
New Cone
New Cone
Posts: 9
Joined: 20 Mar 2018 23:43
Operating System: Windows
Location: Bucharest, Romania

Re: No sound decoded on avi files - works in quicktime

Postby ghiga_andrei » 23 Apr 2018 21:47

Both problems fixed in the latest nightly.
Thank you.


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: No registered users and 17 guests