VLCKit4.0(master) MP4 no audio
Posted: 13 Mar 2024 12:38
I compile VLCKit (numerical address: https://github.com/videolan/vlckit.git ) Compile the main branch, play multiple MP4 files, only the screen has no sound.
The debugging log is as follows:
2024-03-13 19:33:26.765617+0800 SimplePlayback[2543:205059] creating player instance using shared library
2024-03-13 19:33:26.787134+0800 SimplePlayback[2543:205059] [DBG] VLC media player - 4.0.0-dev Otto Chriek
2024-03-13 19:33:26.787242+0800 SimplePlayback[2543:205059] [DBG] Copyright © 1996-2023 the VideoLAN team
2024-03-13 19:33:26.787281+0800 SimplePlayback[2543:205059] [DBG] revision 4.0.0-dev-25584-g8d3ac7bd6d
...
2024-03-13 19:33:31.241321+0800 SimplePlayback[2543:205059] [DBG] Creating an input for 'Ribbit - Full Movie.mp4'
2024-03-13 19:33:31.246203+0800 SimplePlayback[2543:205347] VLCMediaPlayerStateOpening
2024-03-13 19:33:31.246983+0800 SimplePlayback[2543:205347] [DBG] using timeshift granularity of 50 MiB
2024-03-13 19:33:31.247484+0800 SimplePlayback[2543:205347] [DBG] using default timeshift path
2024-03-13 19:33:31.247999+0800 SimplePlayback[2543:205347] [DBG] `file:///private/var/mobile/Containers/Data/Application/6F002732-DF92-4198-9474-5AA35FF937AD/Documents/Ribbit%20-%20Full%20Movie.mp4' gives access `file' demux `any' path `/private/var/mobile/Containers/Data/Application/6F002732-DF92-4198-9474-5AA35FF937AD/Documents/Ribbit%20-%20Full%20Movie.mp4'
2024-03-13 19:33:31.248835+0800 SimplePlayback[2543:205347] [DBG] creating access: file:///private/var/mobile/Containers/Data/Application/6F002732-DF92-4198-9474-5AA35FF937AD/Documents/Ribbit%20-%20Full%20Movie.mp4
2024-03-13 19:33:31.249170+0800 SimplePlayback[2543:205347] [DBG] (path: /private/var/mobile/Containers/Data/Application/6F002732-DF92-4198-9474-5AA35FF937AD/Documents/Ribbit - Full Movie.mp4)
2024-03-13 19:33:31.249482+0800 SimplePlayback[2543:205347] [DBG] looking for access module matching "file": 2 candidates
2024-03-13 19:33:31.250070+0800 SimplePlayback[2543:205347] [DBG] using access module "filesystem"
...
2024-03-13 19:33:31.254649+0800 SimplePlayback[2543:205347] [DBG] looking for stream_filter module matching "record": 1 candidates
2024-03-13 19:33:31.254889+0800 SimplePlayback[2543:205347] [DBG] using stream_filter module "record"
2024-03-13 19:33:31.255303+0800 SimplePlayback[2543:205347] [DBG] creating demux "any", URL: file:///private/var/mobile/Containers/Data/Application/6F002732-DF92-4198-9474-5AA35FF937AD/Documents/Ribbit%20-%20Full%20Movie.mp4, path: /private/var/mobile/Containers/Data/Application/6F002732-DF92-4198-9474-5AA35FF937AD/Documents/Ribbit - Full Movie.mp4
2024-03-13 19:33:31.255562+0800 SimplePlayback[2543:205347] [DBG] looking for demux module matching "ext-mp4": 58 candidates
2024-03-13 19:33:31.257313+0800 SimplePlayback[2543:205347] [DBG] read box: "mvhd" timescale 1000 duration 4878583 (1:21:18:583) rate 1.00 volume 1.00
2024-03-13 19:33:31.257641+0800 SimplePlayback[2543:205347] [DBG] read box: "tkhd" track #1 duration 4878440 layer 0 volume 0.0 rotation 0.0 scale 1.00x1.00 translate +0.00+0.00 ...
2024-03-13 19:33:31.322755+0800 SimplePlayback[2543:205347] [DBG] ES track added: 'video/1' (fourcc: 'h264')
2024-03-13 19:33:31.322913+0800 SimplePlayback[2543:205347] [DBG] adding track[Id 0x1] video (enable) language undef
2024-03-13 19:33:31.322991+0800 SimplePlayback[2543:205347] [WARN] elst box found
2024-03-13 19:33:31.323032+0800 SimplePlayback[2543:205347] [DBG] - [0] duration=4878583ms media time=0ms) rate=1.0
2024-03-13 19:33:31.330363+0800 SimplePlayback[2543:205347] [DBG] track[Id 0x2] read 121960 chunk
2024-03-13 19:33:31.331412+0800 SimplePlayback[2543:205347] [WARN] STTS table of 1 entries
2024-03-13 19:33:31.335326+0800 SimplePlayback[2543:205347] [DBG] track[Id 0x2] read 210103 samples length:4878s
2024-03-13 19:33:31.335578+0800 SimplePlayback[2543:205347] [DBG] ES track added: 'audio/2' (fourcc: 'mp4a')
2024-03-13 19:33:31.335736+0800 SimplePlayback[2543:205347] [DBG] adding track[Id 0x2] audio (enable) language undef
2024-03-13 19:33:31.335784+0800 SimplePlayback[2543:205347] [DBG] using demux module "mp4"
2024-03-13 19:33:31.336139+0800 SimplePlayback[2543:205347] [DBG] looking for a subtitle file in /private/var/mobile/Containers/Data/Application/6F002732-DF92-4198-9474-5AA35FF937AD/Documents/
2024-03-13 19:33:31.336376+0800 SimplePlayback[2543:205347] [DBG] looking for video decoder module matching "any": 11 candidates
2024-03-13 19:33:31.336442+0800 SimplePlayback[2543:205347] [DBG] vout: none found
2024-03-13 19:33:31.336469+0800 SimplePlayback[2543:205347] [DBG] vout change: decoder size
2024-03-13 19:33:31.336496+0800 SimplePlayback[2543:205347] [DBG] vout change: visible size
2024-03-13 19:33:31.336613+0800 SimplePlayback[2543:205347] [DBG] looking for text renderer module matching "freetype": 2 candidates
2024-03-13 19:33:31.368600+0800 SimplePlayback[2543:205347] [DBG] using text renderer module "freetype"
2024-03-13 19:33:31.368699+0800 SimplePlayback[2543:205347] [DBG] looking for video converter module matching "any": 15 candidates
2024-03-13 19:33:31.382591+0800 SimplePlayback[2543:205347] [DBG] 32x32 (32x32) chroma: YUVA colorspace: Undefined -> 16x16 (16x16) chroma: RGBA colorspace: Undefined with scaling using Bicubic (good quality)
The debugging log is as follows:
2024-03-13 19:33:26.765617+0800 SimplePlayback[2543:205059] creating player instance using shared library
2024-03-13 19:33:26.787134+0800 SimplePlayback[2543:205059] [DBG] VLC media player - 4.0.0-dev Otto Chriek
2024-03-13 19:33:26.787242+0800 SimplePlayback[2543:205059] [DBG] Copyright © 1996-2023 the VideoLAN team
2024-03-13 19:33:26.787281+0800 SimplePlayback[2543:205059] [DBG] revision 4.0.0-dev-25584-g8d3ac7bd6d
...
2024-03-13 19:33:31.241321+0800 SimplePlayback[2543:205059] [DBG] Creating an input for 'Ribbit - Full Movie.mp4'
2024-03-13 19:33:31.246203+0800 SimplePlayback[2543:205347] VLCMediaPlayerStateOpening
2024-03-13 19:33:31.246983+0800 SimplePlayback[2543:205347] [DBG] using timeshift granularity of 50 MiB
2024-03-13 19:33:31.247484+0800 SimplePlayback[2543:205347] [DBG] using default timeshift path
2024-03-13 19:33:31.247999+0800 SimplePlayback[2543:205347] [DBG] `file:///private/var/mobile/Containers/Data/Application/6F002732-DF92-4198-9474-5AA35FF937AD/Documents/Ribbit%20-%20Full%20Movie.mp4' gives access `file' demux `any' path `/private/var/mobile/Containers/Data/Application/6F002732-DF92-4198-9474-5AA35FF937AD/Documents/Ribbit%20-%20Full%20Movie.mp4'
2024-03-13 19:33:31.248835+0800 SimplePlayback[2543:205347] [DBG] creating access: file:///private/var/mobile/Containers/Data/Application/6F002732-DF92-4198-9474-5AA35FF937AD/Documents/Ribbit%20-%20Full%20Movie.mp4
2024-03-13 19:33:31.249170+0800 SimplePlayback[2543:205347] [DBG] (path: /private/var/mobile/Containers/Data/Application/6F002732-DF92-4198-9474-5AA35FF937AD/Documents/Ribbit - Full Movie.mp4)
2024-03-13 19:33:31.249482+0800 SimplePlayback[2543:205347] [DBG] looking for access module matching "file": 2 candidates
2024-03-13 19:33:31.250070+0800 SimplePlayback[2543:205347] [DBG] using access module "filesystem"
...
2024-03-13 19:33:31.254649+0800 SimplePlayback[2543:205347] [DBG] looking for stream_filter module matching "record": 1 candidates
2024-03-13 19:33:31.254889+0800 SimplePlayback[2543:205347] [DBG] using stream_filter module "record"
2024-03-13 19:33:31.255303+0800 SimplePlayback[2543:205347] [DBG] creating demux "any", URL: file:///private/var/mobile/Containers/Data/Application/6F002732-DF92-4198-9474-5AA35FF937AD/Documents/Ribbit%20-%20Full%20Movie.mp4, path: /private/var/mobile/Containers/Data/Application/6F002732-DF92-4198-9474-5AA35FF937AD/Documents/Ribbit - Full Movie.mp4
2024-03-13 19:33:31.255562+0800 SimplePlayback[2543:205347] [DBG] looking for demux module matching "ext-mp4": 58 candidates
2024-03-13 19:33:31.257313+0800 SimplePlayback[2543:205347] [DBG] read box: "mvhd" timescale 1000 duration 4878583 (1:21:18:583) rate 1.00 volume 1.00
2024-03-13 19:33:31.257641+0800 SimplePlayback[2543:205347] [DBG] read box: "tkhd" track #1 duration 4878440 layer 0 volume 0.0 rotation 0.0 scale 1.00x1.00 translate +0.00+0.00 ...
2024-03-13 19:33:31.322755+0800 SimplePlayback[2543:205347] [DBG] ES track added: 'video/1' (fourcc: 'h264')
2024-03-13 19:33:31.322913+0800 SimplePlayback[2543:205347] [DBG] adding track[Id 0x1] video (enable) language undef
2024-03-13 19:33:31.322991+0800 SimplePlayback[2543:205347] [WARN] elst box found
2024-03-13 19:33:31.323032+0800 SimplePlayback[2543:205347] [DBG] - [0] duration=4878583ms media time=0ms) rate=1.0
2024-03-13 19:33:31.330363+0800 SimplePlayback[2543:205347] [DBG] track[Id 0x2] read 121960 chunk
2024-03-13 19:33:31.331412+0800 SimplePlayback[2543:205347] [WARN] STTS table of 1 entries
2024-03-13 19:33:31.335326+0800 SimplePlayback[2543:205347] [DBG] track[Id 0x2] read 210103 samples length:4878s
2024-03-13 19:33:31.335578+0800 SimplePlayback[2543:205347] [DBG] ES track added: 'audio/2' (fourcc: 'mp4a')
2024-03-13 19:33:31.335736+0800 SimplePlayback[2543:205347] [DBG] adding track[Id 0x2] audio (enable) language undef
2024-03-13 19:33:31.335784+0800 SimplePlayback[2543:205347] [DBG] using demux module "mp4"
2024-03-13 19:33:31.336139+0800 SimplePlayback[2543:205347] [DBG] looking for a subtitle file in /private/var/mobile/Containers/Data/Application/6F002732-DF92-4198-9474-5AA35FF937AD/Documents/
2024-03-13 19:33:31.336376+0800 SimplePlayback[2543:205347] [DBG] looking for video decoder module matching "any": 11 candidates
2024-03-13 19:33:31.336442+0800 SimplePlayback[2543:205347] [DBG] vout: none found
2024-03-13 19:33:31.336469+0800 SimplePlayback[2543:205347] [DBG] vout change: decoder size
2024-03-13 19:33:31.336496+0800 SimplePlayback[2543:205347] [DBG] vout change: visible size
2024-03-13 19:33:31.336613+0800 SimplePlayback[2543:205347] [DBG] looking for text renderer module matching "freetype": 2 candidates
2024-03-13 19:33:31.368600+0800 SimplePlayback[2543:205347] [DBG] using text renderer module "freetype"
2024-03-13 19:33:31.368699+0800 SimplePlayback[2543:205347] [DBG] looking for video converter module matching "any": 15 candidates
2024-03-13 19:33:31.382591+0800 SimplePlayback[2543:205347] [DBG] 32x32 (32x32) chroma: YUVA colorspace: Undefined -> 16x16 (16x16) chroma: RGBA colorspace: Undefined with scaling using Bicubic (good quality)