flv containing AAC 48 kHz interpreted as 44.1 kHz
according to the flv spec ( http://www.adobe.com/content/dam/Adobe/en/devnet/flv/pdfs/video_file_format_spec_v10.pdf ), if the audio track is reported as AAC 44 kHz, "the Flash Player ignores these values and extracts the channel and sample rate data is encoded in the AAC bitstream."
however, when I play a flv file with 48 kHz AAC, VLC 2.1.5 on verbosity=2 talks only about 44100 Hz.
most importantly, audio drops out every ~second for a bit, which sounds like 44100 of 48000 samples are decoded and the remaining ones are 0.
Activity
-
Newest first Oldest first
-
Show all activity Show comments only Show history only
- Migration Bot added Severity::normal Type::bug + 1 deleted label
added Severity::normal Type::bug + 1 deleted label
- Migration Bot changed milestone to %Bugs paradize
changed milestone to %Bugs paradize
- Author
this is what's repeating in the log:
main warning: playback too late (62496): up-sampling main warning: timing screwed (drift: 125385 us): stopping resampling main warning: playback too late (124560): up-sampling main warning: playback way too late (180507): flushing buffers main debug: inserting 18786 zeroes
Original author: christoph rackwitz
- Author
the AACAUDIODATA and contained "AudioSpecificConfig" structure for my file report 1-channel 88200 Hz audio, but that's not the AAC bitstream yet. ffmpeg reports 48 kHz stereo for the same file.
Original author: christoph rackwitz
- Owner
Please share a log :P
- Author
main debug: adding item `voecking-kolloquium-150205-stream-1423137583.flv' ( file:///V:/Video%20AG/archiv/voecking-kolloquium/stream/voecking-kolloquium-150205-stream-1423137583.flv ) qt4 debug: Adding a new MRL to recent ones: file:///V:/Video%20AG/archiv/voecking-kolloquium/stream/voecking-kolloquium-150205-stream-1423137583.flv main debug: processing request item: voecking-kolloquium-150205-stream-1423137583.flv, node: null, skip: 0 main debug: rebuilding array of current - root Playlist main debug: rebuild done - 1 items, index 0 main debug: starting playback of the new playlist item main debug: Creating an input for 'voecking-kolloquium-150205-stream-1423137583.flv' main debug: resyncing on voecking-kolloquium-150205-stream-1423137583.flv main debug: voecking-kolloquium-150205-stream-1423137583.flv is at 0 main debug: creating new input thread main debug: Creating an input for 'voecking-kolloquium-150205-stream-1423137583.flv' main debug: using timeshift granularity of 50 MiB, in path 'C:\Users\Chris\AppData\Local\Temp' main debug: `file:///V:/Video%20AG/archiv/voecking-kolloquium/stream/voecking-kolloquium-150205-stream-1423137583.flv' gives access `file' demux `' path `/V:/Video%20AG/archiv/voecking-kolloquium/stream/voecking-kolloquium-150205-stream-1423137583.flv' main debug: creating demux: access='file' demux='' location='/V:/Video%20AG/archiv/voecking-kolloquium/stream/voecking-kolloquium-150205-stream-1423137583.flv' file='V:\Video AG\archiv\voecking-kolloquium\stream\voecking-kolloquium-150205-stream-1423137583.flv' main debug: looking for access_demux module matching "file": 12 candidates main debug: no access_demux modules matched main debug: creating access 'file' location='/V:/Video%20AG/archiv/voecking-kolloquium/stream/voecking-kolloquium-150205-stream-1423137583.flv', path='V:\Video AG\archiv\voecking-kolloquium\stream\voecking-kolloquium-150205-stream-1423137583.flv' main debug: looking for access module matching "file": 20 candidates filesystem debug: opening file `V:\Video AG\archiv\voecking-kolloquium\stream\voecking-kolloquium-150205-stream-1423137583.flv' 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='/V:/Video%20AG/archiv/voecking-kolloquium/stream/voecking-kolloquium-150205-stream-1423137583.flv' file='V:\Video AG\archiv\voecking-kolloquium\stream\voecking-kolloquium-150205-stream-1423137583.flv' main debug: looking for demux module matching "any": 63 candidates mod debug: MOD validation failed (ext=flv) ts debug: TS module discarded (lost sync) avcodec debug: trying url: V:\Video AG\archiv\voecking-kolloquium\stream\voecking-kolloquium-150205-stream-1423137583.flv avcodec debug: detected format: flv qt4 debug: IM: Setting an input main debug: no fetch required for (null) (art currently (null)) main debug: selecting program id=0 avcodec debug: adding es: video codec = h264 (28) avcodec debug: adding es: audio codec = mp4a (86018) avcodec debug: AVFormat supported stream avcodec debug: - format = flv (FLV (Flash Video)) avcodec debug: - start time = 0 avcodec debug: - duration = 10520000 main debug: using demux module "avcodec" main debug: looking for a subtitle file in V:\Video AG\archiv\voecking-kolloquium\stream\ 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 decoder module matching "any": 39 candidates main debug: using decoder module "faad" main debug: looking for meta reader module matching "any": 2 candidates lua debug: Trying Lua scripts in C:\Users\Chris\AppData\Roaming\vlc\lua\meta\reader lua debug: Trying Lua scripts in P:\VLC\lua\meta\reader lua debug: Trying Lua playlist script P:\VLC\lua\meta\reader\filename.luac main debug: no meta reader modules matched main debug: `file:///V:/Video%20AG/archiv/voecking-kolloquium/stream/voecking-kolloquium-150205-stream-1423137583.flv' successfully opened main debug: Buffering 0% main debug: Buffering 0% main debug: Buffering 0% main debug: Buffering 7% main debug: Buffering 13% main debug: Buffering 13% main debug: Buffering 21% main debug: Buffering 26% main debug: Buffering 26% main debug: Buffering 35% main debug: Buffering 40% main debug: Buffering 40% main debug: Buffering 50% main debug: Buffering 53% main debug: Buffering 53% main debug: Buffering 64% main debug: Buffering 66% main debug: Buffering 66% main debug: Buffering 78% main debug: Buffering 80% main debug: Buffering 80% main debug: Buffering 92% faad warning: decoded zero sample main debug: Buffering 93% main debug: Buffering 99% main debug: Stream buffering done (320 ms in 0 ms) faad warning: Bitstream value not allowed by specification faad warning: Unexpected channel configuration change main debug: looking for text renderer module matching "any": 2 candidates faad warning: decoded zero sample 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 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: NVIDIA GeForce GTX 560 4318 4609 161 main debug: VoutDisplayEvent 'resize' 1936x1118 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 1920x1080, of (0,0), vsz 1920x1080, 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 freetype debug: Using Arial as font from file C:\Windows\Fonts\arial.ttf main debug: VoutDisplayEvent 'resize' 1132x637 window freetype debug: using fontsize: 2 main debug: using text renderer module "freetype" main debug: reusing audio output avcodec debug: using direct rendering directsound debug: Opening DirectSound Audio Output main error: Failed to resize display main debug: End of video preroll main debug: Received first picture directsound debug: Windows speaker config: Stereo and stream has 2 channels, using 2 channels direct3d debug: Created 1564x72 texture for OSD main debug: output 'f32l' 44100 Hz Stereo frame=1 samples/8 bytes main debug: looking for audio volume module matching "any": 2 candidates main debug: using audio volume module "float_mixer" main debug: input 'f32l' 44100 Hz Stereo frame=1 samples/8 bytes main debug: looking for audio filter module matching "scaletempo": 14 candidates scaletempo debug: format: 44100 rate, 2 nch, 4 bps, fl32 scaletempo debug: params: 30 stride, 0.200 overlap, 14 search scaletempo debug: 1.000 scale, 1323.000 stride_in, 1323 stride_out, 1059 standing, 264 overlap, 617 search, 2204 queue, fl32 mode main debug: using audio filter module "scaletempo" main debug: conversion: 'f32l'->'f32l' 44100 Hz->44100 Hz Stereo->Stereo main debug: conversion pipeline complete main debug: conversion: 'f32l'->'f32l' 44100 Hz->44100 Hz Stereo->Stereo main debug: conversion pipeline complete main debug: looking for audio resampler module matching "any": 3 candidates main debug: using audio resampler module "samplerate" main debug: End of audio preroll main debug: Decoder buffering done in 125 ms main debug: inserting 4145 zeroes main warning: playback too late (63408): up-sampling main warning: timing screwed (drift: 129866 us): stopping resampling main warning: playback too late (131040): up-sampling main warning: playback way too late (180791): flushing buffers main debug: inserting 18566 zeroes main warning: playback too late (62494): up-sampling main debug: auto hiding mouse cursor main warning: timing screwed (drift: 126557 us): stopping resampling main warning: playback too late (127755): up-sampling main warning: playback way too late (181133): flushing buffers main debug: inserting 18522 zeroes main warning: playback too late (64716): up-sampling main warning: timing screwed (drift: 129954 us): stopping resampling main warning: playback too late (126151): up-sampling main warning: playback way too late (186099): flushing buffers main debug: inserting 18522 zeroes main warning: playback too late (60133): up-sampling main warning: timing screwed (drift: 120476 us): stopping resampling main warning: playback too late (120650): up-sampling main warning: playback way too late (181993): flushing buffers main debug: inserting 18566 zeroes main warning: playback too late (62131): up-sampling main warning: timing screwed (drift: 131020 us): stopping resampling main warning: playback too late (127217): up-sampling main warning: playback way too late (187165): flushing buffers main debug: inserting 18522 zeroes main warning: playback too late (60156): up-sampling main warning: timing screwed (drift: 121476 us): stopping resampling main warning: playback too late (120673): up-sampling main debug: EOF reached main debug: waiting decoder fifos to empty main debug: waiting decoder fifos to empty main debug: waiting decoder fifos to empty main debug: waiting decoder fifos to empty main debug: waiting decoder fifos to empty main debug: finished input main debug: removing module "avcodec" avcodec debug: ffmpeg codec (H264 - MPEG-4 AVC (part 10)) stopped main debug: killing decoder fourcc `h264', 0 PES in FIFO main debug: saving a free vout main debug: reusing provided vout main debug: removing module "faad" main debug: killing decoder fourcc `mp4a', 0 PES in FIFO main debug: removing module "samplerate" main debug: removing module "scaletempo" directsound debug: closing audio device main debug: removing module "float_mixer" main debug: keeping audio output main debug: removing module "avcodec" main debug: removing module "record" main debug: removing module "filesystem" main debug: Program doesn't contain anymore ES main debug: dead input main debug: changing item without a request (current 0/1) main debug: nothing to play main debug: destroying useless vout main debug: removing module "direct3d" direct3d debug: Direct3D scene released successfully qt4 debug: IM: Deleting the input direct3d debug: DirectXEventThread terminating direct3d debug: DirectXCloseWindow direct3d debug: WinProc WM_DESTROY qt4 debug: releasing video... qt4 debug: Video is not needed anymore main debug: removing module "freetype" main debug: removing module "yuvp" main debug: removing module "swscale"
Original author: christoph rackwitz
- Developer
We don't have our own decoder to guess rate. And that hotfix has to be done by a decoder. avcodec -> novlc
- Author
so where do I report that then? ffmpeg or libav/avconv? which libavcodec is used by vlc?
Original author: christoph rackwitz
- Developer
This could be faad decoding bug, as it is used for audio decoding based on that log. Can you try without faad module (eg --codec avcodec)?
- Author
that worked. no dropouts.
main debug: adding item `voecking-kolloquium-150205-stream-1423137890.flv' ( file:///V:/Video%20AG/archiv/voecking-kolloquium/stream/voecking-kolloquium-150205-stream-1423137890.flv ) main debug: processing request item: voecking-kolloquium-150205-stream-1423137890.flv, node: null, skip: 0 qt4 debug: Adding a new MRL to recent ones: file:///V:/Video%20AG/archiv/voecking-kolloquium/stream/voecking-kolloquium-150205-stream-1423137890.flv main debug: rebuilding array of current - root Playlist main debug: rebuild done - 1 items, index 0 main debug: starting playback of the new playlist item main debug: resyncing on voecking-kolloquium-150205-stream-1423137890.flv main debug: voecking-kolloquium-150205-stream-1423137890.flv is at 0 main debug: creating new input thread main debug: Creating an input for 'voecking-kolloquium-150205-stream-1423137890.flv' main debug: Creating an input for 'voecking-kolloquium-150205-stream-1423137890.flv' main debug: using timeshift granularity of 50 MiB, in path 'C:\Users\Chris\AppData\Local\Temp' main debug: `file:///V:/Video%20AG/archiv/voecking-kolloquium/stream/voecking-kolloquium-150205-stream-1423137890.flv' gives access `file' demux `' path `/V:/Video%20AG/archiv/voecking-kolloquium/stream/voecking-kolloquium-150205-stream-1423137890.flv' main debug: creating demux: access='file' demux='' location='/V:/Video%20AG/archiv/voecking-kolloquium/stream/voecking-kolloquium-150205-stream-1423137890.flv' file='V:\Video AG\archiv\voecking-kolloquium\stream\voecking-kolloquium-150205-stream-1423137890.flv' main debug: looking for access_demux module matching "file": 12 candidates qt4 debug: IM: Setting an input main debug: no access_demux modules matched main debug: creating access 'file' location='/V:/Video%20AG/archiv/voecking-kolloquium/stream/voecking-kolloquium-150205-stream-1423137890.flv', path='V:\Video AG\archiv\voecking-kolloquium\stream\voecking-kolloquium-150205-stream-1423137890.flv' main debug: looking for access module matching "file": 20 candidates filesystem debug: opening file `V:\Video AG\archiv\voecking-kolloquium\stream\voecking-kolloquium-150205-stream-1423137890.flv' 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='/V:/Video%20AG/archiv/voecking-kolloquium/stream/voecking-kolloquium-150205-stream-1423137890.flv' file='V:\Video AG\archiv\voecking-kolloquium\stream\voecking-kolloquium-150205-stream-1423137890.flv' main debug: looking for demux module matching "any": 63 candidates mod debug: MOD validation failed (ext=flv) ts debug: TS module discarded (lost sync) avcodec debug: trying url: V:\Video AG\archiv\voecking-kolloquium\stream\voecking-kolloquium-150205-stream-1423137890.flv avcodec debug: detected format: flv main debug: no fetch required for (null) (art currently (null)) main debug: selecting program id=0 avcodec debug: adding es: video codec = h264 (28) avcodec debug: adding es: audio codec = mp4a (86018) avcodec debug: AVFormat supported stream avcodec debug: - format = flv (FLV (Flash Video)) avcodec debug: - start time = 0 avcodec debug: - duration = 4640000 main debug: using demux module "avcodec" main debug: looking for a subtitle file in V:\Video AG\archiv\voecking-kolloquium\stream\ main debug: looking for decoder module matching "avcodec": 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 decoder module matching "avcodec": 39 candidates avcodec debug: avcodec codec (MPEG AAC Audio) started 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\Chris\AppData\Roaming\vlc\lua\meta\reader lua debug: Trying Lua scripts in p:\VLC\lua\meta\reader lua debug: Trying Lua playlist script p:\VLC\lua\meta\reader\filename.luac main debug: no meta reader modules matched main debug: `file:///V:/Video%20AG/archiv/voecking-kolloquium/stream/voecking-kolloquium-150205-stream-1423137890.flv' successfully opened main debug: Buffering 0% main debug: reusing audio output directsound debug: Opening DirectSound Audio Output main debug: Buffering 0% main debug: Buffering 0% main debug: Buffering 0% main debug: Buffering 0% main debug: Buffering 0% main debug: Buffering 0% main debug: Buffering 0% main debug: Buffering 0% main debug: Buffering 0% main debug: Buffering 0% main debug: Buffering 0% main debug: Buffering 0% main debug: Buffering 0% main debug: Buffering 0% main debug: Buffering 0% main debug: Buffering 0% main debug: Buffering 0% main debug: Buffering 0% main debug: Buffering 0% main debug: Buffering 0% main debug: Buffering 0% main debug: Buffering 0% main debug: Buffering 0% main debug: Buffering 0% main debug: Buffering 0% main debug: Buffering 0% main debug: Buffering 0% main debug: Buffering 0% main debug: Buffering 0% main debug: Buffering 0% main debug: Buffering 0% main debug: Buffering 0% main debug: Buffering 0% main debug: Stream buffering done (704 ms in 4 ms) directsound debug: Windows speaker config: Stereo and stream has 2 channels, using 2 channels main debug: output 'f32l' 48000 Hz Stereo frame=1 samples/8 bytes main debug: looking for audio volume module matching "any": 2 candidates main debug: using audio volume module "float_mixer" main debug: input 'f32l' 48000 Hz Stereo frame=1 samples/8 bytes main debug: looking for audio filter module matching "scaletempo": 14 candidates scaletempo debug: format: 48000 rate, 2 nch, 4 bps, fl32 scaletempo debug: params: 30 stride, 0.200 overlap, 14 search scaletempo debug: 1.000 scale, 1440.000 stride_in, 1440 stride_out, 1152 standing, 288 overlap, 672 search, 2400 queue, fl32 mode main debug: using audio filter module "scaletempo" main debug: conversion: 'f32l'->'f32l' 48000 Hz->48000 Hz Stereo->Stereo main debug: conversion pipeline complete main debug: conversion: 'f32l'->'f32l' 48000 Hz->48000 Hz Stereo->Stereo main debug: conversion pipeline complete main debug: looking for audio resampler module matching "any": 3 candidates main debug: using audio resampler module "samplerate" main debug: End of audio preroll main debug: Decoder buffering done in 20 ms main debug: inserting 384 zeroes main debug: looking for text renderer module matching "any": 2 candidates 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 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: NVIDIA GeForce GTX 560 4318 4609 161 main debug: VoutDisplayEvent 'resize' 1936x1118 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 1920x1080, of (0,0), vsz 1920x1080, 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 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 debug: VoutDisplayEvent 'resize' 1155x647 window main error: Failed to resize display main debug: End of video preroll direct3d debug: Created 1564x72 texture for OSD main debug: auto hiding mouse cursor main debug: EOF reached main debug: waiting decoder fifos to empty main debug: waiting decoder fifos to empty main debug: waiting decoder fifos to empty main debug: waiting decoder fifos to empty main debug: waiting decoder fifos to empty main debug: finished input main debug: removing module "avcodec" avcodec debug: ffmpeg codec (H264 - MPEG-4 AVC (part 10)) stopped main debug: killing decoder fourcc `h264', 0 PES in FIFO main debug: saving a free vout main debug: reusing provided vout main debug: removing module "avcodec" avcodec debug: ffmpeg codec (MPEG AAC Audio) stopped main debug: killing decoder fourcc `mp4a', 0 PES in FIFO main debug: removing module "samplerate" main debug: removing module "scaletempo" directsound debug: closing audio device main debug: removing module "float_mixer" main debug: keeping audio output main debug: removing module "avcodec" main debug: removing module "record" main debug: removing module "filesystem" main debug: Program doesn't contain anymore ES main debug: dead input main debug: changing item without a request (current 0/1) main debug: nothing to play main debug: destroying useless vout main debug: removing module "direct3d" direct3d debug: Direct3D scene released successfully qt4 debug: IM: Deleting the input direct3d debug: DirectXEventThread terminating direct3d debug: DirectXCloseWindow direct3d debug: WinProc WM_DESTROY qt4 debug: releasing video... qt4 debug: Video is not needed anymore main debug: removing module "freetype" main debug: removing module "yuvp" main debug: removing module "swscale"
Original author: christoph rackwitz
- Developer
#14213 (closed) duplicate
- François Cartegnie added Status::duplicate label
added Status::duplicate label
- François Cartegnie closed
closed
- Rémi Denis-Courmont added Version::3.0.x label and removed 1 deleted label
added Version::3.0.x label and removed 1 deleted label