Hi Nadahar,
I encountered the same issue with lots of my MP4 files when trying to render them on my LG SJ800V with WebOS v5.8:
Code: Select all
17:39:36 TRACE Adding new child "FILENAME.mp4" with class "RealFile"
17:39:36 TRACE This video does not have subtitles
17:39:36 TRACE Getting player for resource "FILENAME.mp4"
17:39:36 TRACE Returning compatible player "FFmpeg Video"
17:39:36 TRACE Format "mpegts" failed to match supported line f:mp4|m4v v:h264|mp4|avc1 a:aac-lc|he-aac|aac|ac3|dts|eac3|mp4a m:video/mp4
17:39:36 TRACE Format "mpegts" failed to match supported line f:avi v:h264|mjpeg|mp4|xvid a:aac-lc|he-aac|ac3|dts|mp3|mpa m:video/avi
17:39:36 TRACE Format "mpegts" failed to match supported line f:mkv v:h264|h265|mp4|mpeg2|vp8|vp9 a:aac-lc|he-aac|ac3|dts|mp3|mpa|vorbis m:video/x-matroska
17:39:36 TRACE Format "mpegts" failed to match supported line f:mov v:h264|h265|mp4 a:aac-lc|he-aac m:video/quicktime
17:39:36 TRACE Format "mpegts" failed to match supported line f:mpegps v:mpeg1|mpeg2 a:ac3|lpcm|mpa m:video/mpeg
17:39:36 TRACE Audio codec "und" failed to match support line f:mpegts v:h264|mpeg2 a:aac-lc|he-aac|ac3|dts|eac3 m:video/mpeg
Though the
audio codec doesn't look strange to me at all according to ffprobe:
Code: Select all
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'FILENAME.mp4':
Metadata:
major_brand : isom
minor_version : 0
compatible_brands: mp41avc1
creation_time : 2018-06-03T17:34:33.000000Z
playback_requirements: QuickTime 6.0 or greater
playback_requirements-eng: QuickTime 6.0 or greater
encoder : vlc 3.0.3 stream output
encoder-eng : vlc 3.0.3 stream output
Duration: 00:29:27.85, start: 0.000000, bitrate: 1238 kb/s
Stream #0:0(eng): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, f
p, 131 kb/s (default)
Metadata:
creation_time : 2018-06-03T17:34:33.000000Z
handler_name : SoundHandler
Stream #0:1(eng): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1280x72
[SAR 1:1 DAR 16:9], 1100 kb/s, 25 fps, 25 tbr, 90k tbn, 50 tbc (default)
Metadata:
creation_time : 2018-06-03T17:34:33.000000Z
handler_name : VideoHandler
[STREAM]
index=0
codec_name=aac
codec_long_name=AAC (Advanced Audio Coding)
profile=LC
codec_type=audio
codec_time_base=1/44100
codec_tag_string=mp4a
codec_tag=0x6134706d
sample_fmt=fltp
sample_rate=44100
channels=2
channel_layout=stereo
bits_per_sample=0
id=N/A
r_frame_rate=0/0
avg_frame_rate=0/0
time_base=1/44100
start_pts=1685
start_time=0.038209
duration_ts=77962053
duration=1767.847007
bit_rate=131368
max_bit_rate=466494
bits_per_raw_sample=N/A
nb_frames=76134
nb_read_frames=N/A
nb_read_packets=N/A
DISPOSITION:default=1
DISPOSITION:dub=0
DISPOSITION:original=0
DISPOSITION:comment=0
DISPOSITION:lyrics=0
DISPOSITION:karaoke=0
DISPOSITION:forced=0
DISPOSITION:hearing_impaired=0
DISPOSITION:visual_impaired=0
DISPOSITION:clean_effects=0
DISPOSITION:attached_pic=0
DISPOSITION:timed_thumbnails=0
TAG:creation_time=2018-06-03T17:34:33.000000Z
TAG:language=eng
TAG:handler_name=SoundHandler
[/STREAM]
[STREAM]
index=1
codec_name=h264
codec_long_name=H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
profile=High
codec_type=video
codec_time_base=1/50
codec_tag_string=avc1
codec_tag=0x31637661
width=1280
height=720
coded_width=1280
coded_height=720
has_b_frames=2
sample_aspect_ratio=1:1
display_aspect_ratio=16:9
pix_fmt=yuv420p
level=31
color_range=unknown
color_space=unknown
color_transfer=unknown
color_primaries=unknown
chroma_location=left
field_order=unknown
timecode=N/A
refs=1
is_avc=true
nal_length_size=4
id=N/A
r_frame_rate=25/1
avg_frame_rate=25/1
time_base=1/90000
start_pts=0
start_time=0.000000
duration_ts=159080400
duration=1767.560000
bit_rate=1100431
max_bit_rate=N/A
bits_per_raw_sample=8
nb_frames=44189
nb_read_frames=N/A
nb_read_packets=N/A
DISPOSITION:default=1
DISPOSITION:dub=0
DISPOSITION:original=0
DISPOSITION:comment=0
DISPOSITION:lyrics=0
DISPOSITION:karaoke=0
DISPOSITION:forced=0
DISPOSITION:hearing_impaired=0
DISPOSITION:visual_impaired=0
DISPOSITION:clean_effects=0
DISPOSITION:attached_pic=0
DISPOSITION:timed_thumbnails=0
TAG:creation_time=2018-06-03T17:34:33.000000Z
TAG:language=eng
TAG:handler_name=VideoHandler
[/STREAM]
[FORMAT]
filename=FILENAME.mp4
nb_streams=2
nb_programs=0
format_name=mov,mp4,m4a,3gp,3g2,mj2
format_long_name=QuickTime / MOV
start_time=0.000000
duration=1767.847022
size=273692340
bit_rate=1238534
probe_score=100
TAG:major_brand=isom
TAG:minor_version=0
TAG:compatible_brands=mp41avc1
TAG:creation_time=2018-06-03T17:34:33.000000Z
TAG:playback_requirements=QuickTime 6.0 or greater
TAG:playback_requirements-eng=QuickTime 6.0 or greater
TAG:encoder=vlc 3.0.3 stream output
TAG:encoder-eng=vlc 3.0.3 stream output
[/FORMAT]
Even MediaInfo v18.12 seems to recognize the
audio codec properly (though it's interpretation of the format and video
codec is somewhat maverick):
Code: Select all
General
ID : 1 (0x1)
Complete name : FILENAME.mp4
Format : MPEG-TS
File size : 772 MiB
Duration : 59 min 32 s
Overall bit rate mode : Variable
Overall bit rate : 1 814 kb/s
FileExtension_Invalid : ts m2t m2s m4t m4s tmf ts tp trp ty
Video
ID : 256 (0x100)
Menu ID : 1 (0x1)
Format : AVC
Format/Info : Advanced Video Codec
Format profile : [email protected]
Format settings : CABAC / 3 Ref Frames
Format settings, CABAC : Yes
Format settings, RefFrames : 3 frames
Codec ID : 27
Duration : 59 min 32 s
Nominal bit rate : 1 800 kb/s
Width : 960 pixels
Height : 540 pixels
Display aspect ratio : 16:9
Frame rate : 25.000 FPS
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.139
Writing library : x264 core 146
Encoding settings : cabac=1 / ref=3 / deblock=1:0:0 / analyse=0x1:0x111 / me=hex / subme=7 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=0 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=8 / lookahead_threads=1 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / paff=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 / b_pyramid=0 / b_adapt=1 / b_bias=0 / direct=1 / weightb=1 / open_gop=0 / weightp=2 / keyint=50 / keyint_min=5 / scenecut=0 / intra_refresh=0 / rc_lookahead=40 / rc=cbr / mbtree=1 / bitrate=1800 / ratetol=0.1 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / vbv_maxrate=1800 / vbv_bufsize=1800 / nal_hrd=none / filler=0 / ip_ratio=1.40 / aq=1:1.00
Audio
ID : 257 (0x101)
Menu ID : 1 (0x1)
Format : AAC LC
Format/Info : Advanced Audio Codec Low Complexity
Format version : Version 4
Muxing mode : ADTS
Codec ID : 15-2
Duration : 59 min 32 s
Bit rate mode : Variable
Channel(s) : 2 channels
Channel layout : L R
Sampling rate : 48.0 kHz
Frame rate : 46.875 FPS (1024 SPF)
Compression mode : Lossy
Delay relative to video : -40 ms
Accordingly, the log output from UMS when the database (media library) is disabled and logging level is TRACE:
Code: Select all
08:33:37 TRACE MediaInfo parsing results for "FILENAME.mp4":
Format: "MPEG-TS" Duration: 0:59:32.480 Overall Bitrate Mode: VBR Overall Bitrate: 1813703
Cover: No FPS: 25.000
- Video track ID: 256
Format: "AVC" Profile: "[email protected]" CodecID: "27" Duration: 0:59:32.520
Bitrate Nominal: 1800000 Width: 960 Height: 540 Chroma: 4:2:0
PAR: 1.000 DAR: 16:9 Scan Type: Progressive FPS: 25.000
RefFrames: 3 Bit Depth: 8 Delay: 141.000 Delay Source: Container
- Audio track ID: 257
Format: "AAC" Version: "Version 4" CodecID: "15-2" Duration: 0:59:32.416
BitRate Mode: VBR Channel(s): 2 Samplerate: 48000 Delay: 100.667
Delay Source: Container
08:33:37 TRACE Parsing results for file "FILENAME.mp4": Container: MPEGTS, Size: 809933328, Video Bitrate: 1813703, Video Tracks: 1, Video Codec: h264, Duration: 0:59:32.480, Video Resolution: 960 x 540, Display Aspect Ratio: 16:9, Scan Type: Progressive, Frame Rate: 25.000, AVC Level: 3.1, Audio Tracks: 1 [Audio Codec: und, Bitrate: 0, Channels: 2, Sample Frequency: 48000 Hz], Mime Type: video/mp4
08:33:37 TRACE Adding new child "FILENAME.mp4" with class "RealFile"
08:33:37 TRACE This video does not have subtitles
08:33:37 TRACE Getting player for resource "FILENAME.mp4"
08:33:37 TRACE Returning compatible player "FFmpeg Video"
08:33:37 TRACE Audio codec "und" failed to match support line f:mp4|m4v|mpegts v:h264|mp4|avc a:aac-lc|he-aac|aac|ac3|dts|eac3|mp4a m:video/mp4
Hence, there seems to be a bug in leveraging the parsing result as it was obviously identified as AAC by MediaInfo.
Best regards,
fuggi