Created
May 18, 2023 19:19
-
-
Save superbonaci/d4b023e9597b20175d1371ddbd3ad437 to your computer and use it in GitHub Desktop.
mpv playing defective aac file bad length
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ mpv --no-config -v fools-the-north-wind.aac | |
[cplayer] Command line options: '--no-config' '-v' 'fools-the-north-wind.aac' | |
[cplayer] mpv 0.35.1 Copyright © 2000-2023 mpv/MPlayer/mplayer2 projects | |
[cplayer] built on Sat Jan 28 04:49:47 2023 | |
[cplayer] FFmpeg library versions: | |
[cplayer] libavutil 58.2.100 | |
[cplayer] libavcodec 60.3.100 | |
[cplayer] libavformat 60.3.100 | |
[cplayer] libswscale 7.1.100 | |
[cplayer] libavfilter 9.3.100 | |
[cplayer] libswresample 4.10.100 | |
[cplayer] FFmpeg version: 6.0 | |
[cplayer] | |
[cplayer] Configuration: meson configure build -Dprefix=/opt/homebrew/Cellar/mpv/0.35.1_2 -Dbuildtype=release -Doptimization=3 | |
[cplayer] List of enabled features: av-channel-layout bsd-fstatfs build-date cocoa coreaudio cplayer cplugins ffmpeg gl gl-cocoa glob glob-posix gpl html-build iconv javascript jpeg jpegxl lcms2 libarchive libass libavdevice libbluray libdl libm libmpv-shared luajit macos-cocoa-cb macos-media-player macos-touchbar manpage-build osx-thread-name plain-gl posix rubberband rubberband-3 stdatomic threads uchardet vapoursynth vector videotoolbox-gl zimg zlib | |
[cplayer] Setting option 'config' = 'no' (flags = 8) | |
[cplayer] Setting option 'v' = '' (flags = 8) | |
[osx/cocoacb] Created CGL pixel format with attributes: kCGLPFAOpenGLProfile, kCGLOGLPVersion_3_2_Core, kCGLPFAAccelerated, kCGLPFADoubleBuffer, kCGLPFAColorSize, 64, kCGLPFAColorFloat, kCGLPFABackingStore, kCGLPFAAllowOfflineRenderers, kCGLPFASupportsAutomaticGraphicsSwitching, 0 | |
[libmpv_render] GL_VERSION='4.1 Metal - 83.1' | |
[libmpv_render] Detected desktop OpenGL 4.1. | |
[libmpv_render] GL_VENDOR='Apple' | |
[libmpv_render] GL_RENDERER='Apple M1' | |
[libmpv_render] GL_SHADING_LANGUAGE_VERSION='4.10' | |
[libmpv_render] Loaded extension GL_APPLE_rgb_422. | |
[libmpv_render] GL_*_swap_control extension missing. | |
[libmpv_render] Testing FBO format rgba16f | |
[libmpv_render] Using FBO format rgba16f. | |
[libmpv_render] Disabling HDR peak computation (one or more of the following is not supported: compute shaders=0, SSBO=0). | |
[libmpv_render] No advanced processing required. Enabling dumb mode. | |
[libmpv_render] Loading hwdec driver 'videotoolbox' | |
[cplayer] Waiting for scripts... | |
[osd/libass] libass API version: 0x1701000 | |
[osd/libass] libass source: tarball: 0.17.1 | |
[osd/libass] Shaper: FriBidi 1.0.12 (SIMPLE) HarfBuzz-ng 7.3.0 (COMPLEX) | |
[osd/libass] Setting up fonts... | |
[osd/libass] Using font provider coretext | |
[osd/libass] Done. | |
[cplayer] Set property: shared-script-properties -> 1 | |
[cplayer] Set property: shared-script-properties -> 1 | |
[cplayer] Done loading scripts. | |
[cplayer] Running hook: ytdl_hook/on_load | |
[ytdl_hook] ytdl:// hook | |
[ytdl_hook] not a ytdl:// url | |
[cplayer] Set property: shared-script-properties -> 1 | |
[bdmv/bluray] Opening fools-the-north-wind.aac | |
[file] Opening fools-the-north-wind.aac | |
[demux] Trying demuxers for level=normal. | |
[cplayer] Set property: shared-script-properties -> 1 | |
[osd/libass] libass API version: 0x1701000 | |
[osd/libass] libass source: tarball: 0.17.1 | |
[osd/libass] Shaper: FriBidi 1.0.12 (SIMPLE) HarfBuzz-ng 7.3.0 (COMPLEX) | |
[osd/libass] Setting up fonts... | |
[osd/libass] Using font provider coretext | |
[osd/libass] Done. | |
[lavf] Found 'aac' at score=51 size=2048. | |
[file] stream level seek from 131072 to 1728932 | |
[file] stream level seek from 1729060 to 0 | |
[file] stream level seek from 0 to 1729028 | |
[file] stream level seek from 1729060 to 0 | |
[ffmpeg/demuxer] aac: Estimating duration from bitrate, this may be inaccurate | |
[lavf] avformat_find_stream_info() finished after 32768 bytes. | |
[demux] Detected file format: aac (libavformat) | |
[cplayer] Opening done: fools-the-north-wind.aac | |
[find_files] Loading external files in . | |
[cplayer] Running hook: ytdl_hook/on_preloaded | |
[lavf] select track 0 | |
[cplayer] (+) Audio --aid=1 (aac 1ch 22050Hz) | |
[ad] Codec list: | |
[ad] aac - AAC (Advanced Audio Coding) | |
[ad] aac_fixed (aac) - AAC (Advanced Audio Coding) | |
[ad] aac_at (aac) - aac (AudioToolbox) | |
[ad] Opening decoder aac | |
[ad] Requesting 1 threads for decoding. | |
[ad] Selected codec: aac (AAC (Advanced Audio Coding)) | |
[af] User filter list: | |
[af] (empty) | |
[cplayer] Starting playback... | |
[af] [in] 22050Hz mono 1ch floatp | |
[af] [userspeed] 22050Hz mono 1ch floatp | |
[af] [userspeed] (disabled) | |
[af] [convert] 22050Hz mono 1ch floatp | |
[ao] Trying audio driver 'coreaudio' | |
[ao/coreaudio] requested format: 22050 Hz, mono channels, floatp | |
[ao/coreaudio] selected audio output device: External Headphones (75) | |
[ao/coreaudio] input channel layout: | |
[ao/coreaudio] layout: tag: <0>, bitmap: <0>, descriptions <2> | |
[ao/coreaudio] - description 0: label <4294967295, 64>, flags: <0>, coords: <0.000000, 0.000000, 0.000000> | |
[ao/coreaudio] - description 1: label <4294967295, 64>, flags: <0>, coords: <0.000000, 0.000000, 0.000000> | |
[ao/coreaudio] mp chmap: unknown2 | |
[ao/coreaudio] input channel layout: | |
[ao/coreaudio] layout: tag: <0>, bitmap: <0>, descriptions <2> | |
[ao/coreaudio] - description 0: label <1, 0>, flags: <0>, coords: <0.000000, 0.000000, 0.000000> | |
[ao/coreaudio] - description 1: label <2, 1>, flags: <0>, coords: <0.000000, 0.000000, 0.000000> | |
[ao/coreaudio] mp chmap: stereo | |
[ao/coreaudio] Channel layouts: | |
[ao/coreaudio] - stereo | |
[ao/coreaudio] - mono | |
[ao/coreaudio] result: mono | |
[ao/coreaudio] Latency property cntl: 68 frames | |
[ao/coreaudio] Latency property zisf: 512 frames | |
[ao/coreaudio] Latency property tfas: 114 frames | |
[ao/coreaudio] Device sample rate: 44100.000000 | |
[ao/coreaudio] audiounit latency [us]: 725 | |
[ao/coreaudio] device latency [us]: 15736 | |
[ao/coreaudio] using soft-buffer of 4410 samples. | |
[cplayer] AO: [coreaudio] 22050Hz mono 1ch floatp | |
[cplayer] AO: Description: CoreAudio AudioUnit | |
[af] [convert] (disabled) | |
[af] [out] 22050Hz mono 1ch floatp | |
[cplayer] audio ready | |
[cplayer] starting audio playback | |
[cplayer] playback restart complete @ 0.000000, audio=playing, video=eof | |
[cplayer] Set property: shared-script-properties -> 1 | |
[statusline] A: 00:00:02 / 00:12:36 (0%) | |
[cplayer] EOF code: 5 | |
[cplayer] finished playback, success (reason 3) | |
[cplayer] | |
[cplayer] Exiting... (Quit) | |
[cplayer] Set property: shared-script-properties -> 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment