I have this MP4 file on my HDD:
General
Count : 331
Count of stream of this kind : 1
Kind of stream : General
Kind of stream : General
Stream identifier : 0
Inform : MPEG-4 (Base Media): 7.74 GiB, 4 h 17 min
Count of video streams : 1
Count of audio streams : 1
Count of text streams : 1
Video_Format_List : AVC
Video_Format_WithHint_List : AVC
Codecs Video : AVC
Audio_Format_List : AAC LC
Audio_Format_WithHint_List : AAC LC
Audio codecs : AAC LC
Text_Format_List : EIA-608
Text_Format_WithHint_List : EIA-608
Text codecs : EIA-608
Complete name : /home/diabolik/Video/XXXXXX.mp4
Folder name : /home/diabolik/Video
File name extension :XXXXXX.mp4
File name : XXXXXX
File extension : mp4
Format : MPEG-4
Format : MPEG-4
Format/Extensions usually used : braw mov mp4 m4v m4a m4b m4p m4r 3ga 3gpa 3gpp 3gp 3gpp2 3g2 k3g jpm jpx mqv ismv isma ismt f4a f4b f4v
Commercial name : MPEG-4
Format profile : Base Media
Internet media type : video/mp4
Codec ID : isom
Codec ID : isom (isom/iso2/avc1/mp41)
Codec ID/Url : http://www.apple.com/quicktime/download/standalone.html
CodecID_Compatible : isom/iso2/avc1/mp41
File size : 8315187709
File size : 7.74 GiB
File size : 8 GiB
File size : 7.7 GiB
File size : 7.74 GiB
File size : 7.744 GiB
Duration : 15462053
Duration : 4 h 17 min
Duration : 4 h 17 min 42 s 53 ms
Duration : 4 h 17 min
Duration : 04:17:42.053
Duration : 04:17:42:00
Duration : 04:17:42.053 (04:17:42:00)
Overall bit rate mode : VBR
Overall bit rate mode : Variable
Overall bit rate : 4302243
Overall bit rate : 4 302 kb/s
Frame rate : 30.000
Frame rate : 30.000 FPS
Frame count : 463860
Stream size : 24578986
Stream size : 23.4 MiB (0%)
Stream size : 23 MiB
Stream size : 23 MiB
Stream size : 23.4 MiB
Stream size : 23.44 MiB
Stream size : 23.4 MiB (0%)
Proportion of this stream : 0.00296
HeaderSize : 32
DataSize : 8290608739
FooterSize : 24578938
IsStreamable : No
File last modification date : UTC 2024-06-05 13:25:59
File last modification date (local) : 2024-06-05 15:25:59
Writing application : Lavf59.26.100
Writing application : Lavf59.26.100
Video
Count : 381
Count of stream of this kind : 1
Kind of stream : Video
Kind of stream : Video
Stream identifier : 0
StreamOrder : 0
Inform : 4 164 kb/s, 1280*720 (16:9), at 30.000 FPS, AVC ([email protected]) (CABAC / 4 Ref Frames)
ID : 1
ID : 1
Format : AVC
Format : AVC
Format/Info : Advanced Video Codec
Format/Url : http://developers.videolan.org/x264.html
Commercial name : AVC
Format profile : [email protected]
Format settings : CABAC / 4 Ref Frames
Format settings, CABAC : Yes
Format settings, CABAC : Yes
Format settings, Reference frames : 4
Format settings, Reference frames : 4 frames
Format settings, GOP : M=4, N=60
Internet media type : video/H264
Codec ID : avc1
Codec ID/Info : Advanced Video Coding
Duration : 15462053
Duration : 4 h 17 min
Duration : 4 h 17 min 42 s 53 ms
Duration : 4 h 17 min
Duration : 04:17:42.053
Duration : 04:17:42:00
Duration : 04:17:42.053 (04:17:42:00)
Source duration : 15462000
Source duration : 4 h 17 min
Source duration : 4 h 17 min 42 s 0 ms
Source duration : 4 h 17 min
Source duration : 04:17:42.000
Bit rate : 4164109
Bit rate : 4 164 kb/s
Width : 1280
Width : 1 280 pixels
Height : 720
Height : 720 pixels
Sampled_Width : 1280
Sampled_Height : 720
Pixel aspect ratio : 1.000
Display aspect ratio : 1.778
Display aspect ratio : 16:9
Rotation : 0.000
Frame rate mode : VFR
Frame rate mode : Variable
Frame rate : 30.000
Frame rate : 30.000 FPS
Minimum frame rate : 29.990
Minimum frame rate : 29.990 FPS
Maximum frame rate : 30.010
Maximum frame rate : 30.010 FPS
Frame count : 463860
Source frame count : 463860
Color space : YUV
Chroma subsampling : 4:2:0
Chroma subsampling : 4:2:0
Bit depth : 8
Bit depth : 8 bits
Scan type : Progressive
Scan type : Progressive
Bits/(Pixel*Frame) : 0.151
Stream size : 8048182432
Stream size : 7.50 GiB (97%)
Stream size : 7 GiB
Stream size : 7.5 GiB
Stream size : 7.50 GiB
Stream size : 7.495 GiB
Stream size : 7.50 GiB (97%)
Proportion of this stream : 0.96789
Source stream size : 8048182432
Source stream size : 7.50 GiB (97%)
Source stream size : 7 GiB
Source stream size : 7.5 GiB
Source stream size : 7.50 GiB
Source stream size : 7.495 GiB
Source stream size : 7.50 GiB (97%)
Source_StreamSize_Proportion : 0.96789
mdhd_Duration : 15462000
Codec configuration box : avcC
Audio
Count : 280
Count of stream of this kind : 1
Kind of stream : Audio
Kind of stream : Audio
Stream identifier : 0
StreamOrder : 1
Inform : 125 kb/s, 48.0 kHz, 2 channels, AAC LC
ID : 2
ID : 2
Format : AAC
Format : AAC LC
Format/Info : Advanced Audio Codec Low Complexity
Commercial name : AAC
Format_AdditionalFeatures : LC
Codec ID : mp4a-40-2
Duration : 15462001
Duration : 4 h 17 min
Duration : 4 h 17 min 42 s 1 ms
Duration : 4 h 17 min
Duration : 04:17:42.001
Duration : 04:17:00:46
Duration : 04:17:42.001 (04:17:00:46)
Bit rate mode : VBR
Bit rate mode : Variable
Bit rate : 125430
Bit rate : 125 kb/s
Maximum bit rate : 128047 / 128047
Maximum bit rate : 128 kb/s / 128 kb/s
Channel(s) : 2
Channel(s) : 2 channels
Channel positions : Front: L R
Channel positions : 2/0/0
Channel layout : L R
Samples per frame : 1024
Sampling rate : 48000
Sampling rate : 48.0 kHz
Samples count : 742176048
Frame rate : 46.875
Frame rate : 46.875 FPS (1024 SPF)
Frame count : 724786
Compression mode : Lossy
Compression mode : Lossy
Stream size : 242426291
Stream size : 231 MiB (3%)
Stream size : 231 MiB
Stream size : 231 MiB
Stream size : 231 MiB
Stream size : 231.2 MiB
Stream size : 231 MiB (3%)
Proportion of this stream : 0.02915
Default : Yes
Default : Yes
Alternate group : 1
Alternate group : 1
Text
Count : 239
Count of stream of this kind : 1
Kind of stream : Text
Kind of stream : Text
Stream identifier : 0
Inform : EIA-608 (SCTE 128 / DTVCC Transport)
ID : 1-CC1
ID : 1-CC1
Format : EIA-608
Format : EIA-608
Commercial name : EIA-608
Muxing mode : SCTE 128 / DTVCC Transport
Muxing mode, more info : Muxed in Video #1
Duration : 15462053
Duration : 4 h 17 min
Duration : 4 h 17 min 42 s 53 ms
Duration : 4 h 17 min
Duration : 04:17:42.053
Duration : 04:17:42.053
Bit rate mode : CBR
Bit rate mode : Constant
Encoded bit rate : 0
Encoded bit rate : 0 b/s
Stream size : 0
Stream size : 0.00 Byte (0%)
Stream size : Byte0
Stream size : 0.0 Byte
Stream size : 0.00 Byte
Stream size : 0.000 Byte
Stream size : 0.00 Byte (0%)
Proportion of this stream : 0.00000
Encoded stream size : 0
Encoded stream size : 0.00 Byte (0%)
Encoded stream size : Byte0
Encoded stream size : 0.0 Byte
Encoded stream size : 0.00 Byte
Encoded stream size : 0.000 Byte
Encoded stream size : 0.00 Byte (0%)
StreamSize_Encoded_Proportion : 0.00000
CaptionServiceName : CC1
VLC Open it whitout any issue….. i have tryed to open this whit PPA Kodi 20.2 and whit current flatpak 21.0 but the audio track it’s not work. How i can fix that ? How i can understand because audio not work ?
On kodi.log appears that:
2024-06-05 23:08:34.964 T:62 info <general>: CDVDVideoCodecFFmpeg::Open() Using codec: H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
2024-06-05 23:08:38.733 T:7 info <general>: VideoPlayer::OpenFile: /home/diabolik/Video/XXXXXX.mp4
2024-06-05 23:08:38.733 T:94 info <general>: Creating InputStream
2024-06-05 23:08:38.743 T:94 info <general>: Creating Demuxer
2024-06-05 23:08:39.313 T:94 info <general>: Opening stream: 0 source: 256
2024-06-05 23:08:39.313 T:94 info <general>: Creating video codec with codec id: 27
2024-06-05 23:08:39.313 T:94 info <general>: CDVDVideoCodecFFmpeg::Open() Using codec: H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
2024-06-05 23:08:39.313 T:94 info <general>: Creating video thread
2024-06-05 23:08:39.314 T:99 info <general>: running thread: video_thread
2024-06-05 23:08:39.314 T:94 info <general>: Opening stream: 1 source: 256
2024-06-05 23:08:39.314 T:94 info <general>: Finding audio codec for: 86018
2024-06-05 23:08:39.314 T:94 info <general>: CDVDAudioCodecFFmpeg::Open() Successful opened audio decoder aac
2024-06-05 23:08:39.314 T:94 info <general>: OpenStream: Allowing max Out-Of-Sync Value of 10 ms
2024-06-05 23:08:39.314 T:94 info <general>: Creating audio thread
2024-06-05 23:08:39.314 T:100 info <general>: running thread: CVideoPlayerAudio::Process()
2024-06-05 23:08:39.320 T:101 info <general>: COutput::OnStartup: Output Thread created
2024-06-05 23:08:39.435 T:7 info <general>: GL: Selecting YUV 2 RGB shader
2024-06-05 23:08:39.437 T:7 info <general>: GL: Using GL_ARB_pixel_buffer_object
2024-06-05 23:08:39.437 T:7 info <general>: Using GL_TEXTURE_2D
2024-06-05 23:08:39.438 T:7 info <general>: GL: Selecting YUV 2 RGB shader
2024-06-05 23:08:39.438 T:7 info <general>: GL: Using GL_ARB_pixel_buffer_object
2024-06-05 23:08:39.445 T:7 info <general>: Loading skin file: VideoFullScreen.xml, load type: KEEP_IN_MEMORY
2024-06-05 23:08:39.636 T:99 info <general>: CDVDVideoCodecFFmpeg::CDropControl: calculated diff time: 33332
2024-06-05 23:08:42.453 T:100 info <general>: CVideoPlayerAudio::Process - stream stalled
2024-06-05 23:08:46.153 T:7 info <general>: Loading skin file: VideoOSD.xml, load type: KEEP_IN_MEMORY
2024-06-05 23:08:46.166 T:7 info <general>: Loading skin file: DialogSeekBar.xml, load type: LOAD_ON_GUI_INIT
2024-06-05 23:08:52.636 T:7 info <general>: Loading skin file: DialogSettings.xml, load type: KEEP_IN_MEMORY
2024-06-05 23:08:57.285 T:7 info <general>: Loading skin file: DialogPlayerProcessInfo.xml, load type: KEEP_IN_MEMORY
2024-06-05 23:09:03.150 T:7 info <general>: Loading skin file: Custom_1101_SettingsList.xml, load type: KEEP_IN_MEMORY
2024-06-05 23:09:14.718 T:7 info <general>: Loading skin file: DialogSettings.xml, load type: KEEP_IN_MEMORY
2024-06-05 23:09:16.769 T:7 info <general>: Loading skin file: DialogSelect.xml, load type: KEEP_IN_MEMORY
2024-06-05 23:09:22.734 T:7 info <general>: CVideoPlayer::CloseFile()
2024-06-05 23:09:22.739 T:7 info <general>: VideoPlayer: waiting for threads to exit
2024-06-05 23:09:22.740 T:94 info <general>: CVideoPlayer::OnExit()
2024-06-05 23:09:22.740 T:94 info <general>: Closing stream player 1
2024-06-05 23:09:22.740 T:94 info <general>: Waiting for audio thread to exit
2024-06-05 23:09:22.750 T:100 info <general>: thread end: CVideoPlayerAudio::OnExit()
2024-06-05 23:09:22.750 T:94 info <general>: Closing audio device
2024-06-05 23:09:22.750 T:94 info <general>: Deleting audio codec
2024-06-05 23:09:22.750 T:94 info <general>: Closing stream player 2
2024-06-05 23:09:22.750 T:94 info <general>: waiting for video thread to exit
2024-06-05 23:09:22.769 T:99 warning <general>: OutputPicture - timeout waiting for buffer
2024-06-05 23:09:22.769 T:99 info <general>: thread end: video_thread
2024-06-05 23:09:22.770 T:94 info <general>: deleting video codec
2024-06-05 23:09:22.771 T:94 info <general>: VAAPI::Close
2024-06-05 23:09:22.771 T:101 info <general>: COutput::OnExit: Output Thread terminated
2024-06-05 23:09:22.771 T:94 info <general>: VAAPI::Close - closing decoder context
2024-06-05 23:09:22.775 T:45 info <general>: Deleting settings information for files /home/diabolik/Video/XXXXXX.mp4
2024-06-05 23:09:22.789 T:7 info <general>: VideoPlayer: finished waiting
2024-06-05 23:09:22.789 T:7 info <general>: CVideoPlayer::CloseFile()
2024-06-05 23:09:22.789 T:7 info <general>: VideoPlayer: waiting for threads to exit
2024-06-05 23:09:22.789 T:7 info <general>: VideoPlayer: finished waiting
2024-06-05 23:11:03.851 T:21 info <general>: CActiveAESink::OpenSink - initialize sink
2024-06-05 23:11:03.901 T:21 info <general>: PulseAudio: Opened device Default in pcm mode with Buffersize 150 ms Periodsize 50 ms
2024-06-05 23:11:04.281 T:170 info <general>: set Property 'videolibrary.showunwatchedplots' to [0, 1, 2]
2024-06-05 23:11:08.150 T:7 info <general>: Loading skin file: DialogButtonMenu.xml, load type: KEEP_IN_MEMORY
2024-06-05 23:11:09.727 T:7 info <general>: Stopping the application...
2024-06-05 23:11:09.727 T:7 info <general>: Stopping player
2024-06-05 23:11:09.727 T:7 info <general>: Storing total System Uptime
2024-06-05 23:11:09.727 T:7 info <general>: Saving settings
2024-06-05 23:11:09.730 T:7 info <general>: Saving skin settings
2024-06-05 23:11:09.731 T:7 info <general>: Stopping all
2024-06-05 23:11:09.731 T:7 info <general>: ES: Stopping event server
2024-06-05 23:11:10.264 T:7 info <general>: CWSDiscoveryListenerUDP::Stop - Stopped
2024-06-05 23:11:10.264 T:7 info <general>: stopping zeroconf publishing
2024-06-05 23:11:10.269 T:7 info <CWebserver[8080]>: Stopped
2024-06-05 23:11:10.608 T:42 info <general>: ES: UDP Event server stopped
2024-06-05 23:11:10.613 T:7 info <general>: Stopping zeroconf browser
2024-06-05 23:11:10.614 T:7 info <general>: CServiceAddonManager: failed to stop inputstream.ffmpegdirect (may have ended)
2024-06-05 23:11:10.737 T:35 info <general>: [ script.embuary.helper ] Service: Player monitor stopped
2024-06-05 23:11:10.737 T:35 info <general>: [ script.embuary.helper ] Service: Stopped
2024-06-05 23:11:10.760 T:36 info <general>: PVR Artwork module wrapper finished
2024-06-05 23:11:10.794 T:7 info <general>: CServiceAddonManager: failed to stop service.xbmc.versioncheck (may have ended)
2024-06-05 23:11:11.039 T:7 info <general>: Application stopped
2024-06-05 23:11:11.512 T:7 info <general>: AddOnLog: peripheral.joystick: Disabling joystick interface "linux"
2024-06-05 23:11:11.513 T:7 info <general>: ADDON: Dll Destroyed - Joystick Support
2024-06-05 23:11:11.513 T:7 info <general>: ADDON: Dll Destroyed - X-Arcade Tankstick Driver
2024-06-05 23:11:11.513 T:7 info <general>: unload skin
2024-06-05 23:11:11.598 T:7 info <general>: Unloaded skin
2024-06-05 23:11:11.601 T:7 info <general>: unload sections
2024-06-05 23:11:11.605 T:7 info <general>: CWSDiscoveryListenerUDP::Stop - Stopped
2024-06-05 23:11:11.606 T:7 info <general>: ADDON: Dll Destroyed - Archive support
2024-06-05 23:11:11.607 T:7 info <general>: ADDON: Dll Destroyed - RAR archive support
2024-06-05 23:11:11.608 T:7 info <general>: ADDON: Dll Destroyed - SFTP support
2024-06-05 23:11:11.655 T:7 info <general>: Exiting the application...
What’s strange about that audio track that Kodi can’t play?
*EDIT*
Some addictional info… i can listen the GUI Sound of Kodi. So Audio on Kodi apparently works.. only this Mp4 it’s not work.